request from: hawk checking if we should skip the build started at: Fri Apr 13 10:50:56 2018 fetching http://kraz.tld-linux.org/~buildertidev//srpms/0462d460-8574-4cf1-85e7-1aa376ee2308/gpm-1.20.7-1.src.rpm fetched 825540 bytes, 1320.1 K/s installing srpm: gpm-1.20.7-1.src.rpm mesg: ttyname failed: Inappropriate ioctl for device + install -d /tmp/B.F7MWoh/BUILD /tmp/B.F7MWoh/RPMS + LC_ALL=en_US.UTF-8 + rpm -qp --changelog gpm-1.20.7-1.src.rpm * Fri Apr 13 2018 TLD Linux - For complete changelog see: http://git.tld-linux.org/?p=packages/gpm.git;a=log;h=3211ce2e8957b6c9d2986480abf76342d3379dfb * Sat Apr 07 2018 Marcin Krol 3211ce2 - df * Sat Apr 07 2018 Marcin Krol 48b0b71 - df * Sat Apr 07 2018 Marcin Krol bcbc00e - merged 1.20.7 from PLD + rpm -Uhv --nodeps --define '_topdir /tmp/B.F7MWoh' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' gpm-1.20.7-1.src.rpm gpm ################################################## + rm -f gpm-1.20.7-1.src.rpm mesg: ttyname failed: Inappropriate ioctl for device + install -m 700 -d /tmp/B.F7MWoh/BUILD/tmp mesg: ttyname failed: Inappropriate ioctl for device + TMPDIR=/tmp/B.F7MWoh/BUILD/tmp + exec nice -n 19 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.F7MWoh' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-tld-linux --define 'prep exit 0' /tmp/B.F7MWoh/gpm.spec Building target platforms: i686-tld-linux checking BuildConflict-ing packages no BuildConflicts found checking BR rpm: Building target platforms: i686-tld-linux no BR needed building RPM using: set -ex; : build-id: 0462d460-8574-4cf1-85e7-1aa376ee2308; TMPDIR=/tmp/B.F7MWoh/BUILD/tmp exec nice -n 19 rpmbuild -bb --define '_smp_mflags -j8' --define '_tld_builder 1' --define '_topdir /tmp/B.F7MWoh' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-tld-linux /tmp/B.F7MWoh/gpm.spec mesg: ttyname failed: Inappropriate ioctl for device + : build-id: 0462d460-8574-4cf1-85e7-1aa376ee2308 + TMPDIR=/tmp/B.F7MWoh/BUILD/tmp + exec nice -n 19 rpmbuild -bb --define '_smp_mflags -j8' --define '_tld_builder 1' --define '_topdir /tmp/B.F7MWoh' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-tld-linux /tmp/B.F7MWoh/gpm.spec Building target platforms: i686-tld-linux Executing(%prep): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.F7MWoh/BUILD/tmp /bin/sh -e /tmp/B.F7MWoh/BUILD/tmp/rpm-tmp.59952 + umask 022 + cd /tmp/B.F7MWoh/BUILD + cd /tmp/B.F7MWoh/BUILD + rm -rf gpm-1.20.7 + /usr/bin/lzma -dc /tmp/B.F7MWoh/gpm-1.20.7.tar.lzma + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gpm-1.20.7 + /bin/id -u + '[' 10001 '=' 0 ']' + true . + /bin/chmod -Rf -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gpm-info.patch):' Patch #0 (gpm-info.patch): + > .depend ; done # make links in srcdir make[1]: [Makefile:92: dep] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ i686-tld-linux-gcc -I. -I /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -M -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE $DEPS | \ /bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done make[1]: Leaving directory '/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src' i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o mice.o mice.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o twiddler.o twiddler.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o synaptics.o synaptics.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/add_mouse.o daemon/add_mouse.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/init_mice.o daemon/init_mice.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/reset_mice.o daemon/reset_mice.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/build_argv.o daemon/build_argv.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/disable_paste.o daemon/disable_paste.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/do_client.o daemon/do_client.c mice.c: In function 'option_modem_lines': mice.c:187:37: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"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 differ in signedness [-Wpointer-sign] {"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 differ in signedness [-Wpointer-sign] {"both", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR | TIOCM_RTS}, ^ mice.c:189:37: note: (near initialization for 'optioninfo[2].u.iptr') mice.c: In function 'M_summa': mice.c:345:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (y<0) y=0; if (y>summamaxy) y=summamaxy; ^~ 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; ^~ mice.c: In function 'M_wacom': mice.c:897:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (x>wmaxx) x=wmaxx; if (x<0) x=0; ^~ mice.c:898:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (y>wmaxy) y=wmaxy; if (y<0) y=0; ^~ mice.c:907:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' || abs(y-oy)>(wmaxy/wcmodell[WacomModell].treshold) ) ox=x; oy=y; ^~ twiddler.c: In function 'twiddler_key': twiddler.c:253:10: warning: variable 'val' set but not used [-Wunused-but-set-variable] char *val; ^~~ i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/do_selection.o daemon/do_selection.c mice.c: In function 'M_gunze': mice.c:1341:14: 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:385:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int sscanf (const char *__restrict __s, ^~~~~~ mice.c:1356:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' 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] 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' 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] 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' if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; ^~ twiddler.c: In function 'twiddler_exec': twiddler.c:179:10: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(1); ^~~~~~ mice.c:1453:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; ^~ i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/get_console_size.o daemon/get_console_size.c synaptics.c: In function 'tp_hextoint': synaptics.c:2253:11: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf (bytes, "%x", &result); ^~~~~ mice.c: In function 'I_wp': In file included from synaptics.c:213:0: /usr/include/stdio.h:385:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int sscanf (const char *__restrict __s, ^~~~~~ mice.c:2305:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, ":S", 2); ^~~~~~~~~~~~~~~~~~ mice.c:2309:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "T", 1); ^~~~~~~~~~~~~~~~~ mice.c:2338:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "O", 1); ^~~~~~~~~~~~~~~~~ synaptics.c: In function 'tp_serial_send_cmd': mice.c: In function 'I_wacom': synaptics.c:2320:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] write (fd, cmd, strlen (cmd)); ^~~ mice.c:1872:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,UD_SENDCOORDS,4); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from synaptics.c:216:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ synaptics.c:2321:37: 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:384: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:12: 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:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/math.h:27, 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:27: 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:29: 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, ^~~~~~~~~~~~~~~~~~ mice.c: In function 'I_wacom_reset_wacom': synaptics.c: In function 'syn_serial_read_cap': mice.c:1766:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, UD_RESETBAUD, strlen(UD_RESETBAUD)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ synaptics.c:2416:27: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] tp_serial_send_cmd (fd, "%B"); ^~~~ mice.c:1769:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, UD_RESET, strlen(UD_RESET)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ synaptics.c:2314:13: note: expected 'unsigned char *' but argument is of type 'char *' static void tp_serial_send_cmd(int fd, ^~~~~~~~~~~~~~~~~~ mice.c:1774:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, UD_RESET, strlen(UD_RESET)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:1776:4: 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:21: 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:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] if (cmd) write(fd,cmd,strlen(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_ps2': mice.c:731:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, s, sizeof (s)); ^~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_netmouse': mice.c:746:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( fd, magic+i, 1 ); ^~~~~~~~~~~~~~~~~~~~~~~ mice.c:747:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read( fd, &c, 1 ); ^~~~~~~~~~~~~~~~~ mice.c:755:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read( fd, rep, 1 ); ^~~~~~~~~~~~~~~~~~ mice.c:756:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read( fd, rep+1, 1 ); ^~~~~~~~~~~~~~~~~~~~ mice.c:757:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read( fd, rep+2, 1 ); ^~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_mtouch': mice.c:2165:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,"\001MS\r\n\001FT\r\n",10); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/get_data.o daemon/get_data.c mice.c: In function 'I_logi': mice.c:1741:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "S", 1); ^~~~~~~~~~~~~~~~~ mice.c:1747:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,sampletab[i].code,1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'read_mouse_id': mice.c:1917:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &c, 1); ^~~~~~~~~~~~~~~~ mice.c:1918:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &c, 1); ^~~~~~~~~~~~~~~ mice.c:1922:4: 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:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &data[i], 1); ^~~~~~~~~~~~~~~~~~~~~~ mice.c:1940:7: 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:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, 80, f); /* discard the comment */ ^~~~~~~~~~~~~~~ daemon/do_client.c: In function 'do_client': daemon/do_client.c:51:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,event, sizeof(Gpm_Event)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_exps2': mice.c:2016:4: 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:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, 80, f); /* discard the comment */ ^~~~~~~~~~~~~~~ synaptics.c: In function 'tp_ps2_putbyte': synaptics.c:2532:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &b, 1); ^~~~~~~~~~~~~~~~ synaptics.c:2533:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &ack, 1); ^~~~~~~~~~~~~~~~~ synaptics.c:2536:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &b, 1); ^~~~~~~~~~~~~~~~ i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/getmousedata.o daemon/getmousedata.c synaptics.c:2537:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &ack, 1); ^~~~~~~~~~~~~~~~~ synaptics.c: In function 'tp_ps2_getbyte': synaptics.c:2512:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &b, 1); ^~~~~~~~~~~~~~~ mice.c: In function 'I_summa': synaptics.c: In function 'tp_serial_send_cmd': synaptics.c:2320:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, cmd, strlen (cmd)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2096:4: 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:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, SS_FIRMID, strlen(SS_FIRMID)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2106:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, buffer, 255); /* Read Firm-ID */ ^~~~~~~~~~~~~~~~~~~~~ synaptics.c: In function 'tp_serial_flush_input': mice.c:2112:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,GEN_MMSERIES,1); ^~~~~~~~~~~~~~~~~~~~~~~~ synaptics.c:2274:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd, &junk, 1); ^~~~~~~~~~~~~~~~~~~ mice.c:2113:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,&GEN_MODELL,1); /* Read modell */ ^~~~~~~~~~~~~~~~~~~~~~~ mice.c:2120:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd,&config,1); ^~~~~~~~~~~~~~~~~~ mice.c:2130:7: 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:34: 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:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,SS_READCONFIG,1); ^~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2137:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd,&config,5); ^~~~~~~~~~~~~~~~~~ mice.c:2141:4: 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:19: 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:4: 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': mice.c:1660:30: 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:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "*X", 2); ^~~~~~~~~~~~~~~~~~ mice.c:1690:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, ":" ,1); ^~~~~~~~~~~~~~~~~ mice.c:1691:7: 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:7: 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:7: 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" */ ^~~~~~~~~~~~~~~~~ synaptics.c: In function 'tp_ps2_disable_data': synaptics.c:2799:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,&cmd,1); ^~~~~~~~~~~~~~~~ synaptics.c:2804:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd, &status, 1); ^~~~~~~~~~~~~~~~~~~~~ synaptics.c: In function 'syn_ps2_send_reset': synaptics.c:2851:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,&reset_cmd,1); ^~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_wacom': mice.c:1843:10: warning: 'p' is used uninitialized in this function [-Wuninitialized] while(I_wacom_RequestData(NULL, fd, buffer, BUFFER_SIZE, p)) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/gpm.o daemon/gpm.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/gpm-killed.o daemon/gpm-killed.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:17: warning: pointer targets in return differ in signedness [-Wpointer-sign] return data; ^~~~ daemon/getmousedata.c:89:11: warning: pointer targets in return differ in signedness [-Wpointer-sign] return data; ^~~~ daemon/getmousedata.c:52:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fifofd, data, howmany); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ daemon/getmousedata.c:75:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fifofd, edata-i, j); ^~~~~~~~~~~~~~~~~~~~~~~~~ i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/header.o daemon/header.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/main.o daemon/main.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/old_main.o daemon/old_main.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/open_console.o daemon/open_console.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/check_kill.o daemon/check_kill.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/gpm_exited.o daemon/gpm_exited.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o generic/isodigit.o generic/isodigit.c daemon/open_console.c: In function 'open_console': daemon/open_console.c:45:13: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] maj = major(sb.st_rdev); ^~~~~ daemon/open_console.c:48:21: warning: 'si.line' may be used uninitialized in this function [-Wmaybe-uninitialized] if (si.line > 0) { ~~^~~~~ 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); ^~ i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o generic/getsym.o generic/getsym.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/processspecial.o daemon/processspecial.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/processconn.o daemon/processconn.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/processmouse.o daemon/processmouse.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/processrequest.o daemon/processrequest.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/selection_copy.o daemon/selection_copy.c daemon/processspecial.c: In function 'processSpecial': daemon/processspecial.c:158:7: 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:57: 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:57: note: expected 'unsigned char *' but argument is of type 'char *' daemon/processrequest.c: In function 'processRequest': daemon/processrequest.c:102:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(ci->fd,&event,sizeof(Gpm_Event)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/selection_paste.o daemon/selection_paste.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/cmdline.o daemon/cmdline.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/loadlut.o daemon/loadlut.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/find_mouse_by_name.o daemon/find_mouse_by_name.c daemon/cmdline.c: In function 'cmdline': daemon/cmdline.c:46:20: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (optarg) ^~ daemon/cmdline.c:47:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' opt_age_limit = atoi(optarg); break; ^~~~~ daemon/cmdline.c:71:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 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' 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] 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' else option.repeater_type = "msc"; break; ^~~~~ daemon/cmdline.c:78:20: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 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' else opt_special=""; break; ^~~~~ i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/usage.o daemon/usage.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/check_uniqueness.o daemon/check_uniqueness.c daemon/loadlut.c: In function 'loadlut': daemon/loadlut.c:53:19: 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: /tmp/B.F7MWoh/BUILD/gpm-1.20.7/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:22: 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: /tmp/B.F7MWoh/BUILD/gpm-1.20.7/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); ^~~~~~ i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/startup.o daemon/startup.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o daemon/wait_text.o daemon/wait_text.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o report.o report.c daemon/check_uniqueness.c: In function 'check_uniqueness': daemon/check_uniqueness.c:38:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &old_pid); ^~~~~~~~~~~~~~~~~~~~~~~~~~ i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o tools.o tools.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o lib/liblow.lo lib/liblow.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o lib/libhigh.lo lib/libhigh.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o lib/libxtra.lo lib/libxtra.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o lib/report-lib.lo lib/report-lib.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o tools.lo tools.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o lib/libcurses.lo lib/libcurses.c lib/libxtra.c: In function 'Gpm_GetServerVersion': lib/libxtra.c:64:7: 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:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(gpm_fd, &conn, sizeof(Gpm_Connect)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o lib/liblow.o lib/liblow.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o lib/libhigh.o lib/libhigh.c i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o lib/libxtra.o lib/libxtra.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] 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); ^~~~~~~~~~~~~~~~~ i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o lib/report-lib.o lib/report-lib.c lib/libxtra.c: In function 'Gpm_GetServerVersion': lib/libxtra.c:64:7: 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:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(gpm_fd, &conn, sizeof(Gpm_Connect)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-tld-linux-gcc -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o lib/libcurses.o lib/libcurses.c i686-tld-linux-gcc -Iheaders -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o prog/mev.o prog/mev.c i686-tld-linux-gcc -Iheaders -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o prog/hltest.o prog/hltest.c i686-tld-linux-gcc -Iheaders -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o prog/mouse-test.o prog/mouse-test.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] 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); ^~~~~~~~~~~~~~~~~ i686-tld-linux-gcc -Iheaders -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o prog/open_console.o prog/open_console.c prog/mouse-test.c: In function 'main': prog/mouse-test.c:536:42: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] if ((*(cur->this->fun))(&event,buf+i)==-1) { ^~~ prog/mouse-test.c:536:42: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:205:40: warning: value computed is not used [-Wunused-value] #define CHECKFAIL(count) ((count)==0 && noneofthem()) ^ prog/mouse-test.c:569:4: note: in expansion of macro 'CHECKFAIL' CHECKFAIL(typecount); ^~~~~~~~~ prog/mouse-test.c:610:47: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] if ((*(cur->this->fun))(&event,buf+i)==-1) continue; ^~~ prog/mouse-test.c:610:47: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:205:40: warning: value computed is not used [-Wunused-value] #define CHECKFAIL(count) ((count)==0 && noneofthem()) ^ prog/mouse-test.c:622:4: note: in expansion of macro 'CHECKFAIL' CHECKFAIL(typecount); ^~~~~~~~~ prog/mouse-test.c:652:47: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] if ((*(cur->this->fun))(&event,buf+i)==-1) continue; ^~~ prog/mouse-test.c:652:47: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:205:40: warning: value computed is not used [-Wunused-value] #define CHECKFAIL(count) ((count)==0 && noneofthem()) ^ prog/mouse-test.c:671:4: note: in expansion of macro 'CHECKFAIL' CHECKFAIL(typecount); ^~~~~~~~~ prog/mouse-test.c: In function 'eventlist': prog/mouse-test.c:269:15: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] else read(fd,buff,buflen); ^~~~~~~~~~~~~~~~~~~~ prog/mouse-test.c: In function 'main': prog/mouse-test.c:402:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(cur->fd,buf,80); /* flush */ ^~~~~~~~~~~~~~~~~~~~ prog/mouse-test.c:472:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(mousefd,buf,BUFLEN); /* flush */ ^~~~~~~~~~~~~~~~~~~~~~~~ i686-tld-linux-gcc -Iheaders -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o prog/disable-paste.o prog/disable-paste.c i686-tld-linux-gcc -Iheaders -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o prog/display-buttons.o prog/display-buttons.c i686-tld-linux-gcc -Iheaders -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o prog/display-coords.o prog/display-coords.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=] printf("[%d] delta: %ds",now,delta); ~^ %ld 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=] printf("[%d] delta: %ds",now,delta); ~^ %ld i686-tld-linux-gcc -Iheaders -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o prog/get-versions.o prog/get-versions.c i686-tld-linux-gcc -fPIC -shared -Wl,-soname,libgpm.so.2 \ -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -L/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o lib/libgpm.so.2.1.0 lib/liblow.lo lib/libhigh.lo lib/libxtra.lo lib/report-lib.lo tools.lo lib/libcurses.lo -lncursesw -lncursesw -lc ar rc lib/libgpm.a lib/liblow.o lib/libhigh.o lib/libxtra.o lib/report-lib.o tools.o lib/libcurses.o ranlib lib/libgpm.a ln -s -f libgpm.so.2.1.0 lib/libgpm.so.2 i686-tld-linux-gcc -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -L/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o prog/disable-paste prog/disable-paste.o lib/libgpm.so.2 i686-tld-linux-gcc -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -L/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o prog/display-buttons prog/display-buttons.o lib/libgpm.so.2 i686-tld-linux-gcc -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -L/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o prog/display-coords prog/display-coords.o lib/libgpm.so.2 i686-tld-linux-gcc -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -L/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o prog/get-versions prog/get-versions.o lib/libgpm.so.2 i686-tld-linux-gcc -I. -I/usr/include/ncursesw -I headers -I/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -D_GNU_SOURCE -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o prog/gpm-root.o prog/gpm-root.c i686-tld-linux-gcc -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -L/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o prog/mev prog/mev.o lib/libgpm.so.2 i686-tld-linux-gcc -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -L/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o prog/hltest prog/hltest.o lib/libgpm.so.2 i686-tld-linux-gcc -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -L/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o gpm 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 -lm /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'scr_restore': /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:963:10: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x,y, dumpfd; ^ /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:963:8: warning: variable 'x' set but not used [-Wunused-but-set-variable] int x,y, dumpfd; ^ /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'postmenu': /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:1030:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] #define PUTS(s,f,b) for(curr2=s;*curr2;PUTC(*(curr2++),f,b)) ^ /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:1045:10: note: in expansion of macro 'PUTS' PUTS(draw->title,draw->head,draw->back); ^~~~ /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:1030:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] #define PUTS(s,f,b) for(curr2=s;*curr2;PUTC(*(curr2++),f,b)) ^ /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:1053:10: note: in expansion of macro 'PUTS' PUTS(item->name,draw->fore,draw->back); i+=strlen(item->name); ^~~~ /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'main': /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:1200:4: warning: implicit declaration of function '__sigemptyset'; did you mean 'sigemptyset'? [-Wimplicit-function-declaration] __sigemptyset(&childaction.sa_mask); ^~~~~~~~~~~~~ sigemptyset /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'f_bgcmd': /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:527:14: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(1); /* stderr */ ^~~~~~ /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'f_load': /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:659:10: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lf %lf %lf",&l1,&l2,&l3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'f_free': /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:687:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s,80,f); ^~~~~~~~~~~~~ /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:688:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s,80,f); sscanf(s,"%*s %*s %*s %li",&l1); ^~~~~~~~~~~~~ /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:689:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s,80,f); sscanf(s,"%*s %*s %*s %li",&l2); ^~~~~~~~~~~~~ /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'scr_dump': /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:955:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(dumpfd,buffer,4); ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:956:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(dumpfd,buffer+4,2*buffer[0]*buffer[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'scr_restore': /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:977:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(dumpfd,buffer,4+2*buffer[0]*buffer[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'main': /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:1150:4: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(0); /* if we're setuid, force it */ ^~~~~~~~~ /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:1234:4: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ At top level: /tmp/B.F7MWoh/BUILD/gpm-1.20.7/src/prog/gpm-root.y:446:12: warning: 'f_debug_one' defined but not used [-Wunused-function] static int f_debug_one(FILE *f, Draw *draw) ^~~~~~~~~~~ daemon/open_console.o: In function `open_console': open_console.c:(.text+0x56): undefined reference to `major' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:85: gpm] Error 1 make[1]: *** Waiting for unfinished jobs.... i686-tld-linux-gcc -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -L/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o prog/gpm-root prog/gpm-root.o lib/libgpm.so.2 prog/gpm-root.o: In function `main': gpm-root.c:(.text.startup+0x26d): undefined reference to `__sigemptyset' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:152: prog/gpm-root] Error 1 rm prog/display-coords.o prog/hltest.o prog/disable-paste.o prog/display-buttons.o prog/mev.o prog/get-versions.o make[1]: Leaving directory '/tmp/B.F7MWoh/BUILD/gpm-1.20.7/src' make: *** [Makefile:77: do-all] Error 1 error: Bad exit status from /tmp/B.F7MWoh/BUILD/tmp/rpm-tmp.59952 (%build) RPM build errors: Bad exit status from /tmp/B.F7MWoh/BUILD/tmp/rpm-tmp.59952 (%build) ended at: Fri Apr 13 10:51:04 2018, done in 0:00:06.932203 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.F7MWoh/BUILD + rm -rf /tmp/B.F7MWoh/tmp /tmp/B.F7MWoh/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.F7MWoh Begin-TLD-Builder-Info Build-Time: user:8.89s sys:1.09s real:8.07s (faults io:1 non-io:653568) End-TLD-Builder-Info