I've compiled traceroute-1.4_p12-r2 using emerge on my darwin/osx box. Reproducible: Always Steps to Reproduce: 1. Add the ppc-macos keyword to the ebuild (traceroute-1.4_p12-r2.ebuild) 2. Comment line 36 (append-ldflags -Wl,-z,now) to the ebuild 3. FEATURES="-collision-protect" emerge -v traceroute Actual Results: It works.. :) Vigor11:~ root# traceroute Version 1.4a12 Usage: traceroute [-dFInrvx] [-g gateway] [-i iface] [-f first_ttl] [-m max_ttl] [ -p port] [-q nqueries] [-s src_addr] [-t tos] [-w waittime] [-z pausemsecs] host [packetlen] Vigor11:~ root#
Created attachment 46997 [details] changed traceroute-1.4_p12-r2.ebuild
Doesn't work for me! autom4te: /usr/bin/gm4 failed with exit status: 1 autoreconf: /usr/bin/autoconf failed with exit status: 1 ./configure --prefix=/usr --host=powerpc-apple-darwin --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib creating cache ./config.cache checking host system type... powerpc-apple-darwin checking target system type... powerpc-apple-darwin checking build system type... powerpc-apple-darwin checking for gcc... gcc checking whether the C compiler (gcc -fast -fPIC -mcpu=7450 -pipe -Wl,-z,now) works... no configure: error: installation or configuration problem: C compiler cannot create executables. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/traceroute-1.4_p12-r2/work/traceroute-1.4a12/config.log !!! ERROR: net-analyzer/traceroute-1.4_p12-r2 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. Note: I DO have xcode installed and I can install other C programs.
have you emerged the system with "emerge system"?
Of course I've emerged system. I did not notice that you commented line 36 in the ebuild. Sorry about that. I am not willing to comment that line without finding out what it is there for. The fact that the comment details about suid apps suggests there may be a security reason for those flags. I am not experienced with this, so I don't know.
Apparently those linker options don't work for a lot of archs and are simply commented when that is the case. So, kito: if you want to keyword this for your profile or for ppc-darwin, make the following modification at line 36: use ppc-macos || append-ldflags -Wl,-z,now and go right ahead. Please package.mask this for the collision-protect profile as BSD traceroute is already provided by the system.
has this bug been dealt with in the progressive profile yet?
powerpc-apple-darwin8-gcc -O3 -pipe -mcpu=G5 -mtune=G5 -D_GNU_SOURCE -c csum.c powerpc-apple-darwin8-gcc -O3 -pipe -mcpu=G5 -mtune=G5 -D_GNU_SOURCE -c mod-icm p.c In file included from mod-icmp.c:13: /usr/include/netinet/icmp6.h:190: error: field ‘mld6_addr’ has incomplete type /usr/include/netinet/icmp6.h:244: error: field ‘nd_ns_target’ has incomplete pe /usr/include/netinet/icmp6.h:255: error: field ‘nd_na_target’ has incomplete and I don't feel like fixing it, sorry.