Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575420 - games-emulation/dolphin-9999: Installer/dolphin-emu.xpm is not a valid file/directory!
Summary: games-emulation/dolphin-9999: Installer/dolphin-emu.xpm is not a valid file/d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Devan Franchini (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-23 01:00 UTC by David Brooke
Modified: 2016-03-24 01:56 UTC (History)
2 users (show)

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


Attachments
Dolphin-emu build log (build.log.tar.gz,33.08 KB, application/gzip)
2016-02-23 01:00 UTC, David Brooke
Details
dolphin-9999.ebuild patch (icon.patch,376 bytes, patch)
2016-02-23 22:45 UTC, Tear♪
Details | Diff
Change the installed icon from xpm to png and svg (dolphin-9999.ebuild.patch,554 bytes, patch)
2016-03-01 01:03 UTC, Christian Widmer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Brooke 2016-02-23 01:00:41 UTC
Created attachment 426276 [details]
Dolphin-emu build log

During the install phase Dolphin errors:
-- Installing: /var/tmp/portage/games-emulation/dolphin-9999/image/usr/games/bin/dolphin-emu-nogui
 * Installer/dolphin-emu.xpm is not a valid file/directory!
 * ERROR: games-emulation/dolphin-9999::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_install
 *   environment, line 4281:  Called doicon 'Installer/dolphin-emu.xpm'
 *   environment, line 1275:  Called _iconins 'doicon' 'Installer/dolphin-emu.xpm'
 *   environment, line  822:  Called die
 * The specific snippet of code:
 *       fi ) || die
 * 
 * If you need support, post the output of `emerge --info '=games-emulation/dolphin-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=games-emulation/dolphin-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/games-emulation/dolphin-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/dolphin-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/games-emulation/dolphin-9999/work/dolphin-9999'
 * S: '/var/tmp/portage/games-emulation/dolphin-9999/work/dolphin-9999'

>>> Failed to emerge games-emulation/dolphin-9999, Log file:

>>>  '/var/tmp/portage/games-emulation/dolphin-9999/temp/build.log'

 * Messages for package games-emulation/dolphin-9999:

 * Installer/dolphin-emu.xpm is not a valid file/directory!
 * ERROR: games-emulation/dolphin-9999::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_install
 *   environment, line 4281:  Called doicon 'Installer/dolphin-emu.xpm'
 *   environment, line 1275:  Called _iconins 'doicon' 'Installer/dolphin-emu.xpm'
 *   environment, line  822:  Called die
 * The specific snippet of code:
 *       fi ) || die
 * 
 * If you need support, post the output of `emerge --info '=games-emulation/dolphin-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=games-emulation/dolphin-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/games-emulation/dolphin-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/dolphin-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/games-emulation/dolphin-9999/work/dolphin-9999'
 * S: '/var/tmp/portage/games-emulation/dolphin-9999/work/dolphin-9999'

See buid log attachment.
Comment 1 Tear♪ 2016-02-23 22:43:10 UTC
I ran into this too. Upstream changed xpm icon to svg and png, attached patch.
Comment 2 Tear♪ 2016-02-23 22:45:23 UTC
Created attachment 426382 [details, diff]
dolphin-9999.ebuild patch
Comment 3 David Brooke 2016-02-24 15:28:25 UTC
I used the ebuild change recommended by tear and this seems to work:
- doicon Installer/dolphin-emu.xpm 
+ doicon Installer/dolphin-emu.svg
Comment 4 Christian Widmer 2016-03-01 01:03:53 UTC
Created attachment 427058 [details, diff]
Change the installed icon from xpm to png and svg

I suggest installing the png icon alongside the svg one as recommended by the freedesktop spec[1] and using the correct scale subdirectories.

[1] https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#install_icons
Comment 5 Devan Franchini (RETIRED) gentoo-dev 2016-03-05 06:04:07 UTC
Done, it should be available in the portage tree in roughly a few hours. I'll keep this open until tomorrow.