Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24179 - imcom-1.30_beta9 ebuild breaks within sandbox
Summary: imcom-1.30_beta9 ebuild breaks within sandbox
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Thomas Raschbacher
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-09 08:04 UTC by splite
Modified: 2003-10-01 23:45 UTC (History)
0 users

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


Attachments
replacement imcom-1.31 ebuild (imcom-1.31.ebuild,585 bytes, text/plain)
2003-09-12 11:49 UTC, splite
Details

Note You need to log in before you can comment on or make changes to this bug.
Description splite 2003-07-09 08:04:45 UTC
The imcom-1.30_beta9 ebuild doesn't work in a sandbox, as it tries to install
files manually as the sandbox user.  (As a side note, the imcom web page says
that 1.30_beta9 should be considered the production release, so perhaps it
should be unmasked).  Here's a ebuild patch:

diff -u /usr/portage/net-im/imcom/imcom-1.30_beta9.ebuild imcom-1.30_beta9.ebuild
--- /usr/portage/net-im/imcom/imcom-1.30_beta9.ebuild   2003-05-21
00:01:11.000000000 -0500
+++ imcom-1.30_beta9.ebuild     2003-07-09 09:59:45.000000000 -0500
@@ -18,22 +18,14 @@
 KEYWORDS="~x86 ~ppc"
 IUSE=""
 
-src_unpack() {
-       unpack ${A}
-       cd ${S}
-}
-
-src_compile() {
-    ./configure --prefix=/usr || die "configure failed"
-    #make
-    # fixing it ..
-#   cp ${FILESDIR}/Makefile-1.30_beta8 ${S}/Makefile
-    pwd
-    make
-}
-
 src_install() {
-       dodoc AutoStatus.API CONTRIBUTORS LICENSE README* TODO WHATSNEW
-       dodoc docs/*
-       make MYVER=${MYVER} DESTDIR=${D} install
+       dodir /usr/share/imcom
+       exeinto /usr/share/imcom
+       doexe *.py
+       dodir /usr/share/imcom/modules
+       exeinto /usr/share/imcom/modules
+       doexe modules/*.py
+       dodoc CONTRIBUTORS LICENSE README* TODO WHATSNEW
+       doman docs/imcom.1
+       dobin imcom
 }


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-08-30 20:10:57 UTC
you can probably close this since the beta's aren't in the tree anymore
Comment 2 Thomas Raschbacher gentoo-dev 2003-08-31 00:49:15 UTC
ok .. closing this now..

splite: does 1.31 work for you?
Comment 3 splite 2003-09-12 11:49:49 UTC
Created attachment 17587 [details]
replacement imcom-1.31 ebuild
Comment 4 splite 2003-09-12 11:51:08 UTC
Sorry, I missed your test request.  Yes, 1.31 builds, though it gives a warning: "/usr/lib/portage/bin/dodoc: AutoStatus.API does not exist."  However, the ebuild is still redundant in places and incorrect in others.  RDEPEND isn't set, the docs are installed twice in different places, gzipped html docs are installed, Makefile is unnecessarily replaced.  Please consider using the attached ebuild instead.
Comment 5 Thomas Raschbacher gentoo-dev 2003-10-01 23:45:19 UTC
done ; added -r1