Bug#868372: Build failed for the sane-backends transition
gregor herrmann
gregoa at debian.org
Sat Jul 15 14:41:53 UTC 2017
Control: tag -1 + confirmed upstream
On Sat, 15 Jul 2017 07:36:44 +0200, Jörg Frings-Fürst wrote:
> > Test Summary Report
> > -------------------
> > t/81_scanimage-perl.t (Wstat: 768 Tests: 6 Failed: 3)
> > Failed tests: 4-6
> > Non-zero exit status: 3
> > Files=10, Tests=324, 9 wallclock secs ( 0.10 usr 0.02 sys + 1.21 cusr 0.37 csys = 1.70 CPU)
> > Result: FAIL
> > Failed 1/10 test programs. 3/324 subtests failed.
> > Makefile:1004: recipe for target 'test_dynamic' failed
> > make[1]: *** [test_dynamic] Error 255
> > make[1]: Leaving directory '/build/libimage-sane-perl-0.09'
> > dh_auto_test: make -j1 test TEST_VERBOSE=1 returned exit code 2
> > debian/rules:4: recipe for target 'build' failed
> > make: *** [build] Error 2
> > dpkg-buildpackage: error: debian/rules build gave error exit status 2
> > I: copying local configuration
> > E: Failed autobuilding of package
Part of the actual error:
# 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)
# PGM 157x196 157x196+0+0 8-bit DirectClass Gray PGM 157x196 157x196+0+0 8-bit DirectClass Gray '
# expected: '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 '
("->" from me")
"got" is from examples/scanimage-perl, "expected" is from sane's
scanimage which changed it's output between 1.0.25 and 1.0.27:
@@ -2509,8 +2580,6 @@ List of available devices:", prog_name);
if (readbuf2 == NULL)
{
- fprintf (stderr, "Batch terminated, %d pages scanned\n",
- (n - batch_increment));
if (ofp)
{
fclose (ofp);
@@ -2612,6 +2681,13 @@ List of available devices:", prog_name);
&& (batch_count == BATCH_COUNT_UNLIMITED || --batch_count))
&& SANE_STATUS_GOOD == status);
+ if (batch)
+ {
+ int num_pgs = (n - batch_start_at) / batch_increment;
+ fprintf (stderr, "Batch terminated, %d page%s scanned\n",
+ num_pgs, num_pgs == 1 ? "" : "s");
+ }
+
if (batch
&& SANE_STATUS_NO_DOCS == status
&& (batch_count == BATCH_COUNT_UNLIMITED)
If examples/scanimage-perl tries to mimick scanimage it will need
updates ...
Forwarding the bug upstream.
Cheers,
gregor
--
.''`. https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: David Bowie: Dancing In The Street (W/ Mick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20170715/83841356/attachment.sig>
More information about the pkg-perl-maintainers
mailing list