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.

Reply via email to