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

2019-02-23 Thread Andrey Rahmatullin
Control: tags -1 + patch

On Wed, Feb 13, 2019 at 08:16:28PM +, Santiago Vila wrote:
>dh_installman -i -O--buildsystem=pybuild
> dh_installman: Could not determine section for ./build/man/_static

This is caused by "build/man/*" in debian/pyfr.manpages. I think it's safe
to assume that replacing that with "build/man/pyfr.1" should help.

-- 
WBR, wRAR


signature.asc
Description: PGP signature


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

2019-02-23 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + patch
Bug #922257 [src:pyfr] pyfr: FTBFS (dh_installman: Could not determine section 
for ./build/man/_static)
Added tag(s) patch.

-- 
922257: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922257
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



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

2019-02-13 Thread Santiago Vila
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 '/<>'
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 /<>/debian/tmp/usr/bin/pyfr 
/<>/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 {} /<>/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 '/<>'
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 '/<>'
   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.