[Debian-iot-maintainers] Bug#1047007: libcoap3: Fails to build source after successful build
Lucas Nussbaum
lucas at debian.org
Sun Aug 13 20:20:51 BST 2023
Source: libcoap3
Version: 4.3.1-2
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 libcoap3
> dpkg-buildpackage: info: source version 4.3.1-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Carsten Schoenert <c.schoenert at t-online.de>
> dpkg-source --before-build .
> dpkg-source: info: using options from libcoap3-4.3.1/debian/source/options: --extend-diff-ignore=^\.travis\.yml$
> fakeroot debian/rules clean
> dh clean
> debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_clean
> if [ -f Makefile ]; then \
> make clean ;\
> fi
> for i in `find /<<PKGBUILDDIR>> -type f \
> \( -name "Makefile" \
> -o -name "libcoap-3*.pc" \
> -o -name ".dirs" -o -name "-dev.dirs" \
> -o -name ".install" -o -name "-dev.install" \
> -o -name "coap_config.h" \
> -o -name ".dirstamp" \
> -o -name "tags" \
> -o -name "Doxyfile" \)` ;\
> do rm -f $i; done
> rm -f config.log config.status libtool stamp-h1
> for i in `find /<<PKGBUILDDIR>> -type d \
> \( -name ".deps" \)` ;\
> do rm -rf $i; done
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_autoreconf_clean
> dh_clean
> dpkg-source -b .
> dpkg-source: error: unwanted binary file: debian/build/gnutls/examples/.libs/coap-rd-gnutls
> dpkg-source: error: unwanted binary file: debian/build/gnutls/examples/.libs/coap-client-gnutls
> dpkg-source: error: unwanted binary file: debian/build/gnutls/examples/.libs/coap-server-gnutls
> dpkg-source: error: unwanted binary file: debian/build/gnutls/man/examples-code-check
> dpkg-source: error: unwanted binary file: debian/build/gnutls/.libs/libcoap-3-gnutls.so.3.0.0
> dpkg-source: error: unwanted binary file: debian/build/gnutls/.libs/libcoap-3-gnutls.so.3
> dpkg-source: error: unwanted binary file: debian/build/openssl/examples/.libs/coap-server-openssl
> dpkg-source: error: unwanted binary file: debian/build/openssl/examples/.libs/coap-rd-openssl
> dpkg-source: error: unwanted binary file: debian/build/openssl/examples/.libs/coap-client-openssl
> dpkg-source: error: unwanted binary file: debian/build/openssl/man/examples-code-check
> dpkg-source: error: unwanted binary file: debian/build/openssl/.libs/libcoap-3-openssl.so.3
> dpkg-source: error: unwanted binary file: debian/build/openssl/.libs/libcoap-3-openssl.so.3.0.0
> dpkg-source: error: unwanted binary file: debian/build/nodtls/examples/.libs/coap-server-notls
> dpkg-source: error: unwanted binary file: debian/build/nodtls/examples/.libs/coap-rd-notls
> dpkg-source: error: unwanted binary file: debian/build/nodtls/examples/.libs/coap-client-notls
> dpkg-source: error: unwanted binary file: debian/build/nodtls/man/examples-code-check
> dpkg-source: error: unwanted binary file: debian/build/nodtls/.libs/libcoap-3-notls.so.3
> dpkg-source: error: unwanted binary file: debian/build/nodtls/.libs/libcoap-3-notls.so.3.0.0
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/sync_on.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/nav_g.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/tab_h.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/open.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/sync_off.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/tab_s.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/closed.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/tab_a.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/folderclosed.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/splitbar.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/bdwn.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/nav_f.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/nav_h.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/folderopen.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/doc.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/bc_s.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/tab_b.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/search/search_l.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/search/search_r.png
> dpkg-source: error: unwanted binary file: debian/build/nodtls/doc/html/search/search_m.png
> dpkg-source: error: detected 38 unwanted binary files (add them in debian/source/include-binaries to allow their inclusion).
> dpkg-source: info: using options from libcoap3-4.3.1/debian/source/options: --extend-diff-ignore=^\.travis\.yml$
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 255
>
> 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/libcoap3_4.3.1-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.
More information about the Debian-iot-maintainers
mailing list