Subject: firefox-gtk2 and mozilla-gtk2 fail on OpenBSD 3.6
To: None <tech-pkg@netbsd.org>
From: Lasse Kliemann <lasse-list-tech-pkg-netbsd-2004@plastictree.net>
List: tech-pkg
Date: 01/16/2005 20:08:14
--3lcZGd9BuhuYXNfi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Greetings,

I am (desperately) trying to build and install one of firefox-gtk2 or=20
mozilla-gtk2 on OpenBSD 3.6, using X11_TYPE=3Dxorg with pkgsrc-2004Q4 or=20
pkgsrc-current. The build itself seems to run fine, but when it comes to=20
installation, files seem to be missing. The output is always similar to thi=
s=20
(which was taken from a build of firefox-gtk2 from pkgsrc-current):

[...]
install: /usr/pkgsrc/www/firefox-gtk2/work/mozilla/dist/bin/components/liba=
ccessibility.so: No such file or directory
install: /usr/pkgsrc/www/firefox-gtk2/work/mozilla/dist/bin/components/liba=
ppcomps.so: No such file or directory
install: /usr/pkgsrc/www/firefox-gtk2/work/mozilla/dist/bin/components/liba=
utoconfig.so: No such file or directory
install: /usr/pkgsrc/www/firefox-gtk2/work/mozilla/dist/bin/components/libb=
rowsercomps.so: No such file or directory
install: /usr/pkgsrc/www/firefox-gtk2/work/mozilla/dist/bin/components/libc=
aps.so: No such file or directory
install: /usr/pkgsrc/www/firefox-gtk2/work/mozilla/dist/bin/components/libc=
hrome.so: No such file or directory
install: /usr/pkgsrc/www/firefox-gtk2/work/mozilla/dist/bin/components/libc=
omposer.so: No such file or directory
install: /usr/pkgsrc/www/firefox-gtk2/work/mozilla/dist/bin/components/libc=
ookie.so: No such file or directory
install: /usr/pkgsrc/www/firefox-gtk2/work/mozilla/dist/bin/components/libd=
ocshell.so: No such file or directory
install: /usr/pkgsrc/www/firefox-gtk2/work/mozilla/dist/bin/components/libe=
ditor.so: No such file or directory
install: /usr/pkgsrc/www/firefox-gtk2/work/mozilla/dist/bin/components/libe=
mbedcomponents.so: No such file or directory
[...]

=2E.. and so on; more missing files follow. I have put the full build log o=
nline=20
under http://plastictree.net/tmp/firefox-gtk2-1.0nb2.1105830734.gz

The libraries seem to be there, but only under versioned names. E.g., there=
 is=20
the file www/firefox-gtk2/mozilla/accessible/build/libaccessibility.so.1.0
in the working directory of the build. This is in fact an ELF 32-bit LSB sh=
ared=20
object, as the file command tells me.

I checked for a number of other files in this list with the same result.

The installation ends with the following:

=2E/regxpcom: can't load library 'libnspr4.so.1.0'
=2E/regchrome: can't load library 'libxpcom.so.1.0'
cd /usr/pkg/lib/firefox-gtk2 &&  /usr/bin/env LD_LIBRARY_PATH=3D. MOZILLA_F=
IVE_HOME=3D. HOME=3D/usr/pkgsrc/www/firefox-gtk2/work/mozilla  ./firefox-bi=
n -register
=2E/firefox-bin: can't load library 'libplc4.so.1.0'
*** Error code 4


Thanks for your advice on this!

--=20
Lasse Kliemann
      private homepage: http://plastictree.net
   NO software patents: http://swpat.ffii.org
do NOT use M$ products: http://plastictree.net/articles/noms

--3lcZGd9BuhuYXNfi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFB6rue1gObwed86AkRAu9xAJ99x8zPvnuzi7jfL40Z6O75ncHSdACfaXoC
Lvb5PQCrZd4UD3UYnNTo6BE=
=zaSu
-----END PGP SIGNATURE-----

--3lcZGd9BuhuYXNfi--