Bug 25162 - app-games/nwn ebuild is busticated for "nowin" users
|
Bug#:
25162
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: thesnark@operamail.com
|
|
Component: Games
|
|
|
URL:
|
|
Summary: app-games/nwn ebuild is busticated for "nowin" users
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-07-23 22:16 0000
|
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 ::)
Created an attachment (id=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
Created an attachment (id=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
Created an attachment (id=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
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...
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 :)