Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125024 - games-server/nwn-ded-1.66.ebuild downloads unpatched nwserver binary
Summary: games-server/nwn-ded-1.66.ebuild downloads unpatched nwserver binary
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-04 17:32 UTC by Davin Boling
Modified: 2006-05-16 14:48 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Davin Boling 2006-03-04 17:32:20 UTC
Attempting to run the nwserver executable on my server generates the following error:

./nwserver: error while loading shared libraries: libktrace-gcc2.96.so.1: cannot open shared object file: No such file or directory


This bug is known to Bioware, as evidenced in the following forum threads:
(multiple pages) http://nwn.bioware.com/forums/viewtopic.html?topic=436038&forum=72


Supposedly new versions of the installers have been posted, though the thread seems to indicate some confusion with the matter.  I'm downloading the latest full *and* patch versions from NWN's official site to test both nwserver binaries for the bug.  Due to the size of these files it will be awhile yet.  I'll post my findings with md5sums when I can.
Comment 1 Davin Boling 2006-03-04 19:13:23 UTC
Short version:
1) linuxserverupdate1xxto166.tar.gz (557e5ea384f6873b6caa9ec0255565d8) contains the correct nwserver binary.
2) The one packaged with NWNDedicatedServer1.66.zip (81b1f7a9d04251678b1aad832c4d3582) is still broken.
3) Suggested fix: Both the full download and the patch are very large files (280M and 183M) respectively, and all the only file needed from the patch version is the nwserver binary.  I don't pretend to know the policies for Gentoo mirrors, but the kindest solution to user bandwidth would be to maintain a custom archive with the fixed binary that is downloaded in addition to the full patch.  Not sure of the legal implications of this; have fun.



Long version:

I downloaded the following two files manually:
http://content.bioware.com/neverwinternights/patch/NWNDedicatedServer1.66.zip
http://content.bioware.com/neverwinternights/linux/166/linuxserverupdate1xxto166.tar.gz

MD5sum output:
81b1f7a9d04251678b1aad832c4d3582  NWNDedicatedServer1.66.zip
557e5ea384f6873b6caa9ec0255565d8  linuxserverupdate1xxto166.tar.gz


MD5 sum matched my existing /usr/portage/distfiles/NWNDedicatedServer1.66.zip.  This was to be expected because the ebuild download URL should have resulted in downloading from the exact same path, but Bioware didn't provide a md5sum on their website so I couldn't be 100% certain that I had an intact archive or the same version of the file (version number was not changed when Bioware corrected the binary, see forum link).

Contained within NWNDedicatedServer1.66.zip is the following file:
c0b826ca6b04556a66574bd032bceb33  linuxdedserver166.tar.gz

linuxdedserver166.tar.gz contains the nwserver binary for Linux:
79c86a4288d5dc9eed2b9924dd96975d  nwserver

I copied this to: /opt/nwn-ded/nwserver.full

This did not match the sum of my local copy.  Curious, considering I didn't install the ebuild over a previous version.

b3d4648edc1fc8a07ecdf4a653ae5327  nwserver



linuxserverupdate1xxto166.tar.gz contains the following version of the same:
f4057f4e0265a75d6108c3fc3d13674a  nwserver

I copied this to: /opt/nwn-ded/nwserver.patch



Despite the difference in MD5 sums, both binaries that came from the full version of the dedicated server have the bug:
./nwserver: error while loading shared libraries: libktrace-gcc2.96.so.1: cannot open shared object file: No such file or directory
./nwserver.full: error while loading shared libraries: libktrace-gcc2.96.so.1: cannot open shared object file: No such file or directory

The version of the nwserver binary that came from the patch version did not have the bug:
/nwserver.patch
Neverwinter Nights Server
Build:8074
Copyright BioWare Corp 1998-2004

Server: Loading...
Server: Running...

quit
Server: Exiting...




I'm not sure what poisoned the md5sum of the nwserver binary I installed earlier today, but the evidence presented above should be conclusive enough to demonstrate that the unbugged binary is only contained within the PATCH version of the 1.66 dedicated server.  The FULL version of the 1.66 dedicated server for Linux is BUGGED.


Sorry for the spam, but best to be safe.
Comment 2 Davin Boling 2006-03-04 19:36:29 UTC
Information passed to nwbugs@bioware.com.  E-mail included a link to this bug thread as well as full textual reproduction.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2006-03-14 14:05:49 UTC
I'll get on this one as soon as I can.  Unfortunately, we won't be able to repack *any* of the files, as they are solely owned by Bioware.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-16 14:48:47 UTC
This should be fixed in 1.67, whihc is now in the tree.  If it is not, please let me know and we'll REOPEN this bug.