Source: pyrandom2
Version: 1.0.1-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:217: python3.9 setup.py config 
> running config
> I: pybuild base:217: python3.8 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3.9 setup.py build 
> running build
> running build_py
> copying src/random2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_random2/build
> running egg_info
> creating src/random2.egg-info
> writing src/random2.egg-info/PKG-INFO
> writing dependency_links to src/random2.egg-info/dependency_links.txt
> writing top-level names to src/random2.egg-info/top_level.txt
> writing manifest file 'src/random2.egg-info/SOURCES.txt'
> reading manifest file 'src/random2.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching '*.rst'
> warning: no files found matching 'buildout.cfg'
> warning: no previously-included files matching '*.pyc' found anywhere in 
> distribution
> writing manifest file 'src/random2.egg-info/SOURCES.txt'
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> copying src/random2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_random2/build
> running egg_info
> writing src/random2.egg-info/PKG-INFO
> writing dependency_links to src/random2.egg-info/dependency_links.txt
> writing top-level names to src/random2.egg-info/top_level.txt
> reading manifest file 'src/random2.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching '*.rst'
> warning: no files found matching 'buildout.cfg'
> warning: no previously-included files matching '*.pyc' found anywhere in 
> distribution
> writing manifest file 'src/random2.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: python3.9 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing src/random2.egg-info/PKG-INFO
> writing dependency_links to src/random2.egg-info/dependency_links.txt
> writing top-level names to src/random2.egg-info/top_level.txt
> reading manifest file 'src/random2.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching '*.rst'
> warning: no files found matching 'buildout.cfg'
> warning: no previously-included files matching '*.pyc' found anywhere in 
> distribution
> writing manifest file 'src/random2.egg-info/SOURCES.txt'
> running build_ext
> test_autoseed (tests.WichmannHill_TestBasicOps) ... ok
> test_bigrand (tests.WichmannHill_TestBasicOps) ... ok
> test_gauss (tests.WichmannHill_TestBasicOps) ... ok
> test_gauss_with_whseed (tests.WichmannHill_TestBasicOps) ... ok
> test_jumpahead (tests.WichmannHill_TestBasicOps) ... ok
> test_pickling (tests.WichmannHill_TestBasicOps) ... ok
> test_sample (tests.WichmannHill_TestBasicOps) ... ok
> test_sample_distribution (tests.WichmannHill_TestBasicOps) ... ok
> test_sample_inputs (tests.WichmannHill_TestBasicOps) ... ok
> test_sample_on_dicts (tests.WichmannHill_TestBasicOps) ... ok
> test_saverestore (tests.WichmannHill_TestBasicOps) ... ok
> test_seedargs (tests.WichmannHill_TestBasicOps) ... ok
> test_setstate_first_arg (tests.WichmannHill_TestBasicOps) ... ok
> test_strong_jumpahead (tests.WichmannHill_TestBasicOps) ... ok
> test_53_bits_per_float (tests.MersenneTwister_TestBasicOps) ... ok
> test_autoseed (tests.MersenneTwister_TestBasicOps) ... ok
> test_bigrand (tests.MersenneTwister_TestBasicOps) ... ok
> test_bigrand_ranges (tests.MersenneTwister_TestBasicOps) ... ok
> test_gauss (tests.MersenneTwister_TestBasicOps) ... ok
> test_genrandbits (tests.MersenneTwister_TestBasicOps) ... FAIL
> test_jumpahead (tests.MersenneTwister_TestBasicOps) ... ok
> test_long_seed (tests.MersenneTwister_TestBasicOps) ... ok
> test_pickling (tests.MersenneTwister_TestBasicOps) ... ok
> test_randbelow_logic (tests.MersenneTwister_TestBasicOps) ... ok
> test_randrange_bug_1590891 (tests.MersenneTwister_TestBasicOps) ... ok
> test_rangelimits (tests.MersenneTwister_TestBasicOps) ... ok
> test_referenceImplementation (tests.MersenneTwister_TestBasicOps) ... ok
> test_sample (tests.MersenneTwister_TestBasicOps) ... ok
> test_sample_distribution (tests.MersenneTwister_TestBasicOps) ... ok
> test_sample_inputs (tests.MersenneTwister_TestBasicOps) ... ok
> test_sample_on_dicts (tests.MersenneTwister_TestBasicOps) ... ok
> test_saverestore (tests.MersenneTwister_TestBasicOps) ... ok
> test_seedargs (tests.MersenneTwister_TestBasicOps) ... ok
> test_setstate_first_arg (tests.MersenneTwister_TestBasicOps) ... ok
> test_setstate_middle_arg (tests.MersenneTwister_TestBasicOps) ... ok
> test_strong_reference_implementation (tests.MersenneTwister_TestBasicOps) ... 
> ok
> test_avg_std (tests.TestDistributions) ... ok
> test_zeroinputs (tests.TestDistributions) ... ok
> testMagicConstants (tests.TestModule) ... ok
> test__all__ (tests.TestModule) ... ok
> test_random_subclass_with_kwargs (tests.TestModule) ... ok
> 
> ======================================================================
> FAIL: test_genrandbits (tests.MersenneTwister_TestBasicOps)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/src/tests.py", line 451, in test_genrandbits
>     self.assertRaises(ValueError, self.gen.getrandbits, 0)
> AssertionError: ValueError not raised by getrandbits
> 
> ----------------------------------------------------------------------
> Ran 41 tests in 0.232s
> 
> FAILED (failures=1)
> Test failed: <unittest.runner.TextTestResult run=41 errors=0 failures=1>
> error: Test failed: <unittest.runner.TextTestResult run=41 errors=0 
> failures=1>
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: 
> python3.9 setup.py test 
> dh_auto_test: error: pybuild --test -i python{version} -p "3.9 3.8" returned 
> exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/pyrandom2_1.0.1-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to