Package: src:yarl
Version: 0.7.0-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python3,sphinxdoc --buildsystem=pybuild
   dh_testdir -i -O--buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:184: python3.5 setup.py config 
Compiling yarl/_quoting.pyx because it changed.
[1/1] Cythonizing yarl/_quoting.pyx
running config
   debian/rules override_dh_auto_build-indep
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd docs && \
PYTHONPATH=/<<PKGBUILDDIR>> http_proxy='http://127.0.0.1:9/' 
https_proxy='https://127.0.0.1:9/' \

[... snipped ...]

pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 50%] api
writing output... [100%] index

generating indices... genindex py-modindex
highlighting module code... [100%] yarl

writing additional pages... search
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded.
rm -rf /<<PKGBUILDDIR>>/.pybuild/docs/html/.doctrees
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -i -O--buildsystem=pybuild
I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build; 
python3.5 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.5.2+, pytest-3.0.3, py-1.4.31, pluggy-0.4.0
rootdir: /<<PKGBUILDDIR>>, inifile: 
collected 0 items / 3 errors

==================================== ERRORS ====================================
_ ERROR collecting .pybuild/pythonX.Y_3.5/build/tests/test_cached_property.py __
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests/test_cached_property.py'.
Original error message:
'No module named 'yarl''
Make sure your test modules/packages have valid Python names.
_____ ERROR collecting .pybuild/pythonX.Y_3.5/build/tests/test_quoting.py ______
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests/test_quoting.py'.
Original error message:
'No module named 'yarl''
Make sure your test modules/packages have valid Python names.
_______ ERROR collecting .pybuild/pythonX.Y_3.5/build/tests/test_url.py ________
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests/test_url.py'.
Original error message:
'No module named 'yarl''
Make sure your test modules/packages have valid Python names.
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 3 error in 0.48 seconds ============================
E: pybuild pybuild:276: test: plugin distutils failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build; python3.5 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.5 returned 
exit code 13
debian/rules:6: recipe for target 'build-indep' failed
make: *** [build-indep] Error 25
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

I assume this is a genuine "dpkg-buildpackage -A" bug because it does
not happen in reproducible builds (i.e. plain "dpkg-buildpackage") and
there is an "override_dh_auto_build-indep" target which makes build
mechanisms for "dpkg-buildpackage -A" and "dpkg-buildpackage" to be
different.

Thanks.

Reply via email to