Subject: www/navigator 4.76 package fails
To: None <current-users@netbsd.org>
From: Olaf Seibert <rhialto@polderland.nl>
List: current-users
Date: 11/20/2000 18:44:16
NetBSD klei.intern.polderland.nl 1.4.2 NetBSD 1.4.2 (KIELDRECHT) #11: Wed Jul 19 14:00:31 CEST 2000     root@kieldrecht:/usr/src/sys/arch/i386/compile/KIELDRECHT i386

The distfile for the www/navigator package apparently changed (ftpd from
ftp.netscape.org, after trying lots of other ftp locations). The md5
checksum does not match. When you ignore that, installation fails.

install -c -o root -g wheel -m 444 /usr/tmp/www/navigator/work/navigator-v476.x8
6-unknown-linux2.2/scd10.jar /usr/pkg/lib/netscape/navigator-4.76/java/classes
cd /usr/pkg/lib/netscape/navigator-4.76 ; /usr/bin/tar xpzf /usr/tmp/www/navigator/work/navigator-v476.x86-unknown-linux2.2/nethelp-v476.nif
cd /usr/pkg/lib/netscape/navigator-4.76 ; /usr/bin/tar --exclude '*dynMotif*' -xpzf /usr/tmp/www/navigator/work/navigator-v476.x86-unknown-linux2.2/netscape-v476.nif

... here something goes wrong:
/usr/bin/tar: Skipping to next file header...

/usr/bin/sed -e 's#@@MOZILLA_HOME@@#/usr/pkg/lib/netscape/navigator-4.76#g'  -e 's#@@NS_PLUGINS_DIR@@#/usr/pkg/lib/netscape/plugins#g'  </usr/src/pkgsrc/www/navigator/files/navigator.sh >/usr/tmp/www/navigator/work/navigator.sh

... this fails, because the bookmarks.html file is not present:
cd /usr/pkg/lib/netscape/navigator-4.76 ; /usr/bin/patch -s < /usr/src/pkgsrc/www/navigator/files/bookmarks.patch
File to patch: /dev/null

If I work around this, then later on I get 

ls: /usr/pkg/lib/netscape/navigator-4.76/Netscape.ad: No such file or directory
ls: /usr/pkg/lib/netscape/navigator-4.76/XKeysymDB: No such file or directory
ls: /usr/pkg/lib/netscape/navigator-4.76/bookmark.htm: No such file or directory
ls: /usr/pkg/lib/netscape/navigator-4.76/java/classes/aix/font.properties: No such file or directory
ls: /usr/pkg/lib/netscape/navigator-4.76/java/classes/aix/font.properties.cs: No such file or directory
ls: /usr/pkg/lib/netscape/navigator-4.76/java/classes/aix/font.properties.hu: No such file or directory
ls: /usr/pkg/lib/netscape/navigator-4.76/java/classes/aix/font.properties.ja: No such file or directory

and lots more of these, and then

===> Registering installation for navigator-4.76
pkg_create: can't stat `/usr/pkg/lib/netscape/navigator-4.76/Netscape.ad'
pkg_create: can't stat `/usr/pkg/lib/netscape/navigator-4.76/XKeysymDB'
pkg_create: can't stat `/usr/pkg/lib/netscape/navigator-4.76/bookmark.htm'
pkg_create: can't stat `/usr/pkg/lib/netscape/navigator-4.76/java/classes/aix/font.properties'
pkg_create: can't stat `/usr/pkg/lib/netscape/navigator-4.76/java/classes/aix/font.properties.cs'

Running it, finally, produces

$ netscape
BUG IN DYNAMIC LINKER ld.so: dynamic-link.h: 57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed!


-Olaf.
-- 
___ Olaf 'Rhialto' Seibert - rhialto@polder    -- Ah only did well at school
\X/ land.nl       -- tae git intae an O level class tae git away fae Begbie.
Hi! I am a .signature virus. Copy me into your .signature to help me spread.