My problem is similar to bug 394131: >>> Compiling source in /var/tmp/portage/app-misc/pax-utils-0.3.0/work/pax-utils-0.3.0 ... gmake CC=i686-gentoo-freebsd8.2-gcc USE_CAP= i686-gentoo-freebsd8.2-gcc -O2 -march=i686 -mtune=core2 -pipe -D_GNU_SOURCE -DVERSION="0.3.0" -o paxelf.o -c paxelf.c i686-gentoo-freebsd8.2-gcc -O2 -march=i686 -mtune=core2 -pipe -D_GNU_SOURCE -DVERSION="0.3.0" -o paxmacho.o -c paxmacho.c i686-gentoo-freebsd8.2-gcc -O2 -march=i686 -mtune=core2 -pipe -D_GNU_SOURCE -DVERSION="0.3.0" -o paxinc.o -c paxinc.c i686-gentoo-freebsd8.2-gcc -O2 -march=i686 -mtune=core2 -pipe -D_GNU_SOURCE -DVERSION="0.3.0" -o xfuncs.o -c xfuncs.c i686-gentoo-freebsd8.2-gcc -O2 -march=i686 -mtune=core2 -pipe -D_GNU_SOURCE -DVERSION="0.3.0" -o scanelf.o -c scanelf.c scanelf.c: In function ‘fopenat_r’: scanelf.c:95:41: error: ‘O_CLOEXEC’ undeclared (first use in this function) scanelf.c:95:41: note: each undeclared identifier is reported only once for each function it appears in scanelf.c: At top level: scanelf.c:910:2: warning: #warning Cache support not implemented for your target scanelf.c: In function ‘scanelf_fileat’: scanelf.c:1651:64: error: ‘O_CLOEXEC’ undeclared (first use in this function) scanelf.c: In function ‘scanelf_dirat’: scanelf.c:1692:44: error: ‘O_CLOEXEC’ undeclared (first use in this function) scanelf.c: In function ‘parseargs’: scanelf.c:2194:36: error: ‘O_CLOEXEC’ undeclared (first use in this function) gmake: *** [scanelf.o] Error 1 emake failed * ERROR: app-misc/pax-utils-0.3.0 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 759: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" USE_CAP=$(use caps && echo yes) || die * * If you need support, post the output of 'emerge --info =app-misc/pax-utils-0.3.0', * the complete build log and the output of 'emerge -pqv =app-misc/pax-utils-0.3.0'. * The complete build log is located at '/var/tmp/portage/app-misc/pax-utils-0.3.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/pax-utils-0.3.0/temp/environment'. * S: '/var/tmp/portage/app-misc/pax-utils-0.3.0/work/pax-utils-0.3.0' Reproducible: Always
Seems already fixed in pax-utils CVS. http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-projects/pax-utils/porting.h?r1=1.41&r2=1.42&view=patch vapier, will there be new release including this patch soon? or may I add this patch to portage-tree?
I cannot reproduce this issue on x86 Gentoo/FreeBSD 9. This seems to be Gentoo/FreeBSD 8.x specific.
(In reply to comment #2) > I cannot reproduce this issue on x86 Gentoo/FreeBSD 9. This seems to be > Gentoo/FreeBSD 8.x specific. Seems to. See URL.
it'll be in the next pax-utils release