Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266887 - x11-themes/crystal-2.0.3 fails when kde-4 is installed with prefix USE flag set
Summary: x11-themes/crystal-2.0.3 fails when kde-4 is installed with prefix USE flag set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-20 20:02 UTC by Alex
Modified: 2009-11-10 16:52 UTC (History)
0 users

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 Alex 2009-04-20 20:02:03 UTC
x11-themes/crystal-2.0.3.ebuild

ERROR: install

ERROR: x11-themes/crystal-2.0.3 failed.
Call stack:
              ebuild.sh, line   49:  Called src_install
            environment, line 3123:  Called die
The specific snippet of code:
      mv "${D}"/usr/share/apps/kwin/crystal.desktop "${D}"/usr/share/apps/kwin/crystal-${SLOT}.desktop || die "moving desktop file failed"
 The die message:
  moving desktop file failed
-----
I'am used set and prefix for kde-4.2 (USE='kdeprefix' emerge @kde-4.2). Path to kde4 = /usr/kde/4.2/share/apps/...... Install error...
If change line 22 in ebuild : mv "${D}${PREFIX}"/share/apps/kwin/crystal.desktop \
		  "${D}${PREFIX}"/share/apps/kwin/crystal-${SLOT}.desktop
then install Ok. Package work ! 
Sorry my English. 

Reproducible: Always

Steps to Reproduce:
1. Change line 22 : mv "${D}"/usr/share/apps/kwin/crystal.desktop \
		"${D}"/usr/share/apps/kwin/crystal-${SLOT}.desktop \ 

new line : mv "${D}${PREFIX}"/share/apps/kwin/crystal.desktop \
		  "${D}${PREFIX}"/share/apps/kwin/crystal-${SLOT}.desktop \

2.
3.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-11-10 16:52:56 UTC
2.0.3 isn't in portage anymore, this is fixed by 2.0.5 by simply removing the mv -line entirely (it's not required anymore, since kde3 versions are out of tree)