Subject: Re: now I'm really stymied, mozilla-gtk2-1.7.3 also fails for me on i386
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 12/04/2004 15:22:21
[ On Thursday, December 2, 2004 at 20:39:19 (-0500), Greg A. Woods wrote: ]
> Subject: now I'm really stymied, mozilla-gtk2-1.7.3 also fails for me on i386
>
> I.e. as far as I can tell I've done nothing different than I did
> previously to get mozilla-gtk2-1.6 to work.
>
[[....]]
>
> + cd /usr/pkg/lib/mozilla-gtk2
> + /usr/bin/env -i LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom
> Segmentation fault - core dumped
> *** Error code 139
Indeed I had not -- however something deep and hidden in the guts of the
new Mozilla code now makes an invalid assumption, and for no good
reason.
The following patch fixes my problem -- and reveals why nobody else sees
the same failure: (note first the "env -i" above :-)
Index: www/mozilla/files/moz-install
===================================================================
RCS file: /cvs/master/m-NetBSD/main/pkgsrc/www/mozilla/files/moz-install,v
retrieving revision 1.11.2.1
diff -u -r1.11.2.1 moz-install
--- www/mozilla/files/moz-install 30 Nov 2004 23:29:15 -0000 1.11.2.1
+++ www/mozilla/files/moz-install 4 Dec 2004 00:20:32 -0000
@@ -67,8 +70,8 @@
#
#
cd ${PREFIX}/lib/${MOZILLA}
-${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom
-${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome
+${SETENV} HOME=/not-home/idiot LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom
+${SETENV} HOME=/hot-home/idiot LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome
#
# remove generated user conf directory ${WRKDIR}/.mozilla
--
Greg A. Woods
+1 416 218-0098 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com> Secrets of the Weird <woods@weird.com>