Bug 139981 - games-server/nwn-ded-1.67 tries to unpack wrong tarball
Bug#: 139981 Product:  Gentoo Linux Version: 2006.0 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: dombo@gmx.at
Component: Games
URL: 
Summary: games-server/nwn-ded-1.67 tries to unpack wrong tarball
Keywords:  
Status Whiteboard: 
Opened: 2006-07-11 04:16 0000
Description:   Opened: 2006-07-11 04:16 0000
Version 1.66 seems to be buggy:
# ./nwserver: error while loading shared libraries: libktrace-gcc2.96.so.1:
cannot open shared object file: No such file or directory
(e.g. see
http://nwn.bioware.com/forums/viewtopic.html?topic=436038&forum=72&highlight=)

This bug is fixed in 1.67, so i tried
# emerge =nwn-ded-1.67
Calculating dependencies   ... done!
>>> Emerging (1 of 1) games-server/nwn-ded-1.67 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking NWNDedicatedServer1.67.zip ;-)
>>> checking NWNEnglish1.67dialog.zip ;-)
>>> Unpacking source...
>>> Unpacking NWNDedicatedServer1.67.zip to /var/tmp/portage/nwn-ded-1.67/work
tar: linuxdedserver166.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

!!! ERROR: games-server/nwn-ded-1.67 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_unpack
  ebuild.sh, line 711:   Called src_unpack
  nwn-ded-1.67.ebuild, line 40:   Called die

!!! unpack linuxdedserver
!!! If you need support, post the topmost build error, and the call stack if
relevant.

This is just a wrong filename in the ebuild. To temporary fix this just edit
"/usr/portage/games-server/nwn-ded/nwn-ded-1.67.ebuild"
and change line 40 from
    tar -zxf linuxdedserver166.tar.gz || die "unpack linuxdedserver"
to
    tar -zxf linuxdedserver167.tar.gz || die "unpack linuxdedserver"
then
# ebuild /usr/portage/games-server/nwn-ded/nwn-ded-1.67.ebuild digest

------- Comment #1 From Michael Vogt 2006-07-13 23:33:53 0000 -------
Yes, I can confirm that. NWNDedicatedServer1.67 unpacks
linuxdedserver167.tar.gz, the mentioned fix (tar -zxf linuxdedserver166.tar.gz
=> tar -zxf linuxdedserver167.tar.gz) works.

------- Comment #2 From Chris Gianelloni (RETIRED) 2006-07-16 09:18:22 0000 -------
d'oh!

Fixed in CVS... thanks guys...