• Bug#1066447: gpm: FTBFS: prog/display-buttons.c:40:10: fatal error: gpm

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 13 13:20:05 2024
    Source: gpm
    Version: 1.20.7-10
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@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=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to Lucas Nussbaum on Sun Mar 17 01:50:03 2024
    This is a multi-part message in MIME format...

    Your message dated Sun, 17 Mar 2024 01:43:22 +0100
    with message-id <20240317004317.lznurenhdwq24zsg@sym.noone.org>
    and subject line Re: Bug#1066447: gpm: FTBFS: prog/display-buttons.c:40:10: fatal error: gpm.h: No such file or directory
    has caused the Debian Bug report #1066447,
    regarding gpm: FTBFS: prog/display-buttons.c:40:10: fatal error: gpm.h: No such file or directory
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1066447: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066447
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 13 Mar 2024 12:06:39 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-105.1 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
    FROMDEVELOPER,FVGT_m_MULTI_ODD,SPF_HELO_NONE,SPF_NONE,
    T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST,WORD_WITHOUT_VOWELS autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 96; hammy, 150; neutral, 196; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <lucas@debian.org>
    Rec