Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 139981

Summary: games-server/nwn-ded-1.67 tries to unpack wrong tarball
Product: Gentoo Linux Reporter: Humpty Dumpty <dombo>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: vcover
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Humpty Dumpty 2006-07-11 04:16:15 UTC
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 Michael Vogt 2006-07-13 23:33:53 UTC
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 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-16 09:18:22 UTC
d'oh!

Fixed in CVS... thanks guys...