==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_398c8e50-d6e3-4e4c-8f8c-e9a03fd1c2c8]...done
==> Making package: gpm 1.20.7.r38.ge82d1a6-6.1 (Wed Apr 29 19:26:42 2026)
==> Retrieving sources...
  -> Cloning gpm git repo...
Cloning into bare repository '/home/alhp/workspace/build/x86-64-v3/gpm-1.20.7.r38.ge82d1a6-6/gpm'...
  -> Found gpm.sh
  -> Found gpm.path
  -> Found gpm.service
==> Validating source files with sha256sums...
    gpm ... Skipped
    gpm.sh ... Passed
    gpm.path ... Passed
    gpm.service ... Passed
==> Making package: gpm 1.20.7.r38.ge82d1a6-6.1 (Wed Apr 29 17:26:45 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (1)     New Version  Net Change

core/procps-ng  4.0.6-1        2.54 MiB

Total Installed Size:  2.54 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing procps-ng...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (5)           New Version  Net Change

extra/perl-error      0.17030-3      0.04 MiB
extra/perl-mailtools  2.22-3         0.10 MiB
extra/perl-timedate   2.35-1         0.15 MiB
extra/zlib-ng         2.3.3-1        0.28 MiB
extra/git             2.54.0-1      30.26 MiB

Total Installed Size:  30.83 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing zlib-ng...
installing git...
Optional dependencies for git
    git-zsh-completion: upstream zsh completion
    tk: gitk and git gui
    openssh: ssh transport and crypto
    man: show help with `git command --help`
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
    less: the default pager for git
:: Running post-transaction hooks...
(1/3) Creating system user accounts...
Creating group 'git' with GID 969.
Creating user 'git' (git daemon user) with UID 969 and GID 969.
(2/3) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/3) Arming ConditionNeedsUpdate...
==> Retrieving sources...
  -> Found gpm.sh
  -> Found gpm.path
  -> Found gpm.service
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of gpm git repo...
Cloning into 'gpm'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
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.
configure.ac:14: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.ac:14: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:14: the top level
configure.ac:43: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:43: You should run autoupdate.
aclocal.m4:114: AC_PROG_LIBTOOL is expanded from...
configure.ac:43: the top level
configure.ac:104: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:104: You should run autoupdate.
./lib/autoconf/general.m4:2903: AC_TRY_COMPILE is expanded from...
acinclude.m4:28: ITZ_CHECK_TYPE is expanded from...
configure.ac:104: the top level
configure.ac:109: warning: The macro 'ac_cv_prog_gcc' is obsolete.
configure.ac:109: You should run autoupdate.
./lib/autoconf/c.m4:449: ac_cv_prog_gcc is expanded from...
acinclude.m4:2: ITZ_SYS_ELF is expanded from...
configure.ac:109: the top level
configure.ac:110: warning: The macro 'ac_cv_prog_gcc' is obsolete.
configure.ac:110: You should run autoupdate.
./lib/autoconf/c.m4:449: ac_cv_prog_gcc is expanded from...
configure.ac:110: the top level
configure.ac:161: warning: AC_OUTPUT should be used without arguments.
configure.ac:161: You should run autoupdate.
==> Starting pkgver()...
==> Starting build()...
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for 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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C23 features... 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-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ranlib... ranlib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... 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 mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking which variant of shared library versioning to provide... (default) aix
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... yes
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... /usr/bin/texindex
checking for makeinfo... /usr/bin/makeinfo
checking for diff... /usr/bin/diff
checking for sed... (cached) /usr/bin/sed
checking for emacs... no
checking for syslog.h... yes
checking for linux/input.h... yes
checking for linux/joystick.h... yes
checking for ncurses.h... yes
checking for ncurses/curses.h... no
checking for curses.h... yes
checking for sys/sysmacros.h... yes
checking for linux/major.h... yes
checking for linux/tty.h... yes
checking for sys/socket.h... yes
checking for __u32... yes
checking how to run the C preprocessor... gcc -E
checking for egrep -e... (cached) /usr/bin/grep -E
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
touch src/.depend # to prevent unecessary warnings
make -C src dep
make[1]: Entering directory '/startdir/src/gpm/src'
bison -y  /startdir/src/gpm/src/prog/gpm-root.y && mv y.tab.c prog/gpm-root.c
# make links in srcdir
make[1]: [Makefile:92: .depend] Error 1 (ignored)
# create dependencies
for DEPS in `echo *.c */*.c`; do \
gcc -I. -I /startdir/src/gpm/src -I /startdir/src/gpm/src/headers -M  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  $DEPS | \
/usr/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done
# make links in srcdir
make[1]: [Makefile:92: dep] Error 1 (ignored)
# create dependencies
for DEPS in `echo *.c */*.c`; do \
gcc -I. -I /startdir/src/gpm/src -I /startdir/src/gpm/src/headers -M  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  $DEPS | \
/usr/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done
make[1]: Leaving directory '/startdir/src/gpm/src'
make[1]: Entering directory '/startdir/src/gpm/src'
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o mice.o mice.c
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:907:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  907 |       if( abs(x-ox)>(wmaxx/wcmodell[WacomModell].treshold)
      |       ^~
mice.c:908:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  908 |        || abs(y-oy)>(wmaxy/wcmodell[WacomModell].treshold) ) ox=x; oy=y;
      |                                                                    ^~
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:437:43: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
  437 | 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" */
      |       ^~~~~~~~~~~~~~~~~
mice.c: In function ‘I_summa_reset_summa’:
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:
/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
      |                ^~~~~
mice.c: In function ‘I_wacom’:
mice.c:1843:10: warning: ‘p’ is used uninitialized [-Wuninitialized]
 1843 |    while(I_wacom_RequestData(NULL, fd, buffer, BUFFER_SIZE, p)) ;
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mice.c:1820:31: note: ‘p’ was declared here
 1820 |    char buffer[BUFFER_SIZE], *p;
      |                               ^
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o twiddler.o twiddler.c
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);
      |          ^~~~~~
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o synaptics.o synaptics.c
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);
      |     ^~~~~~~~~~~~~~~~~~~~~~
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/add_mouse.o daemon/add_mouse.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/init_mice.o daemon/init_mice.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/reset_mice.o daemon/reset_mice.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/build_argv.o daemon/build_argv.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/disable_paste.o daemon/disable_paste.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/do_client.o daemon/do_client.c
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));
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/do_selection.o daemon/do_selection.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/get_console_size.o daemon/get_console_size.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/get_data.o daemon/get_data.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/getmousedata.o daemon/getmousedata.c
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);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/gpm.o daemon/gpm.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/gpm-killed.o daemon/gpm-killed.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/header.o daemon/header.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/main.o daemon/main.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/old_main.o daemon/old_main.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/open_console.o daemon/open_console.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/check_kill.o daemon/check_kill.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/gpm_exited.o daemon/gpm_exited.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o generic/isodigit.o generic/isodigit.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o generic/getsym.o generic/getsym.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/processspecial.o daemon/processspecial.c
daemon/processspecial.c: In function ‘processSpecial’:
daemon/processspecial.c:158:7: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  158 |       dup(1);                     /* stderr */
      |       ^~~~~~
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/processconn.o daemon/processconn.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/processmouse.o daemon/processmouse.c
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 *’
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/processrequest.o daemon/processrequest.c
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));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/selection_copy.o daemon/selection_copy.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/selection_paste.o daemon/selection_paste.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/cmdline.o daemon/cmdline.c
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;
      |                                                          ^~~~~
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/loadlut.o daemon/loadlut.c
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:
/startdir/src/gpm/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 *
/startdir/src/gpm/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);
      |              ~~~~~~~~~~~~~~~~~~~~~^~
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/find_mouse_by_name.o daemon/find_mouse_by_name.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/usage.o daemon/usage.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/check_uniqueness.o daemon/check_uniqueness.c
daemon/check_uniqueness.c: In function ‘check_uniqueness’:
daemon/check_uniqueness.c:38:7: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   38 |       fscanf(fp, "%d", &old_pid);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/startup.o daemon/startup.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o daemon/wait_text.o daemon/wait_text.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o report.o report.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o tools.o tools.c
gcc -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -L/startdir/src/gpm/src -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -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
/usr/src/debug/gpm/gpm/src/headers/daemon.h:175:25: warning: type of ‘cinfo’ does not match original declaration [-Wlto-type-mismatch]
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
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -DPIC -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o lib/liblow.lo lib/liblow.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -DPIC -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o lib/libhigh.lo lib/libhigh.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -DPIC -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o lib/libxtra.lo lib/libxtra.c
lib/libxtra.c: In function ‘Gpm_GetServerVersion’:
lib/libxtra.c:64:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   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));
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -DPIC -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o lib/report-lib.lo lib/report-lib.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -DPIC -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o tools.lo tools.c
gcc  -I/startdir/src/gpm/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/bin\"" -D_GNU_SOURCE  -DPIC -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/gpm -flto=auto -falign-functions=32 -c -o lib/libcurses.lo lib/libcurses.c
lib/libcurses.c:46:5: error: conflicting types for ‘Gpm_Wgetch’; have ‘int(WINDOW *)’ {aka ‘int(struct _win_st *)’}
   46 | int Gpm_Wgetch(WINDOW *win)
      |     ^~~~~~~~~~
In file included from /startdir/src/gpm/src/headers/gpmInt.h:28,
                 from lib/libcurses.c:30:
/startdir/src/gpm/src/headers/gpm.h:271:12: note: previous declaration of ‘Gpm_Wgetch’ with type ‘int(void)’
  271 | extern int Gpm_Wgetch();
      |            ^~~~~~~~~~
lib/libcurses.c: In function ‘Gpm_Wgetch’:
lib/libcurses.c:148:25: warning: pointer targets in passing argument 1 of ‘gpm_convert_event’ differ in signedness [-Wpointer-sign]
  148 |       gpm_convert_event(mdata,&ev);
      |                         ^~~~~
      |                         |
      |                         unsigned char *
lib/libcurses.c:98:40: note: expected ‘char *’ but argument is of type ‘unsigned char *’
   98 |     extern int gpm_convert_event(char *data, Gpm_Event *event);
      |                                  ~~~~~~^~~~
make[1]: *** [Makefile:71: lib/libcurses.lo] Error 1
make[1]: Leaving directory '/startdir/src/gpm/src'
make: *** [Makefile:77: do-all] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_398c8e50-d6e3-4e4c-8f8c-e9a03fd1c2c8/build
