* Package: dev-util/bam-0.4.0-r1 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox * Using python2.7 to build >>> Unpacking source... >>> Unpacking bam-0.4.0.tar.bz2 to /var/tmp/portage/dev-util/bam-0.4.0-r1/work >>> Source unpacked in /var/tmp/portage/dev-util/bam-0.4.0-r1/work >>> Preparing source in /var/tmp/portage/dev-util/bam-0.4.0-r1/work/bam-0.4.0 ... * Applying bam-0.4.0-test.py.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/bam-0.4.0-r1/work/bam-0.4.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/bam-0.4.0-r1/work/bam-0.4.0 ... make -j4 bam x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -c -o src/cache.o src/cache.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -c -o src/context.o src/context.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -c -o src/dep_cpp.o src/dep_cpp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -c -o src/dep_search.o src/dep_search.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -c -o src/luafuncs.o src/luafuncs.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -c -o src/main.o src/main.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -c -o src/mem.o src/mem.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -c -o src/node.o src/node.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -c -o src/path.o src/path.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -c -o src/support.o src/support.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o bam src/cache.o src/context.o src/dep_cpp.o src/dep_search.o src/luafuncs.o src/main.o src/mem.o src/node.o src/path.o src/support.o -lm -lpthread -llua -ldl >>> Source compiled. >>> Test phase: dev-util/bam-0.4.0-r1 make -j4 test x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o bam src/cache.o src/context.o src/dep_cpp.o src/dep_search.o src/luafuncs.o src/main.o src/mem.o src/node.o src/path.o src/support.o -lm -lpthread -llua -ldl python scripts/test.py Path(nil): ok Path({}): ok Path("asdf", "asdf"): ok Path(""): ok Path("/"): ok Path("/a/../b.c/./file.ext"): ok Path("/a/../b.c/./"): ok Path("/a/b/.."): ok Path("/a/b/../"): ok Path("../../a/../b.c/./"): ok Path("../test/../path/file.name.ext"): ok PathBase(nil): ok PathBase({}): ok PathBase(""): ok PathBase("/"): ok PathBase("test/path/file.name.ext"): ok PathBase("/a/../b.c/./file.ext"): ok PathFileExt(nil): ok PathFileExt({}): ok PathFileExt(""): ok PathFileExt("/"): ok PathFileExt("/a/../b.c/./file.ext"): ok PathFilename(nil): ok PathFilename({}): ok PathFilename(""): ok PathFilename("/"): ok PathFilename("/a/../b.c/./file.ext"): ok PathJoin(nil): ok PathJoin("asdf", "asdf", "asdf"): ok PathJoin("a/b", ""): ok PathJoin("a/b/", ""): ok PathJoin("a", "b"): ok PathJoin("", "a"): ok PathJoin("", "a/b"): ok PathJoin("a/b", ".."): ok PathJoin("a/b/", ""): ok PathJoin("a/", "b/"): ok PathDir(nil): ok PathDir({}): ok PathDir(""): ok PathDir("/"): ok PathDir("/a/../b.c/./file.ext"): ok TableDeepCopy(nil): ok TableDeepCopy(""): ok TableDeepCopy({}, {}): ok TableDeepCopy({{{"a"}, "b"}, "c", "d", {"e", "f"}}): ok TableFlatten({"", {"", {""}, ""}, "", {}, {""}}): ok TableFlatten({"", {"", {""}, ""}, 1, {""}}): ok t = {a = 1}; TableLock(t); t.a = 2: ok t = {a = 1}; TableLock(t); t.b = 2: ok TableToString({"a", "b"}, "[", "]"): ok for s in TableWalk({"", {"", {""}, ""}, "", {}, {""}}) do end: ok for s in TableWalk({"", {"", {""}, ""}, 1, {""}}) do end: ok CheckSettings(nil): ok CheckSettings(""): ok CheckSettings({}): ok CheckSettings(NewSettings()): ok NewSettings(): ok t = NewSettings(); t.cc.DOES_NOT_EXIST = 1: ok t = NewSettings():Copy(); t.cc.DOES_NOT_EXIST = 1: ok cyclic: FAILED! bam: setup started bam: reading internal file 'src/base.lua' bam: reading internal file 'src/tools.lua' bam: reading internal file 'src/driver_gcc.lua' bam: reading internal file 'src/driver_cl.lua' bam: reading script from 'bam.lua' bam: making build target bam: setup done [1/2] #1 c cyclic.c gcc -g -c -o cyclic.o cyclic.c sh: gcc: command not found bam: ret=32512 gcc -g -c -o cyclic.o cyclic.c bam: 'cyclic.o' error 32512 bam: error: a build step failed difftest: cyclic '--debug-nodes' vs '--debug-nodes -n': ok include_paths: FAILED! bam: setup started bam: reading internal file 'src/base.lua' bam: reading internal file 'src/tools.lua' bam: reading internal file 'src/driver_gcc.lua' bam: reading internal file 'src/driver_cl.lua' bam: reading script from 'bam.lua' bam: making build target bam: setup done [1/2] #1 c include_paths.c gcc -g -c -I "dir" -o include_paths.o include_paths.c sh: gcc: command not found bam: ret=32512 gcc -g -c -I "dir" -o include_paths.o include_paths.c bam: 'include_paths.o' error 32512 bam: error: a build step failed difftest: include_paths '--debug-nodes' vs '--debug-nodes -n': ok dot.in.dir: FAILED! bam: setup started bam: reading internal file 'src/base.lua' bam: reading internal file 'src/tools.lua' bam: reading internal file 'src/driver_gcc.lua' bam: reading internal file 'src/driver_cl.lua' bam: reading script from 'bam.lua' bam: making build target bam: setup done [1/3] #1 c++ dot_in_dir.cpp g++ -g -c -o dot_in_dir.o dot_in_dir.cpp sh: g++: command not found bam: ret=32512 g++ -g -c -o dot_in_dir.o dot_in_dir.cpp bam: 'dot_in_dir.o' error 32512 bam: error: a build step failed difftest: dot.in.dir '--debug-nodes' vs '--debug-nodes -n': ok retval: ok multi_target: ok multi_target: FAILED! bam: setup started bam: reading internal file 'src/base.lua' bam: reading internal file 'src/tools.lua' bam: reading internal file 'src/driver_gcc.lua' bam: reading internal file 'src/driver_cl.lua' bam: reading script from 'bam.lua' bam: making build target bam: setup done [1/2] #1 c multi_target.c gcc -g -c -o multi_target.o multi_target.c sh: gcc: command not found bam: ret=32512 gcc -g -c -o multi_target.o multi_target.c bam: 'multi_target.o' error 32512 bam: error: a build step failed collect_wrong: ok locked: ok cxx_dep: FAILED! bam: setup started bam: reading internal file 'src/base.lua' bam: reading internal file 'src/tools.lua' bam: reading internal file 'src/driver_gcc.lua' bam: reading internal file 'src/driver_cl.lua' bam: reading script from 'bam.lua' bam: making build target bam: setup done [1/5] #1 headergen echo "/**/" > dir/genereted_header.h bam: ret=0 echo "/**/" > dir/genereted_header.h [2/5] #1 c main.c gcc -g -c -I "dir" -o main.o main.c sh: gcc: command not found bam: ret=32512 gcc -g -c -I "dir" -o main.o main.c bam: 'main.o' error 32512 [3/5] #1 c lib.c gcc -g -c -I "dir" -o lib.o lib.c sh: gcc: command not found bam: ret=32512 gcc -g -c -I "dir" -o lib.o lib.c bam: 'lib.o' error 32512 bam: error: a build step failed deps: ok collect_recurse: FAILED! bam: setup started bam: reading internal file 'src/base.lua' bam: reading internal file 'src/tools.lua' bam: reading internal file 'src/driver_gcc.lua' bam: reading internal file 'src/driver_cl.lua' bam: reading script from 'bam.lua' bam: making build target bam: setup done [1/3] #1 c++ collect_recurse.cpp g++ -g -c -o collect_recurse.o collect_recurse.cpp sh: g++: command not found bam: ret=32512 g++ -g -c -o collect_recurse.o collect_recurse.cpp bam: 'collect_recurse.o' error 32512 [2/3] #1 c++ extra/recursed.cpp g++ -g -c -o extra/recursed.o extra/recursed.cpp sh: g++: command not found bam: ret=32512 g++ -g -c -o extra/recursed.o extra/recursed.cpp bam: 'extra/recursed.o' error 32512 bam: error: a build step failed sharedlib: FAILED! bam: setup started bam: reading internal file 'src/base.lua' bam: reading internal file 'src/tools.lua' bam: reading internal file 'src/driver_gcc.lua' bam: reading internal file 'src/driver_cl.lua' bam: reading script from 'bam.lua' bam: making build target bam: setup done [1/2] #1 c++ sharedlib.cpp g++ -fPIC -g -c -o sharedlib.o sharedlib.cpp sh: g++: command not found bam: ret=32512 g++ -fPIC -g -c -o sharedlib.o sharedlib.cpp bam: 'sharedlib.o' error 32512 bam: error: a build step failed deadlock: FAILED! bam: setup started bam: reading internal file 'src/base.lua' bam: reading internal file 'src/tools.lua' bam: reading internal file 'src/driver_gcc.lua' bam: reading internal file 'src/driver_cl.lua' bam: reading script from 'bam.lua' bam: making build target bam: setup done [1/3] #1 headergen echo "/**/" > header_gen.h bam: ret=0 echo "/**/" > header_gen.h [2/3] #1 c test.c gcc -g -c -o test.o test.c sh: gcc: command not found bam: ret=32512 gcc -g -c -o test.o test.c bam: 'test.o' error 32512 bam: error: a build step failed addorder: ok FAILED TESTS: cyclic(returned 1) include_paths(returned 1) dot.in.dir(returned 1) multi_target(returned 1) cxx_dep(returned 1) collect_recurse(returned 1) sharedlib(returned 1) deadlock(returned 1) make: *** [Makefile:19: test] Error 1 * ERROR: dev-util/bam-0.4.0-r1::gentoo failed (test phase): * Make test failed. See above for details. * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 2867: Called default * phase-functions.sh, line 855: Called default_src_test * phase-functions.sh, line 884: Called __eapi0_src_test * phase-helpers.sh, line 783: Called die * The specific snippet of code: * $emake_cmd ${internal_opts} test || \ * die "Make test failed. See above for details." * * If you need support, post the output of `emerge --info '=dev-util/bam-0.4.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/bam-0.4.0-r1::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-util/bam-0.4.0-r1:20200519-200730.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/bam-0.4.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/bam-0.4.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/bam-0.4.0-r1/work/bam-0.4.0' * S: '/var/tmp/portage/dev-util/bam-0.4.0-r1/work/bam-0.4.0' emerge --info: Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r3, 5.4.0-1009-aws x86_64) ================================================================= System uname: Linux-5.4.0-1009-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 16011344 total, 7470984 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 19 May 2020 20:09:28 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2-r2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS