[Debichem-devel] Bug#921727: msxpertsuite: FTBFS when built with dpkg-buildpackage -A (debian/build/doc: No such file or directory)
Santiago Vila
sanvila at debian.org
Fri Feb 8 13:16:29 GMT 2019
Package: src:msxpertsuite
Version: 5.8.2-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in sid with "dpkg-buildpackage -A" but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
PATH: /<<PKGBUILDDIR>>/doc/user-manuals/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
"---------------------------------------"
NUMJOBS: 1
MAKEFLAGS: -j1
DEB_BUILD_OPTIONS: parallel=1
"---------------------------------------"
dh_testdir -i
dh_prep -i
rm -f -- debian/msxpertsuite-massxpert-data-doc.substvars debian/msxpertsuite-minexpert-data-doc.substvars
rm -fr -- debian/.debhelper/generated/msxpertsuite-massxpert-data-doc/ debian/msxpertsuite-massxpert-data-doc/ debian/tmp/ debian/.debhelper/generated/msxpertsuite-minexpert-data-doc/ debian/msxpertsuite-minexpert-data-doc/
rm -rf /<<PKGBUILDDIR>>/debian/tmp-indep
mkdir -p /<<PKGBUILDDIR>>/debian/build
cd doc/user-manuals/massxpert && \
[... snipped ...]
File 'copy_static_images_html' does not exist.
Must remake target '/<<PKGBUILDDIR>>/doc/user-manuals/minexpert/build/minexpert-user-manual/html/minexpert-user-manual/static'.
mkdir -p /<<PKGBUILDDIR>>/doc/user-manuals/minexpert/build/minexpert-user-manual/html/minexpert-user-manual/static
Successfully remade target file '/<<PKGBUILDDIR>>/doc/user-manuals/minexpert/build/minexpert-user-manual/html/minexpert-user-manual/static'.
Must remake target 'copy_static_images_html'.
tar cph --exclude-vcs -C /<<PKGBUILDDIR>>/doc/user-manuals/xslt/ static | \
(cd /<<PKGBUILDDIR>>/doc/user-manuals/minexpert/build/minexpert-user-manual/html/minexpert-user-manual; tar xpv) >/dev/null
Successfully remade target file 'copy_static_images_html'.
Must remake target 'html'.
HTML book built with REMARKS=0, DRAFT=no and META=0:
/<<PKGBUILDDIR>>/doc/user-manuals/minexpert/build/minexpert-user-manual/html/minexpert-user-manual/
Successfully remade target file 'html'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc/user-manuals/minexpert'
make[1]: Leaving directory '/<<PKGBUILDDIR>>/doc/user-manuals/minexpert'
# Copythe default-named pdf file to what we want
cp -fv doc/user-manuals/minexpert/build/minexpert-user-manual/minexpert-user-manual_color_en.pdf doc/user-manuals/minexpert/build/minexpert-user-manual/minexpert-doc.pdf
'doc/user-manuals/minexpert/build/minexpert-user-manual/minexpert-user-manual_color_en.pdf' -> 'doc/user-manuals/minexpert/build/minexpert-user-manual/minexpert-doc.pdf'
# Remove libjs-jquery from both massxpert and minexpert html user manuals
# build directory and later replace them with symbolic links to the same file
# of the libjs-jquery package (see the debian/*links files for the doc
# packages).
rm -f doc/user-manuals/minexpert/build/minexpert-user-manual/html/minexpert-user-manual/static/js/jquery-1.10.2.min.js
rm -f doc/user-manuals/massxpert/build/massxpert-user-manual/html/massxpert-user-manual/static/js/jquery-1.10.2.min.js
rm -f doc/user-manuals/minexpert/build/minexpert-user-manual/html/minexpert-user-manual/static/js/highlight.min.js
rm -f doc/user-manuals/massxpert/build/massxpert-user-manual/html/massxpert-user-manual/static/js/highlight.min.js
touch build-indep-stamp
fakeroot debian/rules binary-indep
PATH: /<<PKGBUILDDIR>>/doc/user-manuals/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
"---------------------------------------"
NUMJOBS: 1
MAKEFLAGS: -j1
DEB_BUILD_OPTIONS: parallel=1
"---------------------------------------"
dh_testdir -i
dh_testroot -i
dh_installdirs -i
install -d debian/msxpertsuite-massxpert-data-doc
install -d debian/msxpertsuite-massxpert-data-doc/usr/share/msxpertsuite-massxpert/data debian/msxpertsuite-massxpert-data-doc/usr/share/msxpertsuite-massxpert/doc debian/msxpertsuite-massxpert-data-doc/usr/share/msxpertsuite-massxpert/doc/html
install -d debian/msxpertsuite-minexpert-data-doc
install -d debian/msxpertsuite-minexpert-data-doc/usr/share/doc/msxpertsuite-minexpert/doc debian/msxpertsuite-minexpert-data-doc/usr/share/msxpertsuite-minexpert/doc/html
mkdir -p /<<PKGBUILDDIR>>/debian/tmp-indep
/usr/bin/make -C /<<PKGBUILDDIR>>/debian/build/doc install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp-indep
make[1]: *** /<<PKGBUILDDIR>>/debian/build/doc: No such file or directory. Stop.
make: *** [debian/rules:148: install-indep-stamp] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
To reproduce, please try "dpkg-buildpackage -A".
Usually, splitting override_dh_foo into override_dh_foo-arch and override_dh_foo-indep
helps a lot to solve these kind of problems, but I'm afraid that will not help here
unless debian/rules is converted to use "dh" first.
While we are at it, please consider uploading in source-only form (dpkg-buildpackage -S).
This would provide official build logs in buildd.debian.org and also helps these kind
of bugs to never propagate to testing.
Thanks.
More information about the Debichem-devel
mailing list