Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6442 - Fortune-mod-{homer,simpson-chalkboard,starwars} fails to build properly
Summary: Fortune-mod-{homer,simpson-chalkboard,starwars} fails to build properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: José Alberto Suárez López
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-13 23:40 UTC by Lim Swee Tat (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
Corrected ebuild for fortune-mod-homer (fortune-mod-homer-0.1.ebuild,489 bytes, text/plain)
2002-08-13 23:42 UTC, Lim Swee Tat (RETIRED)
Details
Corrected ebuild for fortune-mod-simpson-chalkboard (fortune-mod-simpsons-chalkboard-0.1.ebuild,593 bytes, text/plain)
2002-08-13 23:43 UTC, Lim Swee Tat (RETIRED)
Details
Corrected fortune-mod-starwars ebuild (fortune-mod-starwars-0.1.ebuild,698 bytes, text/plain)
2002-08-13 23:44 UTC, Lim Swee Tat (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lim Swee Tat (RETIRED) gentoo-dev 2002-08-13 23:40:51 UTC
The build comes up with the following errors:
>>> Install fortune-mod-homer-0.1 into /tmp/portage/fortune-mod-homer-0.1/image/
category app-games
install: cannot stat `fortune-homer/homer': No such file or directory
install: cannot stat `fortune-homer/homer.dat': No such file or directory
strip:
>>> Completed installing into /tmp/portage/fortune-mod-homer-0.1/image/

This can be solved by doing the following patch:

--- /usr/portage/app-games/fortune-mod-homer/fortune-mod-homer-0.1.ebuild      
Wed Aug 14 04:20:11 2002
+++ fortune-mod-homer-0.1.ebuild        Wed Aug 14 12:20:35 2002
@@ -1,7 +1,7 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2

-S=${WORKDIR}/${P}
+S=${WORKDIR}/${PN/mod-/}
 DESCRIPTION="Quotes from Homer Simpson"
 SRC_URI="http://www.cs.indiana.edu/~crcarter/homer/homer-quotes.tar.gz"
 HOMEPAGE="http://www.cs.indiana.edu/~crcarter/homer/homer.html"
@@ -13,8 +13,7 @@
 LICENSE="GPL-2"

 src_install () {
-
        insinto /usr/share/fortune
-       doins fortune-homer/homer fortune-homer/homer.dat
+       doins homer homer.dat

 }
Comment 1 Lim Swee Tat (RETIRED) gentoo-dev 2002-08-13 23:42:29 UTC
Created attachment 3063 [details]
Corrected ebuild for fortune-mod-homer

You should rename this file as fortune-mod-homer-0.1-r1.ebuild
Comment 2 Lim Swee Tat (RETIRED) gentoo-dev 2002-08-13 23:43:22 UTC
Created attachment 3064 [details]
Corrected ebuild for fortune-mod-simpson-chalkboard

Please rename this as fortune-mod-simpson-chalkboard-0.1-r1.ebuild before using
Comment 3 Lim Swee Tat (RETIRED) gentoo-dev 2002-08-13 23:44:07 UTC
Created attachment 3065 [details]
Corrected fortune-mod-starwars ebuild

Please name this as fortune-mod-starwars-0.1-r1.ebuild before continuing.