Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538502 - sys-devel/patch-2.7.4 fails to build on OS X prefix due to missing faccessat in safe_acess
Summary: sys-devel/patch-2.7.4 fails to build on OS X prefix due to missing faccessat ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-02 06:02 UTC by iloveosxzfs
Modified: 2015-02-17 18:01 UTC (History)
1 user (show)

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


Attachments
build log (build.log,34.09 KB, application/octet-stream)
2015-02-02 06:02 UTC, iloveosxzfs
Details
emerge info (emerge-info-patch-2.7.4.txt,14.20 KB, text/plain)
2015-02-02 06:03 UTC, iloveosxzfs
Details
emerge pqv (emerge-pqv-patch-2.7.4.txt,190 bytes, text/plain)
2015-02-02 06:04 UTC, iloveosxzfs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iloveosxzfs 2015-02-02 06:02:26 UTC
Created attachment 395360 [details]
build log

Undefined symbols for architecture x86_64:
  "_faccessat", referenced from:
      _safe_access in safe.o

This is an upstream bug but prefix may wish to patch it before upstream GNU patch project gets around to fixing it.
Comment 1 iloveosxzfs 2015-02-02 06:03:41 UTC
Created attachment 395362 [details]
emerge info
Comment 2 iloveosxzfs 2015-02-02 06:04:37 UTC
Created attachment 395364 [details]
emerge pqv
Comment 3 yegle 2015-02-03 18:28:37 UTC
In addition, bootstrapping prefix on Yosemite failed on patch-2.7.4 in stage3. Not sure if it's related.
Comment 4 iloveosxzfs 2015-02-03 18:30:47 UTC
As a workaround you can just mask 2.7.4 so that the bootstrap can finish.

echo '=sys-devel/patch-2.7.4' >> YOURPREFIX/etc/portage/package.mask
Comment 5 Craig 2015-02-03 19:02:16 UTC
Thanks, masking appears to be working for me.
Comment 6 Fabian Groffen gentoo-dev 2015-02-04 17:50:49 UTC
Got a link for upstream bug?  I can see a commit that updates gnulib, which I think it related.  In that case it's a matter of masking this one, or else we'll have to run eautoreconf and stuff.
Comment 7 Fabian Groffen gentoo-dev 2015-02-08 09:23:14 UTC
Masked
Comment 8 Paul Varner (RETIRED) gentoo-dev 2015-02-09 18:47:52 UTC
FYI, leave it masked. But on OS X 10.10, I was able to get patch-2.7.4 working fine with this commit from upstream: 

http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=b650986cb3789b6c8d347c65879c821b5ec537fa

For earlier versions of OS X, not sure what else would be required.
Comment 9 Michael Haubenwallner (RETIRED) gentoo-dev 2015-02-17 18:01:53 UTC
(In reply to Fabian Groffen from comment #7)
> Masked

Same for AIX and Solaris.