Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150336 - x11-misc/icewmcp-3.2 didn't install everything on amd64
Summary: x11-misc/icewmcp-3.2 didn't install everything on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-06 18:57 UTC by Michael Cummings (RETIRED)
Modified: 2008-04-21 15:32 UTC (History)
1 user (show)

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


Attachments
Same problem as above (2,3.97 KB, text/plain)
2008-04-21 15:32 UTC, Rolf S. Arvidson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Cummings (RETIRED) gentoo-dev 2006-10-06 18:57:49 UTC
python: can't open file '/usr/lib/icewmcp-3.2/IceWMCP.py': [Errno 2] No such file or directory

Led me to realize this isn't multilib happy

>>> Install icewmcp-3.2 into /var/tmp/portage/icewmcp-3.2/image/ category x11-misc
cp: target `/var/tmp/portage/icewmcp-3.2/image//usr/lib/icewmcp-3.2' is not a directory
cp: target `/var/tmp/portage/icewmcp-3.2/image//usr/lib/icewmcp-3.2/' is not a directory: No such file or directory
install: omitting directory `/var/tmp/portage/icewmcp-3.2/temp/logging'
>>> Completed installing icewmcp-3.2 into /var/tmp/portage/icewmcp-3.2/image/

This wouldn't work, so...

--- icewmcp-3.2.ebuild  2005-02-03 15:08:25.000000000 -0500
+++ icewmcp-3.2-r1.ebuild       2006-10-06 21:56:33.000000000 -0400
@@ -2,10 +2,12 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/x11-misc/icewmcp/icewmcp-3.2.ebuild,v 1.4 2005/02/03 20:08:25 luckyduck Exp $
 
+inherit multilib
+
 S=${WORKDIR}/INSTALL-IceWMCP
 MY_PN=IceWMControlPanel
-MY_DEST=usr/lib/${P}
-MY_BIN=usr/bin
+MY_DEST="/usr/$(get_libdir)/${P}"
+MY_BIN="/usr/bin"
 
 DESCRIPTION="A complete control panel for IceWM using gtk & python"
 HOMEPAGE="http://icesoundmanager.sourceforge.net/index.php"
@@ -21,8 +23,8 @@ DEPEND="x11-wm/icewm
                >=dev-lang/python-2.2"
 
 src_install() {
-       dodir ${MY_DEST}/
-       dodir ${MY_BIN}/
+       dodir "${MY_DEST}/"
+       dodir "${MY_BIN}/"
        dodoc ${S}/doc/* ${S}/licenses/*
        cp ${S}/* ${D}/${MY_DEST}
        cp -R ${S}/applets ${S}/applet-icons ${S}/help ${S}/icons ${S}/locale ${S}/pixmaps ${D}/${MY_DEST}/


which results in an install that contains the lib stuff (which actually turns out to be quite a bit!)
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-10-11 06:24:53 UTC
Fixed in 3.2-r1, thanks.
Comment 2 Rolf S. Arvidson 2008-04-21 15:32:24 UTC
Created attachment 150505 [details]
Same problem as above

I'm having the same problem, seems to be similar to Krzysiek Pawlik. I'm also on amd64:
>>> Source compiled.
>>> Test phase [not enabled]: x11-misc/icewmcp-3.2-r1

>>> Install icewmcp-3.2-r1 into /var/tmp/portage/x11-misc/icewmcp-3.2-r1/image/ 
category x11-misc
cp: target `/var/tmp/portage/x11-misc/icewmcp-3.2-r1/image//usr/lib64/icewmcp-3.
2' is not a directory
cp: target `/var/tmp/portage/x11-misc/icewmcp-3.2-r1/image//usr/lib64/icewmcp-3.
2/' is not a directory
install: omitting directory `/var/tmp/portage/x11-misc/icewmcp-3.2-r1/temp/loggi
ng'
>>> Completed installing icewmcp-3.2-r1 into /var/tmp/portage/x11-misc/icewmcp-3
.2-r1/image/

...

and /usr/lib64/icewmcp-3.2 is never created.