net-libs/libnids-1.18 builds on OS X 10.3.4 but does not install because of ld/symbol problem. Debug as follows: gcc -shared -Wl,-soname,libnids.so.1.18 -o libnids.so.1.18 checksum_pic.o ip_fragment_pic.o ip_options_pic.o killtcp_pic.o libnids_pic.o scan_pic.o tcp_pic.o util_pic.o allpromisc_pic.o hash_pic.o -lnet -L/usr/lib -lpcap gcc: unrecognized option `-shared' ld: unknown flag: -soname make[1]: *** [libnids.so.1.18] Error 1 make: *** [shared] Error 2 !!! ERROR: net-libs/libnids-1.18 failed. !!! Function src_compile, Line 30, Exitcode 2 !!! (no error message) #### END DEBUG #### Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51_pre13 (default-macos-10.3, gcc-3.3, unavailable, 7.4.0 Power Macintosh powerpc) =============================================================== == System uname: 7.4.0 Power Macintosh powerpc cat: /etc/gentoo-release: No such file or directory distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.57 Automake: sys-devel/automake-1.6.3 Binutils: ACCEPT_KEYWORDS="macos" AUTOCLEAN="yes" CFLAGS="-O3 -pipe" CHOST="powerpc-apple-darwin" COMPILER="gcc3" 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="-O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache cvs keepwork" GENTOO_MIRRORS="http://gentoo.osuosl.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="macos X berkdb ldap mysql perl python ruby"
gcc -shared -Wl,-soname,libnids.so.1.18 -o libnids.so.1.18 checksum_pic.o ip_fragment_pic.o ip_options_pic.o killtcp_pic.o libnids_pic.o scan_pic.o tcp_pic.o util_pic.o allpromisc_pic.o hash_pic.o -lnsl -lnet -L/usr/lib -lpcap Fine here on a real nix system.
I should of closed this one as WONTFIX
Resolution changed to WONTFIX. I'm not adding hacks for a proprietary system which lacks proper toolchain support. Please format and install a linux-ppc system.