Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2010 16:30:36 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: need help with the last-two-ports!
Message-ID:  <44tyuf5eo3.fsf@be-well.ilk.org>
In-Reply-To: <20100121210658.GA10757@thought.org> (Gary Kline's message of "Thu, 21 Jan 2010 13:07:00 -0800")
References:  <20100121210658.GA10757@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Kline <kline@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@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@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@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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44tyuf5eo3.fsf>