Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355581 - games-rpg/nwn-data-1.29-r4 should use eclass to handle CDROMs load
Summary: games-rpg/nwn-data-1.29-r4 should use eclass to handle CDROMs load
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-19 16:07 UTC by Christian
Modified: 2017-11-14 17:39 UTC (History)
3 users (show)

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


Attachments
ebuild patch (nwn-data-1.29-r4.patch,519 bytes, patch)
2011-02-19 16:08 UTC, Christian
Details | Diff
Gentoo ebuild nwn-data-1.29-r4 bug output (gentoo-bug-355581,2.07 KB, text/plain)
2011-09-13 09:44 UTC, needle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian 2011-02-19 16:07:40 UTC
sandbox seems to dislike "mount"-command, which breaks installing. Replaced "mount" with "cat /etc/mtab" and adjustet the awk-command does it fine.
I'll attach the patch for the ebuild
Comment 1 Christian 2011-02-19 16:08:42 UTC
Created attachment 263053 [details, diff]
ebuild patch
Comment 2 SpanKY gentoo-dev 2011-02-19 16:48:41 UTC
really nwn-data should be converted to the existing cdrom funcs in eutils.eclass.  they can already handle multiple alternative sets of discs ... simply look at how quake2-data does it.
Comment 3 Christian 2011-02-20 12:29:22 UTC
sounds nice, maybe i can take a look at it next week.
Comment 4 John Moe 2011-06-29 23:51:45 UTC
I take it this bug got lost in the sands of time?  :-P  Can this ebuild be fixed please?  Or do I just have to patch it myself on my local tree and get it to install that way?
Comment 5 tman 2011-07-19 09:44:37 UTC
yes this patch works, so why now one put it in portage ?

its some month ago
Comment 6 tman 2011-07-19 10:30:56 UTC
installation workd fine but if i start the game i get following error:

/opt/nwn/nwn: line 63: ./nwmain: No such file or directory
Comment 7 needle 2011-09-13 09:40:39 UTC
I ran into the same issue as written above. 
Applied the supplied patch and the installation worked then for me.
Comment 8 needle 2011-09-13 09:44:02 UTC
Created attachment 286317 [details]
Gentoo ebuild nwn-data-1.29-r4 bug output
Comment 9 Andrew 2011-11-30 03:48:24 UTC
I worked around this bug by copying the contents of the CDs to /var/tmp directories and setting the CD_ROOT_1..5 env variables.

sudo env CD_ROOT_1=/var/tmp/cdroot1 ...  emerge nwn nwn-data
Comment 10 Denis Dupeyron (RETIRED) gentoo-dev 2011-12-10 21:54:35 UTC
Fixed in CVS, thanks to everybody and especially Christian. I'm leaving this bug opened due to SpanKY's comment. I may or may not work on that someday.

Sorry about the delay. As surprising as it sounds I did not have hardware powerful enough to run NWN for a long time.

Denis.
Comment 11 Austin English (RETIRED) gentoo-dev 2017-11-14 17:39:07 UTC
games-rpg/nw* has been lastrited.