<86>Mar 19 08:35:55 userdel[2209607]: delete user 'rooter' <86>Mar 19 08:35:55 userdel[2209607]: removed group 'rooter' owned by 'rooter' <86>Mar 19 08:35:55 userdel[2209607]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 19 08:35:55 groupadd[2209616]: group added to /etc/group: name=rooter, GID=651 <86>Mar 19 08:35:55 groupadd[2209616]: group added to /etc/gshadow: name=rooter <86>Mar 19 08:35:55 groupadd[2209616]: new group: name=rooter, GID=651 <86>Mar 19 08:35:55 useradd[2209622]: new user: name=rooter, UID=651, GID=651, home=/root, shell=/bin/bash <86>Mar 19 08:35:55 userdel[2209631]: delete user 'builder' <86>Mar 19 08:35:55 userdel[2209631]: removed group 'builder' owned by 'builder' <86>Mar 19 08:35:55 userdel[2209631]: removed shadow group 'builder' owned by 'builder' <86>Mar 19 08:35:55 groupadd[2209641]: group added to /etc/group: name=builder, GID=652 <86>Mar 19 08:35:55 groupadd[2209641]: group added to /etc/gshadow: name=builder <86>Mar 19 08:35:55 groupadd[2209641]: new group: name=builder, GID=652 <86>Mar 19 08:35:55 useradd[2209647]: new user: name=builder, UID=652, GID=652, home=/usr/src, shell=/bin/bash <13>Mar 19 08:35:58 rpmi: rpm-macros-info-install-6.7-alt1 sisyphus+262609.100.1.1 1606438100 installed <13>Mar 19 08:35:58 rpmi: perl-Unicode-Normalize-1:5.30.3-alt1 sisyphus+259030.200.1.1 1601554162 installed <13>Mar 19 08:35:58 rpmi: perl-Unicode-EastAsianWidth-12.0-alt1 sisyphus+237401.100.1.1 1568197363 installed <13>Mar 19 08:35:58 rpmi: perl-Text-Unidecode-1.30-alt1 1480505027 installed <13>Mar 19 08:35:58 rpmi: perl-Pod-Escapes-1.07-alt1 1418767892 installed <13>Mar 19 08:35:58 rpmi: perl-Filter-1.60-alt1 sisyphus+258375.300.14.2 1600904226 installed <13>Mar 19 08:35:58 rpmi: perl-Encode-3.08-alt1 sisyphus+263440.100.1.1 1607955886 installed <13>Mar 19 08:35:58 rpmi: perl-libintl-1.32-alt1 sisyphus+260753.100.1.1 1604233943 installed <13>Mar 19 08:35:58 rpmi: perl-Pod-Simple-3.42-alt1 sisyphus+261979.100.1.1 1605684633 installed <13>Mar 19 08:35:58 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Mar 19 08:35:59 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Mar 19 08:35:59 rpmi: makeinfo-6.7-alt1 sisyphus+262609.100.1.1 1606438116 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/gpm-1.20.1-alt18.1.nosrc.rpm (w1.gzdio) Installing gpm-1.20.1-alt18.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.79373 + 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 889 (offset 2 lines). Hunk #2 succeeded at 2116 (offset 2 lines). + echo 'Patch #21 (0001-Un-nest-wacom-helpers-in-src-mice.c-for-Clang-compat.patch):' Patch #21 (0001-Un-nest-wacom-helpers-in-src-mice.c-for-Clang-compat.patch): + /usr/bin/patch -p1 patching file src/mice.c Hunk #1 succeeded at 1652 (offset -96 lines). Hunk #2 succeeded at 1661 (offset -96 lines). Hunk #3 succeeded at 1741 (offset -96 lines). Hunk #4 succeeded at 1768 (offset -96 lines). + echo 'Patch #22 (0002-Un-nest-summa-helpers-in-src-mice.c-for-Clang-compat.patch):' Patch #22 (0002-Un-nest-summa-helpers-in-src-mice.c-for-Clang-compat.patch): + /usr/bin/patch -p1 patching file src/mice.c Hunk #1 succeeded at 1956 (offset -96 lines). Hunk #2 succeeded at 1995 (offset -96 lines). Hunk #3 succeeded at 2004 (offset -96 lines). Hunk #4 succeeded at 2012 (offset -96 lines). Hunk #5 succeeded at 2030 (offset -96 lines). + echo 'Patch #23 (gpm-1.20.1-alt-sigemptyset.patch):' Patch #23 (gpm-1.20.1-alt-sigemptyset.patch): + /usr/bin/patch -p2 patching file src/prog/gpm-root.y Hunk #1 succeeded at 1229 (offset 34 lines). + find -type f -name '*.orig' -delete + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.79373 + 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 -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -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 --disable-silent-rules --without-included-gettext configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --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... /usr/bin/makeinfo 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, --disable-silent-rules, --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]: [Makefile:79: .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 links in srcdir make[1]: [Makefile:79: 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 -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -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 of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 358 | char *edata=data+type->packetlen; | ^~~~ gpm.c:377:17: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 377 | return data; | ^~~~ gpm.c:408:11: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 408 | 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] 460 | || ((*(m_type->fun))(&nEvent,data)==-1) ) { | ^~~~ | | | char * 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] 371 | write(fifofd, data, howmany); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpm.c:394:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 394 | 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] 341 | 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] 755 | write(ci->fd,&event,sizeof(Gpm_Event)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from gpm.c:26: In function 'strncpy', inlined from 'processConn' at gpm.c:854:7, inlined from 'old_main' at gpm.c:1110:16: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpm.c: In function 'old_main': gpm.c:854:38: note: length computed here 854 | strncpy(tty,option.consolename,strlen(option.consolename)-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 -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o gpn.o gpn.c gpn.c: In function 'loadlut': gpn.c:108:26: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness [-Wpointer-sign] 108 | i += getsym(charset+i, &this); | ~~~~~~~^~ | | | char * gpn.c:69:40: note: expected 'const unsigned char *' but argument is of type 'char *' 69 | static int getsym(const unsigned char *p0, unsigned char *res) | ~~~~~~~~~~~~~~~~~~~~~^~ gpn.c:110:31: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness [-Wpointer-sign] 110 | i += getsym(charset+i+1, &next) + 1; | ~~~~~~~~~^~ | | | char * gpn.c:69:40: note: expected 'const unsigned char *' but argument is of type 'char *' 69 | 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] 246 | if (optarg) | ^~ gpn.c:247:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 247 | opt_age_limit = atoi(optarg); break; | ^~~~~ gpn.c:275:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 275 | else option.repeater_type = "msc"; break; | ^~~~ gpn.c:275:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 275 | else option.repeater_type = "msc"; break; | ^~~~~ gpn.c:278:20: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 278 | else opt_special=""; break; | ^~~~ gpn.c:278:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 278 | 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] 190 | 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 -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -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 of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 185 | {"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 of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 186 | {"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 of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 187 | {"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] 343 | 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 were guarded by the 'if' 343 | 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] 525 | int dx, dy; | ^~ mice.c:525:8: warning: variable 'dx' set but not used [-Wunused-but-set-variable] 525 | int dx, dy; | ^~ mice.c: In function 'M_wacom': mice.c:881:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 881 | 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 were guarded by the 'if' 881 | if (x>wmaxx) x=wmaxx; if (x<0) x=0; | ^~ mice.c:882:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 882 | 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 were guarded by the 'if' 882 | if (y>wmaxy) y=wmaxy; if (y<0) y=0; | ^~ mice.c: In function 'M_gunze': mice.c:1327:18: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 1327 | if(sscanf(data+1, "%d,%d", &x, &y)!= 2) { | ~~~~^~ | | | unsigned char * In file included from mice.c:45: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ mice.c:1342:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1342 | if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; | ^~ mice.c:1342:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1342 | if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; | ^~ mice.c:1343:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1343 | if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; | ^~ mice.c:1343:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1343 | if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; | ^~ mice.c: In function 'I_wp': mice.c:2154:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2154 | write(fd, ":S", 2); | ^~~~~~~~~~~~~~~~~~ mice.c:2158:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2158 | write(fd, "T", 1); | ^~~~~~~~~~~~~~~~~ mice.c:2187:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2187 | write(fd, "O", 1); | ^~~~~~~~~~~~~~~~~ mice.c: In function 'I_wacom': mice.c:1776:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1776 | write(fd,UD_SENDCOORDS,4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_wacom_reset_wacom': mice.c:1670:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1670 | write(fd, UD_RESETBAUD, strlen(UD_RESETBAUD)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:1673:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1673 | write(fd, UD_RESET, strlen(UD_RESET)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:1678:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1678 | write(fd, UD_RESET, strlen(UD_RESET)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:1680:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1680 | write(fd, UD_STOP, strlen(UD_STOP)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'setspeed': mice.c:1523:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1523 | if (needtowrite) write(fd, c, 2); | ^~~~~~~~~~~~~~~ mice.c: In function 'I_wacom_RequestData': mice.c:1709:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1709 | 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] 715 | 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] 730 | write( fd, magic+i, 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~ mice.c:731:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 731 | read( fd, &c, 1 ); | ^~~~~~~~~~~~~~~~~ mice.c:739:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 739 | read( fd, rep, 1 ); | ^~~~~~~~~~~~~~~~~~ mice.c:740:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 740 | read( fd, rep+1, 1 ); | ^~~~~~~~~~~~~~~~~~~~ mice.c:741:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 741 | read( fd, rep+2, 1 ); | ^~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_mtouch': mice.c:2069:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2069 | write(fd,"\001MS\r\n\001FT\r\n",10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_logi': mice.c:1645:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1645 | write(fd, "S", 1); | ^~~~~~~~~~~~~~~~~ mice.c:1651:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1651 | write(fd,sampletab[i].code,1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'read_mouse_id': mice.c:1821:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1821 | write(fd, &c, 1); | ^~~~~~~~~~~~~~~~ mice.c:1822:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1822 | read(fd, &c, 1); | ^~~~~~~~~~~~~~~ mice.c:1826:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1826 | read(fd, &id, 1); | ^~~~~~~~~~~~~~~~ mice.c: In function 'write_to_mouse': mice.c:1843:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1843 | write(fd, &data[i], 1); | ^~~~~~~~~~~~~~~~~~~~~~ mice.c:1844:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1844 | read(fd, &c, 1); | ^~~~~~~~~~~~~~~ mice.c: In function 'I_gunze': mice.c:2114:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2114 | fgets(s, 80, f); /* discard the comment */ | ^~~~~~~~~~~~~~~ mice.c: In function 'I_exps2': mice.c:1920:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1920 | write (fd, s1, sizeof (s1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_summa': mice.c:2000:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2000 | write(fd, SS_PROMPT_MODE, strlen(SS_PROMPT_MODE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2006:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2006 | write(fd, SS_FIRMID, strlen(SS_FIRMID)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2010:10: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2010 | read(fd, buffer, 255); /* Read Firm-ID */ | ^~~~~~~~~~~~~~~~~~~~~ mice.c:2016:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2016 | write(fd,GEN_MMSERIES,1); | ^~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2017:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2017 | write(fd,&GEN_MODELL,1); /* Read modell */ | ^~~~~~~~~~~~~~~~~~~~~~~ mice.c:2024:16: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2024 | read(fd,&config,1); | ^~~~~~~~~~~~~~~~~~ mice.c:2034:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2034 | write(fd, SS_BINARY_FMT SS_PROMPT_MODE, 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2039:34: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2039 | if (!((err == -1) || (!err))) read(fd,buffer,sizeof(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2040:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2040 | write(fd,SS_READCONFIG,1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2041:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2041 | read(fd,&config,5); | ^~~~~~~~~~~~~~~~~~ mice.c:2045:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2045 | write(fd,SS_ABSOLUTE SS_STREAM_MODE SS_UPPER_ORIGIN,3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2046:19: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2046 | if (summaid<0) write(fd,SS_500LPI SS_TABID0 SS_BINARY_FMT,4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_summa_reset_summa': mice.c:1961:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1961 | write(fd,0,1); /* Reset */ | ^~~~~~~~~~~~~ mice.c: In function 'I_serial': mice.c:1564:30: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1564 | if (type->fun==M_logimsc) write(fd, "QU", 2 ); | ^~~~~~~~~~~~~~~~~~~ mice.c:1586:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1586 | write(fd, "*X", 2); | ^~~~~~~~~~~~~~~~~~ mice.c:1594:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1594 | write(fd, ":" ,1); | ^~~~~~~~~~~~~~~~~ mice.c:1595:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1595 | write(fd, "E" ,1); /* setup tablet. relative mode, resolution... */ | ^~~~~~~~~~~~~~~~~ mice.c:1596:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1596 | write(fd, "@" ,1); /* setup tablet. relative mode, resolution... */ | ^~~~~~~~~~~~~~~~~ mice.c:1612:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1612 | write(fd, "R", 1); /* initialize a mouse; without getting an "R" */ | ^~~~~~~~~~~~~~~~~ mice.c: In function 'I_wacom': mice.c:1747:10: warning: 'p' is used uninitialized in this function [-Wuninitialized] 1747 | while(I_wacom_RequestData(NULL, fd, buffer, BUFFER_SIZE, p)) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'I_summa_reset_summa', inlined from 'I_summa' at mice.c:1998:4: mice.c:1961:4: warning: argument 2 is null but the corresponding size argument 3 value is 1 [-Wnonnull] 1961 | write(fd,0,1); /* Reset */ | ^~~~~~~~~~~~~ In file included from mice.c:52: mice.c: In function 'I_summa': /usr/include/unistd.h:367:16: note: in a call to function 'write' declared with attribute 'read_only (2, 3)' 367 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ In function 'I_summa_reset_summa', inlined from 'I_summa' at mice.c:2015:7: mice.c:1961:4: warning: argument 2 is null but the corresponding size argument 3 value is 1 [-Wnonnull] 1961 | write(fd,0,1); /* Reset */ | ^~~~~~~~~~~~~ In file included from mice.c:52: mice.c: In function 'I_summa': /usr/include/unistd.h:367:16: note: in a call to function 'write' declared with attribute 'read_only (2, 3)' 367 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ In function 'I_summa_reset_summa', inlined from 'I_summa' at mice.c:2033:7: mice.c:1961:4: warning: argument 2 is null but the corresponding size argument 3 value is 1 [-Wnonnull] 1961 | write(fd,0,1); /* Reset */ | ^~~~~~~~~~~~~ In file included from mice.c:52: mice.c: In function 'I_summa': /usr/include/unistd.h:367:16: note: in a call to function 'write' declared with attribute 'read_only (2, 3)' 367 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ 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 -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -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] 262 | char *val; | ^~~ twiddler.c: In function 'twiddler_mod_to_table': twiddler.c:334:45: warning: operation on 'ptr' may be undefined [-Wsequence-point] 334 | 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] 527 | 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] 188 | 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 -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -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] 2236 | sscanf (bytes, "%x", &result); | ^~~~~ | | | unsigned char * In file included from synaptics.c:213: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 399 | 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] 2303 | write (fd, cmd, strlen (cmd)); | ^~~ | | | unsigned char * In file included from synaptics.c:216: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | 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] 2304 | tp_serial_read (fd, junk, strlen (cmd)); | ^~~ | | | unsigned char * In file included from synaptics.c:216: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | 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] 2317 | sprintf (bytes, "%%C3B%02X5555", mode); | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/math.h:27, from synaptics.c:212: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __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] 2330 | tp_serial_send_cmd (fd, "%A"); | ^~~~ | | | char * synaptics.c:2298:26: note: expected 'unsigned char *' but argument is of type 'char *' 2298 | unsigned char *cmd) | ~~~~~~~~~~~~~~~^~~ 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] 2371 | tp_serial_send_cmd (fd, "%D"); | ^~~~ | | | char * synaptics.c:2298:26: note: expected 'unsigned char *' but argument is of type 'char *' 2298 | unsigned char *cmd) | ~~~~~~~~~~~~~~~^~~ 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] 2399 | tp_serial_send_cmd (fd, "%B"); | ^~~~ | | | char * synaptics.c:2298:26: note: expected 'unsigned char *' but argument is of type 'char *' 2298 | unsigned char *cmd) | ~~~~~~~~~~~~~~~^~~ 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] 2515 | write(fd, &b, 1); | ^~~~~~~~~~~~~~~~ synaptics.c:2516:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2516 | read(fd, &ack, 1); | ^~~~~~~~~~~~~~~~~ synaptics.c:2519:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2519 | write(fd, &b, 1); | ^~~~~~~~~~~~~~~~ synaptics.c:2520:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2520 | 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] 2495 | 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] 2303 | 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] 2257 | 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] 2782 | write(fd,&cmd,1); | ^~~~~~~~~~~~~~~~ synaptics.c:2787:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2787 | 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] 2834 | write(fd,&reset_cmd,1); | ^~~~~~~~~~~~~~~~~~~~~~ At top level: synaptics.c:885:13: warning: 'tp_dump_report_data' defined but not used [-Wunused-function] 885 | 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 -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -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 ld: main.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: multiple definition of `option'; gpm.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: first defined here ld: gpn.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: multiple definition of `option'; gpm.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: first defined here ld: mice.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: multiple definition of `option'; gpm.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: first defined here ld: special.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: multiple definition of `option'; gpm.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: first defined here ld: twiddler.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: multiple definition of `option'; gpm.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: first defined here ld: synaptics.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: multiple definition of `option'; gpm.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: first defined here ld: startup.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: multiple definition of `option'; gpm.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: first defined here ld: server_tools.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: multiple definition of `option'; gpm.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: first defined here ld: report.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: multiple definition of `option'; gpm.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: first defined here ld: tools.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: multiple definition of `option'; gpm.o:/usr/src/RPM/BUILD/gpm-1.20.1/src/headers/gpmInt.h:230: first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:62: gpm] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/gpm-1.20.1/src' make: *** [Makefile:62: 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.79373 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.79373 (%build) Command exited with non-zero status 1 12.36user 2.93system 0:14.53elapsed 105%CPU (0avgtext+0avgdata 39168maxresident)k 0inputs+0outputs (0major+443672minor)pagefaults 0swaps hsh-rebuild: rebuild of `gpm-1.20.1-alt18.1.src.rpm' failed. Command exited with non-zero status 1 19.05user 8.08system 0:25.26elapsed 107%CPU (0avgtext+0avgdata 106996maxresident)k 2600inputs+0outputs (0major+693706minor)pagefaults 0swaps