features.h does not exist on FreeBSD. Content similar to exist in sys/cdefs.h. Reproducible: Always Steps to Reproduce: 1. MAKEOPTS=-j1 ebuild pax-utils-0.8.1.ebuild clean compile 2. 3. Actual Results: * pax-utils-0.8.1.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking pax-utils-0.8.1.tar.xz to /var/tmp/portage/app-misc/pax-utils-0.8.1/work >>> Source unpacked in /var/tmp/portage/app-misc/pax-utils-0.8.1/work >>> Preparing source in /var/tmp/portage/app-misc/pax-utils-0.8.1/work/pax-utils-0.8.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/pax-utils-0.8.1/work/pax-utils-0.8.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-misc/pax-utils-0.8.1/work/pax-utils-0.8.1 ... gmake -j1 USE_CAP=no USE_PYTHON=yes CC=x86_64-gentoo-freebsd10.0-gcc x86_64-gentoo-freebsd10.0-gcc -O0 -pipe -ggdb -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION="0.8.1" -o paxelf.o -c paxelf.c In file included from porting.h:38:0, from paxinc.h:15, from paxelf.c:10: elf.h:22:22: fatal error: features.h: No such file or directory #include <features.h> ^ compilation terminated. Makefile:84: recipe for target 'paxelf.o' failed gmake: *** [paxelf.o] Error 1 * ERROR: app-misc/pax-utils-0.8.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-misc/pax-utils-0.8.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/pax-utils-0.8.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-misc/pax-utils-0.8.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/pax-utils-0.8.1/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/pax-utils-0.8.1/work/pax-utils-0.8.1' * S: '/var/tmp/portage/app-misc/pax-utils-0.8.1/work/pax-utils-0.8.1' FYI, sys/cdefs.h on FreeBSD. http://svnweb.freebsd.org/base/releng/10.0/sys/sys/cdefs.h?revision=259065&view=co
Created attachment 374780 [details, diff] sample patch for pax-utils-0.8.1/elf.h
The patch should send to upstream
well, this can be assigned to package maintainer.
i dropped the include instead http://sources.gentoo.org/gentoo-projects/pax-utils/elf.h?r1=1.10&r2=1.11 http://sources.gentoo.org/gentoo-projects/pax-utils/tests/source/dotest?r1=1.7&r2=1.8
Would you release new version of pax-utils soon? If not, I'd like to add this patch to the portage tree.
*** Bug 526048 has been marked as a duplicate of this bug. ***
0.9.1 is in the tree now w/the fix