Package: src:python-pgpy
Version: 0.4.3-3
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 --buildsystem pybuild
   dh_testdir -i -O--buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_autoreconf -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python3.7 setup.py config 
running config
I: pybuild base:217: python3.6 setup.py config 
running config
   debian/rules override_dh_auto_build-indep
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -O=--buildsystem=pybuild
I: pybuild base:217: /usr/bin/python3.7 setup.py build 

[... snipped ...]


During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 403, 
in _importconftest
    return self._conftestpath2mod[conftestpath]
KeyError: 
local('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pgpy/build/tests/conftest.py')

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gpg/gpgme.py", line 14, in 
swig_import_helper
    return importlib.import_module(mname)
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'gpg._gpgme'

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 409, 
in _importconftest
    mod = conftestpath.pyimport()
  File "/usr/lib/python3/dist-packages/py/_path/local.py", line 668, in pyimport
    __import__(modname)
  File "/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py", line 226, 
in load_module
    py.builtin.exec_(co, mod.__dict__)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pgpy/build/tests/conftest.py", 
line 5, in <module>
    import gpg
  File "/usr/lib/python3/dist-packages/gpg/__init__.py", line 101, in <module>
    from . import core
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 34, in <module>
    from . import gpgme
  File "/usr/lib/python3/dist-packages/gpg/gpgme.py", line 17, in <module>
    _gpgme = swig_import_helper()
  File "/usr/lib/python3/dist-packages/gpg/gpgme.py", line 16, in 
swig_import_helper
    return importlib.import_module('_gpgme')
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_gpgme'
ERROR: could not load 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pgpy/build/tests/conftest.py

E: pybuild pybuild:338: test: plugin distutils failed with: exit code=4: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pgpy/build; python3.7 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p "3.7 3.6" 
returned exit code 13
make[1]: *** [debian/rules:25: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit 
status 2
--------------------------------------------------------------------------------

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

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

Reply via email to