Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943150 - media-gfx/sane-backends-1.3.1 - pixma/pixma.c: fatal error: pixma_sane_options.h: No such file or directory
Summary: media-gfx/sane-backends-1.3.1 - pixma/pixma.c: fatal error: pixma_sane_option...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-11-09 16:04 UTC by Toralf Förster
Modified: 2024-11-10 13:24 UTC (History)
6 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.56 KB, text/plain)
2024-11-09 16:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,89.62 KB, text/plain)
2024-11-09 16:04 UTC, Toralf Förster
Details
environment (environment,168.66 KB, text/plain)
2024-11-09 16:04 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-11-09 16:04 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.95 KB, application/x-xz)
2024-11-09 16:04 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,41.96 KB, application/x-xz)
2024-11-09 16:04 UTC, Toralf Förster
Details
media-gfx:sane-backends-1.3.1:20241109-152525.log.xz (media-gfx:sane-backends-1.3.1:20241109-152525.log.xz,17.23 KB, application/x-xz)
2024-11-09 16:04 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,202.41 KB, text/plain)
2024-11-09 16:04 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,54.02 KB, application/x-xz)
2024-11-09 16:04 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 2024-11-09 16:04:23 UTC
too long lines were shrinked:

make[3]: Leaving directory '/var/tmp/portage/media-gfx/sane-backends-1.3.1/work/backends-1.3.1-abi_x86_64.amd64/backend'
make[3]: Entering directory '/var/tmp/portage/media-gfx/sane-backends-1.3.1/work/backends-1.3.1-abi_x86_64.amd64/backend'
/bin/sh ../libtool --silent  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wextra -pedantic -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wl,-z,defs -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0  -o libpieusb.la  libpieusb_
make[3]: Leaving directory '/var/tmp/portage/media-gfx/sane-backends-1.3.1/work/backends-1.3.1-abi_x86_64.amd64/backend'
make[3]: Entering directory '/var/tmp/portage/media-gfx/sane-backends-1.3.1/work/backends-1.3.1-abi_x86_64.amd64/backend'
/bin/sh ../libtool --silent  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.3.1/work/backends-1.3.1/backend -I../include/sane  -DPATH_SANE_CONFIG_DIR=/etc/sane.d 	  -DPATH_SANE_DATA_DIR=/usr/share 	  -DPATH_SANE_LOCK_DIR=/var/lib/lo
pixma/pixma.c:91:10: fatal error: pixma_sane_options.h: No such file or directory
   91 | #include "pixma_sane_options.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_test-20241107-130503

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
  [1]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0
  [2]   rust-bin-1.81.0
  [3]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit 695ab2959a0c11be12f73f296753b856f9f3420f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 9 14:48:35 2024 +0000

    2024-11-09 14:48:35 UTC

emerge -qpvO =media-gfx/sane-backends-1.3.1
[ebuild     U ] media-gfx/sane-backends-1.3.1 [1.2.1] USE="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 epsonds 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 2024-11-09 16:04:24 UTC
Created attachment 908308 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-09 16:04:25 UTC
Created attachment 908309 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-09 16:04:27 UTC
Created attachment 908310 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-09 16:04:27 UTC
Created attachment 908311 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-09 16:04:28 UTC
Created attachment 908312 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-09 16:04:29 UTC
Created attachment 908313 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-09 16:04:30 UTC
Created attachment 908314 [details]
media-gfx:sane-backends-1.3.1:20241109-152525.log.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-09 16:04:32 UTC
Created attachment 908315 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-11-09 16:04:33 UTC
Created attachment 908316 [details]
temp.tar.xz
Comment 10 Scott Furry 2024-11-10 13:22:23 UTC
Workaround...

In portage package.use set the following...

media-gfx/sane-backends -sane_backends_pixma

If you are not using a canon pixma scanner, this "should" be a safe option.
Package built fine locally.

See https://packages.gentoo.org/useflags/search?q=sane_backends
Comment 11 Larry the Git Cow gentoo-dev 2024-11-10 13:24:09 UTC
The bug has been closed via the following commit(s):

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

commit be496324f0c3d87e83ce2cfb6da5210062dd0667
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2024-11-10 03:23:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-10 13:23:35 +0000

    media-gfx/sane-backends: use multilib copied sources instead of mixing
    
    Udev already needs them to be copied, so why insist on
    ECONF_SOURCE="${S}" later. Mixing them causes issues if headers are
    generated later on.
    
    * Simplify version setting by using .tarball-version instead of patching
      it.
    
    Closes: https://bugs.gentoo.org/943150
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/sane-backends-1.3.1-verfix.patch         | 23 ----------------------
 ...-1.3.1.ebuild => sane-backends-1.3.1-r1.ebuild} | 12 ++++-------
 2 files changed, 4 insertions(+), 31 deletions(-)