* Package: dev-libs/libx86emu-1.1:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking libx86emu-1.1-9.8.src.rpm to /var/tmp/portage/dev-libs/libx86emu-1.1/work >>> Unpacking ./libx86emu-1.1.tar.bz2 to /var/tmp/portage/dev-libs/libx86emu-1.1/work >>> Source unpacked in /var/tmp/portage/dev-libs/libx86emu-1.1/work >>> Preparing source in /var/tmp/portage/dev-libs/libx86emu-1.1/work/libx86emu-1.1 ... * Applying libx86emu-1.1-fix-makefile.patch ... [ ok ] * Applying libx86emu-1.1-gcc10-fno-common.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/libx86emu-1.1/work/libx86emu-1.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/libx86emu-1.1/work/libx86emu-1.1 ... make -j4 x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fPIC -Wall -c -o api.o api.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fPIC -Wall -c -o decode.o decode.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fPIC -Wall -c -o mem.o mem.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fPIC -Wall -c -o ops.o ops.c mem.c: In function ‘vm_r_byte_noperm’: mem.c:303:18: warning: variable ‘attr’ set but not used [-Wunused-but-set-variable] 303 | unsigned char *attr; | ^~~~ decode.c: In function ‘fetch_data_byte_abs’: decode.c:553:12: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 553 | unsigned err; | ^~~ decode.c: In function ‘fetch_data_word_abs’: decode.c:573:12: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 573 | unsigned err; | ^~~ decode.c: In function ‘fetch_data_long_abs’: decode.c:593:12: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 593 | unsigned err; | ^~~ decode.c: In function ‘idt_lookup’: decode.c:1852:12: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 1852 | unsigned err; | ^~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fPIC -Wall -c -o ops2.o ops2.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fPIC -Wall -c -o prim_ops.o prim_ops.c ops2.c: In function ‘x86emuOp2_rdpmc’: ops2.c:444:12: warning: variable ‘u’ set but not used [-Wunused-but-set-variable] 444 | unsigned u; | ^ prim_ops.c: In function ‘sbb_word’: prim_ops.c:1823:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 1823 | else | ^~~~ In file included from prim_ops.c:100: include/x86emu_int.h:87:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 87 | if(COND) SET_FLAG(FLAG); else CLEAR_FLAG(FLAG) | ^~ prim_ops.c:1825:9: note: in expansion of macro ‘CONDITIONAL_SET_FLAG’ 1825 | CONDITIONAL_SET_FLAG(res & 0x8000, F_SF); | ^~~~~~~~~~~~~~~~~~~~ prim_ops.c: In function ‘sbb_long’: prim_ops.c:1848:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 1848 | else | ^~~~ include/x86emu_int.h:87:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 87 | if(COND) SET_FLAG(FLAG); else CLEAR_FLAG(FLAG) | ^~ prim_ops.c:1850:9: note: in expansion of macro ‘CONDITIONAL_SET_FLAG’ 1850 | CONDITIONAL_SET_FLAG(res & 0x80000000, F_SF); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname,libx86emu.so.1 api.o decode.o mem.o ops.o ops2.o prim_ops.o -o libx86emu.so.1.1 ln -snf libx86emu.so.1.1 libx86emu.so.1 ln -snf libx86emu.so.1 libx86emu.so >>> Source compiled. >>> Test phase: dev-libs/libx86emu-1.1 make -j4 check make -C test make[1]: Entering directory '/var/tmp/portage/dev-libs/libx86emu-1.1/work/libx86emu-1.1/test' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fPIC -Wall -fPIC -Wall -I../include -c -o x86test.o x86test.c nasm failed nasm failed make[1]: *** [Makefile:24: 0001_00_add.init] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:24: 0002_8e_mov_sr.init] Error 2 nasm failed make[1]: *** [Makefile:24: 0003_lds_real.init] Error 2 x86test.c: In function ‘build_file_name’: x86test.c:412:5: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 412 | asprintf(&s, "%s%s", file, suffix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/dev-libs/libx86emu-1.1/work/libx86emu-1.1/test' make: *** [Makefile:32: check] Error 2 * ERROR: dev-libs/libx86emu-1.1::gentoo failed (test phase): * Make check failed. See above for details. * * Call stack: * ebuild.sh, line 122: Called src_test * environment, line 1455: Called default * phase-functions.sh, line 872: Called default_src_test * phase-functions.sh, line 901: Called __eapi0_src_test * phase-helpers.sh, line 832: Called die * The specific snippet of code: * ${emake_cmd} ${internal_opts} check || \ * die "Make check failed. See above for details." * * If you need support, post the output of `emerge --info '=dev-libs/libx86emu-1.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/libx86emu-1.1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:libx86emu-1.1:20221101-205552.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/libx86emu-1.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libx86emu-1.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/libx86emu-1.1/work/libx86emu-1.1' * S: '/var/tmp/portage/dev-libs/libx86emu-1.1/work/libx86emu-1.1'