Source: pypng Version: 0.0.20+ds-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 code/png.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_png/build > copying code/test_png.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_png/build > copying code/pngsuite.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_png/build > I: pybuild base:217: /usr/bin/python3 setup.py build > running build > running build_py > copying code/png.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_png/build > copying code/test_png.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_png/build > copying code/pngsuite.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_png/build > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_png/build; > python3.9 -m unittest discover -v > test_L12 (test_png.Test) > Test L12. ... ok > test_L16_to_RGB (test_png.Test) > asRGB() on 16-bit grey source. ... ok > test_L2 (test_png.Test) > Test L2 (and asRGB8). ... ok > test_L3 (test_png.Test) > Test L3. ... ok > test_L4 (test_png.Test) > Test L4. ... ok > test_L7 (test_png.Test) > Test L7. ... ok > test_L8 (test_png.Test) > Test L8. ... ok > test_L9 (test_png.Test) > Test L9. ... ok > test_LA4 (test_png.Test) > Create an LA image with bitdepth 4. ... ok > test_LA_to_RGBA (test_png.Test) > asRGBA() on LA source. ... ok > test_L_to_RGB (test_png.Test) > asRGB() on grey source. ... ok > test_L_to_RGBA (test_png.Test) > asRGBA() on grey source. ... ok > test_L_trns_0 (test_png.Test) > Create greyscale image with tRNS chunk. ... ok > test_L_trns_tuple (test_png.Test) > Using 1-tuple for transparent arg. ... ok > test_P2 (test_png.Test) > 2-bit palette. ... ok > test_RGB_to_RGBA (test_png.Test) > asRGBA8() on colour type 2 source. ... ok > test_RGB_trns (test_png.Test) > Test colour type 2 and tRNS chunk. ... ok > test_alpha_trns (test_png.Test) > alpha and transparent don't mix. ... ok > test_background_bad (test_png.Test) > Wrong background in constructor. ... ok > test_background_rgb_unnatural (test_png.Test) > non-integer background in constructor. ... ok > test_background_unnatural (test_png.Test) > non-integer background in constructor. ... ok > test_bad_filter (test_png.Test) > Test file that contains impossible filter type. ... ok > test_bitdepth_bad (test_png.Test) ... ok > test_cannot_length_check (test_png.Test) > The length check cannot be used on an itertools.chain object. ... ok > test_checksum_bad (test_png.Test) > Chunk has bad checksum. ... ok > test_chunk_after_idat (test_png.Test) > Test with a PNG that has an ancillary chunk after IDAT chunks. ... ok > test_chunk_short (test_png.Test) > Chunk that is too short. ... ok > test_chunk_truncated (test_png.Test) > Chunk doesn't have length and type. ... ok > test_deepen_palette (test_png.Test) > Test that palette bitdepth can be increased, ... ok > test_empty (test_png.Test) > Test empty file. ... ok > test_extra_pixels (test_png.Test) > Test file that contains too many pixels. ... ok > test_flat (test_png.Test) > Test read_flat. ... ok > test_from_array_L (test_png.Test) ... ok > test_from_array_L16 (test_png.Test) ... ok > test_from_array_L2 (test_png.Test) ... ok > test_from_array_LA (test_png.Test) ... ok > test_from_array_LA_alpha_bad (test_png.Test) ... ok > test_from_array_LA_bitdepth_bad (test_png.Test) ... ok > test_from_array_LA_grey_bad (test_png.Test) ... ok > test_from_array_RGB (test_png.Test) ... ok > test_from_array_bad (test_png.Test) > Invoke from_array incorrectly to provoke Error. ... ok > test_from_array_iterator (test_png.Test) ... ok > test_from_array_iterator_height (test_png.Test) > Row iterator without height raises Error. ... ok > test_from_array_width (test_png.Test) > Test width argument. ... ok > test_height_bad (test_png.Test) > Wrong height in constructor. ... ok > test_iend_missing (test_png.Test) > Test file with missing IEND chunk. ... ok > test_ihdr_compression (test_png.Test) > Test file that has invalid compression IHDR value. ... ok > test_ihdr_filter (test_png.Test) > Test file that has invalid filter IHDR value. ... ok > test_ihdr_interlace (test_png.Test) > Test file that has invalid interlace IHDR value. ... ok > test_ihdr_length (test_png.Test) > Test file that has wrong length IHDR. ... ok > test_interlace_read (test_png.Test) > Adam7 interlace reading. ... ok > test_interlace_write (test_png.Test) > Adam7 interlace writing. ... ok > test_interlace_write_array_bytes (test_png.Test) > Test that when using `write_array` a bytes instance ... ok > test_interlaced_array (test_png.Test) > Reading an interlaced PNG yields each row as an array. ... ERROR > test_lack_pixels (test_png.Test) > Test file that contains too few pixels. ... ok > test_modify_rows (test_png.Test) > Tests that the rows yielded by the pixels generator ... ok > test_no_checksum (test_png.Test) > Chunk that's too small to contain a checksum. ... ok > test_no_phys_chunk (test_png.Test) > Check that no pHYs chunk when not asked. ... ok > test_numpy_array (test_png.Test) > numpy array. ... skipped 'numpy is not available' > test_numpy_bool (test_png.Test) > numpy bool. ... skipped 'numpy is not available' > test_numpy_palette (test_png.Test) > numpy palette. ... skipped 'numpy is not available' > test_numpy_tranpose (test_png.Test) > Transposed numpy array (works when copied). ... skipped 'numpy is not > available' > test_numpy_uint16 (test_png.Test) > numpy uint16. ... skipped 'numpy is not available' > test_numpy_uint8 (test_png.Test) > numpy uint8. ... skipped 'numpy is not available' > test_palette_alpha (test_png.Test) > Palette is incompatible with alpha. ... ok > test_palette_bitdepth_wrong (test_png.Test) > Palette is incompatible with some bitdepths. ... ok > test_palette_bitdepths (test_png.Test) > Palette is incompatible with multiple bitdepths. ... ok > test_palette_force_alpha (test_png.Test) > Test forcing alpha channel for palette. ... ok > test_palette_greyscale (test_png.Test) > Palette is incompatible with greyscale. ... ok > test_palette_info (test_png.Test) > Test that a palette PNG returns the palette in info. ... ok > test_palette_transparent (test_png.Test) > Palette is incompatible with transarent. ... ok > test_palette_trns (test_png.Test) > Test colour type 3 and tRNS chunk (and 4-bit palette). ... ok > test_phys_chunk (test_png.Test) > Check that pHYs chunk is generated. ... ok > test_phys_chunk_2 (test_png.Test) > Check pHYs chunk when unit_is_meter is False. ... ok > test_plte_bkgd (test_png.Test) > Test colortype 3 PNG with bKGD chunk. ... ok > test_read_info_write (test_png.Test) > Test that the dictionary returned by `read` ... ok > test_read_palette_write (test_png.Test) > Test metadata for paletted PNG can be passed from one PNG ... ok > test_row_length_bad (test_png.Test) ... ok > test_signature_only (test_png.Test) > Test file containing just signature bytes. ... ok > test_size_length_bad (test_png.Test) > Wrong tuple length in size keyword. ... ok > test_test_dir (test_png.Test) ... ok > test_trns_array (test_png.Test) > A type 2 PNG with tRNS chunk yields each row ... ERROR > test_type_bad (test_png.Test) > Chunk has bad type. ... ok > test_undo_filter (test_png.Test) ... ok > test_undo_filter_paeth (test_png.Test) > Edge cases for undoing paeth filter. ... ok > test_width_bad (test_png.Test) > Wrong width in constructor. ... ok > test_write_background_colour (test_png.Test) > Test that background keyword works. ... ok > test_write_background_grey (test_png.Test) > Test that background keyword works. ... ok > test_write_compression (test_png.Test) > Test that compression keyword works. ... ok > test_write_packed (test_png.Test) > Test iterator for row when using write_packed. ... ok > test_write_palette_bad_fraction (test_png.Test) > Palette with fractions should raise error. ... ok > test_write_palette_bad_transparency (test_png.Test) > Palette with transparent entries following opaque ones. ... ok > test_write_palette_bad_tuples (test_png.Test) > Palette with incorrect size tuples should raise error. ... ok > test_write_palette_big (test_png.Test) > Palette too big should raise error. ... ok > test_writer_height_bad (test_png.Test) > Invoking Writer with bad height should raise error. ... ok > test_writer_height_big (test_png.Test) > Invoking Writer with big height should raise error. ... ok > test_writer_noargs (test_png.Test) > Invoking Writer with no args should raise error. ... ok > test_writer_width_bad (test_png.Test) > Invoking Writer with bad width should raise error. ... ok > test_writer_width_big (test_png.Test) > Invoking Writer with big width should raise error. ... ok > test_wrong_rows (test_png.Test) > Wrong number of rows. ... ok > > ====================================================================== > ERROR: test_interlaced_array (test_png.Test) > Reading an interlaced PNG yields each row as an array. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_png/build/test_png.py", line > 464, in test_interlaced_array > list(r.read()[2])[0].tostring > AttributeError: 'array.array' object has no attribute 'tostring' > > ====================================================================== > ERROR: test_trns_array (test_png.Test) > A type 2 PNG with tRNS chunk yields each row > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_png/build/test_png.py", line > 470, in test_trns_array > list(r.asDirect()[2])[0].tostring > AttributeError: 'array.array' object has no attribute 'tostring' > > ---------------------------------------------------------------------- > Ran 100 tests in 0.100s > > FAILED (errors=2, skipped=6) > E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_png/build; python3.9 -m unittest > discover -v > 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/pypng_0.0.20+ds-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.