* Package: sys-libs/gpm-1.20.7-r3 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux split-usr userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.15.10-gentoo-dist * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking gpm-1.20.7.tar.lzma to /var/tmp/portage/sys-libs/gpm-1.20.7-r3/work >>> Unpacking gpm-1.20.7-docs.patch.xz to /var/tmp/portage/sys-libs/gpm-1.20.7-r3/work >>> Source unpacked in /var/tmp/portage/sys-libs/gpm-1.20.7-r3/work >>> Preparing source in /var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7 ... * Applying gpm-1.20.7-sysmacros.patch ... patching file src/daemon/open_console.c Hunk #1 succeeded at 23 with fuzz 1 (offset -1 lines). [ ok ] * Applying gpm-1.20.7-docs.patch ... [ ok ] * Applying gpm-1.20.7-glibc-2.26.patch ... [ ok ] * Applying gpm-1.20.7-gcc-10.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7' ... * Running 'libtoolize --install --copy --force' ... [ ok ] * Running 'aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running elibtoolize in: gpm-1.20.7/ * Running elibtoolize in: gpm-1.20.7/config/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... * Applying static-flags/2.4.6 patch ... * Will copy sources from /var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7 * abi_x86_64.amd64: copying to /var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64 >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure * econf: updating gpm-1.20.7-abi_x86_64.amd64/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gpm-1.20.7-abi_x86_64.amd64/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gpm-1.20.7-abi_x86_64.amd64/config/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gpm-1.20.7-abi_x86_64.amd64/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gpm-1.20.7/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gpm-1.20.7/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gpm-1.20.7/config/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gpm-1.20.7/config/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/gpm-1.20.7-r3 --htmldir=/usr/share/doc/gpm-1.20.7-r3/html --with-sysroot=/ --libdir=/usr/lib --disable-static --sysconfdir=/etc/gpm emacs=/bin/false checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc 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 x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to enable C11 features... none needed checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-gentoo-linux-musl-nm -B checking the name lister (/usr/bin/x86_64-gentoo-linux-musl-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format... func_convert_file_noop checking how to convert x86_64-gentoo-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r checking for x86_64-gentoo-linux-musl-objdump... x86_64-gentoo-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-gentoo-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar checking for archiver @FILE support... @ checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib checking for gawk... gawk checking command to parse /usr/bin/x86_64-gentoo-linux-musl-nm -B output from x86_64-gentoo-linux-musl-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-gentoo-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no 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 dlfcn.h... yes checking for objdir... .libs checking if x86_64-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-gentoo-linux-musl-gcc static flag -static works... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-gentoo-linux-musl-gcc linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c checking for bison... bison -y checking whether ln -s works... yes checking for dvips... no checking for texi2html... /usr/bin/texi2html checking for tex... no checking for texindex... /usr/bin/texindex checking for makeinfo... /usr/bin/makeinfo checking for diff... /usr/bin/diff checking for sed... (cached) /bin/sed checking for emacs... /bin/false checking where to install Emacs Lisp files... ${datadir}/emacs/site-lisp checking for syslog.h... yes checking for linux/input.h... yes checking for linux/joystick.h... yes checking for ncurses.h... yes checking for ncurses/curses.h... no checking for curses.h... yes checking for sys/sysmacros.h... yes checking for linux/major.h... yes checking for linux/tty.h... yes checking for sys/socket.h... yes checking for __u32... yes checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking whether system is ELF... yes checking for vsyslog... yes checking for syslog... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for tputs in -ltinfo... yes checking for wgetch in -lncurses... yes configure: creating ./config.status config.status: creating Makefile.include config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating contrib/Makefile config.status: creating src/headers/config.h config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j4 EMACS=: ELISP= touch src/.depend # to prevent unecessary warnings make -C src dep make[1]: Entering directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src' bison -y /var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src/prog/gpm-root.y && mv y.tab.c prog/gpm-root.c # make links in srcdir make[1]: [Makefile:92: .depend] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ x86_64-gentoo-linux-musl-gcc -I. -I /var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -M -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE $DEPS | \ /bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done prog/display-buttons.c:39:10: fatal error: gpm.h: No such file or directory 39 | #include /* gpm information */ | ^~~~~~~ compilation terminated. prog/display-coords.c:40:10: fatal error: gpm.h: No such file or directory 40 | #include /* gpm information */ | ^~~~~~~ compilation terminated. prog/get-versions.c:25:10: fatal error: gpm.h: No such file or directory 25 | #include /* gpm information */ | ^~~~~~~ compilation terminated. # make links in srcdir make[1]: [Makefile:92: dep] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ x86_64-gentoo-linux-musl-gcc -I. -I /var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -M -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE $DEPS | \ /bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done prog/display-buttons.c:39:10: fatal error: gpm.h: No such file or directory 39 | #include /* gpm information */ | ^~~~~~~ compilation terminated. prog/display-coords.c:40:10: fatal error: gpm.h: No such file or directory 40 | #include /* gpm information */ | ^~~~~~~ compilation terminated. prog/get-versions.c:25:10: fatal error: gpm.h: No such file or directory 25 | #include /* gpm information */ | ^~~~~~~ compilation terminated. make[1]: Leaving directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src' make[1]: Entering directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src' x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o mice.o mice.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o twiddler.o twiddler.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o synaptics.o synaptics.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/add_mouse.o daemon/add_mouse.c mice.c: In function 'option_modem_lines': mice.c:187:37: warning: pointer targets in initialization of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 187 | {"dtr", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR}, | ^ mice.c:187:37: note: (near initialization for 'optioninfo[0].u.iptr') mice.c:188:37: warning: pointer targets in initialization of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 188 | {"rts", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_RTS}, | ^ mice.c:188:37: note: (near initialization for 'optioninfo[1].u.iptr') mice.c:189:37: warning: pointer targets in initialization of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 189 | {"both", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR | TIOCM_RTS}, | ^ mice.c:189:37: note: (near initialization for 'optioninfo[2].u.iptr') synaptics.c: In function 'tp_hextoint': synaptics.c:2253:11: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 2253 | sscanf (bytes, "%x", &result); | ^~~~~ | | | unsigned char * In file included from synaptics.c:213: /usr/include/stdio.h:119:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 119 | int sscanf(const char *__restrict, const char *__restrict, ...); | ^ mice.c: In function 'M_summa': mice.c:345:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 345 | if (y<0) y=0; if (y>summamaxy) y=summamaxy; | ^~ mice.c:345:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 345 | if (y<0) y=0; if (y>summamaxy) y=summamaxy; | ^~ synaptics.c: In function 'tp_serial_send_cmd': synaptics.c:2320:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2320 | write (fd, cmd, strlen (cmd)); | ^~~ | | | unsigned char * In file included from synaptics.c:216: /usr/include/string.h:52:16: note: expected 'const char *' but argument is of type 'unsigned char *' 52 | size_t strlen (const char *); | ^~~~~~~~~~~~ synaptics.c:2321:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2321 | tp_serial_read (fd, junk, strlen (cmd)); | ^~~ | | | unsigned char * In file included from synaptics.c:216: /usr/include/string.h:52:16: note: expected 'const char *' but argument is of type 'unsigned char *' 52 | size_t strlen (const char *); | ^~~~~~~~~~~~ synaptics.c: In function 'syn_serial_set_mode': synaptics.c:2334:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2334 | sprintf (bytes, "%%C3B%02X5555", mode); | ^~~~~ | | | unsigned char * In file included from synaptics.c:213: /usr/include/stdio.h:109:13: note: expected 'char * restrict' but argument is of type 'unsigned char *' 109 | int sprintf(char *__restrict, const char *__restrict, ...); | ^ synaptics.c: In function 'syn_serial_read_ident': synaptics.c:2347:27: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] 2347 | tp_serial_send_cmd (fd, "%A"); | ^~~~ | | | char * synaptics.c:2315:47: note: expected 'unsigned char *' but argument is of type 'char *' 2315 | unsigned char *cmd) | ~~~~~~~~~~~~~~~^~~ synaptics.c: In function 'syn_serial_read_model_id': mice.c: In function 'R_msc': mice.c:537:12: warning: variable 'dy' set but not used [-Wunused-but-set-variable] 537 | int dx, dy; | ^~ mice.c:537:8: warning: variable 'dx' set but not used [-Wunused-but-set-variable] 537 | int dx, dy; | ^~ synaptics.c:2388:29: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] 2388 | tp_serial_send_cmd (fd, "%D"); | ^~~~ | | | char * synaptics.c:2315:47: note: expected 'unsigned char *' but argument is of type 'char *' 2315 | unsigned char *cmd) | ~~~~~~~~~~~~~~~^~~ synaptics.c: In function 'syn_serial_read_cap': synaptics.c:2416:27: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] 2416 | tp_serial_send_cmd (fd, "%B"); | ^~~~ | | | char * synaptics.c:2315:47: note: expected 'unsigned char *' but argument is of type 'char *' 2315 | unsigned char *cmd) | ~~~~~~~~~~~~~~~^~~ mice.c: In function 'M_wacom': mice.c:897:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 897 | if (x>wmaxx) x=wmaxx; if (x<0) x=0; | ^~ mice.c:897:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 897 | if (x>wmaxx) x=wmaxx; if (x<0) x=0; | ^~ mice.c:898:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 898 | if (y>wmaxy) y=wmaxy; if (y<0) y=0; | ^~ mice.c:898:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 898 | if (y>wmaxy) y=wmaxy; if (y<0) y=0; | ^~ mice.c:907:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 907 | if( abs(x-ox)>(wmaxx/wcmodell[WacomModell].treshold) | ^~ mice.c:908:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 908 | || abs(y-oy)>(wmaxy/wcmodell[WacomModell].treshold) ) ox=x; oy=y; | ^~ mice.c: In function 'M_gunze': mice.c:1341:18: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 1341 | if(sscanf(data+1, "%d,%d", &x, &y)!= 2) { | ~~~~^~ | | | unsigned char * In file included from mice.c:45: /usr/include/stdio.h:119:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 119 | int sscanf(const char *__restrict, const char *__restrict, ...); | ^ mice.c:1356:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1356 | if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; | ^~ mice.c:1356:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1356 | if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; | ^~ mice.c:1357:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1357 | if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; | ^~ mice.c:1357:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1357 | if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; | ^~ mice.c: In function 'M_etouch': mice.c:1452:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1452 | if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; | ^~ mice.c:1452:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1452 | if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; | ^~ mice.c:1453:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1453 | if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; | ^~ mice.c:1453:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1453 | if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; | ^~ x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/init_mice.o daemon/init_mice.c twiddler.c: In function 'twiddler_key': twiddler.c:253:10: warning: variable 'val' set but not used [-Wunused-but-set-variable] 253 | char *val; | ^~~ twiddler.c: In function 'twiddler_rest_to_value': twiddler.c:432:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 432 | return (char *)twiddler_escape_sequence(ptr+1, &len /* unused */); | ^ mice.c: In function 'I_wacom': mice.c:1843:10: warning: 'p' is used uninitialized [-Wuninitialized] 1843 | while(I_wacom_RequestData(NULL, fd, buffer, BUFFER_SIZE, p)) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/reset_mice.o daemon/reset_mice.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/build_argv.o daemon/build_argv.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/disable_paste.o daemon/disable_paste.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/do_client.o daemon/do_client.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/do_selection.o daemon/do_selection.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/get_console_size.o daemon/get_console_size.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/get_data.o daemon/get_data.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/getmousedata.o daemon/getmousedata.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/gpm.o daemon/gpm.c In file included from daemon/gpm.c:32: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ daemon/getmousedata.c: In function 'getMouseData': daemon/getmousedata.c:39:16: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 39 | char *edata=data+type->packetlen; | ^~~~ daemon/getmousedata.c:58:17: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 58 | return data; | ^~~~ daemon/getmousedata.c:89:11: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 89 | return data; | ^~~~ x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/gpm-killed.o daemon/gpm-killed.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/header.o daemon/header.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/main.o daemon/main.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/old_main.o daemon/old_main.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/open_console.o daemon/open_console.c daemon/open_console.c: In function 'open_console': daemon/open_console.c:52:21: warning: 'si.line' may be used uninitialized [-Wmaybe-uninitialized] 52 | if (si.line > 0) { | ~~^~~~~ daemon/open_console.c:43:25: note: 'si' declared here 43 | struct serial_struct si; | ^~ daemon/old_main.c: In function 'old_main': daemon/old_main.c:56:11: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 56 | if(!strcmp((which_mouse->opt_dev),"-")) fd=0; /* use stdin */ | ^~~~~~ x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/check_kill.o daemon/check_kill.c daemon/old_main.c:35:1: note: include '' or provide a declaration of 'strcmp' 34 | #include "headers/gpmInt.h" /* daemon internals */ +++ |+#include 35 | x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/gpm_exited.o daemon/gpm_exited.c daemon/old_main.c:88:4: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 88 | bzero((char *)&ctladdr,sizeof(ctladdr)); | ^~~~~ daemon/old_main.c:88:4: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] daemon/old_main.c:90:4: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 90 | strcpy(ctladdr.sun_path,GPM_NODE_CTL); | ^~~~~~ daemon/old_main.c:90:4: note: include '' or provide a declaration of 'strcpy' daemon/old_main.c:90:4: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] daemon/old_main.c:90:4: note: include '' or provide a declaration of 'strcpy' daemon/old_main.c:152:55: warning: implicit declaration of function 'strerror'; did you mean 'perror'? [-Wimplicit-function-declaration] 152 | gpm_report(GPM_PR_ERR,GPM_MESS_SELECT_STRING,strerror(errno)); | ^~~~~~~~ | perror daemon/old_main.c:198:16: warning: value computed is not used [-Wunused-value] 198 | || do_selection(&event); | ^~ x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o generic/isodigit.o generic/isodigit.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o generic/getsym.o generic/getsym.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/processspecial.o daemon/processspecial.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/processconn.o daemon/processconn.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/processmouse.o daemon/processmouse.c daemon/processconn.c: In function 'processConn': daemon/processconn.c:117:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 117 | strncpy(tty, option.consolename, strlen(option.consolename) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daemon/processconn.c:117:40: note: length computed here 117 | strncpy(tty, option.consolename, strlen(option.consolename) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/processrequest.o daemon/processrequest.c daemon/processmouse.c: In function 'processMouse': daemon/processmouse.c:82:57: warning: pointer targets in passing argument 2 of 'which_mouse->m_type->fun' differ in signedness [-Wpointer-sign] 82 | || ((*((which_mouse->m_type)->fun))(&nEvent,data)==-1) ) { | ^~~~ | | | char * daemon/processmouse.c:82:57: note: expected 'unsigned char *' but argument is of type 'char *' x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/selection_copy.o daemon/selection_copy.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/selection_paste.o daemon/selection_paste.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/cmdline.o daemon/cmdline.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/loadlut.o daemon/loadlut.c daemon/cmdline.c: In function 'cmdline': daemon/cmdline.c:46:20: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 46 | if (optarg) | ^~ daemon/cmdline.c:47:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 47 | opt_age_limit = atoi(optarg); break; | ^~~~~ daemon/cmdline.c:71:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 71 | else (which_mouse->opt_scale)=100/(which_mouse->opt_scale); break; | ^~~~ daemon/cmdline.c:71:88: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 71 | else (which_mouse->opt_scale)=100/(which_mouse->opt_scale); break; | ^~~~~ daemon/cmdline.c:75:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 75 | else option.repeater_type = "msc"; break; | ^~~~ daemon/cmdline.c:75:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 75 | else option.repeater_type = "msc"; break; | ^~~~~ daemon/cmdline.c:78:20: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 78 | else opt_special=""; break; | ^~~~ daemon/cmdline.c:78:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 78 | else opt_special=""; break; | ^~~~~ daemon/loadlut.c: In function 'loadlut': daemon/loadlut.c:53:26: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness [-Wpointer-sign] 53 | i += getsym(charset+i, &this); | ~~~~~~~^~ | | | char * In file included from daemon/loadlut.c:30: /var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src/headers/daemon.h:201:35: note: expected 'const unsigned char *' but argument is of type 'char *' 201 | int getsym(const unsigned char *p0, unsigned char *res); | ~~~~~~~~~~~~~~~~~~~~~^~ daemon/loadlut.c:55:31: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness [-Wpointer-sign] 55 | i += getsym(charset+i+1, &next) + 1; | ~~~~~~~~~^~ | | | char * In file included from daemon/loadlut.c:30: /var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src/headers/daemon.h:201:35: note: expected 'const unsigned char *' but argument is of type 'char *' 201 | int getsym(const unsigned char *p0, unsigned char *res); | ~~~~~~~~~~~~~~~~~~~~~^~ x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/find_mouse_by_name.o daemon/find_mouse_by_name.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/usage.o daemon/usage.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/check_uniqueness.o daemon/check_uniqueness.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/startup.o daemon/startup.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o daemon/wait_text.o daemon/wait_text.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o report.o report.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o tools.o tools.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o lib/liblow.lo lib/liblow.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o lib/libhigh.lo lib/libhigh.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o lib/libxtra.lo lib/libxtra.c In file included from lib/liblow.c:36: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o lib/report-lib.lo lib/report-lib.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o tools.lo tools.c x86_64-gentoo-linux-musl-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o lib/libcurses.lo lib/libcurses.c x86_64-gentoo-linux-musl-gcc -Iheaders -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o prog/mev.o prog/mev.c x86_64-gentoo-linux-musl-gcc -Iheaders -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o prog/hltest.o prog/hltest.c lib/libcurses.c: In function 'Gpm_Wgetch': lib/libcurses.c:148:25: warning: pointer targets in passing argument 1 of 'gpm_convert_event' differ in signedness [-Wpointer-sign] 148 | gpm_convert_event(mdata,&ev); | ^~~~~ | | | unsigned char * lib/libcurses.c:98:40: note: expected 'char *' but argument is of type 'unsigned char *' 98 | extern int gpm_convert_event(char *data, Gpm_Event *event); | ~~~~~~^~~~ x86_64-gentoo-linux-musl-gcc -Iheaders -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o prog/mouse-test.o prog/mouse-test.c x86_64-gentoo-linux-musl-gcc -Iheaders -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o prog/open_console.o prog/open_console.c prog/mouse-test.c: In function 'main': prog/mouse-test.c:536:52: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] 536 | if ((*(cur->this->fun))(&event,buf+i)==-1) { | ~~~^~ | | | char * prog/mouse-test.c:536:52: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:205:40: warning: value computed is not used [-Wunused-value] 205 | #define CHECKFAIL(count) ((count)==0 && noneofthem()) | ^~ prog/mouse-test.c:569:4: note: in expansion of macro 'CHECKFAIL' 569 | CHECKFAIL(typecount); | ^~~~~~~~~ prog/mouse-test.c:610:50: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] 610 | if ((*(cur->this->fun))(&event,buf+i)==-1) continue; | ~~~^~ | | | char * prog/mouse-test.c:610:50: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:205:40: warning: value computed is not used [-Wunused-value] 205 | #define CHECKFAIL(count) ((count)==0 && noneofthem()) | ^~ prog/mouse-test.c:622:4: note: in expansion of macro 'CHECKFAIL' 622 | CHECKFAIL(typecount); | ^~~~~~~~~ prog/mouse-test.c:652:50: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] 652 | if ((*(cur->this->fun))(&event,buf+i)==-1) continue; | ~~~^~ | | | char * prog/mouse-test.c:652:50: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:205:40: warning: value computed is not used [-Wunused-value] 205 | #define CHECKFAIL(count) ((count)==0 && noneofthem()) | ^~ prog/mouse-test.c:671:4: note: in expansion of macro 'CHECKFAIL' 671 | CHECKFAIL(typecount); | ^~~~~~~~~ x86_64-gentoo-linux-musl-gcc -Iheaders -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o prog/disable-paste.o prog/disable-paste.c x86_64-gentoo-linux-musl-gcc -Iheaders -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o prog/display-buttons.o prog/display-buttons.c prog/display-buttons.c: In function 'display_data': prog/display-buttons.c:52:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] 52 | printf("[%d] delta: %ds",now,delta); | ~^ ~~~ | | | | int time_t {aka long int} | %ld x86_64-gentoo-linux-musl-gcc -Iheaders -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -c -o prog/display-coords.o prog/display-coords.c prog/display-buttons.c: In function 'main': prog/display-buttons.c:69:4: error: unknown type name 'fd_set' 69 | fd_set fds; | ^~~~~~ prog/display-buttons.c:92:7: warning: implicit declaration of function 'FD_ZERO' [-Wimplicit-function-declaration] 92 | FD_ZERO(&fds); | ^~~~~~~ prog/display-buttons.c:93:7: warning: implicit declaration of function 'FD_SET'; did you mean 'L_SET'? [-Wimplicit-function-declaration] 93 | FD_SET(gpm_fd, &fds); | ^~~~~~ | L_SET prog/display-buttons.c:95:11: warning: implicit declaration of function 'select' [-Wimplicit-function-declaration] 95 | if (select(gpm_fd+1, &fds, 0, 0, 0) < 0 && errno == EINTR) | ^~~~~~ prog/display-buttons.c:97:11: warning: implicit declaration of function 'FD_ISSET' [-Wimplicit-function-declaration] 97 | if (FD_ISSET(gpm_fd, &fds)) { | ^~~~~~~~ make[1]: *** [Makefile:62: prog/display-buttons.o] Error 1 make[1]: *** Waiting for unfinished jobs.... prog/display-coords.c: In function 'display_data': prog/display-coords.c:53:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] 53 | printf("[%d] delta: %ds",now,delta); | ~^ ~~~ | | | | int time_t {aka long int} | %ld prog/display-coords.c: In function 'main': prog/display-coords.c:65:4: error: unknown type name 'fd_set' 65 | fd_set fds; | ^~~~~~ prog/display-coords.c:86:7: warning: implicit declaration of function 'FD_ZERO' [-Wimplicit-function-declaration] 86 | FD_ZERO(&fds); | ^~~~~~~ prog/display-coords.c:87:7: warning: implicit declaration of function 'FD_SET'; did you mean 'L_SET'? [-Wimplicit-function-declaration] 87 | FD_SET(gpm_fd, &fds); | ^~~~~~ | L_SET prog/display-coords.c:89:11: warning: implicit declaration of function 'select' [-Wimplicit-function-declaration] 89 | if (select(gpm_fd+1, &fds, 0, 0, 0) < 0 && errno == EINTR) | ^~~~~~ prog/display-coords.c:91:11: warning: implicit declaration of function 'FD_ISSET' [-Wimplicit-function-declaration] 91 | if (FD_ISSET(gpm_fd, &fds)) { | ^~~~~~~~ make[1]: *** [Makefile:62: prog/display-coords.o] Error 1 rm prog/mev.o prog/disable-paste.o prog/hltest.o make[1]: Leaving directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src' make: *** [Makefile:77: do-all] Error 1 * ERROR: sys-libs/gpm-1.20.7-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-libs/gpm-1.20.7-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-libs/gpm-1.20.7-r3::gentoo'`. * The complete build log is located at '/var/log/portage/sys-libs:gpm-1.20.7-r3:20211218-195508.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/gpm-1.20.7-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/gpm-1.20.7-r3/temp/environment'. * Working directory: '/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64' * S: '/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7'