Running catalyst to create stage1.hardend from stage3.hardend I get this error when compiling net-tools. Regards, Kfir Reproducible: Always Actual Results: i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net- tools-1.60_p20090728014017-r1/work/net-tools-1.60_p20090728014017/include -Ilib -c -o util-ank.o util-ank.c i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net- tools-1.60_p20090728014017-r1/work/net-tools-1.60_p20090728014017/include -Ilib -c -o util.o util.c i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net- tools-1.60_p20090728014017-r1/work/net-tools-1.60_p20090728014017/include -Ilib -c -o x25.o x25.c x25.c: In function 'X25_print': x25.c:58:3: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness /usr/include/bits/string3.h:118:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' x25.c: In function 'X25_sprint': x25.c:71:29: warning: pointer targets in passing argument 1 of 'X25_print' differ in signedness x25.c:54:1: note: expected 'unsigned char *' but argument is of type 'char *' x25.c: In function 'X25_input': x25.c:86:7: warning: pointer targets in assignment differ in signedness x25.c:117:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness /usr/include/bits/string3.h:118:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net- tools-1.60_p20090728014017-r1/work/net-tools-1.60_p20090728014017/include -Ilib -c -o x25_gr.o x25_gr.c x25_gr.c: In function 'X25_rprint': x25_gr.c:65:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net- tools-1.60_p20090728014017-r1/work/net-tools-1.60_p20090728014017/include -Ilib -c -o x25_sr.o x25_sr.c Building libnet-tools.a make[1]: Leaving directory `/var/tmp/portage/sys-apps/net-tools-1.60_p20090728014017-r1/work/net-tools-1.60_p20090728014017/lib' make[1]: Entering directory `/var/tmp/portage/sys-apps/net-tools-1.60_p20090728014017-r1/work/net-tools-1.60_p20090728014017/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/sys-apps/net-tools-1.60_p20090728014017-r1/work/net-tools-1.60_p20090728014017/man' make[1]: Entering directory `/var/tmp/portage/sys-apps/net-tools-1.60_p20090728014017-r1/work/net-tools-1.60_p20090728014017/lib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/sys-apps/net-tools-1.60_p20090728014017-r1/work/net-tools-1.60_p20090728014017/lib' make[1]: Entering directory `/var/tmp/portage/sys-apps/net-tools-1.60_p20090728014017-r1/work/net-tools-1.60_p20090728014017/lib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/sys-apps/net-tools-1.60_p20090728014017-r1/work/net-tools-1.60_p20090728014017/lib' i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p2009072 8014017-r1/work/net-tools-1.60_p20090728014017/include -Ilib -c -o ifconfig.o ifconfig.c i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Llib -o ifconfig ifconfig.o -lnet-tools i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p2009072 8014017-r1/work/net-tools-1.60_p20090728014017/include -Ilib -c -o hostname.o hostname.c hostname.c: In function 'main': hostname.c:425:15: warning: ignoring return value of 'getdomainname', declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Llib -o hostname hostname.o i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p2009072 8014017-r1/work/net-tools-1.60_p20090728014017/include -Ilib -c -o arp.o arp.c arp.c: In function 'arp_getdevhw': arp.c:261:2: warning: pointer targets in passing argument 1 of 'xhw->print' differ in signedness arp.c:261:2: note: expected 'unsigned char *' but argument is of type 'char *' i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Llib -o arp arp.o -lnet-tools i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p2009072 8014017-r1/work/net-tools-1.60_p20090728014017/include -Ilib -c -o netstat.o netstat.c netstat.c: In function 'ipx_info': netstat.c:1541:13: warning: implicit declaration of function 'fstat' netstat.c:1542:13: warning: implicit declaration of function 'S_ISREG' netstat.c:1569:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result netstat.c: In function 'x25_info': netstat.c:682:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result netstat.c: In function 'netrom_info': netstat.c:474:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result In file included from /usr/include/string.h:642:0, from netstat.c:74: In function 'strncat', inlined from 'tcp_do_one' at netstat.c:941:9: /usr/include/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer In function 'strncat', inlined from 'tcp_do_one' at netstat.c:952:9: /usr/include/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer In function 'strncat', inlined from 'tcp_do_one' at netstat.c:941:9: /usr/include/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer In function 'strncat', inlined from 'udp_do_one' at netstat.c:1093:9: /usr/include/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer In function 'strncat', inlined from 'udp_do_one' at netstat.c:1103:9: /usr/include/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer In function 'strncat', inlined from 'udp_do_one' at netstat.c:1093:9: /usr/include/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer In function 'strncat', inlined from 'raw_do_one' at netstat.c:1220:9: /usr/include/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer In function 'strncat', inlined from 'raw_do_one' at netstat.c:1230:9: /usr/include/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer In function 'strncat', inlined from 'raw_do_one' at netstat.c:1220:9: /usr/include/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-apps/net-tools-1.60_p2009072 8014017-r1/work/net-tools-1.60_p20090728014017/include -Ilib -c -o statistics.o statistics.c i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Llib -o netstat netstat.o statistics.o -lnet-tools netstat.o: In function `ipx_info': netstat.c:(.text+0x45a4): undefined reference to `S_ISREG' collect2: ld returned 1 exit status make: *** [netstat] Error 1 emake failed * ERROR: sys-apps/net-tools-1.60_p20090728014017-r1 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2726: Called die * The specific snippet of code: * emake || die; * * If you need support, post the output of 'emerge --info =sys-apps/net-tools-1.60_p20090728014017-r1', * the complete build log and the output of 'emerge -pqv =sys-apps/net-tools-1.60_p20090728014017-r1'. * The complete build log is located at '/var/tmp/portage/sys-apps/net-tools-1.60_p20090728014017-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/net-tools-1.60_p20090728014017-r1/temp/environment'. * S: '/var/tmp/portage/sys-apps/net-tools-1.60_p20090728014017-r1/work/net-tools-1.60_p20090728014017' * Messages for package sys-apps/net-tools-1.60_p20090728014017-r1 merged to /tmp/stage1root/: * ERROR: sys-apps/net-tools-1.60_p20090728014017-r1 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2726: Called die * The specific snippet of code: * emake || die; * * If you need support, post the output of 'emerge --info =sys-apps/net-tools-1.60_p20090728014017-r1', * the complete build log and the output of 'emerge -pqv =sys-apps/net-tools-1.60_p20090728014017-r1'. * The complete build log is located at '/var/tmp/portage/sys-apps/net-tools-1.60_p20090728014017-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/net-tools-1.60_p20090728014017-r1/temp/environment'. * S: '/var/tmp/portage/sys-apps/net-tools-1.60_p20090728014017-r1/work/net-tools-1.60_p20090728014017' * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. !!! catalyst: run script failed. Traceback (most recent call last): File "modules/generic_stage_target.py", line 1207, in run_local "run script failed.",env=self.env) File "/usr/lib/catalyst/modules/catalyst_support.py", line 542, in cmd raise CatalystError,myexc CatalystError None !!! catalyst: Stage build aborting due to error. Traceback (most recent call last): File "/usr/lib/catalyst/catalyst", line 209, in build_target mytarget.run() File "modules/generic_stage_target.py", line 1263, in run apply(getattr(self,x)) File "modules/generic_stage_target.py", line 1212, in run_local raise CatalystError,"Stage build aborting due to error." CatalystError !!! catalyst: Error encountered during run of target stage1 Catalyst aborting....
Just how old is that stage3 ? This might be a dupe of bug 332853.
(In reply to comment #1) > Just how old is that stage3 ? > This might be a dupe of bug 332853. > Hi, I packed this stage. It is the recent hardend stage3, upgraded to the latest ~x86. Regards, Kfir
Exactly the same bug report. Maybe newer should go stable. *** This bug has been marked as a duplicate of bug 332853 ***