Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 222635

Summary: The ebuild of dcraw does not install the Gimp plugin correctly
Product: Gentoo Linux Reporter: Peter GAAL <pgaal>
Component: New packagesAssignee: Wolfram Schlich (RETIRED) <wschlich>
Status: RESOLVED WORKSFORME    
Severity: normal CC: gengor, tom.gl
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to install the plugin differently

Description Peter GAAL 2008-05-18 12:55:13 UTC
Emerging dcraw-8.73 dies at the stage of installing the Gimp plugin, although the latter is built normally:

>>> Install dcraw-8.73 into /var/tmp/portage/media-gfx/dcraw-8.73/image/ category media-gfx
/usr/bin/install -d /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install dcraw /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install dcparse /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install -d /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/share/man/man1
/usr/bin/install dcraw.1 /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/share/man/man1
/bin/install -c -d /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/lib/gimp/2.0/plug-ins
/usr/bin/gimptool-2.0: line 274: /bin/install: Datei oder Verzeichnis nicht gefunden
/bin/install -c rawphoto /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/lib/gimp/2.0/plug-ins/rawphoto
/usr/bin/gimptool-2.0: line 278: /bin/install: Datei oder Verzeichnis nicht gefunden
/usr/bin/gimptool-2.0: line 278: exec: /bin/install: cannot execute: Datei oder Verzeichnis nicht gefunden
*
* ERROR: media-gfx/dcraw-8.73 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_install
*             environment, line 2074:  Called die
* The specific snippet of code:
*           env DESTDIR="${D}" ${gimptool} --install-admin-bin rawphoto || die "gimptool failed";
*  The die message:
*   gimptool failed
Comment 1 Peter GAAL 2008-05-18 13:14:54 UTC
Created attachment 153539 [details, diff]
Patch to install the plugin differently

The change has been taken from gimp-greycstoration-1.2.7.ebuild. As far as I can see, it is still needed for dcraw-8.83.
Comment 2 Wolfram Schlich (RETIRED) gentoo-dev 2008-05-26 11:47:30 UTC
(In reply to comment #0)
> Emerging dcraw-8.73 dies at the stage of installing the Gimp plugin, although
> the latter is built normally:
> 
> >>> Install dcraw-8.73 into /var/tmp/portage/media-gfx/dcraw-8.73/image/ category media-gfx
> /usr/bin/install -d /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
> /usr/bin/install dcraw /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
> /usr/bin/install dcparse /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
> /usr/bin/install -d
> /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/share/man/man1
> /usr/bin/install dcraw.1
> /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/share/man/man1
> /bin/install -c -d
> /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/lib/gimp/2.0/plug-ins
> /usr/bin/gimptool-2.0: line 274: /bin/install: Datei oder Verzeichnis nicht
> gefunden
> /bin/install -c rawphoto
> /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/lib/gimp/2.0/plug-ins/rawphoto
> /usr/bin/gimptool-2.0: line 278: /bin/install: Datei oder Verzeichnis nicht
> gefunden
> /usr/bin/gimptool-2.0: line 278: exec: /bin/install: cannot execute: Datei oder
> Verzeichnis nicht gefunden
> *
> * ERROR: media-gfx/dcraw-8.73 failed.
> * Call stack:
> *               ebuild.sh, line   49:  Called src_install
> *             environment, line 2074:  Called die
> * The specific snippet of code:
> *           env DESTDIR="${D}" ${gimptool} --install-admin-bin rawphoto || die
> "gimptool failed";
> *  The die message:
> *   gimptool failed

Cannot reproduce this using media-gfx/gimp-2.4.2.
You probably need to remerge gimp.