Bug#922257: pyfr: FTBFS (dh_installman: Could not determine section for ./build/man/_static)

Santiago Vila sanvila at debian.org
Wed Feb 13 20:16:28 GMT 2019


Package: src:pyfr
Version: 1.5.0-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_autoreconf -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
	pybuild --configure -i python{version} -p 3.7
I: pybuild base:217: python3.7 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
	pybuild --build -i python{version} -p 3.7
I: pybuild base:217: /usr/bin/python3 setup.py build 
running build

[... snipped ...]

I: pybuild pybuild:295: mv /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pyfr /<<PKGBUILDDIR>>/debian/tmp/usr/share/pyfr/run
   dh_install -i -O--buildsystem=pybuild
	install -d debian/pyfr//usr/share
	cp --reflink=auto -a debian/tmp/usr/share/pyfr debian/pyfr//usr/share/
	install -d debian/.debhelper/generated/pyfr
	install -d debian/.debhelper/generated/pyfr-doc
   dh_installdocs -i -O--buildsystem=pybuild
	install -d debian/pyfr/usr/share/doc/pyfr
	install -p -m0644 debian/copyright debian/pyfr/usr/share/doc/pyfr/copyright
	install -d debian/pyfr-doc/usr/share/doc/pyfr-doc
	cd './build/html/..' && find 'html' \( -type f -or -type l \) -and ! -empty -print0 | LC_ALL=C sort -z | xargs -0 -I {} cp --reflink=auto --parents -dp {} /<<PKGBUILDDIR>>/debian/pyfr-doc/usr/share/doc/pyfr-doc
	chown -R 0:0 debian/pyfr-doc/usr/share/doc
	chmod -R u\+rw,go=rX debian/pyfr-doc/usr/share/doc
	install -p -m0644 debian/copyright debian/pyfr-doc/usr/share/doc/pyfr-doc/copyright
	install -d debian/pyfr-doc/usr/share/doc-base/
	install -p -m0644 debian/pyfr-doc.doc-base debian/pyfr-doc/usr/share/doc-base/pyfr-doc
	rm -f debian/pyfr-doc.debhelper.log debian/pyfr.debhelper.log
   debian/rules override_dh_sphinxdoc
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_sphinxdoc --exclude=MathJax.js
	ln -sf ../../../../javascript/sphinxdoc/1.0/sidebar.js debian/pyfr-doc/usr/share/doc/pyfr-doc/html/_static/sidebar.js
	ln -sf ../../../../javascript/sphinxdoc/1.0/underscore.js debian/pyfr-doc/usr/share/doc/pyfr-doc/html/_static/underscore.js
	ln -sf ../../../../javascript/sphinxdoc/1.0/jquery.js debian/pyfr-doc/usr/share/doc/pyfr-doc/html/_static/jquery.js
	ln -sf ../../../../javascript/sphinxdoc/1.0/doctools.js debian/pyfr-doc/usr/share/doc/pyfr-doc/html/_static/doctools.js
	ln -sf ../../../../javascript/sphinxdoc/1.0/searchtools.js debian/pyfr-doc/usr/share/doc/pyfr-doc/html/_static/searchtools.js
	rm -rf debian/pyfr-doc/usr/share/doc/pyfr-doc/html/.doctrees
	rm -f debian/pyfr-doc/usr/share/doc/pyfr-doc/html/.buildinfo
	rm -f debian/pyfr-doc/usr/share/doc/pyfr-doc/html/_static/websupport.js
	(grep -a -s -v sphinxdoc:Depends debian/pyfr-doc.substvars; echo "sphinxdoc:Depends=libjs-sphinxdoc (>= 1.0)") > debian/pyfr-doc.substvars.new
	mv debian/pyfr-doc.substvars.new debian/pyfr-doc.substvars
	(grep -a -s -v sphinxdoc:Built-Using debian/pyfr-doc.substvars; echo "sphinxdoc:Built-Using=sphinx (= 1.8.3-2)") > debian/pyfr-doc.substvars.new
	mv debian/pyfr-doc.substvars.new debian/pyfr-doc.substvars
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installchangelogs -i -O--buildsystem=pybuild
	install -p -m0644 debian/changelog debian/pyfr/usr/share/doc/pyfr/changelog.Debian
	install -p -m0644 debian/changelog debian/pyfr-doc/usr/share/doc/pyfr-doc/changelog.Debian
   dh_installexamples -i -O--buildsystem=pybuild
	install -d debian/pyfr-doc/usr/share/doc/pyfr-doc/examples
	cp --reflink=auto -a ./examples/couette_flow_2d debian/pyfr-doc/usr/share/doc/pyfr-doc/examples
	cp --reflink=auto -a ./examples/euler_vortex_2d debian/pyfr-doc/usr/share/doc/pyfr-doc/examples
   dh_installman -i -O--buildsystem=pybuild
dh_installman: Could not determine section for ./build/man/_static
dh_installman: Aborting due to earlier error
make: *** [debian/rules:12: binary-indep] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pyfr.html

where you can get a full build log if you need it.

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

Thanks.



More information about the debian-science-maintainers mailing list