Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gpm.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_1/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gpm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1629072000 Wrote: /builddir/build/SRPMS/gpm-1.20.7-29.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gpm.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_1/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gpm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1629072000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vXNIAX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gpm-1.20.7 + /usr/bin/xz -dc /builddir/build/SOURCES/gpm-1.20.7.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gpm-1.20.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (1.20.7...e82d1a653ca94aa4ed12441424da6ce780b1e530.diff):' Patch #0 (1.20.7...e82d1a653ca94aa4ed12441424da6ce780b1e530.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .master --fuzz=0 patching file .gitignore patching file Makefile.in patching file configure.ac.footer patching file doc/changelog patching file doc/doc.gpm.in patching file src/Makefile.in patching file src/daemon/gpm.c patching file src/daemon/old_main.c patching file src/daemon/open_console.c patching file src/daemon/processconn.c patching file src/headers/daemon.h patching file src/headers/gpm.h patching file src/headers/message.h patching file src/lib/liblow.c patching file src/lib/report-lib.c patching file src/prog/display-buttons.c patching file src/prog/display-coords.c patching file src/prog/gpm-root.y patching file src/prog/mouse-test.c patching file src/report.c patching file src/synaptics.c patching file src/twiddler.c Patch #1 (gpm-1.20.6-multilib.patch): + echo 'Patch #1 (gpm-1.20.6-multilib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .multilib --fuzz=0 patching file contrib/Makefile.in patching file doc/Makefile.in Patch #2 (gpm-1.20.1-lib-silent.patch): + echo 'Patch #2 (gpm-1.20.1-lib-silent.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lib-silent --fuzz=0 patching file src/lib/report-lib.c Patch #4 (gpm-1.20.5-close-fds.patch): + echo 'Patch #4 (gpm-1.20.5-close-fds.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .close-fds --fuzz=0 patching file src/daemon/startup.c Patch #5 (gpm-1.20.1-weak-wgetch.patch): + echo 'Patch #5 (gpm-1.20.1-weak-wgetch.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .weak-wgetch --fuzz=0 patching file src/lib/libcurses.c patching file configure.ac.footer Hunk #1 succeeded at 129 (offset 14 lines). Patch #7 (gpm-1.20.7-rhbz-668480-gpm-types-7-manpage-fixes.patch): + echo 'Patch #7 (gpm-1.20.7-rhbz-668480-gpm-types-7-manpage-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .manpage --fuzz=0 patching file doc/doc.gpm.in Patch #8 (gpm-1.20.7-covscan.patch): + echo 'Patch #8 (gpm-1.20.7-covscan.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .covscan --fuzz=0 patching file src/daemon/check_uniqueness.c patching file src/lib/liblow.c patching file src/lib/report-lib.c patching file src/mice.c patching file src/prog/gpm-root.y + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OuYaNJ + umask 022 + cd /builddir/build/BUILD + cd gpm-1.20.7 + ./autogen.sh rm -f config/config.guess libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: linking file 'config/config.guess' rm -f config/config.sub libtoolize: linking file 'config/config.sub' rm -f config/install-sh libtoolize: linking file 'config/install-sh' rm -f config/ltmain.sh libtoolize: linking file 'config/ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/config.guess' libtoolize: copying file 'config/config.sub' libtoolize: copying file 'config/install-sh' libtoolize: copying file 'config/ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-01-11 19:26:20.483627723 -0500 +++ ./configure 2022-01-11 19:26:20.501627617 -0500 @@ -1738,7 +1738,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-01-11 19:26:20.501627617 -0500 +++ ./configure 2022-01-11 19:26:20.515627533 -0500 @@ -5267,7 +5267,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -13003,7 +13003,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./config/ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for x86_64-redhat-linux-gnu-gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 5273: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for a BSD-compatible install... /usr/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... (cached) /usr/bin/sed checking for emacs... 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 sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking linux/major.h usability... yes checking linux/major.h presence... yes checking for linux/major.h... yes checking linux/tty.h usability... yes checking linux/tty.h presence... yes checking for linux/tty.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for __u32... yes checking whether system is ELF... yes checking for vsyslog... yes checking for syslog... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for tputs in -ltinfo... yes checking for wgetch in -lncurses... yes configure: creating ./config.status config.status: creating Makefile.include config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating contrib/Makefile config.status: creating doc/doc.gpm config.status: creating src/headers/config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j8 V=1 VERBOSE=1 touch src/.depend # to prevent unecessary warnings /usr/bin/make -C src dep make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' bison -y /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y && mv y.tab.c prog/gpm-root.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' # make links in srcdir # create dependencies for DEPS in `echo *.c */*.c`; do \ gcc -I. -I /builddir/build/BUILD/gpm-1.20.7/src -I /builddir/build/BUILD/gpm-1.20.7/src/headers -M -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE $DEPS | \ /usr/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: [Makefile:92: .depend] Error 1 (ignored) make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' # make links in srcdir # create dependencies for DEPS in `echo *.c */*.c`; do \ gcc -I. -I /builddir/build/BUILD/gpm-1.20.7/src -I /builddir/build/BUILD/gpm-1.20.7/src/headers -M -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE $DEPS | \ /usr/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: [Makefile:92: dep] Error 1 (ignored) make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/reset_mice.o daemon/reset_mice.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/init_mice.o daemon/init_mice.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/disable_paste.o daemon/disable_paste.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/build_argv.o daemon/build_argv.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/add_mouse.o daemon/add_mouse.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/do_client.o daemon/do_client.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' daemon/do_client.c: In function 'do_client': daemon/do_client.c:51:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 51 | write(fd,event, sizeof(Gpm_Event)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/do_selection.o daemon/do_selection.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/get_data.o daemon/get_data.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/get_console_size.o daemon/get_console_size.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/getmousedata.o daemon/getmousedata.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' daemon/getmousedata.c: In function 'getMouseData': daemon/getmousedata.c:39:16: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 39 | char *edata=data+type->packetlen; | ^~~~ daemon/getmousedata.c:58:17: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 58 | return data; | ^~~~ daemon/getmousedata.c:89:11: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 89 | return data; | ^~~~ daemon/getmousedata.c:52:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | write(fifofd, data, howmany); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ daemon/getmousedata.c:75:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | write(fifofd, edata-i, j); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/gpm.o daemon/gpm.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/header.o daemon/header.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/gpm-killed.o daemon/gpm-killed.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/main.o daemon/main.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o twiddler.o twiddler.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' twiddler.c: In function 'twiddler_exec': twiddler.c:179:10: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 179 | dup(1); | ^~~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/open_console.o daemon/open_console.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' daemon/open_console.c: In function 'open_console': daemon/open_console.c:53:21: warning: 'si.line' may be used uninitialized [-Wmaybe-uninitialized] 53 | if (si.line > 0) { | ~~^~~~~ daemon/open_console.c:44:25: note: 'si' declared here 44 | struct serial_struct si; | ^~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/check_kill.o daemon/check_kill.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/gpm_exited.o daemon/gpm_exited.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o generic/isodigit.o generic/isodigit.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o generic/getsym.o generic/getsym.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/selection_copy.o daemon/selection_copy.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/processspecial.o daemon/processspecial.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' daemon/processspecial.c: In function 'processSpecial': daemon/processspecial.c:158:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | dup(1); /* stderr */ | ^~~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/processconn.o daemon/processconn.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' In file included from /usr/include/string.h:519, from /usr/include/sys/un.h:37, from daemon/processconn.c:26: In function 'strncpy', inlined from 'processConn' at daemon/processconn.c:118:7: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ daemon/processconn.c: In function 'processConn': daemon/processconn.c:118:40: note: length computed here 118 | strncpy(tty, option.consolename, strlen(option.consolename) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/old_main.o daemon/old_main.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/processmouse.o daemon/processmouse.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' daemon/processmouse.c: In function 'processMouse': daemon/processmouse.c:82:57: warning: pointer targets in passing argument 2 of 'which_mouse->m_type->fun' differ in signedness [-Wpointer-sign] 82 | || ((*((which_mouse->m_type)->fun))(&nEvent,data)==-1) ) { | ^~~~ | | | char * daemon/processmouse.c:82:57: note: expected 'unsigned char *' but argument is of type 'char *' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/processrequest.o daemon/processrequest.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' daemon/processrequest.c: In function 'processRequest': daemon/processrequest.c:102:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 102 | write(ci->fd,&event,sizeof(Gpm_Event)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/selection_paste.o daemon/selection_paste.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/find_mouse_by_name.o daemon/find_mouse_by_name.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/cmdline.o daemon/cmdline.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' daemon/cmdline.c: In function 'cmdline': daemon/cmdline.c:46:20: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 46 | if (optarg) | ^~ daemon/cmdline.c:47:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 47 | opt_age_limit = atoi(optarg); break; | ^~~~~ daemon/cmdline.c:71:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 71 | else (which_mouse->opt_scale)=100/(which_mouse->opt_scale); break; | ^~~~ daemon/cmdline.c:71:88: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 71 | else (which_mouse->opt_scale)=100/(which_mouse->opt_scale); break; | ^~~~~ daemon/cmdline.c:75:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 75 | else option.repeater_type = "msc"; break; | ^~~~ daemon/cmdline.c:75:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 75 | else option.repeater_type = "msc"; break; | ^~~~~ daemon/cmdline.c:78:20: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 78 | else opt_special=""; break; | ^~~~ daemon/cmdline.c:78:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 78 | else opt_special=""; break; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/loadlut.o daemon/loadlut.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/usage.o daemon/usage.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' daemon/loadlut.c: In function 'loadlut': daemon/loadlut.c:53:26: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness [-Wpointer-sign] 53 | i += getsym(charset+i, &this); | ~~~~~~~^~ | | | char * In file included from daemon/loadlut.c:30: /builddir/build/BUILD/gpm-1.20.7/src/headers/daemon.h:201:35: note: expected 'const unsigned char *' but argument is of type 'char *' 201 | int getsym(const unsigned char *p0, unsigned char *res); | ~~~~~~~~~~~~~~~~~~~~~^~ daemon/loadlut.c:55:31: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness [-Wpointer-sign] 55 | i += getsym(charset+i+1, &next) + 1; | ~~~~~~~~~^~ | | | char * In file included from daemon/loadlut.c:30: /builddir/build/BUILD/gpm-1.20.7/src/headers/daemon.h:201:35: note: expected 'const unsigned char *' but argument is of type 'char *' 201 | int getsym(const unsigned char *p0, unsigned char *res); | ~~~~~~~~~~~~~~~~~~~~~^~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/check_uniqueness.o daemon/check_uniqueness.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' daemon/check_uniqueness.c: In function 'check_uniqueness': daemon/check_uniqueness.c:38:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | fscanf(fp, "%d", &old_pid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/wait_text.o daemon/wait_text.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o report.o report.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o daemon/startup.o daemon/startup.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o tools.o tools.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lib/libhigh.lo lib/libhigh.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lib/report-lib.lo lib/report-lib.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' In file included from /usr/include/sys/syslog.h:207, from /usr/include/syslog.h:1, from /builddir/build/BUILD/gpm-1.20.7/src/headers/message.h:236, from lib/report-lib.c:25: In function 'syslog', inlined from 'gpm_report' at lib/report-lib.c:58:4: /usr/include/bits/syslog.h:31:3: warning: '%s' directive argument is null [-Wformat-overflow=] 31 | __syslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lib/libxtra.lo lib/libxtra.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o tools.lo tools.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' lib/libxtra.c: In function 'Gpm_GetServerVersion': lib/libxtra.c:64:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | fgets(line, 128, f); | ^~~~~~~~~~~~~~~~~~~ lib/libxtra.c: In function 'Gpm_GetSnapshot': lib/libxtra.c:126:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 126 | write(gpm_fd, &conn, sizeof(Gpm_Connect)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o synaptics.o synaptics.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' synaptics.c: In function 'tp_ps2_putbyte': synaptics.c:2531:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2531 | write(fd, &b, 1); | ^~~~~~~~~~~~~~~~ synaptics.c:2532:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2532 | read(fd, &ack, 1); | ^~~~~~~~~~~~~~~~~ synaptics.c:2535:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2535 | write(fd, &b, 1); | ^~~~~~~~~~~~~~~~ synaptics.c:2536:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2536 | read(fd, &ack, 1); | ^~~~~~~~~~~~~~~~~ synaptics.c: In function 'tp_ps2_getbyte': synaptics.c:2511:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2511 | read(fd, &b, 1); | ^~~~~~~~~~~~~~~ synaptics.c: In function 'tp_serial_send_cmd': synaptics.c:2319:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2319 | write (fd, cmd, strlen (cmd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ synaptics.c: In function 'tp_serial_flush_input': synaptics.c:2274:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2274 | read (fd, &junk, 1); | ^~~~~~~~~~~~~~~~~~~ synaptics.c: In function 'tp_ps2_disable_data': synaptics.c:2798:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2798 | write(fd,&cmd,1); | ^~~~~~~~~~~~~~~~ synaptics.c:2803:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2803 | read (fd, &status, 1); | ^~~~~~~~~~~~~~~~~~~~~ synaptics.c: In function 'syn_ps2_send_reset': synaptics.c:2850:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2850 | write(fd,&reset_cmd,1); | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lib/report-lib.o lib/report-lib.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' In file included from /usr/include/sys/syslog.h:207, from /usr/include/syslog.h:1, from /builddir/build/BUILD/gpm-1.20.7/src/headers/message.h:236, from lib/report-lib.c:25: In function 'syslog', inlined from 'gpm_report' at lib/report-lib.c:58:4: /usr/include/bits/syslog.h:31:3: warning: '%s' directive argument is null [-Wformat-overflow=] 31 | __syslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lib/libhigh.o lib/libhigh.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lib/libxtra.o lib/libxtra.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' lib/libxtra.c: In function 'Gpm_GetServerVersion': lib/libxtra.c:64:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | fgets(line, 128, f); | ^~~~~~~~~~~~~~~~~~~ lib/libxtra.c: In function 'Gpm_GetSnapshot': lib/libxtra.c:126:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 126 | write(gpm_fd, &conn, sizeof(Gpm_Connect)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lib/libcurses.lo lib/libcurses.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' lib/libcurses.c: In function 'Gpm_Wgetch': lib/libcurses.c:153:25: warning: pointer targets in passing argument 1 of 'gpm_convert_event' differ in signedness [-Wpointer-sign] 153 | gpm_convert_event(mdata,&ev); | ^~~~~ | | | unsigned char * lib/libcurses.c:103:40: note: expected 'char *' but argument is of type 'unsigned char *' 103 | extern int gpm_convert_event(char *data, Gpm_Event *event); | ~~~~~~^~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lib/liblow.lo lib/liblow.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Iheaders -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o prog/open_console.o prog/open_console.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lib/libcurses.o lib/libcurses.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' lib/libcurses.c: In function 'Gpm_Wgetch': lib/libcurses.c:153:25: warning: pointer targets in passing argument 1 of 'gpm_convert_event' differ in signedness [-Wpointer-sign] 153 | gpm_convert_event(mdata,&ev); | ^~~~~ | | | unsigned char * lib/libcurses.c:103:40: note: expected 'char *' but argument is of type 'unsigned char *' 103 | extern int gpm_convert_event(char *data, Gpm_Event *event); | ~~~~~~^~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Iheaders -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o prog/disable-paste.o prog/disable-paste.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mice.o mice.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' mice.c: In function 'option_modem_lines': mice.c:187:37: warning: pointer targets in initialization of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 187 | {"dtr", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR}, | ^ mice.c:187:37: note: (near initialization for 'optioninfo[0].u.iptr') mice.c:188:37: warning: pointer targets in initialization of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 188 | {"rts", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_RTS}, | ^ mice.c:188:37: note: (near initialization for 'optioninfo[1].u.iptr') mice.c:189:37: warning: pointer targets in initialization of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 189 | {"both", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR | TIOCM_RTS}, | ^ mice.c:189:37: note: (near initialization for 'optioninfo[2].u.iptr') mice.c: In function 'M_summa': mice.c:345:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 345 | if (y<0) y=0; if (y>summamaxy) y=summamaxy; | ^~ mice.c:345:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 345 | if (y<0) y=0; if (y>summamaxy) y=summamaxy; | ^~ mice.c: In function 'R_msc': mice.c:537:12: warning: variable 'dy' set but not used [-Wunused-but-set-variable] 537 | int dx, dy; | ^~ mice.c:537:8: warning: variable 'dx' set but not used [-Wunused-but-set-variable] 537 | int dx, dy; | ^~ mice.c: In function 'M_wacom': mice.c:897:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 897 | if (x>wmaxx) x=wmaxx; if (x<0) x=0; | ^~ mice.c:897:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 897 | if (x>wmaxx) x=wmaxx; if (x<0) x=0; | ^~ mice.c:898:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 898 | if (y>wmaxy) y=wmaxy; if (y<0) y=0; | ^~ mice.c:898:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 898 | if (y>wmaxy) y=wmaxy; if (y<0) y=0; | ^~ mice.c: In function 'M_gunze': mice.c:1341:18: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 1341 | if(sscanf(data+1, "%d,%d", &x, &y)!= 2) { | ~~~~^~ | | | unsigned char * In file included from mice.c:45: /usr/include/stdio.h:417:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 417 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ mice.c:1356:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1356 | if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; | ^~ mice.c:1356:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1356 | if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; | ^~ mice.c:1357:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1357 | if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; | ^~ mice.c:1357:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1357 | if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; | ^~ mice.c: In function 'M_etouch': mice.c:1452:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1452 | if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; | ^~ mice.c:1452:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1452 | if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; | ^~ mice.c:1453:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1453 | if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; | ^~ mice.c:1453:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1453 | if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; | ^~ mice.c: In function 'I_wp': mice.c:2305:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2305 | write(fd, ":S", 2); | ^~~~~~~~~~~~~~~~~~ mice.c:2309:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2309 | write(fd, "T", 1); | ^~~~~~~~~~~~~~~~~ mice.c:2338:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2338 | write(fd, "O", 1); | ^~~~~~~~~~~~~~~~~ mice.c: In function 'I_wacom': mice.c:1872:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1872 | write(fd,UD_SENDCOORDS,4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_wacom_reset_wacom': mice.c:1766:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1766 | write(fd, UD_RESETBAUD, strlen(UD_RESETBAUD)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:1769:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1769 | write(fd, UD_RESET, strlen(UD_RESET)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:1774:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1774 | write(fd, UD_RESET, strlen(UD_RESET)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:1776:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1776 | write(fd, UD_STOP, strlen(UD_STOP)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'setspeed': mice.c:1619:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1619 | if (needtowrite) write(fd, c, 2); | ^~~~~~~~~~~~~~~ mice.c: In function 'I_wacom_RequestData': mice.c:1805:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1805 | if (cmd) write(fd,cmd,strlen(cmd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_ps2': mice.c:731:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 731 | write (fd, s, sizeof (s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_netmouse': mice.c:746:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 746 | write( fd, magic+i, 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~ mice.c:747:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 747 | read( fd, &c, 1 ); | ^~~~~~~~~~~~~~~~~ mice.c:755:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 755 | read( fd, rep, 1 ); | ^~~~~~~~~~~~~~~~~~ mice.c:756:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 756 | read( fd, rep+1, 1 ); | ^~~~~~~~~~~~~~~~~~~~ mice.c:757:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 757 | read( fd, rep+2, 1 ); | ^~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_mtouch': mice.c:2165:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2165 | write(fd,"\001MS\r\n\001FT\r\n",10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_logi': mice.c:1741:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1741 | write(fd, "S", 1); | ^~~~~~~~~~~~~~~~~ mice.c:1747:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1747 | write(fd,sampletab[i].code,1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'read_mouse_id': mice.c:1917:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1917 | write(fd, &c, 1); | ^~~~~~~~~~~~~~~~ mice.c:1918:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1918 | read(fd, &c, 1); | ^~~~~~~~~~~~~~~ mice.c:1922:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1922 | read(fd, &id, 1); | ^~~~~~~~~~~~~~~~ mice.c: In function 'write_to_mouse': mice.c:1939:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1939 | write(fd, &data[i], 1); | ^~~~~~~~~~~~~~~~~~~~~~ mice.c:1940:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1940 | read(fd, &c, 1); | ^~~~~~~~~~~~~~~ mice.c: In function 'I_gunze': mice.c:2210:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2210 | fgets(s, 80, f); /* discard the comment */ | ^~~~~~~~~~~~~~~ mice.c: In function 'I_exps2': mice.c:2016:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2016 | write (fd, s1, sizeof (s1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_etouch': mice.c:2262:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2262 | fgets(s, 80, f); /* discard the comment */ | ^~~~~~~~~~~~~~~ mice.c: In function 'I_summa': mice.c:2096:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2096 | write(fd, SS_PROMPT_MODE, strlen(SS_PROMPT_MODE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2102:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2102 | write(fd, SS_FIRMID, strlen(SS_FIRMID)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2106:10: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2106 | read(fd, buffer, 255); /* Read Firm-ID */ | ^~~~~~~~~~~~~~~~~~~~~ mice.c:2112:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2112 | write(fd,GEN_MMSERIES,1); | ^~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2113:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2113 | write(fd,&GEN_MODELL,1); /* Read modell */ | ^~~~~~~~~~~~~~~~~~~~~~~ mice.c:2120:16: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2120 | read(fd,&config,1); | ^~~~~~~~~~~~~~~~~~ mice.c:2130:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2130 | write(fd, SS_BINARY_FMT SS_PROMPT_MODE, 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2135:34: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2135 | if (!((err == -1) || (!err))) read(fd,buffer,sizeof(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2136:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2136 | write(fd,SS_READCONFIG,1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2137:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2137 | read(fd,&config,5); | ^~~~~~~~~~~~~~~~~~ mice.c:2141:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2141 | write(fd,SS_ABSOLUTE SS_STREAM_MODE SS_UPPER_ORIGIN,3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2142:19: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2142 | if (summaid<0) write(fd,SS_500LPI SS_TABID0 SS_BINARY_FMT,4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c: In function 'I_summa_reset_summa': mice.c:2057:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2057 | write(fd,0,1); /* Reset */ | ^~~~~~~~~~~~~ mice.c: In function 'I_serial': mice.c:1660:30: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1660 | if (type->fun==M_logimsc) write(fd, "QU", 2 ); | ^~~~~~~~~~~~~~~~~~~ mice.c:1682:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1682 | write(fd, "*X", 2); | ^~~~~~~~~~~~~~~~~~ mice.c:1690:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1690 | write(fd, ":" ,1); | ^~~~~~~~~~~~~~~~~ mice.c:1691:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1691 | write(fd, "E" ,1); /* setup tablet. relative mode, resolution... */ | ^~~~~~~~~~~~~~~~~ mice.c:1692:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1692 | write(fd, "@" ,1); /* setup tablet. relative mode, resolution... */ | ^~~~~~~~~~~~~~~~~ mice.c:1708:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1708 | write(fd, "R", 1); /* initialize a mouse; without getting an "R" */ | ^~~~~~~~~~~~~~~~~ In function 'I_summa_reset_summa', inlined from 'I_summa' at mice.c:2094:4: mice.c:2057:4: warning: argument 2 is null but the corresponding size argument 3 value is 1 [-Wnonnull] 2057 | write(fd,0,1); /* Reset */ | ^~~~~~~~~~~~~ In file included from mice.c:52: mice.c: In function 'I_summa': /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | 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:2111:7: mice.c:2057:4: warning: argument 2 is null but the corresponding size argument 3 value is 1 [-Wnonnull] 2057 | write(fd,0,1); /* Reset */ | ^~~~~~~~~~~~~ In file included from mice.c:52: mice.c: In function 'I_summa': /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | 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:2129:7: mice.c:2057:4: warning: argument 2 is null but the corresponding size argument 3 value is 1 [-Wnonnull] 2057 | write(fd,0,1); /* Reset */ | ^~~~~~~~~~~~~ In file included from mice.c:52: mice.c: In function 'I_summa': /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lib/liblow.o lib/liblow.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Iheaders -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o prog/display-buttons.o prog/display-buttons.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' prog/display-buttons.c: In function 'display_data': prog/display-buttons.c:53:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] 53 | printf("[%d] delta: %ds",now,delta); | ~^ ~~~ | | | | int time_t {aka long int} | %ld make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Iheaders -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o prog/get-versions.o prog/get-versions.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Iheaders -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o prog/display-coords.o prog/display-coords.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' ar rc lib/libgpm.a lib/liblow.o lib/libhigh.o lib/libxtra.o lib/report-lib.o tools.o lib/libcurses.o ranlib lib/libgpm.a make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Iheaders -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o prog/mev.o prog/mev.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Iheaders -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o prog/hltest.o prog/hltest.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Iheaders -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o prog/mouse-test.o prog/mouse-test.c make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' prog/mouse-test.c: In function 'main': prog/mouse-test.c:536:52: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] 536 | if ((*(cur->this->fun))(&event,buf+i)==-1) { | ~~~^~ | | | char * prog/mouse-test.c:536:52: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:205:40: warning: value computed is not used [-Wunused-value] 205 | #define CHECKFAIL(count) ((count)==0 && noneofthem()) | ^~ prog/mouse-test.c:569:4: note: in expansion of macro 'CHECKFAIL' 569 | CHECKFAIL(typecount); | ^~~~~~~~~ prog/mouse-test.c:610:50: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] 610 | if ((*(cur->this->fun))(&event,buf+i)==-1) continue; | ~~~^~ | | | char * prog/mouse-test.c:610:50: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:205:40: warning: value computed is not used [-Wunused-value] 205 | #define CHECKFAIL(count) ((count)==0 && noneofthem()) | ^~ prog/mouse-test.c:622:4: note: in expansion of macro 'CHECKFAIL' 622 | CHECKFAIL(typecount); | ^~~~~~~~~ prog/mouse-test.c:652:50: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] 652 | if ((*(cur->this->fun))(&event,buf+i)==-1) continue; | ~~~^~ | | | char * prog/mouse-test.c:652:50: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:205:40: warning: value computed is not used [-Wunused-value] 205 | #define CHECKFAIL(count) ((count)==0 && noneofthem()) | ^~ prog/mouse-test.c:671:4: note: in expansion of macro 'CHECKFAIL' 671 | CHECKFAIL(typecount); | ^~~~~~~~~ prog/mouse-test.c: In function 'eventlist': prog/mouse-test.c:269:15: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 269 | else read(fd,buff,buflen); | ^~~~~~~~~~~~~~~~~~~~ prog/mouse-test.c: In function 'main': prog/mouse-test.c:402:18: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 402 | read(cur->fd,buf,80); /* flush */ | ^~~~~~~~~~~~~~~~~~~~ prog/mouse-test.c:472:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 472 | read(mousefd,buf,BUFLEN); /* flush */ | ^~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -fPIC -shared -Wl,-soname,libgpm.so.2 \ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -L/builddir/build/BUILD/gpm-1.20.7/src -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o lib/libgpm.so.2.1.0 lib/liblow.lo lib/libhigh.lo lib/libxtra.lo lib/report-lib.lo tools.lo lib/libcurses.lo -lc make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' ln -s -f libgpm.so.2.1.0 lib/libgpm.so.2 make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' ln -s -f libgpm.so.2.1.0 lib/libgpm.so make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -L/builddir/build/BUILD/gpm-1.20.7/src -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o prog/get-versions prog/get-versions.o lib/libgpm.so.2 make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -L/builddir/build/BUILD/gpm-1.20.7/src -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o prog/disable-paste prog/disable-paste.o lib/libgpm.so.2 make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -L/builddir/build/BUILD/gpm-1.20.7/src -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o prog/display-coords prog/display-coords.o lib/libgpm.so.2 make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -L/builddir/build/BUILD/gpm-1.20.7/src -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o prog/display-buttons prog/display-buttons.o lib/libgpm.so.2 make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -L/builddir/build/BUILD/gpm-1.20.7/src -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o prog/mev prog/mev.o lib/libgpm.so.2 make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -L/builddir/build/BUILD/gpm-1.20.7/src -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o prog/hltest prog/hltest.o lib/libgpm.so.2 make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -I. -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o prog/gpm-root.o prog/gpm-root.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -L/builddir/build/BUILD/gpm-1.20.7/src -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o prog/gpm-root prog/gpm-root.o lib/libgpm.so.2 make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'postmenu': /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y:1038:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1038 | #define PUTS(s,f,b) for(curr2=s;*curr2;PUTC(*(curr2++),f,b)) | ^ /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y:1053:10: note: in expansion of macro 'PUTS' 1053 | PUTS(draw->title,draw->head,draw->back); | ^~~~ /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y:1038:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1038 | #define PUTS(s,f,b) for(curr2=s;*curr2;PUTC(*(curr2++),f,b)) | ^ /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y:1061:10: note: in expansion of macro 'PUTS' 1061 | PUTS(item->name,draw->fore,draw->back); i+=strlen(item->name); | ^~~~ /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'f_bgcmd': /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y:529:21: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 529 | dup(1); /* stderr */ | ^~~~~~ /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'f_load': /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y:669:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 669 | fscanf(f,"%lf %lf %lf",&l1,&l2,&l3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'f_free': /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y:697:10: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 697 | fgets(s,80,f); | ^~~~~~~~~~~~~ /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y:698:10: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 698 | fgets(s,80,f); sscanf(s,"%*s %*s %*s %li",&l1); | ^~~~~~~~~~~~~ /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y:699:10: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 699 | fgets(s,80,f); sscanf(s,"%*s %*s %*s %li",&l2); | ^~~~~~~~~~~~~ /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'scr_dump': /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y:965:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 965 | read(dumpfd,buffer,4); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y:966:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 966 | read(dumpfd,buffer+4,2*buffer[0]*buffer[1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'scr_restore': /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y:985:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 985 | write(dumpfd,buffer,4+2*buffer[0]*buffer[1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y: In function 'main': /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y:1158:4: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1158 | setuid(0); /* if we're setuid, force it */ | ^~~~~~~~~ /builddir/build/BUILD/gpm-1.20.7/src/prog/gpm-root.y:1238:4: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1238 | chdir("/"); | ^~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -L/builddir/build/BUILD/gpm-1.20.7/src -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o prog/mouse-test prog/mouse-test.o mice.o twiddler.o synaptics.o prog/open_console.o lib/libgpm.so.2 -lm make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -L/builddir/build/BUILD/gpm-1.20.7/src -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o gpm mice.o twiddler.o synaptics.o daemon/add_mouse.o daemon/init_mice.o daemon/reset_mice.o daemon/build_argv.o daemon/disable_paste.o daemon/do_client.o daemon/do_selection.o daemon/get_console_size.o daemon/get_data.o daemon/getmousedata.o daemon/gpm.o daemon/gpm-killed.o daemon/header.o daemon/main.o daemon/old_main.o daemon/open_console.o daemon/check_kill.o daemon/gpm_exited.o generic/isodigit.o generic/getsym.o daemon/processspecial.o daemon/processconn.o daemon/processmouse.o daemon/processrequest.o daemon/selection_copy.o daemon/selection_paste.o daemon/cmdline.o daemon/loadlut.o daemon/find_mouse_by_name.o daemon/usage.o daemon/check_uniqueness.o daemon/startup.o daemon/wait_text.o report.o tools.o -lm make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' /builddir/build/BUILD/gpm-1.20.7/src/headers/daemon.h:175:25: warning: type of 'cinfo' does not match original declaration [-Wlto-type-mismatch] 175 | extern Gpm_Cinfo *cinfo[MAX_VC+1]; | ^ daemon/gpm.c:96:12: note: array types have different bounds 96 | Gpm_Cinfo *cinfo[MAX_VC+1]; | ^ daemon/gpm.c:96:12: note: 'cinfo' was previously declared here rm prog/mev.o prog/disable-paste.o prog/display-buttons.o prog/hltest.o prog/get-versions.o prog/display-coords.o make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/doc' /usr/bin/sed -f /builddir/build/BUILD/gpm-1.20.7/doc/infofilter /builddir/build/BUILD/gpm-1.20.7/doc/doc.gpm > /builddir/build/BUILD/gpm-1.20.7/doc/gpm.texinfo chmod 400 /builddir/build/BUILD/gpm-1.20.7/doc/gpm.texinfo make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/doc' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/doc' awk -f /builddir/build/BUILD/gpm-1.20.7/doc/manpager doc.gpm for i in gpm-root.1 gpm-types.7 gpm.8 mev.1 mouse-test.1; do \ expand $i | sed s/^'[ ]*'//g > $i.new; \ mv $i.new $i; \ done; touch gpm.man make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/doc' awk: /builddir/build/BUILD/gpm-1.20.7/doc/manpager:35: warning: escape sequence `\{' treated as plain `{' awk: /builddir/build/BUILD/gpm-1.20.7/doc/manpager:36: warning: escape sequence `\}' treated as plain `}' awk: /builddir/build/BUILD/gpm-1.20.7/doc/manpager:93: (FILENAME=doc.gpm FNR=196) warning: regexp escape sequence `\%' is not a known regexp operator make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/doc' if [ "/usr/bin/makeinfo" != "no" ]; then /usr/bin/makeinfo --no-split /builddir/build/BUILD/gpm-1.20.7/doc/gpm.texinfo -o /builddir/build/BUILD/gpm-1.20.7/doc/gpm.info; fi make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/doc' /builddir/build/BUILD/gpm-1.20.7/doc/gpm.texinfo:32: warning: undefined flag: version /builddir/build/BUILD/gpm-1.20.7/doc/gpm.texinfo:84: warning: multiple @setchapternewpage /builddir/build/BUILD/gpm-1.20.7/doc/gpm.texinfo:89: warning: @subtitle missing argument /builddir/build/BUILD/gpm-1.20.7/doc/gpm.texinfo:94: warning: multiple @setchapternewpage rm /builddir/build/BUILD/gpm-1.20.7/doc/gpm.texinfo make[1]: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gO1SJf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64 + cd gpm-1.20.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64 'INSTALL=/usr/bin/install -p' /usr/bin/make -C src dep make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' # make links in srcdir # create dependencies make[1]: [Makefile:92: dep] Error 1 (ignored) for DEPS in `echo *.c */*.c`; do \ gcc -I. -I /builddir/build/BUILD/gpm-1.20.7/src -I /builddir/build/BUILD/gpm-1.20.7/src/headers -M -I/builddir/build/BUILD/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/etc\"" -DSBINDIR="\"/builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/sbin\"" -D_GNU_SOURCE $DEPS | \ /usr/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/doc' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/contrib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/contrib' mkdir -p /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/lib64 /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/sbin /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/include /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/etc; \ if test "x" != "x" ; then \ mkdir -p /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/emacs/site-lisp ; \ fi make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/src' /usr/bin/install -p gpm /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/sbin/gpm if [ -f lib/libgpm.a ] ; then \ /usr/bin/install -p -m 644 -m 644 lib/libgpm.a /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/lib64/libgpm.a ; \ fi /usr/bin/install -p -m 644 -m 644 /builddir/build/BUILD/gpm-1.20.7/src/headers/gpm.h /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/include/gpm.h # POSIX requires the range of a for loop be nonempty and Bash # 2.x goes along; unfortunately that means an additional # headache in cases like this if test "xlibgpm.so" != "x" ; then \ /usr/bin/install -p -m 644 -m 755 lib/libgpm.so.2.1.0 /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/lib64/libgpm.so.2.1.0 ; \ cd /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/lib64 && ln -s -f libgpm.so.2.1.0 libgpm.so.2 ; \ echo "WARNING: We installed a lib, you should now call ldconfig" ; \ echo "f.i.: ldconfig -n -l /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/lib64/libgpm.so.2.1.0" ; \ echo "Or to update everything just type ldconfig" ; \ fi WARNING: We installed a lib, you should now call ldconfig f.i.: ldconfig -n -l /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/lib64/libgpm.so.2.1.0 Or to update everything just type ldconfig for i in prog/mev prog/hltest prog/mouse-test prog/disable-paste prog/display-buttons prog/display-coords prog/get-versions prog/gpm-root; do \ /usr/bin/install -p $i /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/`echo $i | sed 's,prog/,,'` ;\ done make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/src' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/doc' mkdir -p /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/man/man7 /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/man/man8 /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/info /usr/bin/install -p -m 644 -m 644 mev.1 /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/man/man1 /usr/bin/install -p -m 644 -m 644 mouse-test.1 /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/man/man1 /usr/bin/install -p -m 644 -m 644 gpm-root.1 /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/man/man1 /usr/bin/install -p -m 644 -m 644 gpm-types.7 /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/man/man7 /usr/bin/install -p -m 644 -m 644 gpm.8 /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/man/man8 /usr/bin/install -p -m 644 -m 644 /builddir/build/BUILD/gpm-1.20.7/doc/gpm.info /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/info # Use install-info if available if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \ if [ -f /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/info/dir ] ; then \ install-info --dir-file=/builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/info/dir /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/info/gpm.info; \ fi; \ fi #itz Sat Dec 26 23:21:05 PST 1998 #i keep all my infopages compressed and i'm tired to do it by #hand, so check if there are any compressed pages and do this #one too #-ls /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/info/*[-.]info.gz >/dev/null 2>&1 \ # && gzip -f /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/info/gpm.info # Hmm.... shouldn't man pages be compressed too? make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/doc' make[1]: Entering directory '/builddir/build/BUILD/gpm-1.20.7/contrib' if [ -n "" ]; then for i in `echo `; do \ /usr/bin/install -p -m 644 /builddir/build/BUILD/gpm-1.20.7/contrib/$i /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/emacs/site-lisp/`basename $i` ;\ done; fi make[1]: Leaving directory '/builddir/build/BUILD/gpm-1.20.7/contrib' + chmod 0755 /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64//usr/lib64/libgpm.so.2.1.0 + ln -sf libgpm.so.2.1.0 /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64//usr/lib64/libgpm.so + rm -f /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/emacs/site-lisp/t-mouse.el + mkdir -p /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/etc/rc.d/init.d + mkdir -p /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/lib/systemd/system + install -m 644 conf/gpm-root.conf conf/gpm-syn.conf conf/gpm-twiddler.conf /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/etc + mkdir -p /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/lib/systemd/system + install -m644 /builddir/build/SOURCES/gpm.service /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/lib/systemd/system + rm -rf /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/etc/rc.d/init.d + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.20.7-29.el9 --unique-debug-suffix -1.20.7-29.el9.x86_64 --unique-debug-src-base gpm-1.20.7-29.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/gpm-1.20.7 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/display-coords explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/disable-paste explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/gpm-root explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/display-buttons explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/get-versions explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/mev explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/hltest extracting debug info from /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/gpm-root extracting debug info from /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/display-coords extracting debug info from /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/display-buttons extracting debug info from /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/mev extracting debug info from /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/get-versions extracting debug info from /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/disable-paste explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/mouse-test extracting debug info from /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/hltest extracting debug info from /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/bin/mouse-test explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/lib64/libgpm.so.2.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/sbin/gpm extracting debug info from /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/lib64/libgpm.so.2.1.0 extracting debug info from /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/sbin/gpm original debug info size: 968kB, size after compression: 880kB /usr/lib/rpm/sepdebugcrcfix: Updated 10 CRC32s, 0 CRC32s did match. cpio: src/y.tab.c: Cannot stat: No such file or directory 1128 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: gpm-1.20.7-29.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bBJtsI + umask 022 + cd /builddir/build/BUILD + cd gpm-1.20.7 + DOCDIR=/builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/doc/gpm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/doc/gpm + cp -pr COPYING /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/doc/gpm + cp -pr README /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/doc/gpm + cp -pr TODO /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/doc/gpm + cp -pr doc/README.1.20.2 doc/README.etouch doc/README.gunze doc/README.microtouch doc/README.synaptics doc/README.twiddler /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/doc/gpm + cp -pr doc/FAQ /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/doc/gpm + cp -pr doc/Announce /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/doc/gpm + cp -pr doc/changelog /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64/usr/share/doc/gpm + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(gpm) = 1.20.7-29.el9 gpm = 1.20.7-29.el9 gpm(x86-64) = 1.20.7-29.el9 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh info systemd Requires(preun): /bin/sh info systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgpm.so.2()(64bit) rtld(GNU_HASH) Processing files: gpm-libs-1.20.7-29.el9.x86_64 Provides: gpm-libs = 1.20.7-29.el9 gpm-libs(x86-64) = 1.20.7-29.el9 libgpm.so.2()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: gpm-devel-1.20.7-29.el9.x86_64 Provides: gpm-devel = 1.20.7-29.el9 gpm-devel(x86-64) = 1.20.7-29.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libgpm.so.2()(64bit) Processing files: gpm-static-1.20.7-29.el9.x86_64 Provides: gpm-static = 1.20.7-29.el9 gpm-static(x86-64) = 1.20.7-29.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: gpm-debugsource-1.20.7-29.el9.x86_64 Provides: gpm-debugsource = 1.20.7-29.el9 gpm-debugsource(x86-64) = 1.20.7-29.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: gpm-debuginfo-1.20.7-29.el9.x86_64 Provides: debuginfo(build-id) = 2f2e9a3d7661f1989b5d72d3fe02c5c1ffdbcb06 debuginfo(build-id) = 302a0448d98b11047ea64214bb768a9cc793bdc9 debuginfo(build-id) = 38eb9d09552d7548c662d9f206229db210269248 debuginfo(build-id) = 4138bb60cd12bf6e674e6b6f48018b3e83a1e27d debuginfo(build-id) = 6557a5084b37e1fce327c0ac370c36219e4884c5 debuginfo(build-id) = b17364add92226d41706ea7fa7d39259b80a9faf debuginfo(build-id) = b3956edbfe84ee217c192fbcd1f5a59417f10d45 debuginfo(build-id) = d75b8fef88d1b06a744876529a404a86b02bcab2 debuginfo(build-id) = f9e23c0ce6a7122b311166b4e6aa1780b32723b9 gpm-debuginfo = 1.20.7-29.el9 gpm-debuginfo(x86-64) = 1.20.7-29.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gpm-debugsource(x86-64) = 1.20.7-29.el9 Processing files: gpm-libs-debuginfo-1.20.7-29.el9.x86_64 Provides: debuginfo(build-id) = 8322316e5c0c75e6c1e1eca43bbfa341d456a584 gpm-libs-debuginfo = 1.20.7-29.el9 gpm-libs-debuginfo(x86-64) = 1.20.7-29.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gpm-debugsource(x86-64) = 1.20.7-29.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64 Wrote: /builddir/build/RPMS/gpm-devel-1.20.7-29.el9.x86_64.rpm Wrote: /builddir/build/RPMS/gpm-libs-1.20.7-29.el9.x86_64.rpm Wrote: /builddir/build/RPMS/gpm-libs-debuginfo-1.20.7-29.el9.x86_64.rpm Wrote: /builddir/build/RPMS/gpm-static-1.20.7-29.el9.x86_64.rpm Wrote: /builddir/build/RPMS/gpm-1.20.7-29.el9.x86_64.rpm Wrote: /builddir/build/RPMS/gpm-debuginfo-1.20.7-29.el9.x86_64.rpm Wrote: /builddir/build/RPMS/gpm-debugsource-1.20.7-29.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JFEpEj + umask 022 + cd /builddir/build/BUILD + cd gpm-1.20.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gpm-1.20.7-29.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0