Portage 2.1_pre5-r1 (!/usr/local/portage/portage-alt-overlay/profiles/default-bsd/fbsd/6.0/x86, gcc-, freebsd-lib-6.0-r0, 6.0-RELEASE i386) ================================================================= System uname: 6.0-RELEASE i386 i386 Gentoo Base System version 20060222 dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 6.0 ACCEPT_KEYWORDS="x86 x86-fbsd ~x86 ~x86-fbsd" AUTOCLEAN="yes" CBUILD="i686-gentoo-freebsd6.0" CFLAGS="-mtune=pentium3 -O2 -pipe -ftracer" CHOST="i686-gentoo-freebsd6.0" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mtune=pentium3 -O2 -pipe -ftracer -fconserve-space -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/packages/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/portage-alt-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86-fbsd ipv6 nat ncurses nopie nossp oss pam readline ssl symlink tcpd usb elibc_FreeBSD kernel_FreeBSD userland_BSD" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS ===> usbhidaction (all) Warning: Object directory not changed from original /var/tmp/portage/freebsd-ubin-6.0-r1/work/usr.bin/usbhidaction i686-gentoo-freebsd6.0-gcc -mtune=pentium3 -O2 -pipe -ftracer -c usbhidaction.c usbhidaction.c:52:20: usbhid.h: No such file or directory usbhidaction.c:67: error: field `item' has incomplete type usbhidaction.c:81: error: syntax error before "report_desc_t" usbhidaction.c: In function `main': usbhidaction.c:99: error: `report_desc_t' undeclared (first use in this function) usbhidaction.c:99: error: (Each undeclared identifier is reported only once usbhidaction.c:99: error: for each function it appears in.) usbhidaction.c:99: error: syntax error before "repd" usbhidaction.c:156: error: `repd' undeclared (first use in this function) usbhidaction.c:162: error: `hid_input' undeclared (first use in this function) usbhidaction.c: At top level: usbhidaction.c:264: error: syntax error before "report_desc_t" usbhidaction.c: In function `parse_conf': usbhidaction.c:273: error: storage size of 'h' isn't known usbhidaction.c:277: error: `conf' undeclared (first use in this function) usbhidaction.c:351: error: `repd' undeclared (first use in this function) usbhidaction.c:351: error: `hid_input' undeclared (first use in this function) usbhidaction.c:351: error: `reportid' undeclared (first use in this function) usbhidaction.c:351: warning: assignment makes pointer from integer without a cast usbhidaction.c:390: error: `hid_collection' undeclared (first use in this function) usbhidaction.c:396: error: `hid_endcollection' undeclared (first use in this function) usbhidaction.c:404: error: `ignore' undeclared (first use in this function) *** Error code 1 Stop in /var/tmp/portage/freebsd-ubin-6.0-r1/work/usr.bin/usbhidaction. *** Error code 1 Stop in /var/tmp/portage/freebsd-ubin-6.0-r1/work/usr.bin. !!! ERROR: sys-freebsd/freebsd-ubin-6.0-r1 failed. Call stack: ebuild.sh, line 1928: Called dyn_compile ebuild.sh, line 966: Called src_compile ebuild.sh, line 1643: Called freebsd_src_compile freebsd.eclass, line 95: Called bsdmk_src_compile !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant.
A part that -fvisibility-inlines-hidden is going to hurt you *very* badly.... The problem is that the ebuild didn't symlink sys inside it, and was using the old method of patching the makefiles, but that makefile wasn't updated. I've updated the ebuild, will come in tomorrow's overlay snapshot; now it symlinks sys directory inside WORKDIR and avoid patching the makefiles where unneeded.
Forgot to resolve this as fixed :) To the next!