[Python-modules-team] Bug#903187: pyjwt: FTBFS in buster/sid (dh_installdocs: Cannot find "README.md")

Santiago Vila sanvila at debian.org
Sat Jul 7 12:40:38 BST 2018


Package: src:pyjwt
Version: 1.5.3+ds1-1
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 python2,python3 --buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py config 
running config
I: pybuild base:217: python3.6 setup.py config 
running config
/usr/lib/python3/dist-packages/setuptools/depends.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<BUILDDIR>>/pyjwt-1.5.3+ds1'
dh_auto_build
I: pybuild base:217: /usr/bin/python setup.py build 

[... snipped ...]

copying /<<BUILDDIR>>/pyjwt-1.5.3+ds1/.pybuild/cpython3_3.6_jwt/build/jwt/__pycache__/__main__.cpython-36.pyc -> /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/__pycache__
copying /<<BUILDDIR>>/pyjwt-1.5.3+ds1/.pybuild/cpython3_3.6_jwt/build/jwt/__pycache__/utils.cpython-36.pyc -> /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/__pycache__
copying /<<BUILDDIR>>/pyjwt-1.5.3+ds1/.pybuild/cpython3_3.6_jwt/build/jwt/__pycache__/__init__.cpython-36.pyc -> /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/__pycache__
copying /<<BUILDDIR>>/pyjwt-1.5.3+ds1/.pybuild/cpython3_3.6_jwt/build/jwt/__pycache__/api_jws.cpython-36.pyc -> /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/__pycache__
copying /<<BUILDDIR>>/pyjwt-1.5.3+ds1/.pybuild/cpython3_3.6_jwt/build/jwt/__pycache__/exceptions.cpython-36.pyc -> /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/__pycache__
copying /<<BUILDDIR>>/pyjwt-1.5.3+ds1/.pybuild/cpython3_3.6_jwt/build/jwt/__pycache__/api_jwt.cpython-36.pyc -> /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/__pycache__
copying /<<BUILDDIR>>/pyjwt-1.5.3+ds1/.pybuild/cpython3_3.6_jwt/build/jwt/__pycache__/algorithms.cpython-36.pyc -> /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/__pycache__
copying /<<BUILDDIR>>/pyjwt-1.5.3+ds1/.pybuild/cpython3_3.6_jwt/build/jwt/__pycache__/compat.cpython-36.pyc -> /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/__pycache__
copying /<<BUILDDIR>>/pyjwt-1.5.3+ds1/.pybuild/cpython3_3.6_jwt/build/jwt/exceptions.py -> /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt
copying /<<BUILDDIR>>/pyjwt-1.5.3+ds1/.pybuild/cpython3_3.6_jwt/build/jwt/__main__.py -> /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt
copying /<<BUILDDIR>>/pyjwt-1.5.3+ds1/.pybuild/cpython3_3.6_jwt/build/jwt/__init__.py -> /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt
byte-compiling /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/compat.py to compat.cpython-36.pyc
byte-compiling /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/algorithms.py to algorithms.cpython-36.pyc
byte-compiling /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/api_jws.py to api_jws.cpython-36.pyc
byte-compiling /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/api_jwt.py to api_jwt.cpython-36.pyc
byte-compiling /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/contrib/algorithms/pycrypto.py to pycrypto.cpython-36.pyc
byte-compiling /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/contrib/algorithms/py_ecdsa.py to py_ecdsa.cpython-36.pyc
byte-compiling /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/contrib/algorithms/__init__.py to __init__.cpython-36.pyc
byte-compiling /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/contrib/__init__.py to __init__.cpython-36.pyc
byte-compiling /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/utils.py to utils.cpython-36.pyc
byte-compiling /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/exceptions.py to exceptions.cpython-36.pyc
byte-compiling /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/__main__.py to __main__.cpython-36.pyc
byte-compiling /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/jwt/__init__.py to __init__.cpython-36.pyc
running install_egg_info
running egg_info
writing PyJWT.egg-info/PKG-INFO
writing dependency_links to PyJWT.egg-info/dependency_links.txt
writing entry points to PyJWT.egg-info/entry_points.txt
writing requirements to PyJWT.egg-info/requires.txt
writing top-level names to PyJWT.egg-info/top_level.txt
reading manifest file 'PyJWT.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
/usr/lib/python3/dist-packages/setuptools/depends.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
writing manifest file 'PyJWT.egg-info/SOURCES.txt'
Copying PyJWT.egg-info to /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/lib/python3.6/dist-packages/PyJWT-1.5.3.egg-info
Skipping SOURCES.txt
running install_scripts
Installing pyjwt script to /<<BUILDDIR>>/pyjwt-1.5.3+ds1/debian/python3-jwt/usr/bin
mv debian/python3-jwt/usr/bin/pyjwt debian/python3-jwt/usr/bin/pyjwt3
make[1]: Leaving directory '/<<BUILDDIR>>/pyjwt-1.5.3+ds1'
   dh_installdocs -i -O--buildsystem=pybuild
dh_installdocs: Cannot find (any matches for) "README.md" (tried in .)

debian/rules:8: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder
but it also fails in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pyjwt.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