Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833597 - media-gfx/iscan-data-1.39.0.1 - ERROR: media-gfx/iscan-data-1.39.0.1::gentoo failed (install phase):
Summary: media-gfx/iscan-data-1.39.0.1 - ERROR: media-gfx/iscan-data-1.39.0.1::gentoo ...
Status: CONFIRMED
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: PATCH
Depends on:
Blocks:
 
Reported: 2022-02-18 09:24 UTC by Toralf Förster
Modified: 2025-01-13 16:22 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.50 KB, text/plain)
2022-02-18 09:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,109.23 KB, text/plain)
2022-02-18 09:24 UTC, Toralf Förster
Details
environment (environment,56.27 KB, text/plain)
2022-02-18 09:24 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,4.12 KB, application/x-bzip)
2022-02-18 09:24 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,2.46 KB, application/x-bzip)
2022-02-18 09:24 UTC, Toralf Förster
Details
media-gfx:iscan-data-1.39.0.1:20220218-084610.log (media-gfx:iscan-data-1.39.0.1:20220218-084610.log,7.30 KB, text/plain)
2022-02-18 09:24 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,15.32 KB, application/x-bzip)
2022-02-18 09:24 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-02-18 09:24:51 UTC
make[2]: Leaving directory '/var/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0'
make[1]: Leaving directory '/var/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0'
make-policy-file: warning: cannot find udev policy template in default locations
make-policy-file: warning: use --template option to specify a file
 * ERROR: media-gfx/iscan-data-1.39.0.1::gentoo failed (install phase):
 *   (no error message)
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20220216-224816

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
/usr/lib/llvm/13
13.0.1
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.58.1 *
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 9ae2121baa62851ed511e874b70df69527720cb4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Feb 18 07:52:01 2022 +0000

    2022-02-18 07:51:57 UTC

emerge -qpvO media-gfx/iscan-data
[ebuild  N    ] media-gfx/iscan-data-1.39.0.1  USE="udev"
Comment 1 Toralf Förster gentoo-dev 2022-02-18 09:24:52 UTC
Created attachment 765349 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-02-18 09:24:54 UTC
Created attachment 765350 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-02-18 09:24:55 UTC
Created attachment 765351 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-02-18 09:24:56 UTC
Created attachment 765352 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-02-18 09:24:57 UTC
Created attachment 765353 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-02-18 09:24:58 UTC
Created attachment 765354 [details]
media-gfx:iscan-data-1.39.0.1:20220218-084610.log
Comment 7 Toralf Förster gentoo-dev 2022-02-18 09:24:59 UTC
Created attachment 765355 [details]
temp.tar.bz2
Comment 8 Viachaslau Ahrenich 2022-05-27 18:08:15 UTC
This patch fixes the issue. Was able to successfully emerge and use this package.

--- ./iscan-data-1.39.0.1.ebuild        2019-06-05 10:09:59.000000000 +0200
+++ ./iscan-data-1.39.0.1.fixed.ebuild  2022-04-27 21:50:17.000000000 +0200
@@ -37,6 +37,7 @@
                "${D}/usr/$(get_libdir)/iscan-data/make-policy-file" \
                        --force --mode udev \
                        -d "${D}/usr/share/iscan-data/epkowa.desc" \
+                       --template "${D}/usr/share/iscan-data/fdi.xsl" \
                        -o "${D}${rulesdir}/99-iscan.rules" || die
        fi
 }
Comment 9 Raffaello D. Di Napoli 2023-06-24 00:14:19 UTC
Just ran into this. Applying the patch in comment #8 worked for me.
Comment 10 Evan Foss 2024-12-13 05:02:46 UTC
I believe I am hitting this bug now. It's really weird to hit a bug in the install phase. If the patch works why has it not been implemented in the ebuild?

>>> Source compiled.
>>> Test phase [not enabled]: media-gfx/iscan-data-1.39.0.1

>>> Install media-gfx/iscan-data-1.39.0.1 into /tmp/portage/media-gfx/iscan-data-1.39.0.1/image
 * Some profiles automatically enable udev which will cause install
 * to fail if media-gfx/sane-backends is not already installed.
make -j8 -l5 DESTDIR=/tmp/portage/media-gfx/iscan-data-1.39.0.1/image install 
Making install in policy
make[1]: Entering directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0/policy'
make[2]: Entering directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0/policy'
test -z "/usr/lib64/iscan-data" || /usr/bin/mkdir -p "/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/lib64/iscan-data"
test -z "/usr/share/iscan-data" || /usr/bin/mkdir -p "/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data"
 /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 'sled10.custom.fdi' '/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data/sled10.custom.fdi'
 /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c 'make-policy-file' '/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/lib64/iscan-data/make-policy-file'
 /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 'fdi.xsl' '/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data/fdi.xsl'
make[2]: Leaving directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0/policy'
make[1]: Leaving directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0/policy'
make[1]: Entering directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0'
make[2]: Entering directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0'
make[2]: Nothing to be done for 'install-exec-am'.
test -z "/usr/share/iscan-data" || /usr/bin/mkdir -p "/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data"
test -z "/usr/share/iscan-data" || /usr/bin/mkdir -p "/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data"
 /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 'usb' '/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data/usb'
 /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 'epkowa.desc' '/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data/epkowa.desc'
 /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 'scsi' '/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data/scsi'
 /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 'fs-blacklist' '/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data/fs-blacklist'
make  install-data-hook
make[3]: Entering directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0'
if test ! -d /tmp/portage/media-gfx/iscan-data-1.39.0.1/image//usr/share/iscan-data/device; then \
  /usr/bin/mkdir -p /tmp/portage/media-gfx/iscan-data-1.39.0.1/image//usr/share/iscan-data/device; \
fi
/usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 ./device/*.xml \
                /tmp/portage/media-gfx/iscan-data-1.39.0.1/image//usr/share/iscan-data/device
if test x'yes' != x && test -f ./matching; then \
  if test ! -d /tmp/portage/media-gfx/iscan-data-1.39.0.1/image//var/lib/lib/iscan-data; then \
    /usr/bin/mkdir -p /tmp/portage/media-gfx/iscan-data-1.39.0.1/image//var/lib/lib/iscan-data; \
  fi; \
  /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 ./matching /tmp/portage/media-gfx/iscan-data-1.39.0.1/image//var/lib/lib/iscan-data/; \
fi
make[3]: Leaving directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0'
make[2]: Leaving directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0'
make[1]: Leaving directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0'
make-policy-file: warning: cannot find udev policy template in default locations
make-policy-file: warning: use --template option to specify a file
 * ERROR: media-gfx/iscan-data-1.39.0.1::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_install
 *   environment, line 1228:  Called die
 * The specific snippet of code:
 *           "${D}/usr/$(get_libdir)/iscan-data/make-policy-file" --force --mode udev -d "${D}/usr/share/iscan-data/epkowa.desc" -o "${D}${rulesdir}/99-iscan.rules" || die;
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/iscan-data-1.39.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/iscan-data-1.39.0.1::gentoo'`.
 * The complete build log is located at '/tmp/portage/media-gfx/iscan-data-1.39.0.1/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/media-gfx/iscan-data-1.39.0.1/temp/environment'.
 * Working directory: '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0'
 * S: '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0'

>>> Failed to emerge media-gfx/iscan-data-1.39.0.1, Log file:

>>>  '/tmp/portage/media-gfx/iscan-data-1.39.0.1/temp/build.log'
Comment 11 deim 2025-01-13 16:22:19 UTC
same here, patched ebuild builds well.