Bug#1143758: libimage-scale-perl: FTBFS: Failed 6/9 test programs. 1/1 subtests failed.
Santiago Vila
sanvila at debian.org
Thu Aug 6 01:10:29 BST 2026
Package: src:libimage-scale-perl
Version: 0.14+dfsg-3
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:libimage-scale-perl, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" LD="x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now"
Image::Scale will be built with:
JPEG support: yes (/usr/include, libjpeg version 62)
PNG support: yes (/usr/include, libpng version 1.6.58)
GIF support: yes (/usr/include, giflib version 6.1)
Checking if your kit is complete...
Warning: the following files are missing in your kit:
t/images/gif/interlaced_256.gif
t/images/gif/transparent.gif
t/images/gif/v2.4-apic-gif-318-5169.mp3
t/images/gif/white.gif
t/images/jpg/corrupt-sv-infinite-loop.jpg
t/images/jpg/large-exif.jpg
t/images/png/gray.png
t/images/png/gray_alpha.png
t/images/png/gray_interlaced.png
t/images/png/palette.png
t/images/png/palette_alpha.png
t/images/png/palette_bkgd.png
t/images/png/rgb.png
t/images/png/rgba.png
t/images/png/rgba16.png
t/images/png/rgba_interlaced.png
t/images/png/v2.4-apic-png-350-58618.mp3
t/ref/gif/apic_gd_fixed_point_w100.png
t/ref/gif/interlaced_256_resize_gd_fixed_point_w100.png
t/ref/gif/transparent_multiple_resize_gd_fixed_point.png
t/ref/gif/transparent_resize_gd_fixed_point_w100.png
t/ref/gif/white_resize_gd_fixed_point_w100.png
t/ref/png/apic_gd_fixed_point_w50.png
t/ref/png/gray_alpha_resize_gd_fixed_point_w100.png
t/ref/png/gray_interlaced_resize_gd_fixed_point_w100.png
t/ref/png/gray_resize_gd_fixed_point_w100.png
t/ref/png/palette_alpha_resize_gd_fixed_point_w100.png
t/ref/png/palette_resize_gd_fixed_point_w100.png
t/ref/png/rgb_resize_gd_fixed_point_w100.png
t/ref/png/rgba16_resize_gd_fixed_point_w100.png
t/ref/png/rgba_interlaced_resize_gd_fixed_point_w100.png
t/ref/png/rgba_multiple_resize_gd_fixed_point.png
t/ref/png/rgba_resize_gd_fixed_point_w100.png
Please inform the author.
Generating a Unix-style Makefile
Writing Makefile for Image::Scale
Writing MYMETA.yml and MYMETA.json
dh_auto_build
make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Running Mkbootstrap for Scale ()
chmod 644 "Scale.bs"
"/usr/bin/perl" "/usr/share/perl/5.42/ExtUtils/xsubpp" -typemap '/usr/share/perl/5.42/ExtUtils/typemap' -typemap '/<<PKGBUILDDIR>>/typemap' Scale.xs > Scale.xsc
cp lib/Image/Scale.pm blib/lib/Image/Scale.pm
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Scale.bs blib/arch/auto/Image/Scale/Scale.bs 644
mv Scale.xsc Scale.c
x86_64-linux-gnu-gcc -c -I. -I.. -Isrc -Iinclude -I/usr/include -I/usr/include -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"0.14\" -DXS_VERSION=\"0.14\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.42/CORE" -O2 -Wall -Wno-unused-value -Wno-format-security -Winline -ffast-math -DHAVE_JPEG -DJPEG_VERSION=62 -DHAVE_PNG -DPNG_VERSION=1.6.58 -DHAVE_GIF -DGIF_VERSION=6.1 -DGIFLIB_API_51 -DGIFLIB_API_50 Scale.c
In file included from src/image.c:20,
from Scale.xs:18:
src/bmp.c: In function âimage_bmp_read_headerâ:
src/bmp.c:25:7: warning: variable âoffsetâ set but not used [-Wunused-but-set-variable=]
25 | int offset, palette_colors;
| ^~~~~~
In file included from src/image.c:28:
src/gif.c: In function âimage_gif_loadâ:
src/gif.c:89:7: warning: variable âBackGroundâ set but not used [-Wunused-but-set-variable=]
89 | int BackGround = 0;
| ^~~~~~~~~~
src/gif.c:88:14: warning: variable âtemp_saveâ set but not used [-Wunused-but-set-variable=]
88 | SavedImage temp_save;
| ^~~~~~~~~
Scale.c: In function âXS_Image__Scale___cleanupâ:
Scale.c:714:17: warning: variable âselfâ set but not used [-Wunused-but-set-variable=]
714 | HV * self;
| ^~~~
rm -f blib/arch/auto/Image/Scale/Scale.so
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -shared -L/usr/local/lib -fstack-protector-strong Scale.o -o blib/arch/auto/Image/Scale/Scale.so \
-L/usr/local/lib -ljpeg -lpng -lz -lgif \
chmod 755 blib/arch/auto/Image/Scale/Scale.so
Manifying 1 pod document
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test
make -j2 test TEST_VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Scale.bs blib/arch/auto/Image/Scale/Scale.bs 644
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
# Failed test 'use Image::Scale;'
# at t/01use.t line 3.
# Tried to use 'Image::Scale'.
# Error: Can't load '/<<PKGBUILDDIR>>/blib/arch/auto/Image/Scale/Scale.so' for module Image::Scale: /<<PKGBUILDDIR>>/blib/arch/auto/Image/Scale/Scale.so: undefined symbol: _ZGVbN2v_cos at /usr/lib/x86_64-linux-gnu/perl-base/DynaLoader.pm line 201.
# at t/01use.t line 3.
# Compilation failed in require at t/01use.t line 3.
# BEGIN failed--compilation aborted at t/01use.t line 3.
# Looks like you failed 1 test of 1.
t/01use.t ..........
1..1
not ok 1 - use Image::Scale;
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/02pod.t .......... skipped: Test::Pod 1.14 required
t/03podcoverage.t .. skipped: Test::Pod::Coverage 1.04 required
t/04critic.t ....... skipped: Critic test only for developers.
Can't load '/<<PKGBUILDDIR>>/blib/arch/auto/Image/Scale/Scale.so' for module Image::Scale: /<<PKGBUILDDIR>>/blib/arch/auto/Image/Scale/Scale.so: undefined symbol: _ZGVbN2v_cos at /usr/lib/x86_64-linux-gnu/perl-base/DynaLoader.pm line 201.
at t/bmp.t line 9.
Compilation failed in require at t/bmp.t line 9.
BEGIN failed--compilation aborted at t/bmp.t line 9.
# Looks like your test exited with 2 before it could output anything.
t/bmp.t ............
1..30
Dubious, test returned 2 (wstat 512, 0x200)
Failed 30/30 subtests
Can't load '/<<PKGBUILDDIR>>/blib/arch/auto/Image/Scale/Scale.so' for module Image::Scale: /<<PKGBUILDDIR>>/blib/arch/auto/Image/Scale/Scale.so: undefined symbol: _ZGVbN2v_cos at /usr/lib/x86_64-linux-gnu/perl-base/DynaLoader.pm line 201.
at t/gif.t line 9.
Compilation failed in require at t/gif.t line 9.
BEGIN failed--compilation aborted at t/gif.t line 9.
t/gif.t ............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't load '/<<PKGBUILDDIR>>/blib/arch/auto/Image/Scale/Scale.so' for module Image::Scale: /<<PKGBUILDDIR>>/blib/arch/auto/Image/Scale/Scale.so: undefined symbol: _ZGVbN2v_cos at /usr/lib/x86_64-linux-gnu/perl-base/DynaLoader.pm line 201.
at t/jpeg.t line 9.
Compilation failed in require at t/jpeg.t line 9.
BEGIN failed--compilation aborted at t/jpeg.t line 9.
t/jpeg.t ...........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't load '/<<PKGBUILDDIR>>/blib/arch/auto/Image/Scale/Scale.so' for module Image::Scale: /<<PKGBUILDDIR>>/blib/arch/auto/Image/Scale/Scale.so: undefined symbol: _ZGVbN2v_cos at /usr/lib/x86_64-linux-gnu/perl-base/DynaLoader.pm line 201.
at t/png.t line 9.
Compilation failed in require at t/png.t line 9.
BEGIN failed--compilation aborted at t/png.t line 9.
t/png.t ............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't load '/<<PKGBUILDDIR>>/blib/arch/auto/Image/Scale/Scale.so' for module Image::Scale: /<<PKGBUILDDIR>>/blib/arch/auto/Image/Scale/Scale.so: undefined symbol: _ZGVbN2v_cos at /usr/lib/x86_64-linux-gnu/perl-base/DynaLoader.pm line 201.
at t/stringify.t line 8.
Compilation failed in require at t/stringify.t line 8.
BEGIN failed--compilation aborted at t/stringify.t line 8.
t/stringify.t ......
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Test Summary Report
-------------------
t/01use.t (Wstat: 256 (exited 1) Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/bmp.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 30 tests but ran 0.
t/gif.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/jpeg.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/png.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/stringify.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=9, Tests=1, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.25 cusr 0.06 csys = 0.34 CPU)
Result: FAIL
Failed 6/9 test programs. 1/1 subtests failed.
make[1]: *** [Makefile:1033: test_dynamic] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 test TEST_VERBOSE=1 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the pkg-perl-maintainers
mailing list