Source: oidentd
Version: 2.5.1-1
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 oidentd
> dpkg-buildpackage: info: source version 2.5.1-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Magnus Holmgren 
> <[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>>'
> Making distclean in src
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> Making distclean in missing
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/missing'
> test -z "libmissing.a" || rm -f libmissing.a
> rm -f *.o
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/getopt.Po
> rm -f ./.deps/inet_aton.Po
> rm -f ./.deps/inet_ntop.Po
> rm -f ./.deps/ipv6_missing.Po
> rm -f ./.deps/vasprintf.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/missing'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> test -z "cfg_parse.h cfg_parse.c cfg_scan.c" || rm -f cfg_parse.h cfg_parse.c 
> cfg_scan.c
> test -z "oidentd" || rm -f oidentd
> rm -f *.o
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> test -z "os.c" || rm -f os.c
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> rm -f ./.deps/cfg_parse.Po
> rm -f ./.deps/cfg_scan.Po
> rm -f ./.deps/forward.Po
> rm -f ./.deps/inet_util.Po
> rm -f ./.deps/masq.Po
> rm -f ./.deps/oidentd.Po
> rm -f ./.deps/options.Po
> rm -f ./.deps/os.Po
> rm -f ./.deps/user_db.Po
> rm -f ./.deps/util.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in doc
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> test -z "oidentd.8 oidentd.conf.5 oidentd_masq.conf.5" || rm -f oidentd.8 
> oidentd.conf.5 oidentd_masq.conf.5
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "" || rm -f 
> rm -f config.h stamp-h1
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f config.status config.cache config.log configure.lineno 
> config.status.lineno
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  debian/rules build
> dh build
>    dh_update_autotools_config
>    dh_autoreconf
> configure.ac:25: installing './compile'
> configure.ac:19: installing './missing'
> Makefile.am: installing './INSTALL'
> src/Makefile.am: installing './depcomp'
> configure.ac: installing './ylwrap'
>    debian/rules override_dh_auto_configure
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_configure -- --enable-debug
>       ./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 --runstatedir=/run 
> --disable-maintainer-mode --disable-dependency-tracking --enable-debug
> 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 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 whether make supports the include directive... yes (GNU style)
> checking dependency style of gcc... none
> checking how to run the C preprocessor... gcc -E
> checking for bison... bison -y
> checking for flex... flex
> checking for lex output file root... lex.yy
> checking for lex library... none needed
> checking whether yytext is a pointer... yes
> checking for ranlib... ranlib
> checking for sed... /bin/sed
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> 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 pid_t... yes
> checking for size_t... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking for stdbool.h... yes
> checking for sys/types.h... (cached) yes
> checking for sys/socket.h... yes
> checking for netinet/in.h... yes
> checking for net/if.h... yes
> checking for netinet/ip_compat.h... no
> checking for netinet6/in6_pcb.h... no
> checking for fcntl.h... yes
> checking for sys/time.h... yes
> checking for unistd.h... (cached) yes
> checking for u_int32_t... yes
> checking for u_int16_t... yes
> checking for u_int8_t... yes
> checking for AF_INET6... yes
> checking for socklen_t... yes
> checking for in_addr_t... yes
> checking for in_port_t... yes
> checking size of void *... 8
> checking for __attribute__ unused... yes
> checking for __attribute__ noreturn... yes
> checking for __attribute__ format... yes
> checking for strsep... yes
> checking for clock_gettime... yes
> checking for select... yes
> checking for strdup... yes
> checking for strstr... yes
> checking for strtol... yes
> checking for uname... yes
> checking for arc4random_uniform... yes
> checking for lrand48... yes
> checking for random... yes
> checking for memcmp... yes
> checking for strftime... yes
> checking for vprintf... yes
> checking for gethostbyname... yes
> checking for vasprintf... yes
> checking for asprintf... yes
> checking for inet_aton... yes
> checking for getpagesize... yes
> checking for getopt_long... yes
> checking for setgroups... yes
> checking for unveil... no
> checking for library containing socket... none required
> checking for getaddrinfo... yes
> checking for freeaddrinfo... yes
> checking for gai_strerror... yes
> checking for getnameinfo... yes
> checking for inet_ntop... yes
> checking for main in -ludb... no
> checking for struct sockaddr_storage... yes
> checking for ss_family member in struct sockaddr_storage... yes
> checking for struct sockaddr_in6... yes
> checking for struct in6_addr... yes
> checking for struct addrinfo... yes
> checking for netinet/ip_compat.h netinet/ip_fil.h netinet/ip_nat.h... no
> checking for netinet/ip_nat.h... no
> checking for /usr/src/sys/contrib/ipfilter/netinet/ip_nat.h... no
> checking if nat_t has nat_p member... no
> checking for nfct_query in -lnetfilter_conntrack... yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating src/Makefile
> config.status: creating src/missing/Makefile
> config.status: creating doc/Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_build
>       make -j8
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make  all-recursive
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> Making all in src
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> /bin/bash ../ylwrap cfg_parse.y y.tab.c cfg_parse.c y.tab.h `echo cfg_parse.c 
> | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` 
> y.output cfg_parse.output -- bison -y -d 
> /bin/bash ../ylwrap cfg_scan.l lex.yy.c cfg_scan.c -- flex  
> updating cfg_parse.h
> make  all-recursive
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
> Making all in missing
> make[5]: Entering directory '/<<PKGBUILDDIR>>/src/missing'
> gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 "-I."   -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o inet_aton.o inet_aton.c
> gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 "-I."   -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o inet_ntop.o inet_ntop.c
> gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 "-I."   -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o ipv6_missing.o ipv6_missing.c
> gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 "-I."   -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o getopt.o getopt.c
> gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 "-I."   -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o vasprintf.o vasprintf.c
> rm -f libmissing.a
> ar cru libmissing.a inet_aton.o inet_ntop.o ipv6_missing.o getopt.o 
> vasprintf.o 
> ar: `u' modifier ignored since `D' is the default (see `U')
> ranlib libmissing.a
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/missing'
> make[5]: Entering directory '/<<PKGBUILDDIR>>/src'
> gcc -DHAVE_CONFIG_H -I. -I..  -I "./missing" -D "SYSCONFDIR=\"/etc\"" 
> -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o oidentd.o 
> oidentd.c
> gcc -DHAVE_CONFIG_H -I. -I..  -I "./missing" -D "SYSCONFDIR=\"/etc\"" 
> -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o util.o util.c
> gcc -DHAVE_CONFIG_H -I. -I..  -I "./missing" -D "SYSCONFDIR=\"/etc\"" 
> -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o inet_util.o 
> inet_util.c
> gcc -DHAVE_CONFIG_H -I. -I..  -I "./missing" -D "SYSCONFDIR=\"/etc\"" 
> -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o forward.o 
> forward.c
> gcc -DHAVE_CONFIG_H -I. -I..  -I "./missing" -D "SYSCONFDIR=\"/etc\"" 
> -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o user_db.o 
> user_db.c
> gcc -DHAVE_CONFIG_H -I. -I..  -I "./missing" -D "SYSCONFDIR=\"/etc\"" 
> -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o options.o 
> options.c
> gcc -DHAVE_CONFIG_H -I. -I..  -I "./missing" -D "SYSCONFDIR=\"/etc\"" 
> -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o masq.o masq.c
> gcc -DHAVE_CONFIG_H -I. -I..  -I "./missing" -D "SYSCONFDIR=\"/etc\"" 
> -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o cfg_scan.o 
> cfg_scan.c
> gcc -DHAVE_CONFIG_H -I. -I..  -I "./missing" -D "SYSCONFDIR=\"/etc\"" 
> -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o cfg_parse.o 
> cfg_parse.c
> gcc -DHAVE_CONFIG_H -I. -I..  -I "./missing" -D "SYSCONFDIR=\"/etc\"" 
> -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o os.o os.c
> In file included from os.c:44:
> netlink.h:25: warning: "NLMSG_DATA" redefined
>    25 | #define NLMSG_DATA(nlh)  ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))
>       | 
> In file included from os.c:35:
> /usr/include/linux/netlink.h:103: note: this is the location of the previous 
> definition
>   103 | #define NLMSG_DATA(nlh)  ((void *)(((char *)nlh) + NLMSG_HDRLEN))
>       | 
> netlink.h:26: warning: "NLMSG_NEXT" redefined
>    26 | #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
>       | 
> /usr/include/linux/netlink.h:104: note: this is the location of the previous 
> definition
>   104 | #define NLMSG_NEXT(nlh,len)      ((len) -= 
> NLMSG_ALIGN((nlh)->nlmsg_len), \
>       | 
> gcc   -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o 
> oidentd oidentd.o util.o inet_util.o forward.o user_db.o options.o masq.o 
> cfg_scan.o cfg_parse.o os.o -Lmissing -lmissing  -lnetfilter_conntrack 
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making all in doc
> make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
> asciidoctor \
>       --backend manpage \
>       --doctype manpage \
>       -a "sysconfdir=/etc" \
>       -a "mansource=oidentd 2.5.1" \
>       oidentd.8.adoc
> asciidoctor \
>       --backend manpage \
>       --doctype manpage \
>       -a "sysconfdir=/etc" \
>       -a "mansource=oidentd 2.5.1" \
>       oidentd.conf.5.adoc
> asciidoctor \
>       --backend manpage \
>       --doctype manpage \
>       -a "sysconfdir=/etc" \
>       -a "mansource=oidentd 2.5.1" \
>       oidentd_masq.conf.5.adoc
> /bin/bash: line 2: asciidoctor: command not found
> make[3]: *** [Makefile:563: oidentd.8] Error 127
> make[3]: *** Waiting for unfinished jobs....
> /bin/bash: line 2: asciidoctor: command not found
> make[3]: *** [Makefile:563: oidentd.conf.5] Error 127
> /bin/bash: line 2: asciidoctor: command not found
> make[3]: *** [Makefile:563: oidentd_masq.conf.5] Error 127
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> make[2]: *** [Makefile:430: all-recursive] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: *** [Makefile:350: all] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: error: make -j8 returned exit code 2
> make: *** [debian/rules:7: 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/oidentd_2.5.1-1_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