Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518444 - app-arch/tar-1.28 won't build on OS X due to xattr regression
Summary: app-arch/tar-1.28 won't build on OS X due to xattr regression
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL: http://lists.gnu.org/archive/html/bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-29 07:09 UTC by iloveosxzfs
Modified: 2014-08-12 07:14 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,50.46 KB, application/octet-stream)
2014-07-29 07:09 UTC, iloveosxzfs
Details
emerge info (emerge-info-tar128.txt,14.75 KB, text/plain)
2014-07-29 07:11 UTC, iloveosxzfs
Details
emerge pqv (emerge-pqv-tar128.txt,286 bytes, text/plain)
2014-07-29 07:11 UTC, iloveosxzfs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iloveosxzfs 2014-07-29 07:09:37 UTC
Created attachment 381766 [details]
build log

app-arch/tar-1.28 fails to build on OS X because it is not respecting -xattr.
Comment 1 iloveosxzfs 2014-07-29 07:11:17 UTC
Created attachment 381768 [details]
emerge info
Comment 2 iloveosxzfs 2014-07-29 07:11:59 UTC
Created attachment 381770 [details]
emerge pqv
Comment 3 iloveosxzfs 2014-07-29 07:15:10 UTC
A simple workaround is to move /usr/include/sys/xattr.h somewhere else while building tar-1.28.

For instance,
sudo mv /usr/include/sys/xattr.h /usr/include/sys/xattr.h.disabled
emerge tar
sudo mv /usr/include/sys/xattr.h.disabled /usr/include/sys/xattr.h

Or you can mask tar-1.28
echo '=app-arch/tar-1.28' >> etc/portage/package.mask
Comment 4 Askar Bektassov 2014-08-01 21:58:38 UTC
SΩame issue on Mac OS X Yosemite, masking provides a proper workaround.
Comment 5 Fabian Groffen gentoo-dev 2014-08-12 07:04:43 UTC
Same on Lion
Comment 6 Fabian Groffen gentoo-dev 2014-08-12 07:14:22 UTC
masked on OSX at last