Subject: problems installing/running mozilla
To: None <tech-pkg@NetBSD.org, port-macppc@NetBSD.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 01/19/2004 19:37:05
Hi!

On an older current system (1.6L) I have trouble with
mozilla since 1.5.1nb1 -- the 1.5.1 binary package I have
lying around still works. 1.6 has the same problem as 1.5.1nb1.

The compilation works fine, but during install, two errors
are shown (for 1.6):

=3D=3D=3D> Checking for vulnerabilities in mozilla-1.6
=3D=3D=3D> Installing for mozilla-1.6
/usr/bin/env HOME=3D"/tmp/www/mozilla/work.powerpc" OBJECT_FMT=3DELF PLIST_=
SRC=3D/usr/pkgsrc/www/mozilla/PLIST SED=3D/usr/bin/sed RM=3D/bin/rm EGREP=
=3D/usr/bin/egrep CHOWN=3D/usr/sbin/chown CHGRP=3D/usr/bin/chgrp CHMOD=3D/b=
in/chmod BINOWN=3Droot BINGRP=3Dwheel BINMODE=3D555 SETENV=3D/usr/bin/env M=
OZILLA=3Dmozilla MOZILLA_BIN=3Dmozilla-bin SO_SUFFIX=3Dso SUNOSLIB=3D"@comm=
ent " BSD_INSTALL_PROGRAM=3D"install -c -s -o root -g wheel -m 555"        =
     BSD_INSTALL_SCRIPT=3D"install -c -o root -g wheel -m 555"             =
            BSD_INSTALL_DATA=3D"install -c -o root -g wheel -m 644"        =
           BSD_INSTALL_MAN=3D"install -c -o root -g wheel -m 444"          =
          BSD_INSTALL=3D"install"                           BSD_INSTALL_PRO=
GRAM_DIR=3D"install -d -o root -g wheel -m 755"    BSD_INSTALL_SCRIPT_DIR=
=3D"install -d -o root -g wheel -m 755"             BSD_INSTALL_DATA_DIR=3D=
"install -d -o root -g wheel -m 755"               BSD_INSTALL_MAN_DIR=3D"i=
nstall -d -o root -g wheel -m 755" CURDIR=3D/usr/pkgsrc/www/mozilla DISTDIR=
=3D/usr/pkgsrc/distfiles  PATH=3D/tmp/www/mozilla/work.powerpc/.tools/bin:/=
tmp/www/mozilla/work.powerpc/.buildlink/bin:/usr/bin:/bin:/usr/pkg/bin:/usr=
/local/bin:/home/wiz/bin:/usr/pkg/bin:/usr/pkg/sbin:/sbin:/usr/sbin:/usr/X1=
1R6/bin:/usr/games:/usr/pkg/java/blackdown-1.3.1/bin:/home/wiz/bin:/usr/pkg=
/bin:/usr/pkg/sbin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/games:/usr/pkg/java/=
blackdown-1.3.1/bin:/home/wiz/bin:/usr/pkg/bin:/usr/pkg/sbin:/sbin:/usr/sbi=
n:/usr/X11R6/bin:/usr/games:/usr/pkg/java/blackdown-1.3.1/bin:/usr/X11R6/bi=
n:/home/wiz/bin:/usr/pkg/bin:/usr/pkg/sbin:/sbin:/usr/sbin:/usr/X11R6/bin:/=
usr/games:/usr/pkg/java/blackdown-1.3.1/bin:/home/wiz/bin:/usr/pkg/bin:/usr=
/pkg/sbin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/games:/usr/pkg/java/blackdown=
-1.3.1/bin:/home/wiz/bin:/usr/pkg/bin:/usr/pkg/sbin:/sbin:/usr/sbin:/usr/X1=
1R6/bin:/usr/games:/usr/pkg/java/blackdown-1.3.1/bin:/home/wiz/bin:/usr/pkg=
/bin:/usr/pkg/sbin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/games:/usr/pkg/java/=
blackdown-1.3.1/bin:/home/wiz/bin:/usr/pkg/bin:/usr/pkg/sbin:/sbin:/usr/sbi=
n:/usr/X11R6/bin:/usr/games:/usr/pkg/java/blackdown-1.3.1/bin:/home/wiz/bin=
:/usr/pkg/bin:/usr/pkg/sbin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/games:/usr/=
pkg/java/blackdown-1.3.1/bin:/usr/pkg/bin:/usr/X11R6/bin  WRKDIR=3D/tmp/www=
/mozilla/work.powerpc WRKSRC=3D/tmp/www/mozilla/work.powerpc/mozilla PATCHD=
IR=3D/usr/pkgsrc/www/mozilla/patches  SCRIPTDIR=3D/usr/pkgsrc/www/mozilla/s=
cripts FILESDIR=3D"../../www/mozilla/files"  _PKGSRCDIR=3D/usr/pkgsrc DEPEN=
DS=3D"jpeg>=3D6b:../../graphics/jpeg png>=3D1.2.4:../../graphics/png gdk-pi=
xbuf>=3D0.22.0nb2:../../graphics/gdk-pixbuf tiff>=3D3.6.1:../../graphics/ti=
ff gtk+>=3D1.2.10:../../x11/gtk glib>=3D1.2.10nb5:../../devel/glib pth>=3D2=
.0.0:../../devel/pth ORBit>=3D0.5.15nb5:../../net/ORBit Xft2>=3D2.1nb1:../.=
./fonts/Xft2 fontconfig>=3D2.1nb1:../../fonts/fontconfig expat>=3D1.95.4:..=
/../textproc/expat Xrender>=3D0.8.2:../../x11/Xrender"  PREFIX=3D/usr/pkg L=
OCALBASE=3D/usr/pkg X11BASE=3D/usr/X11R6 /bin/sh "../../www/mozilla/files"/=
moz-install
nsNativeComponentLoader: SelfRegisterDll(libgfx_gtk.so) Load FAILED with er=
ror: /usr/pkg/lib/mozilla/components/libgfx_gtk.so: Unsupported relocation =
type 6 in non-PLT relocations

*** Registering -webcal handler.
*** Registering text/calendar handler.
*** Registering webcal protocol handler.
nsNativeComponentLoader: SelfRegisterDll(libgfx_gtk.so) Load FAILED with er=
ror: /usr/pkg/lib/mozilla/components/libgfx_gtk.so: Unsupported relocation =
type 6 in non-PLT relocations

=3D=3D=3D> [Automatic manual page handling]
=3D=3D=3D> Compressing manual pages for mozilla-1.6
=3D=3D=3D> [Automatic ELF shared object handling]
=3D=3D=3D> Registering installation for mozilla-1.6
mozilla-1.6 requires installed package ORBit-0.5.15nb6
mozilla-1.6 requires installed package Xft2-2.1.2nb1
mozilla-1.6 requires installed package Xrender-0.8.3nb1
mozilla-1.6 requires installed package expat-1.95.6nb1
mozilla-1.6 requires installed package fontconfig-2.2.1nb3
mozilla-1.6 requires installed package freetype2-2.1.5
mozilla-1.6 requires installed package gdk-pixbuf-0.22.0nb2
mozilla-1.6 requires installed package glib-1.2.10nb5
mozilla-1.6 requires installed package gtk+-1.2.10nb6
mozilla-1.6 requires installed package jpeg-6bnb1
mozilla-1.6 requires installed package png-1.2.5nb2
mozilla-1.6 requires installed package pth-2.0.0
mozilla-1.6 requires installed package tiff-3.6.1

For 1.5.1nb1 it's the same, but the 3 'Registering' lines are not there.

Starting mozilla just does nothing -- the prompt doesn't return, but no
new window appears.

I put two files on ftp.netbsd.org:/pub/NetBSD/misc/wiz
182319 Jan 19 18:22 mozilla-1.5.1nb1-build-screenlog.bz2
332811 Jan 19 18:22 mozilla.ktrace-di.bz2
The first is the screen log of the build (except the very first
part of the configury), and the second is the kdump output of
``ktrace -di mozilla''.

Since 1.5.1 works but 1.5.1nb1 doesn't, could it have something
to do with the added Xinerama support?

Cheers,
 Thomas