sane-backends 1.1.1-5 FTBFS

Bug #1991293 reported by Nathan Teodosio
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sane-backends
Fix Released
Unknown
sane-backends (Debian)
Fix Released
Unknown
sane-backends (Ubuntu)
Fix Released
High
Nathan Teodosio

Bug Description

FTBFS[1]:

--->
minigtest.h:43:29: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘const std::vector<long unsigned int>’)
minigtest.h:43:29: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘const std::vector<unsigned char>’)
minigtest.h:43:29: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘const genesys::Pixel’)
minigtest.h:43:29: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘const genesys::RawPixel’)
minigtest.h:43:29: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘const genesys::PixelFormat’)
<---

Since this happens in testsuite/, my suggested workaround is to simply disable the offending call, responsible for a diagnostic message.

[1]: https://launchpadlibrarian.net/625442428/buildlog_ubuntu-kinetic-amd64.sane-backends_1.1.1-5_BUILDING.txt.gz

Tags: patch
Revision history for this message
Nathan Teodosio (nteodosio) wrote :

To-do is to submit a proper fix upstream, which likely involves overloading the << operator for the offending types.

Changed in sane-backends (Ubuntu):
assignee: nobody → Nathan Teodosio (nteodosio)
importance: Undecided → High
tags: added: patch
Changed in sane-backends (Debian):
status: Unknown → Confirmed
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

The issue has been reported upstream, but they don't seem to have addressed it yet.

Sponsored to the kinetic unapproved queue. Thanks!

Changed in sane-backends (Ubuntu):
status: New → Fix Committed
Changed in sane-backends:
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sane-backends - 1.1.1-5ubuntu1

---------------
sane-backends (1.1.1-5ubuntu1) kinetic; urgency=medium

  * New debian/patches/0726-disable-check-equal-stderr.patch:
   - Workaround for build failure on GCC12 by supressing the print of
     test mismatch on stderr (LP: #1991293).

 -- Nathan Pratta Teodosio <email address hidden> Thu, 29 Sep 2022 12:20:26 -0300

Changed in sane-backends (Ubuntu):
status: Fix Committed → Fix Released
Changed in sane-backends (Debian):
status: Confirmed → Fix Released
Changed in sane-backends:
status: New → Fix Released
Revision history for this message
Ralph Little (skelband) wrote :

We have a fix in latest sane-backends for this issue. You may wish to pull the change and perhaps drop the patch.

See here: https://gitlab.com/sane-project/backends/-/issues/597

Revision history for this message
Nathan Teodosio (nteodosio) wrote :

Since the bug didn't affect the user base directly, only testing, we will wait for a sync with Debian. Thanks, Ralph!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.