Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840137 - media-gfx/sane-backends-1.1.1-r4 fails test - minigtest.h: error: no match for operator<< (operand types are std::basic_ostream<ch
Summary: media-gfx/sane-backends-1.1.1-r4 fails test - minigtest.h: error: no match fo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://gitlab.com/sane-project/backe...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-04-22 12:22 UTC by Toralf Förster
Modified: 2022-11-04 03:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.93 KB, text/plain)
2022-04-22 12:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,83.04 KB, text/plain)
2022-04-22 12:23 UTC, Toralf Förster
Details
environment (environment,156.10 KB, text/plain)
2022-04-22 12:23 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,6.54 KB, application/x-bzip)
2022-04-22 12:23 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,20.35 KB, application/x-bzip)
2022-04-22 12:23 UTC, Toralf Förster
Details
media-gfx:sane-backends-1.1.1-r2:20220422-020917.log.bz2 (media-gfx:sane-backends-1.1.1-r2:20220422-020917.log.bz2,27.66 KB, application/x-bzip)
2022-04-22 12:23 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,86.45 KB, application/x-bzip)
2022-04-22 12:23 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-04-22 12:22:59 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.1.1-r2/work/sane-backends-1.1.1/testsuite/backend/genesys -I../../../include/sane  -DPATH_SANE_CONFIG_DIR=/etc/sane.d 	  -DPATH_SANE_DATA_DIR=/usr/share 	  -DPATH_SANE_LOCK_DIR=/var/lib/lock 	  -DV_MA
In file included from tests_image.cpp:24:
minigtest.h: In instantiation of void check_equal(const T&, const U&, const char*, const char*, unsigned int) [with T = genesys::Pixel; U = genesys::Pixel]’:
tests_image.cpp:39:5:   required from here
minigtest.h:43:29: error: no match for operator<<’ (operand types are std::basic_ostream<char>’ and const genesys::Pixel’)
   43 |         std::cerr << " :\n" << t << " != " << u << "\n\n";
      |         ~~~~~~~~~~~~~~~~~~~~^~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4_test-20220420-221025

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
clang version 14.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit 126087476e740f8af09cb0815cea99ff23af8502
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Apr 22 01:19:16 2022 +0000

    2022-04-22 01:19:16 UTC

emerge -qpvO media-gfx/sane-backends
[ebuild  N    ] media-gfx/sane-backends-1.1.1-r2  USE="ipv6 usb zeroconf -gphoto2 -snmp -systemd -threads -v4l -xinetd" ABI_X86="(64) -32 (-x32)" SANE_BACKENDS="abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_lide70 cardscan coolscan coolscan2 coolscan3 dc25 dc210 dc240 dell1600n_net dmc epjitsu epson epson2 escl fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hs2p ibm kodak kodakaio kvs20xx kvs1025 leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_usb nec net niash p5 pie pieusb pixma plustek plustek_pp qcam ricoh ricoh2 rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u umax_pp xerox_mfp -canon_pp -hpsj5s -kvs40xx -mustek_pp -mustek_usb2 -pnm"
Comment 1 Toralf Förster gentoo-dev 2022-04-22 12:23:01 UTC
Created attachment 772982 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-22 12:23:02 UTC
Created attachment 772985 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-22 12:23:04 UTC
Created attachment 772988 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-22 12:23:05 UTC
Created attachment 772991 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-22 12:23:06 UTC
Created attachment 772994 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-22 12:23:07 UTC
Created attachment 772997 [details]
media-gfx:sane-backends-1.1.1-r2:20220422-020917.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-22 12:23:08 UTC
Created attachment 773000 [details]
temp.tar.bz2
Comment 8 Agostino Sarubbo gentoo-dev 2022-09-10 11:56:49 UTC
tinderbox_musl has reproduced this issue with version 1.1.1-r4 - Updating summary.
Comment 9 Larry the Git Cow gentoo-dev 2022-11-04 03:59:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ed286d1a7256205061253ffe58df0fc2a48f8ae

commit 1ed286d1a7256205061253ffe58df0fc2a48f8ae
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-04 03:58:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-04 03:58:50 +0000

    media-gfx/sane-backends: fix tests w/ gcc 12
    
    Closes: https://bugs.gentoo.org/840137
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/sane-backends-1.1.1-gcc12-tests.patch    | 78 ++++++++++++++++++++++
 .../sane-backends/sane-backends-1.1.1-r4.ebuild    |  1 +
 2 files changed, 79 insertions(+)