Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25162 - app-games/nwn ebuild is busticated for "nowin" users
Summary: app-games/nwn ebuild is busticated for "nowin" users
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-23 22:16 UTC by Daniel Mannarino
Modified: 2003-08-14 19:45 UTC (History)
0 users

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


Attachments
nwn-1.30.ebuild (Fixed ebuild) (nwn-1.30.ebuild,2.52 KB, text/plain)
2003-08-02 13:32 UTC, Daniel Mannarino
Details
nwn-1.30.ebuild (Fixed ebuild) (nwn-1.30.ebuild,2.52 KB, text/plain)
2003-08-02 13:34 UTC, Daniel Mannarino
Details
new nwn ebuild (nwn-1.30-r1.ebuild,2.49 KB, text/plain)
2003-08-13 15:14 UTC, Tony Murray
Details
new nwn ebuild (nwn-1.30-r1.ebuild,2.49 KB, text/plain)
2003-08-13 15:18 UTC, Tony Murray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Mannarino 2003-07-23 22:16:52 UTC
The first problem is one of paths.
nwresources129.tar.gz was tarred from the parent directory of nwn, while
nwclient129.tar.gz was tarred from within it (thus, the unpack statement
which decompresses the stuff for people with "nowin" set does so into an
extra "nwn" subdirectory).  I fixed this in src_unpack.

The second is the fact that files in the nwn/lib and nwn/miles directories
wind-up not owned by games:games as they should be.  I spent hours trying
to figure out why, and still have not.  It does not bite Windows users
because they run fixinstall, which more than takes care of that.  "nowin"
users are not told they have to though.  I added something at the end to
fix this.  I would have done so earlier in the ebuild, but I couldn't get
it to stick, and am tired of it.  Make it more elegant if you don't like
it.  ::)

All this is fine and dandy, but with  my final ebuild nwn no longer
accepts my CD Keycode.  I don't know why.  Maybe we should just
break-down and run fixinstall at the end for "nowin" users?  Or even
all users?  An extra run wouldn't hurt.  I don't feel like tracking-
down which file needs the chmod that fixinstall does to save my
keycode, bu fixinstall is probably over-kill.

In any case, I'm tired of it and I was supposed to get up early next
(this, now) morning.  Debugging ebuilds which shuffle gigs of data
is time-consuming.  :;)

-- Daniel Mannarino

Reproducible: Always
Steps to Reproduce:
1.USE=nowin sudo emerge nwn
2.nwn
3.
Actual Results:  
./nwmain: error while loading shared libraries: libmss.so.6: cannot open shared 
object file: No such file or directory

Expected Results:  
Fun  ::)
Comment 1 Daniel Mannarino 2003-08-02 13:32:44 UTC
Created attachment 15387 [details]
nwn-1.30.ebuild (Fixed ebuild)

Sorry, I forgot to attach the ebuild  :;)

This one runs fixinstall for nowin users at the end, and fixes the path issue.
Tested.

-- Daniel Mannarino
Comment 2 Daniel Mannarino 2003-08-02 13:34:08 UTC
Created attachment 15389 [details]
nwn-1.30.ebuild (Fixed ebuild)

Oops, sorry I forgot to attach this last week.	:;)
Both issues fixed though.

-- Daniel Mannarino
Comment 3 Tony Murray 2003-08-13 15:14:47 UTC
Created attachment 16070 [details]
new nwn ebuild

I fixed this myself before looking, my fix is much more gracefull and proper,
so that is why I am submitting it.

Please update portage, possibly without bumping it to r1, so people who didn't
use nowin won't have to re-emerge ;)

Tony
Comment 4 Tony Murray 2003-08-13 15:18:17 UTC
Created attachment 16071 [details]
new nwn ebuild

I fixed this myself before looking, my fix is much more gracefull and proper,
so that is why I am submitting it.

Please update portage, possibly without bumping it to r1, so people who didn't
use nowin won't have to re-emerge ;)

Tony
Comment 5 Tony Murray 2003-08-14 12:31:30 UTC
Sorry, about the double post...

My ebuild seems to work, except the permessions need to be changed chmod -R g+w /opt/nwn to make it work...
Comment 6 SpanKY gentoo-dev 2003-08-14 19:45:09 UTC
ok, ive been trying to make space on my hd so i can test this out, but thats really never gonna happen :/

so i apologize for the time lag in getting this into cvs, but it is there now

thanks :)