Source: dicelab
Version: 0.7-6
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 dicelab
> dpkg-buildpackage: info: source version 0.7-6
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Pierre Gruet <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "dicelab" || rm -f dicelab
> test -z "tree.c tree.h par.h par.c lex.c" || rm -f tree.c tree.h par.h par.c 
> lex.c
> rm -f *.o
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f config.h stamp-h1
> test . = "." || test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> 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/lex.Po
> rm -f ./.deps/main.Po
> rm -f ./.deps/par.Po
> rm -f ./.deps/roll.Po
> rm -f ./.deps/tree.Po
> rm -f ./.deps/util.Po
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
> autoreconf: warning: autoconf input should be named 'configure.ac', not 
> 'configure.in'
> aclocal: warning: autoconf input should be named 'configure.ac', not 
> 'configure.in'
> configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are 
> deprecated.
> ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
> aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from...
> configure.in:2: the top level
> configure.in:6: warning: AC_PROG_LEX without either yywrap or noyywrap is 
> obsolete
> ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
> ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
> configure.in:6: the top level
> configure.in:9: warning: The macro `AC_HEADER_STDC' is obsolete.
> configure.in:9: You should run autoupdate.
> ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
> configure.in:9: the top level
> configure.in:14: warning: AC_OUTPUT should be used without arguments.
> configure.in:14: You should run autoupdate.
> autoheader: warning: autoconf input should be named 'configure.ac', not 
> 'configure.in'
> automake: warning: autoconf input should be named 'configure.ac', not 
> 'configure.in'
> configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are 
> deprecated.  For more info, see:
> configure.in:2: 
> https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
> configure.in:4: installing './compile'
> configure.in:11: installing './config.guess'
> configure.in:11: installing './config.sub'
> configure.in:2: installing './install-sh'
> configure.in:2: installing './missing'
> Makefile.am: installing './INSTALL'
> Makefile.am: installing './depcomp'
> automake: warning: autoconf input should be named 'configure.ac', not 
> 'configure.in'
> configure.in: installing './ylwrap'
>    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 --runstatedir=/run 
> --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 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 for flex... flex
> checking for lex output file root... lex.yy
> checking for lex library... none needed
> checking for library containing yywrap... -ll
> checking whether yytext is a pointer... yes
> checking for bison... no
> checking for byacc... no
> checking for treecc... 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 grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for pow in -lm... yes
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking for GNU libc compatible malloc... yes
> checking for GNU libc compatible realloc... yes
> checking for working memcmp... yes
> 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
>    dh_auto_build
>       make -j8
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> /bin/bash ./ylwrap par.y y.tab.c par.c y.tab.h `echo par.c | sed -e s/cc$/hh/ 
> -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output par.output 
> -- yacc -d 
> o tree.c tree.tc
> /bin/bash: line 1: o: command not found
> make[1]: [Makefile:924: tree.h] Error 127 (ignored)
> ./ylwrap: line 176: yacc: command not found
> make[1]: *** [Makefile:490: par.c] Error 127
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: error: make -j8 returned exit code 2
> make: *** [debian/rules:13: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary 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/dicelab_0.7-6_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