<86>Jan 26 08:10:19 userdel[3493]: delete user 'rooter' <86>Jan 26 08:10:19 userdel[3493]: removed group 'rooter' owned by 'rooter' <86>Jan 26 08:10:19 userdel[3493]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 26 08:10:19 groupadd[3530]: group added to /etc/group: name=rooter, GID=570 <86>Jan 26 08:10:19 groupadd[3530]: group added to /etc/gshadow: name=rooter <86>Jan 26 08:10:19 groupadd[3530]: new group: name=rooter, GID=570 <86>Jan 26 08:10:19 useradd[3544]: new user: name=rooter, UID=570, GID=570, home=/root, shell=/bin/bash <86>Jan 26 08:10:19 userdel[3605]: delete user 'builder' <86>Jan 26 08:10:19 userdel[3605]: removed group 'builder' owned by 'builder' <86>Jan 26 08:10:19 userdel[3605]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 08:10:19 groupadd[3634]: group added to /etc/group: name=builder, GID=571 <86>Jan 26 08:10:19 groupadd[3634]: group added to /etc/gshadow: name=builder <86>Jan 26 08:10:19 groupadd[3634]: new group: name=builder, GID=571 <86>Jan 26 08:10:19 useradd[3650]: new user: name=builder, UID=571, GID=571, home=/usr/src, shell=/bin/bash <13>Jan 26 08:10:23 rpmi: libtinfo-devel-5.9-alt8 1456756589 installed <13>Jan 26 08:10:23 rpmi: libncurses-devel-5.9-alt8 1456756589 installed Installing gpm-1.20.1-alt14.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.87328 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf gpm-1.20.1 + echo 'Source #0 (gpm-1.20.1.tar):' Source #0 (gpm-1.20.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/gpm-1.20.1.tar + cd gpm-1.20.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (gpm-1.20.1-alt-texinfo.patch):' Patch #1 (gpm-1.20.1-alt-texinfo.patch): + /usr/bin/patch -p1 patching file doc/doc.gpm.in + echo 'Patch #2 (gpm-1.20.1-owl-gpm-root.patch):' Patch #2 (gpm-1.20.1-owl-gpm-root.patch): + /usr/bin/patch -p1 patching file conf/gpm-root.conf patching file doc/doc.gpm.in patching file src/closeall.c patching file src/lib/closeall.c patching file src/Makefile.in patching file src/prog/gpm-root.y patching file src/special.c + echo 'Patch #3 (gpm-1.20.1-owl-liblow.patch):' Patch #3 (gpm-1.20.1-owl-liblow.patch): + /usr/bin/patch -p1 patching file src/lib/liblow.c + echo 'Patch #4 (gpm-1.20.1-owl-warnings.patch):' Patch #4 (gpm-1.20.1-owl-warnings.patch): + /usr/bin/patch -p1 patching file src/gpm.c patching file src/lib/libcurses.c patching file src/lib/liblow.c + echo 'Patch #5 (gpm-1.20.1-alt-daemonize.patch):' Patch #5 (gpm-1.20.1-alt-daemonize.patch): + /usr/bin/patch -p1 patching file src/prog/gpm-root.y patching file src/startup.c + echo 'Patch #6 (gpm-1.20.1-alt-get_console.patch):' Patch #6 (gpm-1.20.1-alt-get_console.patch): + /usr/bin/patch -p1 patching file src/tools.c + echo 'Patch #7 (gpm-1.20.1-alt-syslog.patch):' Patch #7 (gpm-1.20.1-alt-syslog.patch): + /usr/bin/patch -p1 patching file src/report.c + echo 'Patch #8 (gpm-1.20.1-alt-nodebug.patch):' Patch #8 (gpm-1.20.1-alt-nodebug.patch): + /usr/bin/patch -p1 patching file src/lib/report-lib.c + echo 'Patch #9 (gpm-1.20.1-alt-log.patch):' Patch #9 (gpm-1.20.1-alt-log.patch): + /usr/bin/patch -p1 patching file src/gpm.c Hunk #1 succeeded at 679 (offset -23 lines). Hunk #2 succeeded at 820 (offset -23 lines). patching file src/headers/message.h + echo 'Patch #10 (gpm-1.20.1-alt-progname.patch):' Patch #10 (gpm-1.20.1-alt-progname.patch): + /usr/bin/patch -p1 patching file src/prog/gpm-root.y patching file src/prog/mev.c patching file src/prog/mouse-test.c patching file src/startup.c + echo 'Patch #11 (gpm-1.20.1-alt-pam_console_apply.patch):' Patch #11 (gpm-1.20.1-alt-pam_console_apply.patch): + /usr/bin/patch -p1 patching file src/gpm.c + echo 'Patch #12 (gpm-1.20.1-alt-rh-shlib.patch):' Patch #12 (gpm-1.20.1-alt-rh-shlib.patch): + /usr/bin/patch -p1 patching file configure.in patching file src/lib/libcurses.c Hunk #1 succeeded at 41 (offset 1 line). patching file src/Makefile.in + echo 'Patch #13 (gpm-1.20.1-deb-alt-xterm_mouse_support.patch):' Patch #13 (gpm-1.20.1-deb-alt-xterm_mouse_support.patch): + /usr/bin/patch -p1 patching file configure.in patching file src/lib/liblow.c + echo 'Patch #14 (gpm-1.20.1-mdk-alt-consolename.patch):' Patch #14 (gpm-1.20.1-mdk-alt-consolename.patch): + /usr/bin/patch -p1 patching file src/lib/liblow.c Hunk #2 succeeded at 272 (offset 5 lines). + echo 'Patch #15 (gpm-1.20.1-alt-netmouse.patch):' Patch #15 (gpm-1.20.1-alt-netmouse.patch): + /usr/bin/patch -p1 patching file src/mice.c + echo 'Patch #16 (gpm-1.20.1-deb-stack-fix.patch):' Patch #16 (gpm-1.20.1-deb-stack-fix.patch): + /usr/bin/patch -p1 patching file src/lib/liblow.c + echo 'Patch #17 (gpm-1.20.1-alt-gpm_open-shutup.patch):' Patch #17 (gpm-1.20.1-alt-gpm_open-shutup.patch): + /usr/bin/patch -p1 patching file src/lib/liblow.c + echo 'Patch #18 (gpm-1.20.1-alt-libm.patch):' Patch #18 (gpm-1.20.1-alt-libm.patch): + /usr/bin/patch -p1 patching file configure.in + echo 'Patch #19 (gpm-1.20.1-alt-AC_GNU_SOURCE.patch):' Patch #19 (gpm-1.20.1-alt-AC_GNU_SOURCE.patch): + /usr/bin/patch -p1 patching file configure.in + echo 'Patch #20 (gpm-1.20.1-alt-mice.patch):' Patch #20 (gpm-1.20.1-alt-mice.patch): + /usr/bin/patch -p1 patching file src/mice.c Hunk #1 succeeded at 2114 (offset 2 lines). + find -type f -name '*.orig' -delete + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.87328 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gpm-1.20.1 + find -type f -name '*.y' + read f + rm -fv ./src/prog/gpm-root.c + read f + export ac_cv_path_emacs=no + ac_cv_path_emacs=no + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.in: not using Gettext autoreconf-default: configure.in: not using aclocal autoreconf-default: configure.in: tracing autoreconf-default: configure.in: not using Libtool autoreconf-default: configure.in: not using Intltool autoreconf-default: configure.in: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoheader-2.60: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader-2.60: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader-2.60: WARNING: is deprecated and discouraged. autoheader-2.60: autoheader-2.60: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.60: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without autoheader-2.60: WARNING: `acconfig.h': autoheader-2.60: autoheader-2.60: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.60: [Define if a function `main' is needed.]) autoheader-2.60: autoheader-2.60: WARNING: More sophisticated templates can also be produced, see the autoheader-2.60: WARNING: documentation. autoreconf-default: configure.in: not using Automake autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext configure: WARNING: unrecognized options: --disable-dependency-tracking, --without-included-gettext checking for i586-alt-linux-gcc... i586-alt-linux-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for i586-alt-linux-gcc... (cached) i586-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i586-alt-linux-gcc accepts -g... (cached) yes checking for i586-alt-linux-gcc option to accept ISO C89... (cached) none needed checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /bin/install -c checking for bison... bison -y checking whether ln -s works... yes checking for dvips... no checking for texi2html... no checking for tex... no checking for texindex... no checking for makeinfo... no checking for diff... /usr/bin/diff checking for sed... /bin/sed checking for emacs... (cached) no 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... yes checking ncurses/curses.h presence... yes checking for ncurses/curses.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking term.h usability... yes checking term.h presence... yes checking for term.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 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 ceilf in -lm... yes checking for tputs in -ltinfo... yes configure: creating ./config.status config.status: creating Makefile.include config.status: WARNING: 'Makefile.include.in' seems to ignore the --datarootdir setting 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 configure: WARNING: unrecognized options: --disable-dependency-tracking, --without-included-gettext + make make: Entering directory `/usr/src/RPM/BUILD/gpm-1.20.1' touch src/.depend # to prevent unecessary warnings make -C src dep make[1]: Entering directory `/usr/src/RPM/BUILD/gpm-1.20.1/src' bison -y /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y && mv y.tab.c prog/gpm-root.c # make links in srcdir make[1]: [.depend] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ i586-alt-linux-gcc -I. -I /usr/src/RPM/BUILD/gpm-1.20.1/src -M -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" $DEPS | \ /bin/sed 's/\(\)\.o\([ :]*\)/\1.o \1.lo\2/g' >> .depend ; done make[1]: Leaving directory `/usr/src/RPM/BUILD/gpm-1.20.1/src' make[1]: Entering directory `/usr/src/RPM/BUILD/gpm-1.20.1/src' # make links in srcdir make[1]: [dep] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ i586-alt-linux-gcc -I. -I /usr/src/RPM/BUILD/gpm-1.20.1/src -M -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" $DEPS | \ /bin/sed 's/\(\)\.o\([ :]*\)/\1.o \1.lo\2/g' >> .depend ; done make[1]: Leaving directory `/usr/src/RPM/BUILD/gpm-1.20.1/src' make[1]: Entering directory `/usr/src/RPM/BUILD/gpm-1.20.1/src' i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o gpm.o gpm.c gpm.c: In function 'getMouseData': gpm.c:358:16: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *edata=data+type->packetlen; ^~~~ gpm.c:377:17: warning: pointer targets in return differ in signedness [-Wpointer-sign] return data; ^~~~ gpm.c:408:11: warning: pointer targets in return differ in signedness [-Wpointer-sign] return data; ^~~~ gpm.c: In function 'processMouse': gpm.c:460:42: warning: pointer targets in passing argument 2 of 'which_mouse->m_type->fun' differ in signedness [-Wpointer-sign] || ((*(m_type->fun))(&nEvent,data)==-1) ) { ^~~~ gpm.c:460:42: note: expected 'unsigned char *' but argument is of type 'char *' gpm.c: In function 'getMouseData': gpm.c:371:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fifofd, data, howmany); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpm.c:394:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fifofd, edata-i, j); ^~~~~~~~~~~~~~~~~~~~~~~~~ gpm.c: In function 'do_client': gpm.c:341:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,event, sizeof(Gpm_Event)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpm.c: In function 'processRequest': gpm.c:755:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(ci->fd,&event,sizeof(Gpm_Event)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o main.o main.c i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o gpn.o gpn.c gpn.c: In function 'loadlut': gpn.c:108:19: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness [-Wpointer-sign] i += getsym(charset+i, &this); ^~~~~~~ gpn.c:69:12: note: expected 'const unsigned char *' but argument is of type 'char *' static int getsym(const unsigned char *p0, unsigned char *res) ^~~~~~ gpn.c:110:22: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness [-Wpointer-sign] i += getsym(charset+i+1, &next) + 1; ^~~~~~~ gpn.c:69:12: note: expected 'const unsigned char *' but argument is of type 'char *' static int getsym(const unsigned char *p0, unsigned char *res) ^~~~~~ gpn.c: In function 'cmdline': gpn.c:246:20: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (optarg) ^~ gpn.c:247:58: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' opt_age_limit = atoi(optarg); break; ^~~~~ gpn.c:275:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else option.repeater_type = "msc"; break; ^~~~ gpn.c:275:58: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' else option.repeater_type = "msc"; break; ^~~~~ gpn.c:278:20: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else opt_special=""; break; ^~~~ gpn.c:278:58: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' else opt_special=""; break; ^~~~~ gpn.c: In function 'check_uniqueness': gpn.c:190:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &old_pid); ^~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o mice.o mice.c mice.c: In function 'option_modem_lines': mice.c:185:37: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"dtr", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR}, ^ mice.c:185:37: note: (near initialization for 'optioninfo[0].u.iptr') mice.c:186:37: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"rts", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_RTS}, ^ mice.c:186:37: note: (near initialization for 'optioninfo[1].u.iptr') mice.c:187:37: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"both", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR | TIOCM_RTS}, ^ mice.c:187:37: note: (near initialization for 'optioninfo[2].u.iptr') mice.c: In function 'M_summa': mice.c:343:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (y<0) y=0; if (y>summamaxy) y=summamaxy; ^~ mice.c:343:18: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (y<0) y=0; if (y>summamaxy) y=summamaxy; ^~ mice.c: In function 'R_msc': mice.c:525:12: warning: variable 'dy' set but not used [-Wunused-but-set-variable] int dx, dy; ^~ mice.c:525:8: warning: variable 'dx' set but not used [-Wunused-but-set-variable] int dx, dy; ^~ mice.c: In function 'M_wacom': mice.c:881:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (x>wmaxx) x=wmaxx; if (x<0) x=0; ^~ mice.c:881:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (x>wmaxx) x=wmaxx; if (x<0) x=0; ^~ mice.c:882:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (y>wmaxy) y=wmaxy; if (y<0) y=0; ^~ mice.c:882:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (y>wmaxy) y=wmaxy; if (y<0) y=0; ^~ mice.c:891:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( abs(x-ox)>(wmaxx/wcmodell[WacomModell].treshold) ^~ mice.c:892:68: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' || abs(y-oy)>(wmaxy/wcmodell[WacomModell].treshold) ) ox=x; oy=y; ^~ mice.c: In function 'M_gunze': mice.c:1325: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:435:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int sscanf (const char *__restrict __s, ^~~~~~ mice.c:1340:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; ^~ mice.c:1340:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; ^~ mice.c:1341:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; ^~ mice.c:1341:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; ^~ mice.c: In function 'I_wp': mice.c:2149:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, ":S", 2); ^~~~~~~~~~~~~~~~~~ mice.c:2153:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "T", 1); ^~~~~~~~~~~~~~~~~ mice.c:2182:4: 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:1772:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,UD_SENDCOORDS,4); ^~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'reset_wacom': mice.c:1671:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, UD_RESETBAUD, strlen(UD_RESETBAUD)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:1674:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, UD_RESET, strlen(UD_RESET)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:1679:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, UD_RESET, strlen(UD_RESET)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:1681:7: 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:1521: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 'RequestData': mice.c:1711:16: 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:715: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:730:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( fd, magic+i, 1 ); ^~~~~~~~~~~~~~~~~~~~~~~ mice.c:731:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read( fd, &c, 1 ); ^~~~~~~~~~~~~~~~~ mice.c:739:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read( fd, rep, 1 ); ^~~~~~~~~~~~~~~~~~ mice.c:740:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read( fd, rep+1, 1 ); ^~~~~~~~~~~~~~~~~~~~ mice.c:741: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:2064:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,"\001MS\r\n\001FT\r\n",10); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_logi': mice.c:1643:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "S", 1); ^~~~~~~~~~~~~~~~~ mice.c:1649: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:1817:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &c, 1); ^~~~~~~~~~~~~~~~ mice.c:1818:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &c, 1); ^~~~~~~~~~~~~~~ mice.c:1822: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:1839:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &data[i], 1); ^~~~~~~~~~~~~~~~~~~~~~ mice.c:1840: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:2109: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_exps2': mice.c:1916: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_summa': mice.c:1995: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:2001:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, SS_FIRMID, strlen(SS_FIRMID)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2005:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, buffer, 255); /* Read Firm-ID */ ^~~~~~~~~~~~~~~~~~~~~ mice.c:2011:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,GEN_MMSERIES,1); ^~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2012:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,&GEN_MODELL,1); /* Read modell */ ^~~~~~~~~~~~~~~~~~~~~~~ mice.c:2019:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd,&config,1); ^~~~~~~~~~~~~~~~~~ mice.c:2029: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:2034: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:2035:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,SS_READCONFIG,1); ^~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2036:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd,&config,5); ^~~~~~~~~~~~~~~~~~ mice.c:2040: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:2041: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 'resetsumma': mice.c:1961:7: 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:1562: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:1584:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "*X", 2); ^~~~~~~~~~~~~~~~~~ mice.c:1592:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, ":" ,1); ^~~~~~~~~~~~~~~~~ mice.c:1593: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:1594: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:1610: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" */ ^~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o special.o special.c i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o twiddler.o twiddler.c twiddler.c: In function 'twiddler_key': twiddler.c:262:10: warning: variable 'val' set but not used [-Wunused-but-set-variable] char *val; ^~~ twiddler.c: In function 'twiddler_mod_to_table': twiddler.c:334:45: warning: operation on 'ptr' may be undefined [-Wsequence-point] for (ptr = twiddler_map; ptr->table; ptr = ptr++) { ~~~~^~~~~~~ twiddler.c: In function 'twiddler_key_init': twiddler.c:527:60: warning: the address of 'mod' will always evaluate as 'true' [-Waddress] lineno, mod, mod ? " " : "", chord); ^ twiddler.c: In function 'twiddler_exec': twiddler.c:188:10: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(1); ^~~~~~ i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o synaptics.o synaptics.c synaptics.c: In function 'tp_hextoint': synaptics.c:2236:11: 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:435: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:2303:27: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ synaptics.c:2304: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:394: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:2317: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:368: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:2330: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:2297: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:2371: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:2297: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:2399:27: 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:2297:13: note: expected 'unsigned char *' but argument is of type 'char *' static void tp_serial_send_cmd(int fd, ^~~~~~~~~~~~~~~~~~ synaptics.c: In function 'tp_ps2_putbyte': synaptics.c:2515:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &b, 1); ^~~~~~~~~~~~~~~~ synaptics.c:2516:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &ack, 1); ^~~~~~~~~~~~~~~~~ synaptics.c:2519:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &b, 1); ^~~~~~~~~~~~~~~~ synaptics.c:2520: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:2495:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &b, 1); ^~~~~~~~~~~~~~~ synaptics.c: In function 'tp_serial_send_cmd': synaptics.c:2303:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, cmd, strlen (cmd)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ synaptics.c: In function 'tp_serial_flush_input': synaptics.c:2257:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd, &junk, 1); ^~~~~~~~~~~~~~~~~~~ synaptics.c: In function 'tp_ps2_disable_data': synaptics.c:2782:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,&cmd,1); ^~~~~~~~~~~~~~~~ synaptics.c:2787: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:2834:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,&reset_cmd,1); ^~~~~~~~~~~~~~~~~~~~~~ At top level: synaptics.c:885:13: warning: 'tp_dump_report_data' defined but not used [-Wunused-function] static void tp_dump_report_data (report_type report, ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o startup.o startup.c i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o server_tools.o server_tools.c i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o closeall.o closeall.c i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o report.o report.c i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o tools.o tools.c i586-alt-linux-gcc -L/usr/src/RPM/BUILD/gpm-1.20.1/src -o gpm gpm.o main.o gpn.o mice.o special.o twiddler.o synaptics.o startup.o server_tools.o closeall.o report.o tools.o -lm i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -DPIC -fPIC -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o lib/liblow.lo lib/liblow.c i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -DPIC -fPIC -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o lib/libhigh.lo lib/libhigh.c i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -DPIC -fPIC -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o lib/libxtra.lo lib/libxtra.c lib/libxtra.c: In function 'Gpm_GetServerVersion': lib/libxtra.c:70: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:127:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(gpm_fd,&conn,sizeof(Gpm_Connect)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -DPIC -fPIC -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o lib/report-lib.lo lib/report-lib.c i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -DPIC -fPIC -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o lib/closeall.lo lib/closeall.c i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -DPIC -fPIC -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o tools.lo tools.c i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -DPIC -fPIC -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o lib/libcurses.lo lib/libcurses.c i586-alt-linux-gcc -fPIC -shared -Wl,-soname,libgpm.so.1 \ -L/usr/src/RPM/BUILD/gpm-1.20.1/src -o lib/libgpm.so.1.19.0 lib/liblow.lo lib/libhigh.lo lib/libxtra.lo lib/report-lib.lo lib/closeall.lo tools.lo lib/libcurses.lo -lm -ltinfo -lc ln -s -f libgpm.so.1.19.0 lib/libgpm.so i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o lib/liblow.o lib/liblow.c i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o lib/libhigh.o lib/libhigh.c i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o lib/libxtra.o lib/libxtra.c lib/libxtra.c: In function 'Gpm_GetServerVersion': lib/libxtra.c:70: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:127:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(gpm_fd,&conn,sizeof(Gpm_Connect)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o lib/report-lib.o lib/report-lib.c i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o lib/closeall.o lib/closeall.c i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o lib/libcurses.o lib/libcurses.c ar rc lib/libgpm.a lib/liblow.o lib/libhigh.o lib/libxtra.o lib/report-lib.o lib/closeall.o tools.o lib/libcurses.o ranlib lib/libgpm.a i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o prog/mev.o prog/mev.c i586-alt-linux-gcc -L/usr/src/RPM/BUILD/gpm-1.20.1/src -o prog/mev prog/mev.o lib/libgpm.so lib/libgpm.a -lm i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o prog/hltest.o prog/hltest.c i586-alt-linux-gcc -L/usr/src/RPM/BUILD/gpm-1.20.1/src -o prog/hltest prog/hltest.o lib/libgpm.so lib/libgpm.a -lm i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o prog/mouse-test.o prog/mouse-test.c prog/mouse-test.c: In function 'main': prog/mouse-test.c:534: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:534:42: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:203:40: warning: value computed is not used [-Wunused-value] #define CHECKFAIL(count) ((count)==0 && noneofthem()) ^ prog/mouse-test.c:567:4: note: in expansion of macro 'CHECKFAIL' CHECKFAIL(typecount); ^~~~~~~~~ prog/mouse-test.c:608: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:608:47: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:203:40: warning: value computed is not used [-Wunused-value] #define CHECKFAIL(count) ((count)==0 && noneofthem()) ^ prog/mouse-test.c:620:4: note: in expansion of macro 'CHECKFAIL' CHECKFAIL(typecount); ^~~~~~~~~ prog/mouse-test.c:650: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:650:47: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:203:40: warning: value computed is not used [-Wunused-value] #define CHECKFAIL(count) ((count)==0 && noneofthem()) ^ prog/mouse-test.c:669:4: note: in expansion of macro 'CHECKFAIL' CHECKFAIL(typecount); ^~~~~~~~~ prog/mouse-test.c: In function 'eventlist': prog/mouse-test.c:267: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:400: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:470:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(mousefd,buf,BUFLEN); /* flush */ ^~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -L/usr/src/RPM/BUILD/gpm-1.20.1/src -o prog/mouse-test prog/mouse-test.o mice.o twiddler.o synaptics.o lib/libgpm.so lib/libgpm.a -lm i586-alt-linux-gcc -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o prog/disable-paste.o prog/disable-paste.c i586-alt-linux-gcc -L/usr/src/RPM/BUILD/gpm-1.20.1/src -o prog/disable-paste prog/disable-paste.o lib/libgpm.so lib/libgpm.a -lm i586-alt-linux-gcc -I. -I/usr/src/RPM/BUILD/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -pipe -Wall -g -O2 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o prog/gpm-root.o prog/gpm-root.c /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y: In function 'scr_restore': /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y:995:10: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x,y, dumpfd; ^ /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y:995:8: warning: variable 'x' set but not used [-Wunused-but-set-variable] int x,y, dumpfd; ^ /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y: In function 'postmenu': /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y:1062:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] #define PUTS(s,f,b) for(curr2=s;*curr2;PUTC(*(curr2++),f,b)) ^ /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y:1077:10: note: in expansion of macro 'PUTS' PUTS(draw->title,draw->head,draw->back); ^~~~ /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y:1062:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] #define PUTS(s,f,b) for(curr2=s;*curr2;PUTC(*(curr2++),f,b)) ^ /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y:1085:10: note: in expansion of macro 'PUTS' PUTS(item->name,draw->fore,draw->back); i+=strlen(item->name); ^~~~ /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y: In function 'f_load': /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y:680:10: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lf %lf %lf",&l1,&l2,&l3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y: In function 'f_free': /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y:705:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s,sizeof(s),f); ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y:706:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s,sizeof(s),f); sscanf(s,"%*s %*s %*s %ld",&l1); ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y:707:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s,sizeof(s),f); sscanf(s,"%*s %*s %*s %ld",&l2); ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y: In function 'scr_dump': /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y:987:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(dumpfd,buffer,4); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y:988:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(dumpfd,buffer+4,2*buffer[0]*buffer[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y: In function 'scr_restore': /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y:1009:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(dumpfd,buffer,4+2*buffer[0]*buffer[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: /usr/src/RPM/BUILD/gpm-1.20.1/src/prog/gpm-root.y:474:12: warning: 'f_debug_one' defined but not used [-Wunused-function] static int f_debug_one(FILE *f, Draw *draw) ^~~~~~~~~~~ i586-alt-linux-gcc -L/usr/src/RPM/BUILD/gpm-1.20.1/src -o prog/gpm-root prog/gpm-root.o -lm -L./lib -lgpm rm prog/hltest.o prog/mev.o prog/disable-paste.o prog/mouse-test.o make[1]: Leaving directory `/usr/src/RPM/BUILD/gpm-1.20.1/src' make[1]: Entering directory `/usr/src/RPM/BUILD/gpm-1.20.1/doc' /bin/sed -f /usr/src/RPM/BUILD/gpm-1.20.1/doc/infofilter /usr/src/RPM/BUILD/gpm-1.20.1/doc/doc.gpm > /usr/src/RPM/BUILD/gpm-1.20.1/doc/gpm.texinfo chmod 400 /usr/src/RPM/BUILD/gpm-1.20.1/doc/gpm.texinfo if [ "no --no-split" != "no" ]; then no --no-split /usr/src/RPM/BUILD/gpm-1.20.1/doc/gpm.texinfo -o /usr/src/RPM/BUILD/gpm-1.20.1/doc/gpm.info; fi /bin/sh: no: command not found make[1]: *** [/usr/src/RPM/BUILD/gpm-1.20.1/doc/gpm.info] Error 127 rm /usr/src/RPM/BUILD/gpm-1.20.1/doc/gpm.texinfo make[1]: Leaving directory `/usr/src/RPM/BUILD/gpm-1.20.1/doc' make: *** [do-all] Error 1 make: Leaving directory `/usr/src/RPM/BUILD/gpm-1.20.1' error: Bad exit status from /usr/src/tmp/rpm-tmp.87328 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.87328 (%build) Command exited with non-zero status 1 13.65user 2.89system 0:15.76elapsed 105%CPU (0avgtext+0avgdata 32552maxresident)k 0inputs+0outputs (0major+473288minor)pagefaults 0swaps hsh-rebuild: rebuild of `gpm-1.20.1-alt14.src.rpm' failed. Command exited with non-zero status 1 31.78user 7.67system 0:38.27elapsed 103%CPU (0avgtext+0avgdata 134196maxresident)k 0inputs+0outputs (0major+744466minor)pagefaults 0swaps