* Package: sys-libs/gpm-1.20.7-r2 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Running eautoreconf in '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 ... * Will copy sources from /var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7 * abi_x86_64.amd64: copying to /var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure configure: loading site script /usr/share/config.site checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... 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-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for gawk... gawk checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/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/bin/install -c checking for bison... bison -y checking whether ln -s works... yes checking for dvips... /usr/bin/dvips checking for texi2html... no checking for tex... /usr/bin/tex 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 syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking linux/joystick.h usability... yes checking linux/joystick.h presence... yes checking for linux/joystick.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/curses.h usability... no checking ncurses/curses.h presence... no checking for ncurses/curses.h... no checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking linux/major.h usability... yes checking linux/major.h presence... yes checking for linux/major.h... yes checking linux/tty.h usability... yes checking linux/tty.h presence... yes checking for linux/tty.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for __u32... yes 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... no checking for tputs in -lncurses... 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 doc/doc.gpm config.status: creating src/headers/config.h config.status: executing libtool commands * abi_x86_64.amd64: running multilib-minimal_abi_src_compile touch src/.depend # to prevent unecessary warnings make -C src dep make[1]: Entering directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/src' bison -y /var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 Makefile:90: recipe for target '.depend' failed make[1]: [.depend] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ x86_64-pc-linux-gnu-gcc -I. -I /var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/src -M -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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:57: fatal error: gpm.h: No such file or directory #include /* gpm information */ ^ compilation terminated. prog/display-coords.c:40:57: fatal error: gpm.h: No such file or directory #include /* gpm information */ ^ compilation terminated. prog/get-versions.c:25:57: fatal error: gpm.h: No such file or directory #include /* gpm information */ ^ compilation terminated. # make links in srcdir Makefile:90: recipe for target 'dep' failed make[1]: [dep] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ x86_64-pc-linux-gnu-gcc -I. -I /var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/src -M -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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:57: fatal error: gpm.h: No such file or directory #include /* gpm information */ ^ compilation terminated. prog/display-coords.c:40:57: fatal error: gpm.h: No such file or directory #include /* gpm information */ ^ compilation terminated. prog/get-versions.c:25:57: fatal error: gpm.h: No such file or directory #include /* gpm information */ ^ compilation terminated. make[1]: Leaving directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/src' make[1]: Entering directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/src' rm -f gpm lib/libgpm.a lib/libgpm.so.* rm -f core *~ mice.o twiddler.o synaptics.o daemon/add_mouse.o daemon/init_mice.o daemon/reset_mice.o daemon/build_argv.o daemon/disable_paste.o daemon/do_client.o daemon/do_selection.o daemon/get_console_size.o daemon/get_data.o daemon/getmousedata.o daemon/gpm.o daemon/gpm-killed.o daemon/header.o daemon/main.o daemon/old_main.o daemon/open_console.o daemon/check_kill.o daemon/gpm_exited.o generic/isodigit.o generic/getsym.o daemon/processspecial.o daemon/processconn.o daemon/processmouse.o daemon/processrequest.o daemon/selection_copy.o daemon/selection_paste.o daemon/cmdline.o daemon/loadlut.o daemon/find_mouse_by_name.o daemon/usage.o daemon/check_uniqueness.o daemon/startup.o daemon/wait_text.o report.o tools.o lib/liblow.o lib/libhigh.o lib/libxtra.o lib/report-lib.o tools.o lib/libcurses.o prog/mev.o prog/hltest.o prog/mouse-test.o prog/disable-paste.o prog/display-buttons.o prog/display-coords.o prog/get-versions.o prog/gpm-root.o lib/liblow.lo lib/libhigh.lo lib/libxtra.lo lib/report-lib.lo tools.lo lib/libcurses.lo gpm-root.c .depend rm -f prog/mev prog/hltest prog/mouse-test prog/disable-paste prog/display-buttons prog/display-coords prog/get-versions prog/gpm-root prog/mev.o prog/hltest.o prog/mouse-test.o prog/disable-paste.o prog/display-buttons.o prog/display-coords.o prog/get-versions.o prog/gpm-root.o prog/gpm-root.c prog/open_console.o make[1]: Leaving directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/src' make[1]: Entering directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/doc' rm -f gpmdoc.ps gpmdoc.txt gpm.8 mev.1 gpm-root.1 gpm-types.7 mouse-test.1 *~ rm -f gpm.?? gpm.??? rm -f gpm.texinfo make[1]: Leaving directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/doc' make[1]: Entering directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/contrib' rm -f /var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/contrib/emacs/*.elc Makefile make[1]: Leaving directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/contrib' rm -f config.status.lineno touch src/.depend # to prevent unecessary warnings make -C src dep make[1]: Entering directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/src' bison -y /var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 Makefile:90: recipe for target '.depend' failed make[1]: [.depend] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ x86_64-pc-linux-gnu-gcc -I. -I /var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/src -M -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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:57: fatal error: gpm.h: No such file or directory #include /* gpm information */ ^ compilation terminated. prog/display-coords.c:40:57: fatal error: gpm.h: No such file or directory #include /* gpm information */ ^ compilation terminated. prog/get-versions.c:25:57: fatal error: gpm.h: No such file or directory #include /* gpm information */ ^ compilation terminated. # make links in srcdir Makefile:90: recipe for target 'dep' failed make[1]: [dep] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ x86_64-pc-linux-gnu-gcc -I. -I /var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/src -M -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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:57: fatal error: gpm.h: No such file or directory #include /* gpm information */ ^ compilation terminated. prog/display-coords.c:40:57: fatal error: gpm.h: No such file or directory #include /* gpm information */ ^ compilation terminated. prog/get-versions.c:25:57: fatal error: gpm.h: No such file or directory #include /* gpm information */ ^ compilation terminated. make[1]: Leaving directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/src' make[1]: Entering directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/src' x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o mice.o mice.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o twiddler.o twiddler.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o synaptics.o synaptics.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/add_mouse.o daemon/add_mouse.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/init_mice.o daemon/init_mice.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/reset_mice.o daemon/reset_mice.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/build_argv.o daemon/build_argv.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/disable_paste.o daemon/disable_paste.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/do_client.o daemon/do_client.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/do_selection.o daemon/do_selection.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/get_console_size.o daemon/get_console_size.c twiddler.c: In function ‘twiddler_key’: twiddler.c:253:10: warning: variable ‘val’ set but not used [-Wunused-but-set-variable] 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] return (char *)twiddler_escape_sequence(ptr+1, &len /* unused */); ^ mice.c: In function ‘option_modem_lines’: mice.c:187:7: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"dtr", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR}, ^ mice.c:187:7: warning: (near initialization for ‘optioninfo[0].u.iptr’) [-Wpointer-sign] mice.c:188:7: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"rts", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_RTS}, ^ mice.c:188:7: warning: (near initialization for ‘optioninfo[1].u.iptr’) [-Wpointer-sign] mice.c:189:7: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"both", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR | TIOCM_RTS}, ^ mice.c:189:7: warning: (near initialization for ‘optioninfo[2].u.iptr’) [-Wpointer-sign] twiddler.c: In function ‘twiddler_exec’: twiddler.c:179:13: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] dup(1); ^ mice.c: In function ‘R_msc’: mice.c:537:12: warning: variable ‘dy’ set but not used [-Wunused-but-set-variable] int dx, dy; ^ mice.c:537:8: warning: variable ‘dx’ set but not used [-Wunused-but-set-variable] int dx, dy; ^ x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/get_data.o daemon/get_data.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/getmousedata.o daemon/getmousedata.c mice.c: In function ‘M_gunze’: mice.c:1341:4: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness [-Wpointer-sign] if(sscanf(data+1, "%d,%d", &x, &y)!= 2) { ^ In file included from mice.c:45:0: /usr/include/stdio.h:433:12: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ extern int sscanf (const char *__restrict __s, ^ synaptics.c: In function ‘tp_hextoint’: synaptics.c:2253:3: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness [-Wpointer-sign] sscanf (bytes, "%x", &result); ^ In file included from synaptics.c:213:0: /usr/include/stdio.h:433:12: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ extern int sscanf (const char *__restrict __s, ^ synaptics.c: In function ‘tp_serial_send_cmd’: synaptics.c:2320:3: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] write (fd, cmd, strlen (cmd)); ^ In file included from synaptics.c:216:0: /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ synaptics.c:2321:3: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] tp_serial_read (fd, junk, strlen (cmd)); ^ In file included from synaptics.c:216:0: /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ synaptics.c: In function ‘syn_serial_set_mode’: synaptics.c:2334:3: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] sprintf (bytes, "%%C3B%02X5555", mode); ^ In file included from /usr/include/features.h:379:0, from /usr/include/math.h:26, from synaptics.c:212: /usr/include/bits/stdio2.h:31:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ synaptics.c: In function ‘syn_serial_read_ident’: synaptics.c:2347:3: warning: pointer targets in passing argument 2 of ‘tp_serial_send_cmd’ differ in signedness [-Wpointer-sign] tp_serial_send_cmd (fd, "%A"); ^ synaptics.c:2314:13: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static void tp_serial_send_cmd(int fd, ^ synaptics.c: In function ‘syn_serial_read_model_id’: synaptics.c:2388:5: warning: pointer targets in passing argument 2 of ‘tp_serial_send_cmd’ differ in signedness [-Wpointer-sign] tp_serial_send_cmd (fd, "%D"); ^ synaptics.c:2314:13: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static void tp_serial_send_cmd(int fd, ^ synaptics.c: In function ‘syn_serial_read_cap’: synaptics.c:2416:3: warning: pointer targets in passing argument 2 of ‘tp_serial_send_cmd’ differ in signedness [-Wpointer-sign] tp_serial_send_cmd (fd, "%B"); ^ synaptics.c:2314:13: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static void tp_serial_send_cmd(int fd, ^ mice.c: In function ‘I_wp’: mice.c:2305:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, ":S", 2); ^ mice.c:2309:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, "T", 1); ^ mice.c:2338:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, "O", 1); ^ mice.c: In function ‘I_wacom’: mice.c:1872:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd,UD_SENDCOORDS,4); ^ mice.c: In function ‘I_wacom_reset_wacom’: mice.c:1766:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, UD_RESETBAUD, strlen(UD_RESETBAUD)); ^ mice.c:1769:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, UD_RESET, strlen(UD_RESET)); ^ mice.c:1774:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, UD_RESET, strlen(UD_RESET)); ^ mice.c:1776:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, UD_STOP, strlen(UD_STOP)); ^ mice.c: In function ‘setspeed’: mice.c:1619:26: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] if (needtowrite) write(fd, c, 2); ^ mice.c: In function ‘I_wacom_RequestData’: mice.c:1805:18: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] if (cmd) write(fd,cmd,strlen(cmd)); ^ synaptics.c: In function ‘tp_ps2_putbyte’: synaptics.c:2532:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, &b, 1); ^ synaptics.c:2533:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd, &ack, 1); ^ synaptics.c:2536:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, &b, 1); ^ mice.c: In function ‘I_ps2’: mice.c:731:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write (fd, s, sizeof (s)); ^ synaptics.c:2537:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd, &ack, 1); ^ mice.c: In function ‘I_netmouse’: synaptics.c: In function ‘tp_ps2_getbyte’: mice.c:746:12: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write( fd, magic+i, 1 ); ^ mice.c:747:11: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read( fd, &c, 1 ); ^ synaptics.c:2512:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd, &b, 1); ^ mice.c:755:11: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read( fd, rep, 1 ); ^ mice.c:756:11: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read( fd, rep+1, 1 ); ^ mice.c:757:11: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read( fd, rep+2, 1 ); ^ synaptics.c: In function ‘tp_serial_send_cmd’: mice.c: In function ‘I_mtouch’: synaptics.c:2320:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write (fd, cmd, strlen (cmd)); ^ mice.c:2165:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd,"\001MS\r\n\001FT\r\n",10); ^ synaptics.c: In function ‘tp_serial_flush_input’: synaptics.c:2274:10: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read (fd, &junk, 1); ^ daemon/do_client.c: In function ‘do_client’: daemon/do_client.c:51:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd,event, sizeof(Gpm_Event)); ^ synaptics.c: In function ‘tp_ps2_disable_data’: mice.c: In function ‘I_logi’: synaptics.c:2799:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd,&cmd,1); ^ mice.c:1741:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, "S", 1); ^ synaptics.c:2804:10: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read (fd, &status, 1); ^ mice.c:1747:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd,sampletab[i].code,1); ^ synaptics.c: In function ‘syn_ps2_send_reset’: synaptics.c:2851:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd,&reset_cmd,1); ^ mice.c: In function ‘read_mouse_id’: mice.c:1917:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, &c, 1); ^ mice.c:1918:8: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd, &c, 1); ^ mice.c:1922:8: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd, &id, 1); ^ mice.c: In function ‘write_to_mouse’: mice.c:1939:12: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, &data[i], 1); ^ mice.c:1940:11: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd, &c, 1); ^ mice.c: In function ‘I_gunze’: mice.c:2210:12: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, 80, f); /* discard the comment */ ^ mice.c: In function ‘I_exps2’: mice.c:2016:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write (fd, s1, sizeof (s1)); ^ mice.c: In function ‘I_etouch’: mice.c:2262:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, 80, f); /* discard the comment */ ^ mice.c: In function ‘I_summa’: mice.c:2096:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, SS_PROMPT_MODE, strlen(SS_PROMPT_MODE)); ^ mice.c:2102:12: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, SS_FIRMID, strlen(SS_FIRMID)); ^ mice.c:2106:14: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd, buffer, 255); /* Read Firm-ID */ ^ mice.c:2112:12: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd,GEN_MMSERIES,1); ^ mice.c:2113:12: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd,&GEN_MODELL,1); /* Read modell */ ^ mice.c:2120:20: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd,&config,1); ^ mice.c:2130:12: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, SS_BINARY_FMT SS_PROMPT_MODE, 3); ^ mice.c:2135:38: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] if (!((err == -1) || (!err))) read(fd,buffer,sizeof(buffer)); ^ mice.c:2136:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd,SS_READCONFIG,1); ^ mice.c:2137:8: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd,&config,5); ^ mice.c:2141:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd,SS_ABSOLUTE SS_STREAM_MODE SS_UPPER_ORIGIN,3); ^ mice.c:2142:24: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] if (summaid<0) write(fd,SS_500LPI SS_TABID0 SS_BINARY_FMT,4); ^ mice.c: In function ‘I_summa_reset_summa’: mice.c:2057:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd,0,1); /* Reset */ ^ mice.c: In function ‘I_serial’: x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/gpm.o daemon/gpm.c mice.c:1660:35: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] if (type->fun==M_logimsc) write(fd, "QU", 2 ); ^ mice.c:1682:12: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, "*X", 2); ^ mice.c:1690:12: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, ":" ,1); ^ mice.c:1691:12: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, "E" ,1); /* setup tablet. relative mode, resolution... */ ^ mice.c:1692:12: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, "@" ,1); /* setup tablet. relative mode, resolution... */ ^ mice.c:1708:12: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, "R", 1); /* initialize a mouse; without getting an "R" */ ^ x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/gpm-killed.o daemon/gpm-killed.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/header.o daemon/header.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/main.o daemon/main.c daemon/getmousedata.c: In function ‘getMouseData’: daemon/getmousedata.c:39:16: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *edata=data+type->packetlen; ^ daemon/getmousedata.c:58:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return data; ^ daemon/getmousedata.c:89:4: warning: pointer targets in return differ in signedness [-Wpointer-sign] return data; ^ daemon/getmousedata.c:52:12: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fifofd, data, howmany); ^ daemon/getmousedata.c:75:18: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fifofd, edata-i, j); ^ x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/old_main.o daemon/old_main.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/open_console.o daemon/open_console.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/check_kill.o daemon/check_kill.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/gpm_exited.o daemon/gpm_exited.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o generic/isodigit.o generic/isodigit.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o generic/getsym.o generic/getsym.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/processspecial.o daemon/processspecial.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/processconn.o daemon/processconn.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/processmouse.o daemon/processmouse.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/processrequest.o daemon/processrequest.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/selection_copy.o daemon/selection_copy.c daemon/old_main.c: In function ‘old_main’: daemon/old_main.c:198:16: warning: value computed is not used [-Wunused-value] || do_selection(&event); ^ daemon/processspecial.c: In function ‘processSpecial’: daemon/processspecial.c:158:10: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] dup(1); /* stderr */ ^ daemon/processmouse.c: In function ‘processMouse’: daemon/processmouse.c:82:13: warning: pointer targets in passing argument 2 of ‘which_mouse->m_type->fun’ differ in signedness [-Wpointer-sign] || ((*((which_mouse->m_type)->fun))(&nEvent,data)==-1) ) { ^ daemon/processmouse.c:82:13: note: expected ‘unsigned char *’ but argument is of type ‘char *’ daemon/processrequest.c: In function ‘processRequest’: daemon/processrequest.c:102:15: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(ci->fd,&event,sizeof(Gpm_Event)); ^ x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/selection_paste.o daemon/selection_paste.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/cmdline.o daemon/cmdline.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/loadlut.o daemon/loadlut.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/find_mouse_by_name.o daemon/find_mouse_by_name.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/usage.o daemon/usage.c daemon/loadlut.c: In function ‘loadlut’: daemon/loadlut.c:53:7: warning: pointer targets in passing argument 1 of ‘getsym’ differ in signedness [-Wpointer-sign] i += getsym(charset+i, &this); ^ In file included from daemon/loadlut.c:30:0: /var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/src/headers/daemon.h:201:7: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ int getsym(const unsigned char *p0, unsigned char *res); ^ daemon/loadlut.c:55:10: warning: pointer targets in passing argument 1 of ‘getsym’ differ in signedness [-Wpointer-sign] i += getsym(charset+i+1, &next) + 1; ^ In file included from daemon/loadlut.c:30:0: /var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/src/headers/daemon.h:201:7: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ int getsym(const unsigned char *p0, unsigned char *res); ^ x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/check_uniqueness.o daemon/check_uniqueness.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/startup.o daemon/startup.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o daemon/wait_text.o daemon/wait_text.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o report.o report.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o tools.o tools.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o lib/liblow.lo lib/liblow.c daemon/check_uniqueness.c: In function ‘check_uniqueness’: daemon/check_uniqueness.c:38:13: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &old_pid); ^ x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o lib/libhigh.lo lib/libhigh.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o lib/libxtra.lo lib/libxtra.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o lib/report-lib.lo lib/report-lib.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o tools.lo tools.c x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.7-r2/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 -march=native -Wformat -Werror=format-security -g0 -O2 -march=native -Wformat -Werror=format-security -g0 -O2 -c -o lib/libcurses.lo lib/libcurses.c lib/libxtra.c: In function ‘Gpm_GetServerVersion’: lib/libxtra.c:64:12: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(line, 128, f); ^ lib/libxtra.c: In function ‘Gpm_GetSnapshot’: lib/libxtra.c:126:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(gpm_fd, &conn, sizeof(Gpm_Connect)); ^ lib/report-lib.c: In function ‘gpm_report’: lib/report-lib.c:50:4: error: format not a string literal and no format arguments [-Werror=format-security] syslog(log_level, string); ^ cc1: some warnings being treated as errors Makefile:71: recipe for target 'lib/report-lib.lo' failed make[1]: *** [lib/report-lib.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... lib/libcurses.c: In function ‘Gpm_Wgetch’: lib/libcurses.c:148:7: warning: pointer targets in passing argument 1 of ‘gpm_convert_event’ differ in signedness [-Wpointer-sign] gpm_convert_event(mdata,&ev); ^ lib/libcurses.c:98:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’ extern int gpm_convert_event(char *data, Gpm_Event *event); ^ make[1]: Leaving directory '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64/src' Makefile:77: recipe for target 'do-all' failed make: *** [do-all] Error 1 * ERROR: sys-libs/gpm-1.20.7-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-libs/gpm-1.20.7-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-libs/gpm-1.20.7-r2::gentoo'`. * The complete build log is located at '/var/log/log/build/sys-libs/gpm-1.20.7-r2:20150208-093134.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/temp/environment'. * Working directory: '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7-abi_x86_64.amd64' * S: '/var/tmp/portage/sys-libs/gpm-1.20.7-r2/work/gpm-1.20.7'