Subject: firefox-gtk not finding extensions files for install
To: None <taya@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 07/22/2004 09:55:37
This is under Linux using LOCALBASE as /usr. firefox-gtk2 appeared to
build fine, but the install failed:
=3D=3D=3D> Becoming root@puget.reedmedia.net to install firefox-gtk2.
/usr/bin/sudo Password:
/bin/cp -r /scratch/pkgsrc/www/firefox-gtk2/work.puget/mozilla/dist/bin/def=
aults/profile/extensions /scratch/pkgsrc/www/firefox-gtk2/work.puget/mozil=
la/dist/bin
/bin/mv /scratch/pkgsrc/www/firefox-gtk2/work.puget/mozilla/dist/bin/extens=
ions/installed-extensions.txt /scratch/pkgsrc/www/firefox-gtk2/work.puget/=
mozilla/dist/bin/extensions/installed-extensions-processed.txt
/usr/bin/env HOME=3D"/scratch/pkgsrc/www/firefox-gtk2/work.puget" OBJECT_FM=
T=3DELF PLIST_SRC=3D/usr/pkgsrc/www/firefox-gtk2/PLIST SED=3D/bin/sed RM=3D=
/bin/rm EGREP=3D/usr/bin/egrep CHOWN=3D/bin/chown CHGRP=3D/bin/chgrp CHMOD=
=3D/bin/chmod BINOWN=3Droot BINGRP=3Droot BINMODE=3D555 SETENV=3D/usr/bin/e=
nv MOZILLA=3Dfirefox-gtk2 MOZILLA_BIN=3Dfirefox-bin SO_SUFFIX=3Dso SUNOSLIB=
=3D"@comment " BSD_INSTALL_PROGRAM=3D"install -c -s -o root -g root -m 555"=
BSD_INSTALL_SCRIPT=3D"install -c -o root -g root -m 555" BSD_IN=
STALL_LIB=3D"install -c -o root -g root -m 555" BSD_IN=
STALL_DATA=3D"install -c -o root -g root -m 644" BSD_INS=
TALL_MAN=3D"install -c -o root -g root -m 444" BSD_INST=
ALL=3D"install" BSD_INSTALL_PROGRAM_DIR=3D"install -d -o root -g root -m 7=
55" BSD_INSTALL_SCRIPT_DIR=3D"install -d -o root -g root -m 755" =
BSD_INSTALL_LIB_DIR=3D"in
stall -d -o root -g root -m 755" BSD_INSTALL_DATA_DIR=3D"in=
stall -d -o root -g root -m 755" BSD_INSTALL_MAN_DIR=3D"inst=
all -d -o root -g root -m 755" BSD_INSTALL_GAME=3D"install =
-c -s -o root -g root -m 555" CURDIR=3D/usr/pkgsrc/www/firefox-gtk2 DISTDIR=
=3D/usr/pkgsrc/distfiles PATH=3D/scratch/pkgsrc/www/firefox-gtk2/work.puge=
t/.buildlink/bin:/scratch/pkgsrc/www/firefox-gtk2/work.puget/.tools/bin:/sc=
ratch/pkgsrc/www/firefox-gtk2/work.puget/.gcc/bin:/bin:/usr/bin:/usr/sbin:/=
sbin:/usr/X11R6/bin:/sbin:/usr/sbin:/usr/bin:/usr/X11R6/bin WRKDIR=3D/scra=
tch/pkgsrc/www/firefox-gtk2/work.puget WRKSRC=3D/scratch/pkgsrc/www/firefox=
-gtk2/work.puget/mozilla PATCHDIR=3D/usr/pkgsrc/www/firefox-gtk2/../../www/=
firefox/patches SCRIPTDIR=3D/usr/pkgsrc/www/firefox-gtk2/scripts FILESDIR=
=3D"../../www/mozilla/files" _PKGSRCDIR=3D/usr/pkgsrc DEPENDS=3D" freetype=
2>=3D2.1.8:../../graphics/freetype2 jpeg>=3D6b:../../graphics/jpeg png>=3D1=
=2E2.4:../../graphics/png libIDL>=3D0.8.3nb1:../../net/libIDL gtk2+>=3D2.4.=
0:../../x11/gtk2 gcc3-c>=3D3.3.3:../../lang/gcc3-c gcc3-c++>=3D3.3.3:../../=
lang/gcc3-c++ Xft2>=3D2.1nb1:../../fonts/Xft2 XFree86-libs>=3D4.4.0:../../x=
11/XFree86-libs" PREFIX=3D/usr LOCALBASE=3D/usr X11BASE=3D/usr/X11R6 VIEW=
BASE=3D/usr /bin/sh "../../www/mozilla/files"/moz-install
install: cannot stat `/scratch/pkgsrc/www/firefox-gtk2/work.puget/mozilla/d=
ist/bin/extensions/Extensions.rdf': No such file or directory
install: cannot stat `/scratch/pkgsrc/www/firefox-gtk2/work.puget/mozilla/d=
ist/bin/extensions/installed-extensions-processed.txt': No such file or dir=
ectory
install: cannot stat `/scratch/pkgsrc/www/firefox-gtk2/work.puget/mozilla/d=
ist/bin/extensions/{641d8d09-7dda-4850-8228-ac0ab65e2ac9}/install.rdf': No =
such file or directory
install: cannot stat `/scratch/pkgsrc/www/firefox-gtk2/work.puget/mozilla/d=
ist/bin/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf': No =
such file or directory
Then:
=3D=3D=3D> Registering installation for firefox-gtk2-0.9.1nb1
pkg_create: can't stat `/usr/lib/firefox-gtk2/extensions/Extensions.rdf'
pkg_create: can't stat `/usr/lib/firefox-gtk2/extensions/installed-extensio=
ns-processed.txt'
pkg_create: can't stat `/usr/lib/firefox-gtk2/extensions/{641d8d09-7dda-485=
0-8228-ac0ab65e2ac9}/install.rdf'
pkg_create: can't stat `/usr/lib/firefox-gtk2/extensions/{972ce4c6-7e08-447=
4-a285-3208198ce6fd}/install.rdf'
The file listings are like:
74267 2 -rw-r--r-- 1 reed reed 1197 Jun 14 14:11 work.pug=
et/mozilla/browser/app/profile/extensions/{641d8d09-7dda-4850-8228-ac0ab65e=
2ac9}/install.rdf
474590 2 -rw-r--r-- 1 reed reed 1146 Jul 22 02:37 work.pug=
et/mozilla/browser/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198c=
e6fd}/install.rdf
83995 1 lrwxr-xr-x 1 reed reed 101 Jul 22 02:37 work.pug=
et/mozilla/dist/bin/defaults/profile/extensions/{641d8d09-7dda-4850-8228-ac=
0ab65e2ac9}/install.rdf -> ../../../../../../browser/app/profile/extensions=
/{641d8d09-7dda-4850-8228-ac0ab65e2ac9}/./install.rdf
83997 1 lrwxr-xr-x 1 reed reed 99 Jul 22 02:37 work.pug=
et/mozilla/dist/bin/defaults/profile/extensions/{972ce4c6-7e08-4474-a285-32=
08198ce6fd}/install.rdf -> ../../../../../../browser/app/profile/extensions=
/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf
84019 1 lrwxrwxrwx 1 root root 101 Jul 22 08:49 work.pug=
et/mozilla/dist/bin/extensions/{641d8d09-7dda-4850-8228-ac0ab65e2ac9}/insta=
ll.rdf -> ../../../../../../browser/app/profile/extensions/{641d8d09-7dda-4=
850-8228-ac0ab65e2ac9}/./install.rdf
84021 1 lrwxrwxrwx 1 root root 99 Jul 22 08:49 work.pug=
et/mozilla/dist/bin/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/insta=
ll.rdf -> ../../../../../../browser/app/profile/extensions/{972ce4c6-7e08-4=
474-a285-3208198ce6fd}/install.rdf
lrwxrwxrwx 1 root root 62 Jul 22 08:49 work.puget/mozilla/dist/bin/exten=
sions/Extensions.rdf -> ../../../../../browser/app/profile/extensions/./Ext=
ensions.rdf
lrwxrwxrwx 1 root root 72 Jul 22 08:49 work.puget/mozilla/dist/bin/exten=
sions/installed-extensions-processed.txt -> ../../../../../browser/app/prof=
ile/extensions/./installed-extensions.txt
work.puget/mozilla/dist/bin/extensions/{641d8d09-7dda-4850-8228-ac0ab65e2ac=
9}:
total 4
lrwxrwxrwx 1 root root 101 Jul 22 08:49 install.rdf -> ../../../../../../b=
rowser/app/profile/extensions/{641d8d09-7dda-4850-8228-ac0ab65e2ac9}/./inst=
all.rdf
work.puget/mozilla/dist/bin/extensions/{972ce4c6-7e08-4474-a285-3208198ce6f=
d}:
total 4
lrwxrwxrwx 1 root root 99 Jul 22 08:49 install.rdf -> ../../../../../../br=
owser/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install=
=2Erdf
ls -l work.puget/mozilla/dist/bin/extensions/
total 16
lrwxrwxrwx 1 root root 62 Jul 22 08:49 Extensions.rdf ->
=2E./../../../../browser/app/profile/extensions/./Extensions.rdf
lrwxrwxrwx 1 root root 72 Jul 22 08:49
installed-extensions-processed.txt ->
=2E./../../../../browser/app/profile/extensions/./installed-extensions.txt
drwxr-xr-x 2 root root 4096 Jul 22 08:49
{641d8d09-7dda-4850-8228-ac0ab65e2ac9}
drwxr-xr-x 2 root root 4096 Jul 22 08:49
{972ce4c6-7e08-4474-a285-3208198ce6fd}
My manual workaround:
reed@puget:/usr/pkgsrc/www/firefox-gtk2$ find work.puget/mozilla/ -name
"Extensions.rdf" -ls
74257 1 -rw-r--r-- 1 reed reed 226 May 16 11:16
work.puget/mozilla/browser/app/profile/extensions/Extensions.rdf
255130 1 -rw-r--r-- 1 reed reed 226 May 19 21:01
work.puget/mozilla/mail/app/profile/extensions/Extensions.rdf
83998 1 lrwxr-xr-x 1 reed reed 62 Jul 22 02:37
work.puget/mozilla/dist/bin/defaults/profile/extensions/Extensions.rdf ->
=2E./../../../../browser/app/profile/extensions/./Extensions.rdf
84022 1 lrwxrwxrwx 1 root root 62 Jul 22 08:49
work.puget/mozilla/dist/bin/extensions/Extensions.rdf ->
=2E./../../../../browser/app/profile/extensions/./Extensions.rdf
reed@puget:/usr/pkgsrc/www/firefox-gtk2$
diff -u work.puget/mozilla/browser/app/profile/extensions/Extensions.rdf
work.puget/mozilla/mail/app/profile/extensions/Extensions.rdf
reed@puget:/usr/pkgsrc/www/firefox-gtk2$ sudo cp
work.puget/mozilla/mail/app/profile/extensions/Extensions.rdf
/usr/lib/firefox-gtk2/extensions/Extensions.rdf
reed@puget:/usr/pkgsrc/www/firefox-gtk2$ find work.puget/mozilla/ -name
"installed-extensions-processed.txt" -ls
84023 1 lrwxrwxrwx 1 root root 72 Jul 22 08:49
work.puget/mozilla/dist/bin/extensions/installed-extensions-processed.txt
->
=2E./../../../../browser/app/profile/extensions/./installed-extensions.txt
reed@puget:/usr/pkgsrc/www/firefox-gtk2$ find work.puget/mozilla/ -name
"installed-extensions.txt" -ls
74259 1 -rw-r--r-- 1 reed reed 94 May 16 11:16
work.puget/mozilla/browser/app/profile/extensions/installed-extensions.txt
255132 1 -rw-r--r-- 1 reed reed 45 May 19 21:01
work.puget/mozilla/mail/app/profile/extensions/installed-extensions.txt
83999 1 lrwxr-xr-x 1 reed reed 72 Jul 22 02:37
work.puget/mozilla/dist/bin/defaults/profile/extensions/installed-extension=
s.txt
->
=2E./../../../../browser/app/profile/extensions/./installed-extensions.txt
reed@puget:/usr/pkgsrc/www/firefox-gtk2$ sudo cp
work.puget/mozilla/mail/app/profile/extensions/installed-extensions.txt
/usr/lib/firefox-gtk2/extensions/installed-extensions-processed.txt
reed@puget:/usr/pkgsrc/www/firefox-gtk2$ find work.puget/mozilla/ -name
"install.rdf" -ls
74267 2 -rw-r--r-- 1 reed reed 1197 Jun 14 14:11
work.puget/mozilla/browser/app/profile/extensions/{641d8d09-7dda-4850-8228-=
ac0ab65e2ac9}/install.rdf
474590 2 -rw-r--r-- 1 reed reed 1146 Jul 22 02:37
work.puget/mozilla/browser/app/profile/extensions/{972ce4c6-7e08-4474-a285-=
3208198ce6fd}/install.rdf
83995 1 lrwxr-xr-x 1 reed reed 101 Jul 22 02:37
work.puget/mozilla/dist/bin/defaults/profile/extensions/{641d8d09-7dda-4850=
-8228-ac0ab65e2ac9}/install.rdf
->
=2E./../../../../../browser/app/profile/extensions/{641d8d09-7dda-4850-8228=
-ac0ab65e2ac9}/./install.rdf
83997 1 lrwxr-xr-x 1 reed reed 99 Jul 22 02:37
work.puget/mozilla/dist/bin/defaults/profile/extensions/{972ce4c6-7e08-4474=
-a285-3208198ce6fd}/install.rdf
->
=2E./../../../../../browser/app/profile/extensions/{972ce4c6-7e08-4474-a285=
-3208198ce6fd}/install.rdf
84019 1 lrwxrwxrwx 1 root root 101 Jul 22 08:49
work.puget/mozilla/dist/bin/extensions/{641d8d09-7dda-4850-8228-ac0ab65e2ac=
9}/install.rdf
->
=2E./../../../../../browser/app/profile/extensions/{641d8d09-7dda-4850-8228=
-ac0ab65e2ac9}/./install.rdf
84021 1 lrwxrwxrwx 1 root root 99 Jul 22 08:49
work.puget/mozilla/dist/bin/extensions/{972ce4c6-7e08-4474-a285-3208198ce6f=
d}/install.rdf
->
=2E./../../../../../browser/app/profile/extensions/{972ce4c6-7e08-4474-a285=
-3208198ce6fd}/install.rdf
reed@puget:/usr/pkgsrc/www/firefox-gtk2$ sudo cp
'work.puget/mozilla/browser/app/profile/extensions/{641d8d09-7dda-4850-8228=
-ac0ab65e2ac9}/install.rdf'
'/usr/lib/firefox-gtk2/extensions/{641d8d09-7dda-4850-8228-ac0ab65e2ac9}/in=
stall.rdf'
reed@puget:/usr/pkgsrc/www/firefox-gtk2$ sudo cp
'work.puget/mozilla/browser/app/profile/extensions/{972ce4c6-7e08-4474-a285=
-3208198ce6fd}/install.rdf'
'/usr/lib/firefox-gtk2/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/in=
stall.rdf'
Jeremy C. Reed
=09 =09 =09 BSD News, BSD tutorials, BSD links
=09 =09 =09 http://www.bsdnewsletter.com/