Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413967 - app-misc/pax-utils fails to compile due to *at funcs on older systems
Summary: app-misc/pax-utils fails to compile due to *at funcs on older systems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-29 09:22 UTC by Fabian Groffen
Modified: 2014-10-19 08:39 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2012-04-29 09:22:49 UTC
Solaris:
scanelf.o: In function `scanelf_file_needed_lib.clone.6':
scanelf.c:(.text+0x5348): undefined reference to `faccessat'
scanelf.c:(.text+0x5428): undefined reference to `faccessat'
scanelf.o: In function `scanelf_dirat':
scanelf.c:(.text+0x8356): undefined reference to `stpcpy'
scanelf.o: In function `main':
scanelf.c:(.text+0x9668): undefined reference to `getline'
collect2: ld returned 1 exit status

Darwin:
scanelf.c:63: error: ‘AT_FDCWD’ undeclared here (not in a function)
scanelf.c: In function ‘fopenat_r’:
scanelf.c:95: warning: implicit declaration of function ‘openat’
scanelf.c:95: warning: nested extern declaration of ‘openat’
scanelf.c: In function ‘scanelf_file_rpath’:
scanelf.c:773: warning: overflow in implicit constant conversion
scanelf.c: In function ‘lookup_config_lib’:
scanelf.c:938: warning: implicit declaration of function ‘faccessat’
scanelf.c:938: warning: nested extern declaration of ‘faccessat’
scanelf.c:938: error: ‘AT_SYMLINK_NOFOLLOW’ undeclared (first use in this function)
scanelf.c:938: error: (Each undeclared identifier is reported only once
scanelf.c:938: error: for each function it appears in.)
scanelf.c: In function ‘scanelf_fileat’:
scanelf.c:1650: warning: implicit declaration of function ‘fstatat’
scanelf.c:1650: warning: nested extern declaration of ‘fstatat’
scanelf.c: In function ‘scanelf_dirat’:
scanelf.c:1694: error: ‘AT_SYMLINK_NOFOLLOW’ undeclared (first use in this function)
scanelf.c:1708: warning: implicit declaration of function ‘fdopendir’
scanelf.c:1708: warning: nested extern declaration of ‘fdopendir’
scanelf.c:1708: warning: assignment makes pointer from integer without a cast
make: *** [scanelf.o] Error 1

This might need the same treatment as for portage-utils, since this seems not easily fixable.
Comment 1 SpanKY gentoo-dev 2013-04-05 21:53:58 UTC
if you threw together the framework like we have in portage-utils, i wouldn't mind adding that :)
Comment 2 SpanKY gentoo-dev 2014-10-19 08:39:46 UTC
pax-utils-0.9 should include autotools now and thus work on prefix systems.  if things still fail, file a new bug with the build log and we'll follow up there.