perl-Image-Sane build failed
Posted: 1. Dec 2020, 16:18
Hello,
I tried to build the package gscan2pdf and failed. After I had to install several packages manually and the sourcery-triggered build process also installed other packages, the compilation ran until it stopped with perl-Image-Sane.
Attempts to build perl-Image-Sane-0.14 separately failed, too.
/usr/src/slapt-src/perl/perl-Image-Sane/Image-Sane-0.14/blib/arch/auto/Image/Sane/Sane.so is created and the first automated test seems to be successful. All following tests fail. As a consequence the creation of the package perl-Image-Sane is aborted.
What can be the cause?
errorlog from /var/log/sourcery/perl-Image-Sane-0.14
I tried to build the package gscan2pdf and failed. After I had to install several packages manually and the sourcery-triggered build process also installed other packages, the compilation ran until it stopped with perl-Image-Sane.
Attempts to build perl-Image-Sane-0.14 separately failed, too.
/usr/src/slapt-src/perl/perl-Image-Sane/Image-Sane-0.14/blib/arch/auto/Image/Sane/Sane.so is created and the first automated test seems to be successful. All following tests fail. As a consequence the creation of the package perl-Image-Sane is aborted.
What can be the cause?
errorlog from /var/log/sourcery/perl-Image-Sane-0.14
Code: Select all
The following packages will be fetched:
perl-Image-Sane
Fetching README... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
Fetching perl-Image-Sane.SlackBuild... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 38% 38% 84% 84%100%100%100%100%Done
Fetching perl-Image-Sane.info... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
Fetching slack-desc... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
The following packages will be installed:
perl-Image-Sane
Fetching README... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
Fetching perl-Image-Sane.SlackBuild... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 38% 38% 84% 84%100%100%100%100%Done
Fetching perl-Image-Sane.info... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
Fetching slack-desc... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
Image-Sane-0.14/
Image-Sane-0.14/Sane.xs
Image-Sane-0.14/Makefile.PL
Image-Sane-0.14/examples/
Image-Sane-0.14/examples/scanadf-perl
Image-Sane-0.14/examples/scanimage-perl
Image-Sane-0.14/Changes
Image-Sane-0.14/lib/
Image-Sane-0.14/lib/Image/
Image-Sane-0.14/lib/Image/Sane/
Image-Sane-0.14/lib/Image/Sane/Device.pm
Image-Sane-0.14/lib/Image/Sane.pm
Image-Sane-0.14/META.yml
Image-Sane-0.14/saneperl.h
Image-Sane-0.14/README
Image-Sane-0.14/META.json
Image-Sane-0.14/MANIFEST
Image-Sane-0.14/t/
Image-Sane-0.14/t/pod.t
Image-Sane-0.14/t/data.t
Image-Sane-0.14/t/90_MANIFEST.t
Image-Sane-0.14/t/non-blocking.t
Image-Sane-0.14/t/1_init.t
Image-Sane-0.14/t/err.t
Image-Sane-0.14/t/enums.t
Image-Sane-0.14/t/perlcriticrc
Image-Sane-0.14/t/81_scanimage-perl.t
Image-Sane-0.14/t/91_critic.t
Image-Sane-0.14/t/options.t
Image-Sane-0.14/typemap
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Image::Sane
Writing MYMETA.yml and MYMETA.json
cp lib/Image/Sane.pm blib/lib/Image/Sane.pm
cp lib/Image/Sane/Device.pm blib/lib/Image/Sane/Device.pm
Running Mkbootstrap for Sane ()
chmod 644 "Sane.bs"
"/usr/bin/perl5.22.2" -MExtUtils::Command::MM -e 'cp_nonempty' -- Sane.bs blib/arch/auto/Image/Sane/Sane.bs 644
"/usr/bin/perl5.22.2" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/usr/src/slapt-src/perl/perl-Image-Sane/Image-Sane-0.14/typemap' Sane.xs > Sane.xsc
mv Sane.xsc Sane.c
cc -c -I. -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -fPIC -DVERSION=\"0.14\" -DXS_VERSION=\"0.14\" -fPIC "-I/usr/lib64/perl5/CORE" Sane.c
rm -f blib/arch/auto/Image/Sane/Sane.so
LD_RUN_PATH="/usr/lib64" cc -shared -O2 -fPIC -L/usr/local/lib -fstack-protector-strong Sane.o -o blib/arch/auto/Image/Sane/Sane.so \
-lsane \
chmod 755 blib/arch/auto/Image/Sane/Sane.so
Manifying 1 pod document
"/usr/bin/perl5.22.2" -MExtUtils::Command::MM -e 'cp_nonempty' -- Sane.bs blib/arch/auto/Image/Sane/Sane.bs 644
PERL_DL_NONLAZY=1 "/usr/bin/perl5.22.2" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1_init.t ............. ok
Output format is not set, using pnm as a default.
# Failed test '--device=test --test 2>&1'
# at t/81_scanimage-perl.t line 41.
# got: 'scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame, 8 bits/sample
# scanimage: reading one scanline, 157 bytes... PASS
# scanimage: reading one byte... PASS
# scanimage: stepped read, 2 bytes... PASS
# scanimage: stepped read, 4 bytes... PASS
# scanimage: stepped read, 8 bytes... PASS
# scanimage: stepped read, 16 bytes... PASS
# scanimage: stepped read, 32 bytes... PASS
# scanimage: stepped read, 64 bytes... PASS
# scanimage: stepped read, 128 bytes... PASS
# scanimage: stepped read, 256 bytes... PASS
# scanimage: stepped read, 255 bytes... PASS
# scanimage: stepped read, 127 bytes... PASS
# scanimage: stepped read, 63 bytes... PASS
# scanimage: stepped read, 31 bytes... PASS
# scanimage: stepped read, 15 bytes... PASS
# scanimage: stepped read, 7 bytes... PASS
# scanimage: stepped read, 3 bytes... PASS
# '
# expected: 'Output format is not set, using pnm as a default.
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame, 8 bits/sample
# scanimage: reading one scanline, 157 bytes... PASS
# scanimage: reading one byte... PASS
# scanimage: stepped read, 2 bytes... PASS
# scanimage: stepped read, 4 bytes... PASS
# scanimage: stepped read, 8 bytes... PASS
# scanimage: stepped read, 16 bytes... PASS
# scanimage: stepped read, 32 bytes... PASS
# scanimage: stepped read, 64 bytes... PASS
# scanimage: stepped read, 128 bytes... PASS
# scanimage: stepped read, 256 bytes... PASS
# scanimage: stepped read, 255 bytes... PASS
# scanimage: stepped read, 127 bytes... PASS
# scanimage: stepped read, 63 bytes... PASS
# scanimage: stepped read, 31 bytes... PASS
# scanimage: stepped read, 15 bytes... PASS
# scanimage: stepped read, 7 bytes... PASS
# scanimage: stepped read, 3 bytes... PASS
# '
# Failed test '--device=test --depth 1 --test 2>&1'
# at t/81_scanimage-perl.t line 41.
# got: 'scanimage: scanning image of size 157x196 pixels at 1 bits/pixel
# scanimage: acquiring gray frame, 1 bits/sample
# scanimage: reading one scanline, 20 bytes... PASS
# scanimage: reading one byte... PASS
# scanimage: stepped read, 2 bytes... PASS
# scanimage: stepped read, 4 bytes... PASS
# scanimage: stepped read, 8 bytes... PASS
# scanimage: stepped read, 16 bytes... PASS
# scanimage: stepped read, 32 bytes... PASS
# scanimage: stepped read, 31 bytes... PASS
# scanimage: stepped read, 15 bytes... PASS
# scanimage: stepped read, 7 bytes... PASS
# scanimage: stepped read, 3 bytes... PASS
# '
# expected: 'Output format is not set, using pnm as a default.
# scanimage: scanning image of size 157x196 pixels at 1 bits/pixel
# scanimage: acquiring gray frame, 1 bits/sample
# scanimage: reading one scanline, 20 bytes... PASS
# scanimage: reading one byte... PASS
# scanimage: stepped read, 2 bytes... PASS
# scanimage: stepped read, 4 bytes... PASS
# scanimage: stepped read, 8 bytes... PASS
# scanimage: stepped read, 16 bytes... PASS
# scanimage: stepped read, 32 bytes... PASS
# scanimage: stepped read, 31 bytes... PASS
# scanimage: stepped read, 15 bytes... PASS
# scanimage: stepped read, 7 bytes... PASS
# scanimage: stepped read, 3 bytes... PASS
# '
# Failed test '--device=test --batch-count=2 2>&1; identify -format '%m %G %g %z-bit %r' out*.pnm; rm out*.pnm'
# at t/81_scanimage-perl.t line 41.
# got: 'Scanning 2 pages, incrementing by 1, numbering from 1
# Scanning page 1
# Scanned page 1. (scanner status = 5)
# Scanning page 2
# Scanned page 2. (scanner status = 5)
# Batch terminated, 2 pages scanned
# PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray '
# expected: 'Output format is not set, using pnm as a default.
# Scanning 2 pages, incrementing by 1, numbering from 1
# Scanning page 1
# Scanned page 1. (scanner status = 5)
# Scanning page 2
# Scanned page 2. (scanner status = 5)
# Batch terminated, 2 pages scanned
# PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray '
# Failed test '--verbose --device=test --batch-count=2 2>&1; identify -format '%m %G %g %z-bit %r' out*.pnm; rm out*.pnm'
# at t/81_scanimage-perl.t line 41.
# got: 'Scanning 2 pages, incrementing by 1, numbering from 1
# Scanning page 1
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 1. (scanner status = 5)
# Scanning page 2
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 2. (scanner status = 5)
# Batch terminated, 2 pages scanned
# PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray '
# expected: 'Output format is not set, using pnm as a default.
# Scanning 2 pages, incrementing by 1, numbering from 1
# Scanning page 1
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 1. (scanner status = 5)
# Scanning page 2
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 2. (scanner status = 5)
# Batch terminated, 2 pages scanned
# PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray '
# Failed test '--verbose --device=test --source="Automatic Document Feeder" --batch 2>&1; identify -format '%m %G %g %z-bit %r' out*.pnm; rm out*.pnm'
# at t/81_scanimage-perl.t line 41.
# got: 'Scanning infinity pages, incrementing by 1, numbering from 1
# Scanning page 1
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 1. (scanner status = 5)
# Scanning page 2
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 2. (scanner status = 5)
# Scanning page 3
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 3. (scanner status = 5)
# Scanning page 4
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 4. (scanner status = 5)
# Scanning page 5
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 5. (scanner status = 5)
# Scanning page 6
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 6. (scanner status = 5)
# Scanning page 7
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 7. (scanner status = 5)
# Scanning page 8
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 8. (scanner status = 5)
# Scanning page 9
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 9. (scanner status = 5)
# Scanning page 10
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 10. (scanner status = 5)
# Scanning page 11
# scanimage: sane_start: Document feeder out of documents
# Batch terminated, 10 pages scanned
# PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray '
# expected: 'Output format is not set, using pnm as a default.
# Scanning infinity pages, incrementing by 1, numbering from 1
# Scanning page 1
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 1. (scanner status = 5)
# Scanning page 2
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 2. (scanner status = 5)
# Scanning page 3
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 3. (scanner status = 5)
# Scanning page 4
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 4. (scanner status = 5)
# Scanning page 5
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 5. (scanner status = 5)
# Scanning page 6
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 6. (scanner status = 5)
# Scanning page 7
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 7. (scanner status = 5)
# Scanning page 8
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 8. (scanner status = 5)
# Scanning page 9
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 9. (scanner status = 5)
# Scanning page 10
# scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
# scanimage: acquiring gray frame
# scanimage: min/max graylevel value = 255/0
# scanimage: read 30772 bytes in total
# Scanned page 10. (scanner status = 5)
# Scanning page 11
# scanimage: sane_start: Document feeder out of documents
# Batch terminated, 10 pages scanned
# PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray '
# Looks like you failed 5 tests of 6.
t/81_scanimage-perl.t ..
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/6 subtests
t/90_MANIFEST.t ........ ok
t/91_critic.t .......... skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.
t/data.t ............... ok
t/enums.t .............. ok
t/err.t ................ ok
t/non-blocking.t ....... ok
t/options.t ............ ok
t/pod.t ................ skipped: Test::Pod 1.00 required for testing POD
Test Summary Report
-------------------
t/81_scanimage-perl.t (Wstat: 1280 Tests: 6 Failed: 5)
Failed tests: 2-6
Non-zero exit status: 5
Files=10, Tests=326, 5 wallclock secs ( 0.20 usr 0.04 sys + 3.34 cusr 0.45 csys = 4.03 CPU)
Result: FAIL
Failed 1/10 test programs. 5/326 subtests failed.
Makefile:1039: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
fakeroot -- sh perl-Image-Sane.SlackBuild Failed