Bug 222635 - The ebuild of dcraw does not install the Gimp plugin correctly
Bug#: 222635 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: WORKSFORME Assigned To: wschlich@gentoo.org Reported By: pgaal@gmx.net
Component: Ebuilds
URL: 
Summary: The ebuild of dcraw does not install the Gimp plugin correctly
Keywords:  
Status Whiteboard: 
Opened: 2008-05-18 12:55 0000
Description:   Opened: 2008-05-18 12:55 0000
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 From Peter GAAL 2008-05-18 13:14:54 0000 -------
Created an attachment (id=153539) [details]
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 From Wolfram Schlich 2008-05-26 11:47:30 0000 -------
(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.