Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509782 - games-util/gtkevemon-9999 - src_install(): doicon: icon/gtkevemon.png is not a valid file/directory!
Summary: games-util/gtkevemon-9999 - src_install(): doicon: icon/gtkevemon.png is not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alex Alexander (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-07 12:17 UTC by Zentoo
Modified: 2014-05-08 00:44 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zentoo 2014-05-07 12:17:36 UTC
Emerge of games-util/gtkevemon-9999 ebuild failed at src_install/doicon step because it try to do "doicon icon/${PN}.png" instead of "doicon icon/${PN}.svg".

The file format of the icon is now SVG and not anymore PNG.


Solution is really easy:

Replace the following line in src_install function of the ebuild:
   doicon icon/${PN}.png
By:
   doicon icon/${PN}.svg


Reproducible: Always

Steps to Reproduce:
1. ACCEPT_KEYWORDS="*" emerge -av games-util/gtkevemon
2. 
3.
Actual Results:  
emerge finish with this error:

>>> Install gtkevemon-9999 into /gentoo/tmp/portage/games-util/gtkevemon-9999/image/ category games-util
 * icon/gtkevemon.png is not a valid file/directory!
 * ERROR: games-util/gtkevemon-9999::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 1972:  Called doicon 'icon/gtkevemon.png'
 *   environment, line  410:  Called _iconins 'doicon' 'icon/gtkevemon.png'
 *   environment, line  302:  Called die
 * The specific snippet of code:
 *       fi ) || die


Expected Results:  
>>> Install gtkevemon-9999 into /gentoo/tmp/portage/games-util/gtkevemon-9999/image/ category games-util
>>> Completed installing gtkevemon-9999 into /gentoo/tmp/portage/games-util/gtkevemon-9999/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   usr/bin/gtkevemon
ecompressdir: /usr/bin/pbzip2 -9 /usr/share/doc
./
./usr/
./usr/share/
./usr/share/doc/
./usr/share/doc/gtkevemon-9999/
./usr/share/doc/gtkevemon-9999/CHANGES.bz2
./usr/share/doc/gtkevemon-9999/README.bz2
./usr/share/doc/gtkevemon-9999/TODO.bz2
./usr/share/applications/
./usr/share/applications/gtkevemon.desktop
./usr/share/pixmaps/
./usr/share/pixmaps/gtkevemon.svg
./usr/bin/
./usr/bin/gtkevemon
>>> Done.
Comment 1 Alex Alexander (RETIRED) gentoo-dev 2014-05-08 00:44:47 UTC
fixed, thanks :)