Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2013 09:35:46 +0900 (JST)
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        turutani@scphys.kyoto-u.ac.jp
Subject:   ports/177644: building mail/thunderbird fails
Message-ID:  <201304050035.r350Zk76004787@h120.65.226.10.32118.vlan.kuins.net>
Resent-Message-ID: <201304050040.r350e1kW018974@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177644
>Category:       ports
>Synopsis:       building mail/thunderbird fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 05 00:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 8.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #25: Mon Jan 24 10:37:18 JST 2011 turutani@h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	building mail/thunderbird fails on 8.x host.
	
>How-To-Repeat:
	% make
	...
	MozillaRuntimeMain.cpp
	gmake[5]: Entering Directory `/usr/local/work/usr/ports/mail/thunderbird/work/comm-esr17/mozilla/ipc/app'
	c++ -o MozillaRuntimeMain.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include ../../config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM -DMOZ_THUNDERBIRD=1 -DEXCLUDE_SKIA_DEPENDENCIES  -DOS_POSIX=1 -DOS_FREEBSD=1 -DOS_BSD=1  -I../../toolkit/xre -I../../xpcom/base -I../../ipc/chromium/src -I../../ipc/glue -I../../ipc/ipdl/_ipdlheaders  -I../../ipc/app -I. -I../../dist/include  -I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -I/usr/local/include    -fPIC -isystem/usr/local/include  -I/usr/local/include -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -O -pipe -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O -fomit-frame-pointer  -isystem/usr/local/include  -I/usr/local/include -DMOZILLA_CLIENT -include ../../moz
 illa-config.h -MD -MF .deps/MozillaRuntimeMain.o.pp /usr/local/work/usr/ports/mail/thunderbird/work/comm-esr17/mozilla/ipc/app/MozillaRuntimeMain.cpp
	/usr/local/work/usr/ports/mail/thunderbird/work/comm-esr17/mozilla/_virtualenv/bin/python ../../config/pythonpath.py -I../../config ../../config/expandlibs_exec.py --depend .deps/plugin-container.pp --target plugin-container --uselist --  c++ -o plugin-container -isystem/usr/local/include  -I/usr/local/include -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -O -pipe -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O -fomit-frame-pointer MozillaRuntimeMain.o   -pthread  -L/usr/local/lib -Wl,-z,origin -Wl,-rpath,\$ORIGIN -Wl,-z,noexecstack  -Wl,-rpath-link,/usr/local/work/usr/ports/mail/thunderbird/work/comm-esr17/mozilla/dist/bin -Wl,-rpath-link,/usr/local/lib    -L../../dist/bin -L../../dist/lib  -L/usr/local/work/usr/ports/mail/thunderbird/work/comm-esr17/mozilla/dist/
 bin -lxpcom -lmozalloc -lxul  -liconv -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread  -Wl,--whole-archive /usr/local/work/usr/ports/mail/thunderbird/work/comm-esr17/mozilla/dist/lib/libmozglue.a /usr/local/work/usr/ports/mail/thunderbird/work/comm-esr17/mozilla/dist/lib/libmemory.a -Wl,--no-whole-archive -rdynamic  -lkvm
	../../dist/bin/libxul.so: undefined reference to `thr_self(long*)'
	gmake[5]: *** [plugin-container] Error 1
	gmake[5]: Leaving Directory `/usr/local/work/usr/ports/mail/thunderbird/work/comm-esr17/mozilla/ipc/app'
	gmake[4]: *** [tools] Error 2
	gmake[4]: Leaving Directory `/usr/local/work/usr/ports/mail/thunderbird/work/comm-esr17/mozilla/ipc'
	gmake[3]: *** [tools_tier_platform] Error 2
	gmake[3]: Leaving Directory `/usr/local/work/usr/ports/mail/thunderbird/work/comm-esr17/mozilla'
	gmake[2]: *** [tier_platform] Error 2
	gmake[2]: Leaving Directory `/usr/local/work/usr/ports/mail/thunderbird/work/comm-esr17/mozilla'
	gmake[1]: *** [default] Error 2
	gmake[1]: Leaving Directory `/usr/local/work/usr/ports/mail/thunderbird/work/comm-esr17/mozilla'
	gmake: *** [default] Error 2
	*** Error code 1
	 
	Stop in /usr/ports/mail/thunderbird.
	*** Error code 1
	 
	Stop in /usr/ports/mail/thunderbird.

	
>Fix:
	I do not know.
	"the_self()", add by files/patch-bug753046 only for FreeBSD/8.x, does not exist in /lib/libc.so.7, however it exists in /usr/lib/libc.a.
	


>Release-Note:
>Audit-Trail:
>Unformatted:



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