[Pkg-electronics-devel] Bug#1045876: libmawk: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 20:20:53 BST 2023


Source: libmawk
Version: 1.0.2-3
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa at lists.debian.org
Usertags: qa-doublebuild

Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

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/SourceAfterBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S
> ---------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package libmawk
> dpkg-buildpackage: info: source version 1.0.2-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Bdale Garbee <bdale at gag.com>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # only try to run dh_auto_clean if configure has been run
> test -f src/libmawk/Makefile.conf && dh_auto_clean || true
> 	make -j8 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> cd src && make distclean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> cd awklib && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/awklib'
> rm Makefile regression/Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/awklib'
> cd libmawk && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/libmawk'
> rm -f *.o rexp/*.o lmawk lmawk-comp lmawk-exec libmawk.so libmawk.a libmawk_common.so libmawk_comp.so libmawk_exec.so regression/re_test/re_test
> cd regression && make clean
> make[5]: Entering directory '/<<PKGBUILDDIR>>/src/libmawk/regression'
> make[5]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
> Makefile:44: warning: ignoring prerequisites on suffix rule definition
> Makefile:44: warning: ignoring prerequisites on suffix rule definition
> Makefile:41: warning: ignoring prerequisites on suffix rule definition
> Makefile:41: warning: ignoring prerequisites on suffix rule definition
> Makefile:58: warning: ignoring prerequisites on suffix rule definition
> Makefile:52: warning: ignoring prerequisites on suffix rule definition
> Makefile:52: warning: ignoring prerequisites on suffix rule definition
> rm *.out re_test/*.o re_test/re_test zfifo/*.o zfifo/zfifo_test 2>/dev/null ; true
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/libmawk/regression'
> rm -f defines.out maxint.out conf.h Makefile.conf
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/libmawk'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> cd scconfig && make clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/scconfig'
> rm  hooks.o src//default/find_cc.o src//default/lib_compile.o src//default/lib_uniqinc.o src//default/lib_file.o src//default/lib_try.o src//default/str.o src//default/ht.o src//default/log.o src//default/arg.o src//default/db.o src//default/dep.o src//default/deps_default.o src//default/find_libs.o src//default/find_fscalls.o src//default/find_printf.o src//default/find_proc.o src//default/find_fstools.o src//default/find_uname.o src//default/find_target.o src//default/find_thread.o src//default/find_io.o src//default/find_time.o src//default/find_types.o src//default/find_signal.o src//default/find_environ.o src//default/regex.o src//default/lib_filelist.o src//default/lib_srctree.o src//default/lib_pkg_config.o src//default/find_str.o src//default/find_sys.o src//default/main.o src//default/main_custom_args.o 
> src//default/main_lib.o   src//tmpasm/tmpasm.o src//tmpasm/tmpasm_scconfig.o src//tmpasm/openfiles.o  src//parsgen/find_parsgen.o src//math/find_math.o src//math/find_fpenan.o src//math/find_func.o src//math/find_mfunc_cc.o  configure
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/scconfig'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building libmawk using existing ./libmawk_1.0.2.orig.tar.bz2
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: file libmawk-1.0.2/scconfig/config.log has no final newline (either original or modified version)
> dpkg-source: info: local changes detected, the modified files are:
>  libmawk-1.0.2/scconfig/config.cache
>  libmawk-1.0.2/scconfig/config.log
>  libmawk-1.0.2/src/libmawk/regression/fpe/fpetest3.tmp
>  libmawk-1.0.2/src/libmawk/regression/zfifo/zfifo.c
>  libmawk-1.0.2/src/libmawk/regression/zfifo/zfifo.h
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/libmawk_1.0.2-3.diff.gkoio5
> dpkg-source: info: Hint: make sure the version in debian/changelog matches the unpacked source tree
> dpkg-source: info: you can integrate the local changes with dpkg-source --commit
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/libmawk_1.0.2-3_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.



More information about the Pkg-electronics-devel mailing list