• Bug#1103526: daps: FTBFS when built in parallel

    From Santiago Vila@21:1/5 to All on Fri Apr 18 18:40:01 2025
    Package: src:daps
    Version: 3.3.2+cleaned1-6
    Severity: serious
    Tags: ftbfs trixie sid patch

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    if test -n "libexec/daps-jing.debian"; then \
    cp --remove-destination libexec/daps-jing.debian libexec/daps-jing; \
    else \
    cp --remove-destination libexec/daps-jing.generic libexec/daps-jing; \
    fi
    chmod +x bin/daps-xmlformat
    for BOOK in ./doc/build/daps-user/single-html/daps-user/ ./doc/build/daps-quick/single-html/daps-quick/ ./doc/build/daps-asciidoc/single-html/daps-asciidoc/; do \
    tar c --mode=u+w,go+r-w,a-s -C $BOOK . | \
    (cd /<<PKGBUILDDIR>>/debian/daps/usr/share/doc/daps/html; tar xp); \ done
    /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/daps/etc/xml/catalog.d'
    /usr/bin/install -c -m 644 build/catalog.d/daps.xml '/<<PKGBUILDDIR>>/debian/daps/etc/xml/catalog.d'
    /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/daps/etc/daps'
    /usr/bin/install -c -m 644 etc/config etc/docbook-xmlformat.conf etc/docbook-xmlformat-1.04.conf etc/docbook-xmlformat-1.9.conf etc/CatalogManager.properties '/<<PKGBUILDDIR>>/debian/daps/etc/daps'
    /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/daps/etc/daps/fop'
    /usr/bin/install -c -m 644 etc/fop/fop-daps.xml '/<<PKGBUILDDIR>>/debian/daps/etc/daps/fop'
    install -m755 autobuild/daps-autobuild /<<PKGBUILDDIR>>/debian/daps/usr/bin
    /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/daps/usr/bin'
    install -m644 autobuild/daps-autobuild.rnc /<<PKGBUILDDIR>>/debian/daps/usr/share/xml/daps/schema/
    mkdir: cannot create directory ‘/<<PKGBUILDDIR>>/debian/daps/usr/bin’: File exists
    make[4]: *** [Makefile:614: install-dist_binSCRIPTS] Error 1
    make[4]: *** Waiting for unfinished jobs....
    install -m644 autobuild/daps-autobuild.xml /<<PKGBUILDDIR>>/debian/daps/usr/share/daps/init_templates
    make[4]: Leaving directory '/<<PKGBUILDDIR>>'
    make[3]: *** [Makefile:1543: install-am] Error 2
    make[3]: Leaving directory '/<<PKGBUILDDIR>>'
    make[2]: *** [Makefile:1235: install-recursive] Error 1
    make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_install: error: make -j2 install DESTDIR=/<<BUILDDIR>>/daps-3.3.2\+cleaned1/debian/daps AM_UPDATE_INFO_DIR=no returned exit code 2
    make[1]: *** [debian/rules:10: override_dh_auto_install] Error 255
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:3: binary] Error 2
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    This happens because of a Makefile bug for which there was already a fix
    in debian/patches, but it does not currently work because Makefile.in
    is regenerated from Makefile.am and the change is lost during the build.

    I found a better way to fix this, and will post it here as soon as I
    get the bug number for this report.


    Now the usual template text:

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202504/

    About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

    If you could not reproduce the bug please contact me privately, as I
    am willing to provide ssh access to a virtual machine where the bug is
    fully reproducible.

    If this is really a bug in one of the build-depends, please use
    reassign and add an affects on src:daps, so that this is still
    visible in the BTS web page for this package.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Fri Jun 6 13:00:01 2025
    This is a multi-part message in MIME format...

    Your message dated Fri, 06 Jun 2025 10:49:09 +0000
    with message-id <[email protected]>
    and subject line Bug#1103526: fixed in daps 3.3.2+cleaned1-6.1
    has caused the Debian Bug report #1103526,
    regarding daps: FTBFS when built in parallel
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected]
    immediately.)


    --
    1103526: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103526
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 18 Apr 2025 16:36:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-120.9 required=4.0 tests=ALL_TRUSTED,BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    PP_MIME_FAKE_ASCII_TEXT,SPF_HELO_PASS,SPF_NONE,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 65; hammy, 150; neutral, 150; spammy,
    0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*sanvila, 0.000-+--H*rp:U*sanvila Return-path: <[email protected]>
    Received: from mailly.debian.org