[Python-modules-team] Bug#903333: jpy: FTBFS in buster/sid (dh_installdocs: Cannot find "README.rst")

Santiago Vila sanvila at debian.org
Sun Jul 8 21:26:54 BST 2018


Package: src:jpy
Version: 0.9.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
dh build-arch --with python2,python3
   dh_update_autotools_config -a
   dh_autoreconf -a
   dh_auto_configure -a
dh_auto_configure: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_configure: This feature will be removed in compat 12.
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
dh_auto_build

[... snipped ...]

INFO: jpy Java API configuration written to '/<<PKGBUILDDIR>>/build/lib.linux-x86_64-2.7/jpyconfig.properties'
INFO: Configuration completed successfully
running install_lib
Writing jpy configuration to build/lib.linux-x86_64-2.7 using install_dir /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/
INFO: jpy Python API configuration written to '/<<PKGBUILDDIR>>/build/lib.linux-x86_64-2.7/jpyconfig.py'
DEBUG: Searching for Python shared library file
DEBUG: Potential Python shared library search dirs: ['/usr/lib/x86_64-linux-gnu', '/usr', '..', '/usr/bin', '/usr/lib/python2.7', '/usr/lib/python2.7/lib-dynload', '/usr/lib']
DEBUG: Potential Python shared library file names: ['libpython2.7.so', 'libpython2.so', 'libpython.so']
DEBUG: Exists '/usr/lib/x86_64-linux-gnu/libpython2.7.so'? yes
INFO: jpy Java API configuration written to '/<<PKGBUILDDIR>>/build/lib.linux-x86_64-2.7/jpyconfig.properties'
INFO: Configuration completed successfully
copying build/lib.linux-x86_64-2.7/jpyconfig.properties -> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages
copying build/lib.linux-x86_64-2.7/jpyutil.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages
copying build/lib.linux-x86_64-2.7/jdl.so -> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages
copying build/lib.linux-x86_64-2.7/jpyconfig.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages
copying build/lib.linux-x86_64-2.7/jpy.so -> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages
copying build/lib.linux-x86_64-2.7/jpyutil.pyc -> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages
running install_egg_info
running egg_info
writing jpy.egg-info/PKG-INFO
writing top-level names to jpy.egg-info/top_level.txt
writing dependency_links to jpy.egg-info/dependency_links.txt
reading manifest file 'jpy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'lib/*.jar'
writing manifest file 'jpy.egg-info/SOURCES.txt'
removing '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/jpy-0.9.0.egg-info' (and everything under it)
Copying jpy.egg-info to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/jpy-0.9.0.egg-info
Skipping SOURCES.txt
running install_scripts
writing list of installed files to 'setup.out'
find . -name '*.so' -exec chrpath -d {} \;
# Strip build path; the libs will exist under /usr, not debian/tmp
find . -name 'jpyconfig.properties' -exec sed -i -e 's,/<<PKGBUILDDIR>>/debian/tmp,,g' {} \;
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install -a
	install -d debian/python-jpy//usr/lib
	cp --reflink=auto -a debian/tmp/usr/lib/python2.7 debian/python-jpy//usr/lib/
	install -d debian/.debhelper/generated/python-jpy
	install -d debian/python3-jpy//usr/lib
	cp --reflink=auto -a debian/tmp/usr/lib/python3 debian/python3-jpy//usr/lib/
	install -d debian/.debhelper/generated/python3-jpy
   dh_installdocs -a
dh_installdocs: Cannot find (any matches for) "README.rst" (tried in .)

	install -d debian/python-jpy/usr/share/doc/python-jpy
debian/rules:10: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -B" in my autobuilder.
Most probably, it also fails here in reproducible builds:

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

[ Note: There has been a recent change in debhelper behaviour, the current
  behaviour is the intended one. See Bug #903133 for details ].

Thanks.



More information about the Python-modules-team mailing list