Source: carbon-c-relay
Version: 3.7.3-2
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build
User: [email protected]
Usertags: qa-doublebuild

Hi,

This package fails to do build a binary-only build (not source) after a
successful build (dpkg-buildpackage ; dpkg-buildpackage -b).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/DoubleBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -b
> -----------------------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package carbon-c-relay
> dpkg-buildpackage: info: source version 3.7.3-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Bernd Zeimetz <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  fakeroot debian/rules clean
> dh clean
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "libfaketime.la" || rm -f libfaketime.la
> rm -rf .libs _libs
> rm -f *.o
>  rm -f relay
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f config.h stamp-h1
>  rm -f sendmetric
> test . = "." || test -z "" || rm -f 
> rm -f libtool config.lt
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f ./so_locations
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> rm -f config.status config.cache config.log configure.lineno 
> config.status.lineno
> rm -f ./.deps/aggregator.Po
> rm -f ./.deps/allocator.Po
> rm -f ./.deps/collector.Po
> rm -f ./.deps/conffile.tab.Po
> rm -f ./.deps/conffile.yy.Po
> rm -f ./.deps/consistent-hash.Po
> rm -f ./.deps/dispatcher.Po
> rm -f ./.deps/faketime.Plo
> rm -f ./.deps/md5.Po
> rm -f ./.deps/queue.Po
> rm -f ./.deps/receptor.Po
> rm -f ./.deps/relay.Po
> rm -f ./.deps/router.Po
> rm -f ./.deps/sendmetric.Po
> rm -f ./.deps/server.Po
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  debian/rules build
> dh build
>    dh_update_autotools_config
>    dh_autoreconf
> libtoolize: putting auxiliary files in '.'.
> libtoolize: copying file './ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
> libtoolize: copying file 'm4/libtool.m4'
> libtoolize: copying file 'm4/ltoptions.m4'
> libtoolize: copying file 'm4/ltsugar.m4'
> libtoolize: copying file 'm4/ltversion.m4'
> libtoolize: copying file 'm4/lt~obsolete.m4'
> configure.ac:10: installing './compile'
> configure.ac:8: installing './missing'
> Makefile.am: installing './depcomp'
>    debian/rules override_dh_auto_configure
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f conffile.tab.c conffile.tab.h conffile.yy.c
> dh_auto_configure
>       ./configure --build=x86_64-linux-gnu --prefix=/usr 
> --includedir=\${prefix}/include --mandir=\${prefix}/share/man 
> --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
> --disable-option-checking --disable-silent-rules 
> --libdir=\${prefix}/lib/x86_64-linux-gnu 
> --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode 
> --disable-dependency-tracking
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a race-free mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking how to print strings... printf
> checking whether make supports the include directive... yes (GNU style)
> 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 C11 features... none needed
> checking whether gcc understands -c and -o together... yes
> checking dependency style of gcc... none
> checking for a sed that does not truncate output... /bin/sed
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for fgrep... /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 ar... ar
> checking for archiver @FILE support... @
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking for sysroot... no
> checking for a working dd... /bin/dd
> checking how to truncate binary pipes... /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 vfork.h... no
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... yes
> checking if gcc static flag -static works... 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 gcc... (cached) gcc
> checking whether the compiler supports GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to enable C11 features... (cached) none needed
> checking whether gcc understands -c and -o together... (cached) yes
> checking dependency style of gcc... (cached) none
> checking whether make sets $(MAKE)... (cached) yes
> checking for library containing sqrt... -lm
> checking for library containing gethostbyname... none required
> checking for library containing socket... none required
> checking for library containing dlsym... none required
> checking for library containing pthread_create... none required
> checking for arpa/inet.h... yes
> checking for assert.h... yes
> checking for errno.h... yes
> checking for fcntl.h... yes
> checking for glob.h... yes
> checking for math.h... yes
> checking for netdb.h... yes
> checking for netinet/in.h... yes
> checking for netinet/tcp.h... yes
> checking for poll.h... yes
> checking for pthread.h... yes
> checking for regex.h... yes
> checking for signal.h... yes
> checking for stdarg.h... yes
> checking for stdio.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for sys/resource.h... yes
> checking for sys/socket.h... yes
> checking for sys/stat.h... (cached) yes
> checking for sys/time.h... yes
> checking for sys/types.h... (cached) yes
> checking for sys/uio.h... yes
> checking for sys/un.h... yes
> checking for time.h... yes
> checking for unistd.h... (cached) yes
> checking for dispatch/dispatch.h... no
> checking for dlfcn.h... (cached) yes
> checking for semaphore.h... yes
> checking for inline... inline
> checking size of time_t... 8
> checking for pid_t... yes
> checking for fork... yes
> checking for vfork... yes
> checking for working fork... yes
> checking for working vfork... (cached) yes
> checking for GNU libc compatible malloc... yes
> checking for GNU libc compatible realloc... yes
> checking for gethostname... yes
> checking for gettimeofday... yes
> checking for localtime_r... yes
> checking for memmove... yes
> checking for memset... yes
> checking for pow... yes
> checking for regcomp... yes
> checking for socket... yes
> checking for sqrt... yes
> checking for strchr... yes
> checking for strdup... yes
> checking for strerror... yes
> checking for strstr... yes
> checking for strtol... yes
> checking for dlsym... yes
> checking whether dlsym(RTLD_NEXT, ...) is available... yes
> checking for zlib.h... no
> checking for gzopen in -lz_missing_header... no
> checking for lz4.h... no
> checking for lz4frame.h... no
> checking for LZ4_createStream in -llz4_missing_header... no
> checking for snappy-c.h... no
> checking for snappy_compress in -lsnappy_missing_header... no
> checking for openssl/err.h... yes
> checking for openssl/ssl.h... yes
> checking for SSL_connect in -lssl... yes
> checking for ERR_reason_error_string in -lcrypto... yes
> checking for onigposix.h... no
> checking for regexec in -lonig_missing_header... no
> checking for pcre2posix.h... no
> checking for regexec in -lpcre2-posix_missing_header... no
> checking for pcreposix.h... no
> checking for regexec in -lpcreposix_missing_header... no
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_build
>       make -j8
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make  all-am
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -DGIT_VERSION=\"2021-11-09\" -pthread -c -o relay.o 
> relay.c
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -DGIT_VERSION=\"2021-11-09\" -pthread -c -o md5.o 
> md5.c
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -DGIT_VERSION=\"2021-11-09\" -pthread -c -o 
> consistent-hash.o consistent-hash.c
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -DGIT_VERSION=\"2021-11-09\" -pthread -c -o 
> receptor.o receptor.c
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -DGIT_VERSION=\"2021-11-09\" -pthread -c -o 
> dispatcher.o dispatcher.c
> bison -d conffile.y
> bison -d conffile.y
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -DGIT_VERSION=\"2021-11-09\" -pthread -c -o 
> allocator.o allocator.c
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -DGIT_VERSION=\"2021-11-09\" -pthread -c -o queue.o 
> queue.c
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -DGIT_VERSION=\"2021-11-09\" -pthread -c -o server.o 
> server.c
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -DGIT_VERSION=\"2021-11-09\" -pthread -c -o 
> collector.o collector.c
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -DGIT_VERSION=\"2021-11-09\" -pthread -c -o 
> aggregator.o aggregator.c
> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   
> -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security  
> -DGIT_VERSION=\"2021-11-09\" -pthread -c -o faketime.lo faketime.c
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -DGIT_VERSION=\"2021-11-09\" -pthread -c -o 
> conffile.tab.o conffile.tab.c
> flex -o conffile.yy.c conffile.l
> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -DGIT_VERSION=\"2021-11-09\" -pthread -c -o router.o 
> router.c
> conffile.y: In function ‘router_yyparse’:
> conffile.y:180:48: warning: null character(s) ignored
>   180 |                                 $$->members.ch->repl_factor = 
> (unsigned char)replcnt;
>       |                                                ^
> conffile.y:180:48: error: expected ‘;’ before ‘ret’
>   180 |                                 $$->members.ch->repl_factor = 
> (unsigned char)replcnt;
>       |                                                ^
>       |                                                ;
> conffile.y:181:33: error: ‘ret’ undeclared (first use in this function)
>   181 |                                 $$->members.ch->ring = ch_new(ralloc,
>       |                                 ^~~
> conffile.y:181:33: note: each undeclared identifier is reported only once for 
> each function it appears in
> conffile.tab.c:3333:1: error: expected declaration or statement at end of 
> input
>  3333 | }
>       | ^
> make[2]: *** [Makefile:663: conffile.tab.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -DGIT_VERSION=\"2021-11-09\" -pthread -c faketime.c  
> -fPIC -DPIC -o .libs/faketime.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -DGIT_VERSION=\"2021-11-09\" -pthread -c faketime.c 
> -o faketime.o >/dev/null 2>&1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: *** [Makefile:473: all] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: error: make -j8 returned exit code 2
> make: *** [debian/rules:5: build] Error 25
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage 
> --sanitize-env -us -uc -rfakeroot -b' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/16/carbon-c-relay_3.7.3-2_unstable.log

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