From owner-freebsd-gnome@FreeBSD.ORG Thu Jun 19 17:42:37 2008 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13FFE106564A for ; Thu, 19 Jun 2008 17:42:37 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao104.cox.net (eastrmmtao104.cox.net [68.230.240.46]) by mx1.freebsd.org (Postfix) with ESMTP id B1D7F8FC13 for ; Thu, 19 Jun 2008 17:42:36 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao104.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080619174236.KRKZ7964.eastrmmtao104.cox.net@eastrmimpo02.cox.net>; Thu, 19 Jun 2008 13:42:36 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo02.cox.net with bizsmtp id ftib1Z00E4iy4EG02tibRC; Thu, 19 Jun 2008 13:42:36 -0400 Date: Thu, 19 Jun 2008 12:45:03 -0500 To: "Tom Evans" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <48597287.2040907@cyberbotx.com> <1213876731.10665.156.camel@localhost> <485A6E6B.2000606@cyberbotx.com> <1213894832.10665.175.camel@localhost> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <1213894832.10665.175.camel@localhost> User-Agent: Opera Mail/9.50 (Linux) Cc: gnome@freebsd.org, Naram Qashat Subject: Re: CALL FOR TEST: Updates to pixmap, cairo, poppler, and firefox 3.0! X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2008 17:42:37 -0000 On Thu, 19 Jun 2008 12:00:32 -0500, Tom Evans wrote: > On Thu, 2008-06-19 at 10:34 -0400, Naram Qashat wrote: >> .. >> That was definitely the problem, thanks for pointing that out. Without >> looking >> at the source files, I assume they were referencing the header files by >> some >> kind of path and that was causing the issue when firefox2 and >> spidermonkey were >> installed. But now it builds fine, and also runs just fine as well. >> >> Thanks, >> Naram Qashat > > No problem. Wish I could work out why ff3 fails so consistently on my > machine. > > FreeBSD zoot.mintel.co.uk 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #6: Mon > Feb 4 12:43:15 GMT 2008 > root@zoot.mintel.co.uk:/data2/FreeBSD/RELENG_7/obj/data2/FreeBSD/RELENG_7/src/sys/ZOOT > i386 > > Unmodified, the port build runs along until it gets to the JS library > (mozilla/js/src). Then this happens: > cc -I/usr/local/include -I/usr/local/include -Wall -W -Wno-unused > -Wpointer-arith -Wcast-align -W -Wno-long-long -O1 -fno-strict-aliasing > -pipe -O2 -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe -DNDEBUG > -DTRIMMED -O2 -fPIC -shared -Wl,-z,defs -Wl,-h,libmozjs.so -o > libmozjs.so jsapi.o jsarena.o jsarray.o jsatom.o jsbool.o jscntxt.o > jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfun.o jsgc.o > jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o jslog2.o jslong.o > jsmath.o jsnum.o jsobj.o jsopcode.o jsparse.o jsprf.o jsregexp.o > jsscan.o jsscope.o jsscript.o jsstr.o jsutil.o jsxdrapi.o jsxml.o > prmjtime.o -pthread -Wl,-rpath-link,../../dist/bin -lm > -pthread -L../../dist/lib -lplds4 -lplc4 -lnspr4 -pthread -Wl,-Bsymbolic > -lc -lm -pthread -pthread -L/usr/local/lib -liconv > ../../dist/lib/libnspr4.a(uxproces.o)(.text+0x7d1): In function > `_MD_CreateUnixProcess': > : undefined reference to `environ' > gmake[3]: *** [libmozjs.so] Error 1 > gmake[3]: Leaving directory > `/data2/ff3_build/usr/ports-stable/www/firefox3/work/mozilla/js/src' > > This I can fix* by the adding $LOCALBASE/lib to the LDFLAGS in the port > Makefile, and the build will succeed. Ummm.. Do you custom LDFLAGS anywhere in your make.conf or else? What's version of nspr/nss do you have installed? > However, it wont then run > properly. The address bar doesn't change unless I click the new 'privacy > button' to the left of the address bar, then it will update. Browsing to > a new URI by clicking a link, switching to or creating a tab will not > change the address bar to the correct value. > > Is it possible this is some cruft left over in my home directory? I have > completely deinstalled all mozilla ports I can think of, and moved out > of the way my .mozilla folder. You should try it. I don't use Firefox, so there is no bookmark and etc for me. ;-) > I've scheduled a full kernel/world update tonight, to see if that makes > any major difference - I know I'm a little out of date now... > > Would any other details be useful? Let me know. Maybe a full log in bz2 or gz? You can send it to me in private since it's big. Cheers, Mezz > Cheers > > Tom > > * Interesting, I just noticed that this linker line already has -L > $LOCALBASE/lib , so I'm not sure what effect this is having. It is 100% > reproducible though, and the fix is: > > --- Makefile 18 Jun 2008 15:46:27 > +++ Makefile 19 Jun 2008 16:46:27 > @@ -39,6 +39,9 @@ > USE_GMAKE= yes > NO_MOZPKGINSTALL=yes > +LDFLAGS+= -L${LOCALBASE}/lib > + > FIREFOX_ICON= ${MOZILLA}.png > Bizarre. -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org