* Package: app-emulation/x48-0.6.4-r2:0 * Repository: gentoo * Maintainer: voyageur@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux readline userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking x48-0.6.4.tar.bz2 to /var/tmp/portage/app-emulation/x48-0.6.4-r2/work >>> Source unpacked in /var/tmp/portage/app-emulation/x48-0.6.4-r2/work >>> Preparing source in /var/tmp/portage/app-emulation/x48-0.6.4-r2/work ... * Applying x48-0.6.4-static.patch ... [ ok ] * Applying x48-0.6.4-void_return.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/app-emulation/x48-0.6.4-r2/work' ... * Running 'aclocal --system-acdir=/var/tmp/portage/app-emulation/x48-0.6.4-r2/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: /var/tmp/portage/app-emulation/x48-0.6.4-r2/work/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-emulation/x48-0.6.4-r2/work ... * econf: updating config.sub with /usr/share/gnuconfig/config.sub * econf: updating config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/x48-0.6.4-r2 --htmldir=/usr/share/doc/x48-0.6.4-r2/html --libdir=/usr/lib64 --enable-readline checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether ln -s works... yes checking how to run the C preprocessor... clang -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.20... yes checking for readline in -lreadline... yes checking for add_history in -lhistory... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for readline/readline.h... yes checking for readline/history.h... yes checking for X11/extensions/XShm.h... yes checking for XShmQueryExtension in -lXext... yes checking for XCloseDisplay in -lGL... no checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fcntl.h... yes checking for memory.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/time.h... (cached) yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether clang needs -traditional... no checking for GNU libc compatible malloc... yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for bzero... yes checking for gethostname... yes checking for gettimeofday... yes checking for memset... yes checking for mkdir... yes checking for select... yes checking for strdup... yes checking for strrchr... yes checking for uname... yes checking for APPDEFS... yes checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of clang... none checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating romdump/Makefile config.status: creating src/x48.man config.status: creating rpm/x48.spec config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands X48 Configuration: Version: 0.6.4 Executables: ${exec_prefix}/bin Man pages: /usr/share/man With ReadLine sup. in Debuger? yes With Shared memory for XImage? yes # See INSTALL for the description of what this may mean. >>> Source configured. '/var/tmp/portage/app-emulation/x48-0.6.4-r2/temp/clang14.log' -> '/var/tmp/clang/app-emulation/x48-0.6.4-r2/clang14.log' '/var/tmp/portage/app-emulation/x48-0.6.4-r2/temp/clang15.log' -> '/var/tmp/clang/app-emulation/x48-0.6.4-r2/clang15.log' >>> Compiling source in /var/tmp/portage/app-emulation/x48-0.6.4-r2/work ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/app-emulation/x48-0.6.4-r2/work' Making all in src make[2]: Entering directory '/var/tmp/portage/app-emulation/x48-0.6.4-r2/work/src' clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o actions.o actions.c clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o debugger.o debugger.c clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o device.o device.c clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o disasm.o disasm.c actions.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_end(code) ^ clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o emulate.o emulate.c debugger.c:1575:39: warning: format specifies type 'void *' but the argument has type 'word_20' (aka 'long') [-Wformat] printf("%d %p -> [%s] %s\n", i, ent, typ, dat); ~~ ^~~ %ld debugger.c:1582:39: warning: format specifies type 'void *' but the argument has type 'word_20' (aka 'long') [-Wformat] printf("%d %p -> [%s] %s\n", i, ent, typ, dat); ~~ ^~~ %ld 1 warning generated. clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o errors.o errors.c clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o init.o init.c init.c:1066:48: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!read_rom_file(romFileName, &saturn.rom, &rom_size)) ^~~~~~~~~ ./romio.h:41:46: note: passing argument to parameter 'size' here int *size)); ^ init.c:1164:41: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!read_rom_file(fnam, &saturn.rom, &rom_size)) ^~~~~~~~~ ./romio.h:41:46: note: passing argument to parameter 'size' here int *size)); ^ init.c:1726:16: warning: passing 'short *' to parameter of type 'word_16 *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] write_16(fp, &saturn.bank_switch); ^~~~~~~~~~~~~~~~~~~ init.c:1460:29: note: passing argument to parameter 'var' here write_16(FILE *fp, word_16 *var) ^ clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o lcd.o lcd.c 2 warnings generated. clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o main.o main.c clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o memory.o memory.c clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o options.o options.c clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o register.o register.c register.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_end(code) ^ clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o resources.o resources.c clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o romio.o romio.c clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o rpl.o rpl.c romio.c:89:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (four[1] = 0x49) ~~~~~~~~^~~~~~ romio.c:89:3 warnings generated. 20: note: place parentheses around the assignment to silence this warning else if (four[1] = 0x49) ^ ( ) romio.c:89:20: note: use '==' to turn this assignment into an equality comparison else if (four[1] = 0x49) ^ == romio.c:96:22: warning: format specifies type 'int' but the argument has type '__off_t' (aka 'long') [-Wformat] printf("%d\n", st.st_size); ~~ ^~~~~~~~~~ %ld clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o serial.o serial.c rpl.c:370:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(p, hp48_trans_tbl[c].trans); ^~~~~~~~~~~~~~~~~~~~~~~ rpl.c:370:22: note: treat the string as an argument to avoid this sprintf(p, hp48_trans_tbl[c].trans); ^ "%s", rpl.c:417:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ rpl.c:614:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(p, hp48_trans_tbl[c].trans); ^~~~~~~~~~~~~~~~~~~~~~~ rpl.c:614:22: note: treat the string as an argument to avoid this sprintf(p, hp48_trans_tbl[c].trans); ^ "%s", rpl.c:770:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(p, hp48_trans_tbl[c].trans); ^~~~~~~~~~~~~~~~~~~~~~~ rpl.c:770:22: note: treat the string as an argument to avoid this sprintf(p, hp48_trans_tbl[c].trans); ^ "%s", rpl.c:814:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(p, hp48_trans_tbl[c].trans); ^~~~~~~~~~~~~~~~~~~~~~~ rpl.c:814:22: note: treat the string as an argument to avoid this sprintf(p, hp48_trans_tbl[c].trans); ^ "%s", 2 warnings generated. rpl.c:991:42: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(p, hp48_trans_tbl[c].trans); ^~~~~~~~~~~~~~~~~~~~~~~ rpl.c:991:42: note: treat the string as an argument to avoid this sprintf(p, hp48_trans_tbl[c].trans); ^ "%s", rpl.c:1184:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(p, hp48_trans_tbl[c].trans); ^~~~~~~~~~~~~~~~~~~~~~~ rpl.c:1184:18: note: treat the string as an argument to avoid this sprintf(p, hp48_trans_tbl[c].trans); ^ "%s", clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o timer.o timer.c serial.c:179:11: error: call to undeclared function 'grantpt'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] grantpt(wire_fd); ^ serial.c:180:11: error: call to undeclared function 'unlockpt'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] unlockpt(wire_fd); ^ serial.c:181:15: error: call to undeclared function 'ptsname_r'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (ptsname_r(wire_fd, tty_dev_name, 128)) { ^ serial.c:181:15: note: did you mean 'ttyname_r'? /usr/include/unistd.h:803:12: note: 'ttyname_r' declared here extern int ttyname_r (int __fd, char *__buf, size_t __buflen) ^ serial.c:297:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(tty_dev_name, serialLine); ^~~~~~~~~~ serial.c:297:29: note: treat the string as an argument to avoid this sprintf(tty_dev_name, serialLine); ^ "%s", 1 warning and 3 errors generated. make[2]: *** [Makefile:525: serial.o] Error 1 make[2]: *** Waiting for unfinished jobs.... timer.c:506:11: warning: absolute value function 'abs' given an argument of type 'word_64' (aka 'long') but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] delta = abs(adj_time); ^ timer.c:506:11: note: use function 'labs' instead delta = abs(adj_time); ^~~ labs 1 warning generated. 1 warning generated. 7 warnings generated. make[2]: Leaving directory '/var/tmp/portage/app-emulation/x48-0.6.4-r2/work/src' make[1]: *** [Makefile:447: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-emulation/x48-0.6.4-r2/work' make: *** [Makefile:365: all] Error 2 * ERROR: app-emulation/x48-0.6.4-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-emulation/x48-0.6.4-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/x48-0.6.4-r2::gentoo'`. * The complete build log is located at '/var/log/portage/app-emulation:x48-0.6.4-r2:20220918-144731.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/x48-0.6.4-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/x48-0.6.4-r2/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/x48-0.6.4-r2/work' * S: '/var/tmp/portage/app-emulation/x48-0.6.4-r2/work'