Processed (with 1 error): Re: Bug#921898: pilkit: FTBFS (AssertionError: '.apng' != '.png')

2019-02-23 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + upstr4eam fixed-upstream patch pending
Unknown tag/s: upstr4eam.
Recognized are: patch wontfix moreinfo unreproducible help security upstream 
pending confirmed ipv6 lfs d-i l10n newcomer a11y ftbfs fixed-upstream fixed 
fixed-in-experimental sid experimental potato woody sarge sarge-ignore etch 
etch-ignore lenny lenny-ignore squeeze squeeze-ignore wheezy wheezy-ignore 
jessie jessie-ignore stretch stretch-ignore buster buster-ignore bullseye 
bullseye-ignore.

Bug #921898 [src:pilkit] pilkit: FTBFS (AssertionError: '.apng' != '.png')
Added tag(s) pending, patch, and fixed-upstream.

-- 
921898: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921898
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#921898: pilkit: FTBFS (AssertionError: '.apng' != '.png')

2019-02-23 Thread Andrey Rahmatullin
Control: tags -1 + upstr4eam fixed-upstream patch pending

On Sat, Feb 09, 2019 at 11:49:51PM +, Santiago Vila wrote:
> ==
> FAIL: tests.test_utils.test_format_to_extension_no_init
> --
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
>   File 
> "/<>/.pybuild/cpython2_2.7_pilkit/build/tests/test_utils.py", 
> line 19, in test_format_to_extension_no_init
> eq_(format_to_extension('PNG'), '.png')
> AssertionError: '.apng' != '.png'
This seems to be fixed by 
https://github.com/matthewwithanm/pilkit/commit/c3702a84ae603f4d06dec8827be66c43644a9683

-- 
WBR, wRAR


signature.asc
Description: PGP signature


Bug#921898: pilkit: FTBFS (AssertionError: '.apng' != '.png')

2019-02-09 Thread Santiago Vila
Package: src:pilkit
Version: 2.0-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.7 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<>'
cp debian/reference.png tests/assets/reference.png
dh_auto_build
I: pybuild base:217: /usr/bin/python setup.py build 
running build

[... snipped ...]

tests.test_processors.test_smartcrop ... ok
tests.test_processors.test_resizetofill ... ok
tests.test_processors.test_resizetofit ... ok
Regression test for matthewwithanm/pilkit#1 ... ok
tests.test_processors.test_resizetofit_mat ... ok
Test that the ColorOverlay processor ... ok
Test that the Resize processor antialiases. ... ok
Test that the upscale argument works as expected. ... ok
tests.test_processors.test_should_raise_exception_if_anchor_is_passed_and_crop_is_set_to_false
 ... ok
tests.test_processors.test_should_set_crop_to_true_if_anchor_is_passed_without_crop
 ... ok
tests.test_processors.test_should_raise_exception_when_crop_is_passed_without_height_and_width
 ... ok
tests.test_processors.test_make_gifs_opaque ... ok
tests.test_processors.test_should_call_resizetofill_when_crop_and_ancho_is_passed
 ... ok
tests.test_processors.test_should_call_resizetofit_when_crop_is_not_passed ... 
ok
tests.test_processors.test_should_call_smartresize_when_crop_not_passed ... ok
tests.test_processors.test_should_repass_upscale_option_false ... ok
tests.test_processors.test_should_repass_upscale_option_true ... ok
tests.test_utils.test_extension_to_format ... ok
tests.test_utils.test_format_to_extension_no_init ... FAIL
tests.test_utils.test_unknown_format ... ok
tests.test_utils.test_unknown_extension ... ok
Ensure default extensions are honored. ... ok
tests.test_utils.test_filewrapper ... ok
Test that ``save_image`` accepts filename strings (not just file objects). ... 
ok
Make sure formats are normalized by ``prepare_image()``. ... ok
Make sure the ``quiet`` util doesn't error if devnull is unwriteable. ... ok

==
FAIL: tests.test_utils.test_format_to_extension_no_init
--
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
  File 
"/<>/.pybuild/cpython2_2.7_pilkit/build/tests/test_utils.py", line 
19, in test_format_to_extension_no_init
eq_(format_to_extension('PNG'), '.png')
AssertionError: '.apng' != '.png'

--
Ran 26 tests in 0.205s

FAILED (failures=1)
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd 
/<>/.pybuild/cpython2_2.7_pilkit/build; python2.7 -m nose -v tests
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned 
exit code 13
make: *** [debian/rules:9: build-indep] Error 25
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit 
status 2


(The above is just how the build ends and not necessarily the most relevant 
part)

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

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