need help with the last-two-ports!

Gary Kline kline at thought.org
Fri Jan 22 00:30:36 UTC 2010


On Thu, Jan 21, 2010 at 04:30:36PM -0500, Lowell Gilbert wrote:
> Gary Kline <kline at thought.org> writes:
> 
> > 	guys,
> >
> > 	after days and weeks of portupgrading firefox35 is one of the two that
> > 	still fail to build.  both get wedged on
> > 	/usr/local/lib/libspr4.so; can anybody tell me how to resolve this?
> >
> >
> >
> > gmake[3]: Entering directory
> > `/usr/ports/www/firefox35/work/mozilla-1.9.1/js/src'
> > c++ -o js -I/usr/local/include  -I/usr/local/include -fno-rtti -fno-exceptions
> > -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
> > -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -O2
> > -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -fshort-wchar -pipe
> > -DNDEBUG -DTRIMMED -Os -fstrict-aliasing   js.o 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 jsmath.o jsnum.o jsobj.o json.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 jstracer.o Assembler.o Fragmento.o LIR.o RegAlloc.o avmplus.o
> > Nativei386.o jsbuiltins.o    -pthread      -Wl,-rpath-link,/bin
> > -Wl,-rpath-link,/usr/local/lib  -L./../../dist/bin -L./../../dist/lib
> > -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -lm -pthread -lm -pthread
> > -pthread -L/usr/local/lib -liconv -lm -pthread -lc
> > /usr/local/lib/libnspr4.so: undefined reference to `shmctl at FBSD_1.1'
> 
> Right there is the path.  You spelled it wrong in your paragraph at the
> top of the message; perhaps that's the problem?  If so, you should try
> cut and paste instead of retyping the paths.
> 
> > /usr/local/lib/libplds4.so: undefined reference to `semctl at FBSD_1.1'
> > gmake[3]: *** [js] Error 1
> > gmake[3]: Leaving directory
> > `/usr/ports/www/firefox35/work/mozilla-1.9.1/js/src'
> > gmake[2]: *** [libs_tier_js] Error 2
> > gmake[2]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1'
> > gmake[1]: *** [tier_js] Error 2
> > gmake[1]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1'
> > gmake: *** [default] Error 2
> > *** Error code 1
> >
> > Stop in /usr/ports/www/firefox35.
> > root at tao:/usr/ports/www/firefox35#
> >        
> > 	I have looked for this library to rebuild it; can't find.  Anybody know
> > 	what's going on?
> 
>     [1001] (dhcptest) ~> ls -l /usr/local/lib/libnspr*
>     -rw-r--r--  1 root  wheel  330246 Jan 14 14:52 /usr/local/lib/libnspr4.a
>     lrwxr-xr-x  1 root  wheel      13 Jan 14 14:52
>     /usr/local/lib/libnspr4.so@ -> libnspr4.so.1
>     -r-xr-xr-x  1 root  wheel  197348 Jan 14 14:52
>     /usr/local/lib/libnspr4.so.1*
>     [1002] (dhcptest) ~> pkg_info -W /usr/local/lib/libnspr4.so.1
>     /usr/local/lib/libnspr4.so.1 was installed by package nspr-4.8.2
>     [1003] (dhcptest) ~> 
> 
> But if you really rebuilt everything, that should've already been
> rebuilt by now.  On most desktops, other things will use it too.


	i do have other uses of pkg_info, but not -W; thanks for the datapoint.
	yes, for a name of path this long i woulf have eventually moused and
	cut and pasted.  this time i was particularly careful. Still, bzzzzzt.

	win some, lose more, :)

	gary 

	ps: i did several portupgrades and as many pkgdb -Fv ... for some
	reason there were consistently two that failed.  ff35 was one.  


> 
> -- 
> Lowell Gilbert, embedded/networking software engineer, Boston area
> 		http://be-well.ilk.org/~lowell/

-- 
 Gary Kline  kline at thought.org  http://www.thought.org  Public Service Unix
        http://jottings.thought.org   http://transfinite.thought.org
    The 7.79a release of Jottings: http://jottings.thought.org/index.php



More information about the freebsd-questions mailing list