[Debian-med-packaging] Bug#1042124: eegdev: FTBFS: ../../lib/stdio.h:64:3: error: #error "Please include config.h first."

Lucas Nussbaum lucas at debian.org
Wed Jul 26 20:52:17 BST 2023


Source: eegdev
Version: 0.2-6
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230726 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> /bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../config  -I/usr/include/libusb-1.0  -Wdate-time -I../../lib -I/usr/include/libusb-1.0  -Wdate-time -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -Wformat -Werror=format-security -O3 -Wall -Wextra -c -o confline.lex.lo confline.lex.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../config -I/usr/include/libusb-1.0 -Wdate-time -I../../lib -I/usr/include/libusb-1.0 -Wdate-time -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -Wformat -Werror=format-security -O3 -Wall -Wextra -c sensortypes.c  -fPIC -DPIC -o .libs/sensortypes.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../config -I/usr/include/libusb-1.0 -Wdate-time -I../../lib -I/usr/include/libusb-1.0 -Wdate-time -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -Wformat -Werror=format-security -O3 -Wall -Wextra -c typecast.c  -fPIC -DPIC -o .libs/typecast.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../config -I/usr/include/libusb-1.0 -Wdate-time -I../../lib -I/usr/include/libusb-1.0 -Wdate-time -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -Wformat -Werror=format-security -O3 -Wall -Wextra -c conffile.lex.c  -fPIC -DPIC -o .libs/conffile.lex.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../config -I/usr/include/libusb-1.0 -Wdate-time -I../../lib -I/usr/include/libusb-1.0 -Wdate-time -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -Wformat -Werror=format-security -O3 -Wall -Wextra -c core.c  -fPIC -DPIC -o .libs/core.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../config -I/usr/include/libusb-1.0 -Wdate-time -I../../lib -I/usr/include/libusb-1.0 -Wdate-time -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -Wformat -Werror=format-security -O3 -Wall -Wextra -c confline.lex.c  -fPIC -DPIC -o .libs/confline.lex.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../config -I/usr/include/libusb-1.0 -Wdate-time -I../../lib -I/usr/include/libusb-1.0 -Wdate-time -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -Wformat -Werror=format-security -O3 -Wall -Wextra -c configuration.c  -fPIC -DPIC -o .libs/configuration.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../config -I/usr/include/libusb-1.0 -Wdate-time -I../../lib -I/usr/include/libusb-1.0 -Wdate-time -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -Wformat -Werror=format-security -O3 -Wall -Wextra -c opendev.c  -fPIC -DPIC -o .libs/opendev.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../config -I/usr/include/libusb-1.0 -Wdate-time -I../../lib -I/usr/include/libusb-1.0 -Wdate-time -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -Wformat -Werror=format-security -O3 -Wall -Wextra -c conffile.tab.c  -fPIC -DPIC -o .libs/conffile.tab.o
> In file included from conffile.lex.c:242:
> ../../lib/stdio.h:64:3: error: #error "Please include config.h first."
>    64 |  #error "Please include config.h first."
>       |   ^~~~~
> In file included from ../../lib/stdio.h:70:
> ../../lib/stddef.h:107:3: error: #error "Please include config.h first."
>   107 |  #error "Please include config.h first."
>       |   ^~~~~
> In file included from ../../lib/stdio.h:75:
> ../../lib/sys/types.h:28:3: error: #error "Please include config.h first."
>    28 |  #error "Please include config.h first."
>       |   ^~~~~
> In file included from confline.lex.c:242:
> ../../lib/stdio.h:64:3: error: #error "Please include config.h first."
>    64 |  #error "Please include config.h first."
>       |   ^~~~~
> In file included from ../../lib/stdio.h:70:
> ../../lib/stddef.h:107:3: error: #error "Please include config.h first."
>   107 |  #error "Please include config.h first."
>       |   ^~~~~
> In file included from ../../lib/stdio.h:75:
> ../../lib/sys/types.h:28:3: error: #error "Please include config.h first."
>    28 |  #error "Please include config.h first."
>       |   ^~~~~
> In file included from conffile.lex.c:243:
> ../../lib/string.h:51:3: error: #error "Please include config.h first."
>    51 |  #error "Please include config.h first."
>       |   ^~~~~
> In file included from /usr/include/stdlib.h:395,
>                  from ../../lib/stdlib.h:36,
>                  from conffile.lex.c:245:
> ../../lib/sys/types.h:28:3: error: #error "Please include config.h first."
>    28 |  #error "Please include config.h first."
>       |   ^~~~~
> In file included from confline.lex.c:243:
> ../../lib/string.h:51:3: error: #error "Please include config.h first."
>    51 |  #error "Please include config.h first."
>       |   ^~~~~
> ../../lib/stdlib.h:44:3: error: #error "Please include config.h first."
>    44 |  #error "Please include config.h first."
>       |   ^~~~~
> In file included from /usr/include/stdlib.h:395,
>                  from ../../lib/stdlib.h:36,
>                  from confline.lex.c:245:
> ../../lib/sys/types.h:28:3: error: #error "Please include config.h first."
>    28 |  #error "Please include config.h first."
>       |   ^~~~~
> In file included from conffile.lex.c:265:
> ../../lib/inttypes.h:52:3: error: #error "Please include config.h first."
>    52 |  #error "Please include config.h first."
>       |   ^~~~~
> ../../lib/stdlib.h:44:3: error: #error "Please include config.h first."
>    44 |  #error "Please include config.h first."
>       |   ^~~~~
> In file included from confline.lex.c:265:
> ../../lib/inttypes.h:52:3: error: #error "Please include config.h first."
>    52 |  #error "Please include config.h first."
>       |   ^~~~~
> In file included from conffile.l:31:
> conffile.tab.h:80:23: warning: ‘struct cfdata’ declared inside parameter list will not be visible outside of this definition or declaration
>    80 | int cff_parse (struct cfdata *pp);
>       |                       ^~~~~~
> In file included from confline.l:31:
> confline.tab.h:79:23: warning: ‘struct cfldata’ declared inside parameter list will not be visible outside of this definition or declaration
>    79 | int cfl_parse (struct cfldata *pp);
>       |                       ^~~~~~~
> make[3]: *** [Makefile:1480: conffile.lex.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/eegdev_0.2-6_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&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.



More information about the Debian-med-packaging mailing list