Source: libapache-mod-encoding
Version: 0.0.20021209-12
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 libapache-mod-encoding
> dpkg-buildpackage: info: source version 0.0.20021209-12
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Christoph Biedl 
> <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean
>    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'
> libtoolize: putting auxiliary files in '.'.
> libtoolize: copying file './ltmain.sh'
> libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
> libtoolize: and rerunning libtoolize and aclocal.
> libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> aclocal: warning: autoconf input should be named 'configure.ac', not 
> 'configure.in'
> configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are 
> deprecated.
> ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
> aclocal.m4:9517: AM_INIT_AUTOMAKE is expanded from...
> configure.in:5: the top level
> configure.in:6: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
> configure.in:6: You should use the 'AC_CONFIG_HEADERS' macro instead.
> ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
> aclocal.m4:9869: AM_CONFIG_HEADER is expanded from...
> configure.in:6: the top level
> configure.in:54: warning: AC_OUTPUT should be used without arguments.
> configure.in:54: You should run autoupdate.
> autoheader: warning: autoconf input should be named 'configure.ac', not 
> 'configure.in'
> autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 
> 'config.h.bot'
> autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in'
> autoheader: WARNING: is deprecated and discouraged.
> autoheader: 
> autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and
> autoheader: WARNING: 'AC_DEFINE' allows one to define a template without
> autoheader: WARNING: 'acconfig.h':
> autoheader: 
> autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
> autoheader:           [Define if a function 'main' is needed.])
> autoheader: 
> autoheader: WARNING: More sophisticated templates can also be produced, see 
> the
> autoheader: WARNING: documentation.
> automake: warning: autoconf input should be named 'configure.ac', not 
> 'configure.in'
> configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are 
> deprecated.  For more info, see:
> configure.in:5: 
> https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
> configure.in:7: installing './compile'
> configure.in:7: installing './config.guess'
> configure.in:7: installing './config.sub'
> configure.in:5: installing './install-sh'
> configure.in:5: installing './missing'
> Makefile.am: installing './INSTALL'
>    debian/rules override_dh_auto_configure
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_configure \
>       --builddir=lib/ \
>       -- \
>       --prefix=/usr \
>       --mandir=\${prefix}/share/man \
>       --infodir=\${prefix}/share/info \
>       --with-apxs=/usr/bin/apxs \
>       --with-iconv-hook=/<<PKGBUILDDIR>>/lib
>       cd lib && ../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 --prefix=/usr 
> --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info 
> --with-apxs=/usr/bin/apxs --with-iconv-hook=/<<PKGBUILDDIR>>/lib
> 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 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 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 whether to enable maintainer-specific portions of Makefiles... no
> checking whether to compile with debug code... checking whether to wrap iconv 
> with iconv_hook... yes
> checking for iconv_hook in -liconv_hook... no
> checking for iconv in -liconv... no
> checking for libiconv in -liconv... no
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir 
> setting
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: executing depfiles commands
> config.status: executing libtool commands
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    debian/rules override_dh_auto_build
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build \
>       --sourcedirectory=lib/
>       cd lib && make -j8
> make[2]: Entering directory '/<<PKGBUILDDIR>>/lib'
> cd . \
>   && CONFIG_FILES= CONFIG_HEADERS=config.h \
>      /bin/bash ./config.status
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: executing depfiles commands
> config.status: executing libtool commands
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    create-stamp debian/debhelper-build-stamp
>    dh_prep
>    debian/rules override_dh_auto_install
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_install \
>       --sourcedir=lib/
>       cd lib && make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp 
> AM_UPDATE_INFO_DIR=no
> make[2]: Entering directory '/<<PKGBUILDDIR>>/lib'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/lib'
> /bin/bash ../mkinstalldirs 
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu
> /bin/bash: ../mkinstalldirs: No such file or directory
> make[3]: *** [Makefile:187: install-libLTLIBRARIES] Error 127
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> make[2]: *** [Makefile:391: install-am] Error 2
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> dh_auto_install: error: cd lib && make -j1 install 
> DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no returned exit code 2
> make[1]: *** [debian/rules:23: override_dh_auto_install] Error 25
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:6: binary] Error 2
> 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/libapache-mod-encoding_0.0.20021209-12_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