Package: src:gscan2pdf
Version: 2.13.4-4
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 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"
Warning: prerequisite Filesys::Df 0 not found.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for gscan2pdf
Writing MYMETA.yml and MYMETA.json
   dh_auto_build
        make -j2

[... snipped ...]

test2.jpg JPEG 70x46 70x46+0+0 8-bit sRGB 2661B 0.000u 0:00.000
ok 2 - can create a valid JPG after cancelling previous process
ok
t/263_unsharp_mask_with_error.t ...............
1..2
ok 1 - caught error injected before negate
ok 2 - negate caught error injected in queue
ok
t/264_unsharp_mask_corrupt_image.t ............
1..1
ok 1 - caught errors from unsharp
ok
t/271_crop.t ..................................
1..6
ok 1 - use Gscan2pdf::Document;
ok 2 - dimensions before crop
ok 3 - dimensions after crop
ok 4 - GIF cropped correctly
ok 5 - using session directory
ok 6 - cropped hocr
ok
t/272_cancel_crop.t ...........................
1..2
ok 1 - image not modified
test2.jpg JPEG 70x46 70x46+0+0 8-bit sRGB 2661B 0.000u 0:00.000
ok 2 - can create a valid JPG after cancelling previous process
ok
t/273_crop_with_error.t .......................
1..2
ok 1 - caught error injected before crop
ok 2 - crop caught error injected in queue
ok
t/274_crop_corrupt_image.t ....................
1..1
ok 1 - caught errors from crop
ok
t/275_split.t .................................
1..8
ok 1 - dimensions 1st page after split
ok 2 - GIF split correctly
ok 3 - using session directory
ok 4 - split hocr
ok 5 - dimensions 2nd page after split
ok 6 - GIF split correctly 2
ok 7 - using session directory 2
ok 8 - split hocr 2
ok
t/281_to_png.t ................................
1..3
ok 1 - use Gscan2pdf::Document;
/tmp/Jn39eSjtbN/Po81BhEskU.png PNG 70x46 70x46+0+0 8-bit sRGB 6882B 0.000u 
0:00.000
ok 2 - valid PNG created
ok 3 - using session directory
ok
t/282_cancel_to_png.t .........................
1..2
ok 1 - image not modified
test.jpg JPEG 70x46 70x46+0+0 8-bit sRGB 2664B 0.000u 0:00.000
ok 2 - can create a valid JPG after cancelling previous process
ok
t/283_to_png_with_error.t .....................
1..2
ok 1 - caught error injected before to_png
ok 2 - to_png caught error injected in queue
ok
t/291_brightness_contrast.t ...................
1..3
ok 1 - use Gscan2pdf::Document;
/tmp/t_lah12Rgb/WL8bmoSixr.jpg JPEG 70x46 70x46+0+0 8-bit sRGB 2743B 0.000u 
0:00.000
ok 2 - valid JPG created
ok 3 - using session directory
ok
t/34_Unpaper.t ................................
1..11
ok 1 - use Gscan2pdf::Unpaper;
ok 2 - default direction
ok 3 - Basic functionality 0.3
ok 4 - Basic functionality > 0.3
ok 5 - Defaults
ok 6 - get_option
ok 7 - get_options
ok 8 - no GUI
ok 9 - output-pages = 2
ok 10 - 0.3 strict
ok 11 - 0.3 lax
ok
t/351_unpaper.t ...............................
1..7
ok 1 # skip unpaper not installed
ok 2 # skip unpaper not installed
ok 3 # skip unpaper not installed
ok 4 # skip unpaper not installed
ok 5 # skip unpaper not installed
ok 6 - cmdline v0.3
ok 7 - cmdline v0.4
ok
t/352_unpaper.t ...............................
1..3
ok 1 # skip unpaper not installed
ok 2 # skip unpaper not installed
ok 3 # skip unpaper not installed
ok
t/353_cancel_unpaper.t ........................
1..2
ok 1 # skip unpaper not installed
ok 2 # skip unpaper not installed
ok
t/354_unpaper_with_error.t ....................
1..2
ok 1 # skip unpaper not installed
ok 2 # skip unpaper not installed
ok
t/355_unpaper2.t ..............................
1..3
ok 1 # skip unpaper not installed
ok 2 # skip unpaper not installed
ok 3 # skip unpaper not installed
ok
t/356_unpaper_corrupt_image.t .................
1..1
ok 1 # skip unpaper not installed
ok
t/357_unpaper_rtl.t ...........................
1..3
ok 1 # skip unpaper not installed
ok 2 # skip unpaper not installed
ok 3 # skip unpaper not installed
ok
t/358_unpaper_with_warning.t ..................
1..1
ok 1 # skip unpaper not installed
ok
Your system does not have Image::PNG::Libpng installed, so some
PNG functions may not run correctly.
t/371_user_defined.t ..........................
1..6
ok 1 - Resolution of imported image
ok 2 - User-defined with %i and %o
ok 3 - Resolution of converted image
ok 4 - OCR output still there
ok 5 - using session directory
ok 6 - PDF is A4
ok
t/3722_user_defined.t .........................
1..2
ok 1 - user_defined caught error injected in queue
ok 2 - User-defined after error
ok
t/372_user_defined2.t .........................
1..1
ok 1 - User-defined with %i
ok
Your system does not have Image::PNG::Libpng installed, so some
PNG functions may not run correctly.
t/373_user_defined.t ..........................
1..5
ok 1 - Resolution of imported image
ok 2 - Resolution of converted image
ok 3 - using session directory
ok 4 - still has an extension
ok 5 - PDF is A4
ok
Your system does not have Image::PNG::Libpng installed, so some
PNG functions may not run correctly.
t/374_user_defined.t ..........................
1..5
ok 1 - Resolution of imported image
ok 2 - Resolution of converted image
ok 3 - using session directory
ok 4 - still has an extension
ok 5 - PDF is A4
ok
Your system does not have Image::PNG::Libpng installed, so some
PNG functions may not run correctly.
t/375_user_defined.t ..........................
1..5
ok 1 - Resolution of imported image
ok 2 - Resolution of converted image
ok 3 - using session directory
ok 4 - still has an extension
ok 5 - PDF is A4
ok
t/376_cancel_user_defined.t ...................
1..2
ok 1 - image not modified
test.jpg JPEG 1x1 1x1+0+0 8-bit Grayscale Gray 256c 160B 0.000u 0:00.000
ok 2 - can create a valid JPG after cancelling previous process
ok
t/377_user_defined_with_error.t ...............
1..2
ok 1 - caught error injected before user_defined
ok 2 - user_defined caught error injected in queue
ok
t/378_user_defined_corrupt_image.t ............
1..1
ok 1 - caught errors from user-defined
ok
t/379_user_defined.t ..........................
1..1
ok 1 - Resolution of converted image taken from input
ok
t/380_cancel_user_defined_with_pids.t .........
1..3
ok 1 # skip Test hangs on riscv64
ok 2 # skip Test hangs on riscv64
ok 3 # skip Test hangs on riscv64
ok
t/411_tesseract.t .............................
1..16
ok 1 - use Gscan2pdf::Tesseract;
ok 2 # skip Tesseract not installed
ok 3 # skip Tesseract not installed
ok 4 # skip Tesseract not installed
ok 5 # skip Tesseract not installed
ok 6 # skip Tesseract not installed
ok 7 # skip Tesseract not installed
ok 8 # skip Tesseract not installed
ok 9 # skip Tesseract not installed
ok 10 # skip Tesseract not installed
ok 11 # skip Tesseract not installed
ok 12 # skip Tesseract not installed
ok 13 # skip Tesseract not installed
ok 14 # skip Tesseract not installed
ok 15 # skip Tesseract not installed
ok 16 # skip Tesseract not installed
ok
t/412_tesseract_in_thread.t ...................
1..6
ok 1 - use Gscan2pdf::Tesseract;
ok 2 # skip Tesseract not installed
ok 3 # skip Tesseract not installed
ok 4 # skip Tesseract not installed
ok 5 # skip Tesseract not installed
ok 6 # skip Tesseract not installed
ok
t/413_cancel_tesseract.t ......................
1..2
ok 1 # skip Tesseract not installed
ok 2 # skip Tesseract not installed
ok
t/414_tesseract_with_error.t ..................
1..2
ok 1 # skip Tesseract not installed
ok 2 # skip Tesseract not installed
ok
t/421_cuneiform.t .............................
1..8
ok 1 - use Gscan2pdf::Cuneiform;
ok 2 # skip Cuneiform not installed
ok 3 # skip Cuneiform not installed
ok 4 # skip Cuneiform not installed
ok 5 # skip Cuneiform not installed
ok 6 # skip Cuneiform not installed
ok 7 # skip Cuneiform not installed
ok 8 # skip Cuneiform not installed
ok
t/422_cuneiform_in_thread.t ...................
1..3
ok 1 - use Gscan2pdf::Cuneiform;
ok 2 # skip Cuneiform not installed
ok 3 # skip Cuneiform not installed
ok
t/423_cancel_cuneiform.t ......................
1..2
ok 1 # skip Cuneiform not installed
ok 2 # skip Cuneiform not installed
ok
t/424_cuneiform_with_error.t ..................
1..2
ok 1 # skip Cuneiform not installed
ok 2 # skip Cuneiform not installed
ok
t/431_gocr.t ..................................
1..1
ok 1 # skip gocr not installed
ok
t/432_gocr.t ..................................
1..4
ok 1 # skip gocr not installed
ok 2 # skip gocr not installed
ok 3 # skip gocr not installed
ok 4 # skip gocr not installed
ok
t/433_cancel_gocr.t ...........................
1..2
ok 1 # skip gocr not installed
ok 2 # skip gocr not installed
ok
t/434_gocr_with_error.t .......................
1..2
ok 1 # skip gocr not installed
ok 2 # skip gocr not installed
ok
t/51_process_chain.t ..........................
1..5
ok 1 # skip Tesseract not installed
ok 2 # skip Tesseract not installed
ok 3 # skip Tesseract not installed
ok 4 # skip Tesseract not installed
ok 5 # skip Tesseract not installed
ok
t/52_process_chain_udt.t ......................
1..1
ok 1 - User-defined with %i and %o
ok
t/53_process_chain.t ..........................
1..5
ok 1 # skip Tesseract not installed
ok 2 # skip Tesseract not installed
ok 3 # skip Tesseract not installed
ok 4 # skip Tesseract not installed
ok 5 # skip Tesseract not installed
ok
t/54_process_chain_w_delete.t .................
1..2
ok 1 # skip Tesseract not installed
ok 2 # skip Tesseract not installed
ok
t/55_process_chain_w_delete2.t ................
1..1
ok 1 # skip Tesseract not installed
ok
t/6_PageRange.t ...............................
1..7
ok 1 - use Gscan2pdf::PageRange;
ok 2 - Created PageRange widget
ok 3 - An object of class 'Gscan2pdf::PageRange' isa 'Gscan2pdf::PageRange'
ok 4 - selected
ok 5 - selected2
ok 6 - all
ok 7 - all2
ok
t/75_Bboxtree.t ...............................
1..31
ok 1 - use Gscan2pdf::Bboxtree;
ok 2 - page from tesseract 3.00
ok 3 - column from tesseract 3.00
ok 4 - line from tesseract 3.00
ok 5 - The from tesseract 3.00
ok 6 - quick from tesseract 3.00
ok 7 - brown from tesseract 3.00
ok 8 - fox from tesseract 3.00
ok 9 - no more
ok 10 - to_hocr basic functionality
ok 11 - page from plain text
ok 12 - to_djvu_txt from simple text
ok 13 - Boxes from tesseract 3.02.01
ok 14 - to_hocr with par and style
ok 15 - Boxes from ocropus 0.3 with UTF8
ok 16 - More boxes from ocropus 0.3 with UTF8
ok 17 - Boxes from ocropus 0.4
ok 18 - Boxes from cuneiform 1.0.0
ok 19 - djvu from cuneiform 1.0.0
ok 20 - djvu_txt with hiearchy
ok 21 - ignore hierachy with no contents
ok 22 - ignore hierachy with no contents 2
ok 23 - deal with encoded characters
ok 24 - deal with unsupported box types
ok 25 - string with paragraphs
ok 26 - from_djvu_txt() basic functionality
ok 27 - from_djvu_txt() with quoted brackets
ok 28 - to_djvu_ann() basic functionality
ok 29 - from_djvu_ann() basic functionality
ok 30 - from_pdftotext() basic functionality
ok 31 - from_pdftotext() with resolution
ok
Gscan2pdf::Canvas::Bbox-Message: 22:30:34.694: deleted box brown at 214, 14
Gscan2pdf::Canvas::Bbox-Message: 22:30:34.724: deleted box quick at 92, 14
Gscan2pdf::Canvas::Bbox-Message: 22:30:34.724: deleted box The at 1, 14
Gscan2pdf::Canvas::Bbox-Message: 22:30:34.724: deleted box fox at 1, 80
Gscan2pdf::Canvas::Bbox-Message: 22:30:34.724: deleted box brown at 1, 159
t/7_Canvas.t ..................................
1..36
ok 1 - use Gscan2pdf::Canvas;
ok 2 - get_first_bbox
ok 3 - set_index_by_bbox 1
ok 4 - get_next_bbox
ok 5 - set_index_by_bbox 2
ok 6 - get_previous_text
ok 7 - get_last_text
ok 8 - set_index_by_bbox 3
ok 9 - get_last_bbox after deletion
ok 10 - updated hocr
ok 11 - get_first_bbox position
ok 12 - before get_first_bbox position
ok 13 - get_next_bbox position
ok 14 - get_previous_bbox position
ok 15 - get_last_bbox position
ok 16 - after get_last_bbox position
ok 17 - the parent of a box should not be of the same class
ok 18 - don't sort if confidence hasn't changed
ok 19 - get_bounds
ok 20 - get_scale
ok 21 - get_bounds after zoom
ok 22 - convert_from_pixels
ok 23 - get_bounds after set
ok 24 - convert_from_pixels2
ok 25 - > max
ok 26 - mid way
ok 27 - < min
ok 28 - updated hocr with HTML-escape characters
ok 29 - updated hocr with extended hOCR properties
ok 30 - An object of class 'Gscan2pdf::Canvas::Bbox' isa 
'Gscan2pdf::Canvas::Bbox'
ok 31 - word_1_3's textangle is 0
ok 32 - word_1_3's (inherited) rotation is 90
ok 33 - An object of class 'GooCanvas2::CanvasText' isa 'GooCanvas2::CanvasText'
ok 34 - word_1_3's text widget rotation matches the 90° rotation
ok 35 - get_last_bbox() returns undef if no boxes
ok 36 - canvas2hocr from simple text
ok
t/8_Config.t ..................................
1..19
ok 1 - use Gscan2pdf::Config;
ok 2 - Read Config::General
ok 3 - Read JSON
ok 4 - Write JSON
ok 5 - add_defaults
ok 6 - ignore invalid frontends
ok 7 - remove_invalid_paper (contents)
ok 8 - remove_invalid_paper (name)
ok 9 - check_sane_version
ok 10 - force user_defined_tools to be an array
ok 11 - convert pre-v1.5.1 profiles to v1.5.1 format
ok 12 - convert old hashed profiles to arrays
ok 13 - convert keyword-suggestions->keywords-suggestions
ok 14 - remove undefined profiles
ok 15 - convert pre-1.8.1 filename codes
ok 16 - convert pre-1.8.4 frontend
ok 17 - deal with corrupt config
ok 18 - convert pre-2.0.0 selection
ok 19 - convert pre-2.2.3 datetime offset
ok
t/90_MANIFEST.t ............................... skipped: Need the git 
repository to compare the MANIFEST.
t/91_critic.t ................................. skipped: Author test.  Set 
$ENV{TEST_AUTHOR} to a true value to run.
t/99_pod.t ....................................
1..28
ok 1 - POD test for blib/script/gscan2pdf
ok 2 - POD test for blib/lib/Gscan2pdf/Config.pm (no pod)
ok 3 - POD test for blib/lib/Gscan2pdf/Canvas.pm (no pod)
ok 4 - POD test for blib/lib/Gscan2pdf/PageRange.pm (no pod)
ok 5 - POD test for blib/lib/Gscan2pdf/Document.pm (no pod)
ok 6 - POD test for blib/lib/Gscan2pdf/Page.pm (no pod)
ok 7 - POD test for blib/lib/Gscan2pdf/Unpaper.pm (no pod)
ok 8 - POD test for blib/lib/Gscan2pdf/Translation.pm (no pod)
ok 9 - POD test for blib/lib/Gscan2pdf/Cuneiform.pm (no pod)
ok 10 - POD test for blib/lib/Gscan2pdf/Dialog.pm (no pod)
ok 11 - POD test for blib/lib/Gscan2pdf/Bboxtree.pm (no pod)
ok 12 - POD test for blib/lib/Gscan2pdf/ComboBoxText.pm (no pod)
ok 13 - POD test for blib/lib/Gscan2pdf/EntryCompletion.pm (no pod)
ok 14 - POD test for blib/lib/Gscan2pdf/Tesseract.pm (no pod)
ok 15 - POD test for blib/lib/Gscan2pdf/NetPBM.pm (no pod)
ok 16 - POD test for blib/lib/Gscan2pdf/Frontend/Image_Sane.pm (no pod)
ok 17 - POD test for blib/lib/Gscan2pdf/Frontend/CLI.pm (no pod)
ok 18 - POD test for blib/lib/Gscan2pdf/Scanner/Options.pm (no pod)
ok 19 - POD test for blib/lib/Gscan2pdf/Scanner/Profile.pm (no pod)
ok 20 - POD test for blib/lib/Gscan2pdf/Canvas/TreeIter.pm (no pod)
ok 21 - POD test for blib/lib/Gscan2pdf/Canvas/Bbox.pm (no pod)
ok 22 - POD test for blib/lib/Gscan2pdf/Canvas/ListIter.pm (no pod)
ok 23 - POD test for blib/lib/Gscan2pdf/Dialog/Save.pm (no pod)
ok 24 - POD test for blib/lib/Gscan2pdf/Dialog/Renumber.pm (no pod)
ok 25 - POD test for blib/lib/Gscan2pdf/Dialog/Scan.pm (no pod)
ok 26 - POD test for blib/lib/Gscan2pdf/Dialog/MultipleMessage.pm (no pod)
ok 27 - POD test for blib/lib/Gscan2pdf/Dialog/Scan/Image_Sane.pm (no pod)
ok 28 - POD test for blib/lib/Gscan2pdf/Dialog/Scan/CLI.pm (no pod)
ok

Test Summary Report
-------------------
t/113_save_pdf_with_downsample.t            (Wstat: 256 (exited 1) Tests: 2 
Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=246, Tests=1189, 276 wallclock secs ( 0.43 usr  0.33 sys + 98.57 cusr 
30.34 csys = 129.67 CPU)
Result: FAIL
Failed 1/246 test programs. 1/1189 subtests failed.
make[2]: *** [Makefile:912: test_dynamic] Error 255
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 test TEST_VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:9: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

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 could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to