libarchive @3.3.1 fails to build on Snow Leopard (10.6.8)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

libarchive @3.3.1 fails to build on Snow Leopard (10.6.8)

Richard L. Hamilton-3
libarchive/archive_read_disk_entry_from_file.c:677: error: ‘ACL_SYNCHRONIZE’ undeclared here (not in a function)

What it boils down to is that the source is now using a symbol that was not defined in Snow Leopard (without checking for its availability).

Since it looks like it's making no decisions with that, but merely using it as part of a group of attributes to use when constructing a "trivial NFSv4 ACL from mode", some #ifdefs could probably work around it being present or absent.


main.log-libarchive.txt.gz (10K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: libarchive @3.3.1 fails to build on Snow Leopard (10.6.8)

Michael_google gmail_Gersten
It's also breaking 10.9.5 :-)

On 2017-03-04, at 8:39 AM, Richard L. Hamilton <[hidden email]> wrote:

> libarchive/archive_read_disk_entry_from_file.c:677: error: ‘ACL_SYNCHRONIZE’ undeclared here (not in a function)
>
> What it boils down to is that the source is now using a symbol that was not defined in Snow Leopard (without checking for its availability).
>
> Since it looks like it's making no decisions with that, but merely using it as part of a group of attributes to use when constructing a "trivial NFSv4 ACL from mode", some #ifdefs could probably work around it being present or absent.
>
> <main.log-libarchive.txt.gz>

---
Entertaining minecraft videos
http://YouTube.com/keybounce

Reply | Threaded
Open this post in threaded view
|

Re: libarchive @3.3.1 fails to build on Snow Leopard (10.6.8)

Ryan Schmidt-24
In reply to this post by Richard L. Hamilton-3

> On Mar 4, 2017, at 10:39, Richard L. Hamilton <[hidden email]> wrote:
>
> libarchive/archive_read_disk_entry_from_file.c:677: error: ‘ACL_SYNCHRONIZE’ undeclared here (not in a function)
>
> What it boils down to is that the source is now using a symbol that was not defined in Snow Leopard (without checking for its availability).
>
> Since it looks like it's making no decisions with that, but merely using it as part of a group of attributes to use when constructing a "trivial NFSv4 ACL from mode", some #ifdefs could probably work around it being present or absent.
>
> <main.log-libarchive.txt.gz>

See https://trac.macports.org/ticket/53712


Reply | Threaded
Open this post in threaded view
|

Re: libarchive @3.3.1 fails to build on Snow Leopard (10.6.8)

Richard L. Hamilton-3

> On Mar 5, 2017, at 11:58, Ryan Schmidt <[hidden email]> wrote:
>
>
>> On Mar 4, 2017, at 10:39, Richard L. Hamilton <[hidden email]> wrote:
>>
>> libarchive/archive_read_disk_entry_from_file.c:677: error: ‘ACL_SYNCHRONIZE’ undeclared here (not in a function)
>>
>> What it boils down to is that the source is now using a symbol that was not defined in Snow Leopard (without checking for its availability).
>>
>> Since it looks like it's making no decisions with that, but merely using it as part of a group of attributes to use when constructing a "trivial NFSv4 ACL from mode", some #ifdefs could probably work around it being present or absent.
>>
>> <main.log-libarchive.txt.gz>
>
> See https://trac.macports.org/ticket/53712

Thanks, I see mention of a fix that just hasn't made it into a release yet, so I'm hopeful that with the next version bump or two, it will build again.