* Package: sys-apps/tomoyo-tools-2.3.0_p20100820 * Repository: gentoo * Maintainer: matsuu@gentoo.org * USE: elibc_glibc kernel_linux test userland_GNU x86 * FEATURES: sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking tomoyo-tools-2.3.0-20100820.tar.gz to /var/tmp/portage/sys-apps/tomoyo-tools-2.3.0_p20100820/work >>> Source unpacked in /var/tmp/portage/sys-apps/tomoyo-tools-2.3.0_p20100820/work >>> Preparing source in /var/tmp/portage/sys-apps/tomoyo-tools-2.3.0_p20100820/work/tomoyo-tools ... * Applying tomoyo-tools-2.3.0_p20100820-flags-parallel.patch ... [ ok ] * Applying tomoyo-tools-2.3.0_p20100820-gentoo.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/tomoyo-tools-2.3.0_p20100820/work/tomoyo-tools ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/tomoyo-tools-2.3.0_p20100820/work/tomoyo-tools ... make -j14 make -C sbin/ all make[1]: Entering directory `/var/tmp/portage/sys-apps/tomoyo-tools-2.3.0_p20100820/work/tomoyo-tools/sbin' cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-init tomoyo-init.c tomoyo-init.c: In function ‘main’: tomoyo-init.c:351:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-init.c: In function ‘ask_profile’: tomoyo-init.c:127:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-init.c: In function ‘copy_files’: tomoyo-init.c:177:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] make[1]: Leaving directory `/var/tmp/portage/sys-apps/tomoyo-tools-2.3.0_p20100820/work/tomoyo-tools/sbin' make -C usr_sbin/ all make[1]: Entering directory `/var/tmp/portage/sys-apps/tomoyo-tools-2.3.0_p20100820/work/tomoyo-tools/usr_sbin' cc -O2 -pipe -Wall -Wno-pointer-sign -fPIC -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu tomoyotools.c -shared -Wl,-soname,libtomoyotools.so.1 -o libtomoyotools.so.1.0.0 tomoyotools.c: In function ‘tomoyo_write_domain_policy’: tomoyotools.c:1257:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyotools.c:1259:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyotools.c:1265:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyotools.c:1267:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyotools.c:1269:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyotools.c:1271:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyotools.c:1273:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyotools.c: In function ‘tomoyo_read_process_list’: tomoyotools.c:1031:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyotools.c:1033:8: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] ln -sf libtomoyotools.so.1.0.0 libtomoyotools.so cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-domainmatch tomoyo-domainmatch.c -ltomoyotools -L. cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-queryd tomoyo-queryd.c -lncurses -ltomoyotools -L. cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-pstree tomoyo-pstree.c -ltomoyotools -L. cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-checkpolicy tomoyo-checkpolicy.c -ltomoyotools -L. cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-editpolicy editpolicy*.c -lncurses -ltomoyotools -L. -DCOLOR_ON cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-findtemp tomoyo-findtemp.c -ltomoyotools -L. cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-ld-watch tomoyo-ld-watch.c -ltomoyotools -L. cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-loadpolicy tomoyo-loadpolicy.c -ltomoyotools -L. cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-patternize tomoyo-patternize.c -ltomoyotools -L. cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-savepolicy tomoyo-savepolicy.c -ltomoyotools -L. cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-setlevel tomoyo-setlevel.c -ltomoyotools -L. cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-setprofile tomoyo-setprofile.c -ltomoyotools -L. In file included from tomoyo-queryd.c:24:0: readline.h: In function ‘tomoyo_readline’: readline.h:162:7: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] readline.h:160:7: warning: variable ‘window_height’ set but not used [-Wunused-but-set-variable] tomoyo-checkpolicy.c: In function ‘tomoyo_check_network_policy’: tomoyo-checkpolicy.c:439:6: warning: variable ‘operation’ set but not used [-Wunused-but-set-variable] cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-sortpolicy tomoyo-sortpolicy.c -ltomoyotools -L. tomoyo-queryd.c: In function ‘tomoyo_handle_query’: tomoyo-queryd.c:353:6: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] tomoyo-queryd.c: In function ‘main’: tomoyo-queryd.c:600:23: warning: variable ‘prev_serial’ set but not used [-Wunused-but-set-variable] tomoyo-queryd.c:599:16: warning: variable ‘first’ set but not used [-Wunused-but-set-variable] cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-diffpolicy tomoyo-diffpolicy.c -ltomoyotools -L. tomoyo-queryd.c:612:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-queryd.c: In function ‘tomoyo_send_keepalive’: tomoyo-queryd.c:290:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-queryd.c: In function ‘tomoyo_handle_query’: tomoyo-queryd.c:423:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-queryd.c:468:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-queryd.c:469:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-queryd.c:470:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-queryd.c:484:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-queryd.c: In function ‘tomoyo_readline’: readline.h:186:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-selectpolicy tomoyo-selectpolicy.c -ltomoyotools -L. In file included from editpolicy.c:25:0: readline.h: In function ‘tomoyo_readline’: readline.h:162:7: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] readline.h:160:7: warning: variable ‘window_height’ set but not used [-Wunused-but-set-variable] tomoyo-savepolicy.c: In function ‘main’: tomoyo-savepolicy.c:175:12: warning: ignoring return value of ‘symlink’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-savepolicy.c:189:12: warning: ignoring return value of ‘symlink’, declared with attribute warn_unused_result [-Wunused-result] editpolicy.c: In function ‘main’: editpolicy.c:2440:12: warning: ignoring return value of ‘symlink’, declared with attribute warn_unused_result [-Wunused-result] editpolicy.c:2450:12: warning: ignoring return value of ‘symlink’, declared with attribute warn_unused_result [-Wunused-result] editpolicy.c:2459:12: warning: ignoring return value of ‘symlink’, declared with attribute warn_unused_result [-Wunused-result] editpolicy.c:2468:12: warning: ignoring return value of ‘symlink’, declared with attribute warn_unused_result [-Wunused-result] editpolicy.c: In function ‘tomoyo_readline’: readline.h:186:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] make[1]: Leaving directory `/var/tmp/portage/sys-apps/tomoyo-tools-2.3.0_p20100820/work/tomoyo-tools/usr_sbin' make -C usr_lib_tomoyo/ all make[1]: Entering directory `/var/tmp/portage/sys-apps/tomoyo-tools-2.3.0_p20100820/work/tomoyo-tools/usr_lib_tomoyo' cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-notifyd tomoyo-notifyd.c cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o tomoyo-editpolicy-agent tomoyo-editpolicy-agent.c cc -O2 -pipe -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o init_policy init_policy.c tomoyo-notifyd.c: In function ‘main’: tomoyo-notifyd.c:69:3: warning: implicit declaration of function ‘unshare’ [-Wimplicit-function-declaration] tomoyo-notifyd.c:69:15: error: ‘CLONE_NEWNS’ undeclared (first use in this function) tomoyo-notifyd.c:69:15: note: each undeclared identifier is reported only once for each function it appears in tomoyo-notifyd.c:180:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] make[1]: *** [tomoyo-notifyd] Error 1 make[1]: *** Waiting for unfinished jobs.... tomoyo-editpolicy-agent.c: In function ‘main’: tomoyo-editpolicy-agent.c:307:3: warning: implicit declaration of function ‘unshare’ [-Wimplicit-function-declaration] tomoyo-editpolicy-agent.c:307:15: error: ‘CLONE_NEWNS’ undeclared (first use in this function) tomoyo-editpolicy-agent.c:307:15: note: each undeclared identifier is reported only once for each function it appears in tomoyo-editpolicy-agent.c: In function ‘handle_query’: tomoyo-editpolicy-agent.c:171:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-editpolicy-agent.c: In function ‘handle_stream’: tomoyo-editpolicy-agent.c:153:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-editpolicy-agent.c: In function ‘show_tasklist’: tomoyo-editpolicy-agent.c:98:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-editpolicy-agent.c:100:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-editpolicy-agent.c:132:9: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-editpolicy-agent.c:137:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-editpolicy-agent.c: In function ‘handle_policy’: tomoyo-editpolicy-agent.c:222:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-editpolicy-agent.c:223:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-editpolicy-agent.c:224:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-editpolicy-agent.c:240:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tomoyo-editpolicy-agent.c:265:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] init_policy.c: In function ‘scan_modprobe_and_hotplug’: init_policy.c:456:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] make[1]: *** [tomoyo-editpolicy-agent] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-apps/tomoyo-tools-2.3.0_p20100820/work/tomoyo-tools/usr_lib_tomoyo' make: *** [all] Error 2 emake failed * ERROR: sys-apps/tomoyo-tools-2.3.0_p20100820 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2420: Called _eapi2_src_compile * ebuild.sh, line 665: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =sys-apps/tomoyo-tools-2.3.0_p20100820', * the complete build log and the output of 'emerge -pqv =sys-apps/tomoyo-tools-2.3.0_p20100820'. * The complete build log is located at '/var/log/portage/build/sys-apps/tomoyo-tools-2.3.0_p20100820:20110612-210132.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/tomoyo-tools-2.3.0_p20100820/temp/environment'. * S: '/var/tmp/portage/sys-apps/tomoyo-tools-2.3.0_p20100820/work/tomoyo-tools'