firebird borken under -current [WAS: Re: thunderbird broken (-pthread)]

Sergey A. Osokin osa at FreeBSD.org
Fri Sep 5 07:04:17 PDT 2003


On Fri, Sep 05, 2003 at 03:22:46PM +0200, Harald Schmalzbauer wrote:
> On Friday 05 September 2003 14:52, Harald Schmalzbauer wrote:
> >
> > building thinderbird under -current results in the following error:
> 
> Also firebird is broken with -current!
> 
> >
> > c++ -I/usr/X11R6/include  -I/usr/X11R6/include  -I/usr/X11R6/include
> > -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
> > -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long
> > -pedantic -O -pipe -march=pentiumpro -D_THREAD_SAFE -fshort-wchar -pipe 
> > -DNDEBUG -DTRIMMED -ffunction-sections -fPIC -shared -Wl,-h -Wl,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 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 prmjtime.o    -L/usr/X11R6/lib   -lm -pthread
> > -L/usr/ports/mail/mozilla-thunderbird/work/mozilla/dist/lib -lplds4 -lplc4
> > -lnspr4 -L/usr/X11R6/lib -lc_r  -lm -lc_r
> > c++: The -pthread option is deprecated.
> > gmake[3]: *** [libmozjs.so] Fehler 1
> > gmake[3]: Leaving directory
> > `/usr/ports/mail/mozilla-thunderbird/work/mozilla/js/src'
> > gmake[2]: *** [libs] Fehler 2
> > gmake[2]: Leaving directory
> > `/usr/ports/mail/mozilla-thunderbird/work/mozilla/js'
> > gmake[1]: *** [tier_2] Fehler 2
> > gmake[1]: Leaving directory
> > `/usr/ports/mail/mozilla-thunderbird/work/mozilla' gmake: *** [default]
> > Fehler 2
> > *** Error code 2
> >
> > Stop in /usr/ports/mail/mozilla-thunderbird.
> >
> > Looks like it has todo with the latest gcc change.

Do something like this:
$ cd ports/mail/mozilla-thunderbird
$ make clean patch
$ find work/mozilla -name Makefile -type f | xargs sed -e 's|-pthread | |'
$ make
-- 

Rgdz,                        /"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,       \ /    AGAINST HTML MAIL
http://ozz.pp.ru/             X          AND NEWS
                             / \


More information about the freebsd-ports mailing list