Created attachment 435152 [details] dev-libs:libffi-3.2.1:20160523-045016.log.xz >>> Test phase: dev-libs/libffi-3.2.1 * .hppa: running multilib-minimal_abi_src_test make -j3 check Making check in include make[1]: Entering directory '/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1-.hppa/include' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1-.hppa/include' Making check in testsuite make[1]: Entering directory '/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1-.hppa/testsuite' make check-DEJAGNU make[2]: Entering directory '/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1-.hppa/testsuite' Making a new site.exp file ... srcdir='/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/testsuite'; export srcdir; \ EXPECT=expect; export EXPECT; \ if /bin/sh -c "runtest --version" > /dev/null 2>&1; then \ exit_status=0; l='libffi'; for tool in $l; do \ if runtest --tool $tool --srcdir $srcdir ; \ then :; else exit_status=1; fi; \ done; \ else echo "WARNING: could not find 'runtest'" 1>&2; :;\ fi; \ exit $exit_status WARNING: Couldn't find the global config file. Test Run By portage on Mon May 23 06:55:00 2016 Native configuration is hppa2.0-unknown-linux-gnu === libffi tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/testsuite/config/default.exp as tool-and-target-specific interface file. Running /var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/testsuite/libffi.call/call.exp ... ERROR: tcl error sourcing /var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/testsuite/libffi.call/call.exp. ERROR: .; !!! JeR-QA: gcc -> hppa2.0-unknown-linux-gnu-gcc while executing "exec $compiler --print-multi-lib" (procedure "get_multilibs" line 62) invoked from within "get_multilibs" (procedure "g++_include_flags" line 9) invoked from within "g++_include_flags" (procedure "default_target_compile" line 34) invoked from within "default_target_compile $source $destfile $type $options" (procedure "target_compile" line 6) invoked from within "target_compile $source $dest $type $options" (procedure "libffi_target_compile" line 57) invoked from within "libffi_target_compile "$prog" "$output_file" "$compile_type" $options" (procedure "libffi-dg-test-1" line 52) invoked from within "libffi-dg-test-1 target_compile $prog $do_what $extra_tool_flags" (procedure "libffi-dg-test" line 2) invoked from within "${tool}-dg-test $prog [lindex ${dg-do-what} 0] "$tool_flags ${dg-extra-tool-flags}"" (procedure "saved-dg-test" line 112) invoked from within "saved-dg-test /var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/testsuite/libffi.call/unwindtest.cc {-W -Wall -Wno-psabi -O0} {}" ("eval" body line 1) invoked from within "eval saved-dg-test $args " (procedure "dg-test" line 6) invoked from within "dg-test $test $options """ (procedure "run-many-tests" line 36) invoked from within "run-many-tests $tlist """ (file "/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/testsuite/libffi.call/call.exp" line 25) invoked from within "source /var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/testsuite/libffi.call/call.exp" ("uplevel" body line 1) invoked from within "uplevel #0 source /var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/testsuite/libffi.call/call.exp" invoked from within "catch "uplevel #0 source $test_file_name"" === libffi Summary === # of expected passes 1780 make[2]: Leaving directory '/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1-.hppa/testsuite' The failure here is triggered by the unexpected (scraped) output, it seems, but the important bit is that it was running `gcc' directly.
Created attachment 435154 [details] dev-libs:libffi-3.2.1:20160523-044658.log.xz
Seems to be relevant for =dev-libs/libffi-3.3 as well. I tried to substitute /usr/bin/gcc with: #!/bin/bash echo "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA: $0 $@" >&2 echo "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA: $0 $@" >>/tmp/bad-cc exec /usr/x86_64-pc-linux-gnu/gcc-bin/9.2.0/gcc "$@" and it triggered as: ERROR: tcl error sourcing /tmp/portage/dev-libs/libffi-3.3/work/libffi-3.3/testsuite/libffi.closures/closure.exp. ERROR: .; 32;@m32 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA: /usr/bin/gcc --print-multi-lib while executing "exec $compiler --print-multi-lib" (procedure "get_multilibs" line 62) invoked from within "get_multilibs" (procedure "g++_include_flags" line 9) invoked from within "g++_include_flags" (procedure "default_target_compile" line 52) invoked from within "default_target_compile $source $destfile $type $options" (procedure "target_compile" line 6) invoked from within "target_compile $source $dest $type $options" (procedure "libffi_target_compile" line 62) invoked from within "libffi_target_compile "$prog" "$output_file" "$compile_type" $options" (procedure "libffi-dg-test-1" line 52) invoked from within "libffi-dg-test-1 target_compile $prog $do_what $extra_tool_flags" (procedure "libffi-dg-test" line 2) invoked from within "${tool}-dg-test $prog [lindex ${dg-do-what} 0] "$tool_flags ${dg-extra-tool-flags}"" (procedure "saved-dg-test" line 112) invoked from within "saved-dg-test /tmp/portage/dev-libs/libffi-3.3/work/libffi-3.3/testsuite/libffi.closures/unwindtest.cc {-W -Wall -Wno-psabi -O0} {}" ("eval" body line 1) invoked from within "eval saved-dg-test $args " (procedure "dg-test" line 6) invoked from within "dg-test $test $options """ (procedure "run-many-tests" line 63) invoked from within "run-many-tests $tlist $additional_options" (file "/tmp/portage/dev-libs/libffi-3.3/work/libffi-3.3/testsuite/libffi.closures/closure.exp" line 55) invoked from within "source /tmp/portage/dev-libs/libffi-3.3/work/libffi-3.3/testsuite/libffi.closures/closure.exp" ("uplevel" body line 1) invoked from within "uplevel #0 source /tmp/portage/dev-libs/libffi-3.3/work/libffi-3.3/testsuite/libffi.closures/closure.exp" invoked from within "catch "uplevel #0 source $test_file_name""
Curiously not reproducible on sys-devel/gcc-config[-native-symlinks] system.