Source: gpm
Version: 1.20.7-10
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> gcc -I. -I /<<PKGBUILDDIR>>/src -M -Wdate-time -D_FORTIFY_SOURCE=2 
> -I/<<PKGBUILDDIR>>/src -DHAVE_CONFIG_H -include headers/config.h -Wall 
> -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2 $DEPS | \
> /usr/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done
> prog/display-buttons.c:40:10: fatal error: gpm.h: No such file or directory
>    40 | #include <gpm.h>              /* gpm information      */
>       |          ^~~~~~~
> compilation terminated.
> prog/display-coords.c:41:10: fatal error: gpm.h: No such file or directory
>    41 | #include <gpm.h>              /* gpm information      */
>       |          ^~~~~~~
> compilation terminated.
> prog/get-versions.c:25:10: fatal error: gpm.h: No such file or directory
>    25 | #include <gpm.h>              /* gpm information      */
>       |          ^~~~~~~
> compilation terminated.
> # make links in srcdir
> make[3]: [Makefile:92: dep] Error 1 (ignored)
> # create dependencies
> for DEPS in `echo *.c */*.c`; do \
> gcc -I. -I /<<PKGBUILDDIR>>/src -M -Wdate-time -D_FORTIFY_SOURCE=2 
> -I/<<PKGBUILDDIR>>/src -DHAVE_CONFIG_H -include headers/config.h -Wall 
> -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2 $DEPS | \
> /usr/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done
> prog/display-buttons.c:40:10: fatal error: gpm.h: No such file or directory
>    40 | #include <gpm.h>              /* gpm information      */
>       |          ^~~~~~~
> compilation terminated.
> prog/display-coords.c:41:10: fatal error: gpm.h: No such file or directory
>    41 | #include <gpm.h>              /* gpm information      */
>       |          ^~~~~~~
> compilation terminated.
> prog/get-versions.c:25:10: fatal error: gpm.h: No such file or directory
>    25 | #include <gpm.h>              /* gpm information      */
>       |          ^~~~~~~
> compilation terminated.
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/src -DHAVE_CONFIG_H 
> -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" 
> -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> -o mice.o mice.c
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/src -DHAVE_CONFIG_H 
> -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" 
> -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> -o twiddler.o twiddler.c
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/src -DHAVE_CONFIG_H 
> -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" 
> -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> -o synaptics.o synaptics.c
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/src -DHAVE_CONFIG_H 
> -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" 
> -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> -o daemon/add_mouse.o daemon/add_mouse.c
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/src -DHAVE_CONFIG_H 
> -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" 
> -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> -o daemon/init_mice.o daemon/init_mice.c
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/src -DHAVE_CONFIG_H 
> -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" 
> -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> -o daemon/reset_mice.o daemon/reset_mice.c
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/src -DHAVE_CONFIG_H 
> -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" 
> -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> -o daemon/build_argv.o daemon/build_argv.c
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/src -DHAVE_CONFIG_H 
> -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" 
> -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> -o daemon/disable_paste.o daemon/disable_paste.c
> daemon/add_mouse.c: In function ‘add_mouse’:
> daemon/add_mouse.c:89:15: error: implicit declaration of function ‘strcmp’ 
> [-Werror=implicit-function-declaration]
>    89 |          if (!strcmp(value, "types")) exit(M_listTypes());
>       |               ^~~~~~
> daemon/add_mouse.c:29:1: note: include ‘<string.h>’ or provide a declaration 
> of ‘strcmp’
>    28 | #include <stdlib.h> /* malloc() */
>   +++ |+#include <string.h>
>    29 | 
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/src -DHAVE_CONFIG_H 
> -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" 
> -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> -o daemon/do_client.o daemon/do_client.c
> cc1: some warnings being treated as errors
> mice.c: In function ‘option_modem_lines’:
> mice.c:189:37: warning: pointer targets in initialization of ‘int *’ from 
> ‘unsigned int *’ differ in signedness [-Wpointer-sign]
>   189 |       {"dtr",  ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR},
>       |                                     ^
> mice.c:189:37: note: (near initialization for ‘optioninfo[0].u.iptr’)
> mice.c:190:37: warning: pointer targets in initialization of ‘int *’ from 
> ‘unsigned int *’ differ in signedness [-Wpointer-sign]
>   190 |       {"rts",  ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_RTS},
>       |                                     ^
> mice.c:190:37: note: (near initialization for ‘optioninfo[1].u.iptr’)
> mice.c:191:37: warning: pointer targets in initialization of ‘int *’ from 
> ‘unsigned int *’ differ in signedness [-Wpointer-sign]
>   191 |       {"both", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR | 
> TIOCM_RTS},
>       |                                     ^
> mice.c:191:37: note: (near initialization for ‘optioninfo[2].u.iptr’)
> make[3]: *** [Makefile:68: daemon/add_mouse.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/gpm_1.20.7-10_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to