ports/125961: devel/nspr fails while make test

Martin Laabs martin.laabs at mailbox.tu-dresden.de
Fri Jul 25 19:30:02 UTC 2008


>Number:         125961
>Category:       ports
>Synopsis:       devel/nspr fails while make test
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 25 19:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Martin Laabs
>Release:        7.0-RELEASE-p2
>Organization:
>Environment:
FreeBSD martin.laabs 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 07:33:20 UTC 2008     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
While processing the test programs there is a linker error:

[...]
cc -o sel_spd.o -c -fvisibility=hidden    -O2 -fno-strict-aliasing -pipe  -pipe -fPIC  -UDEBUG  -DNDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1 -DFREEBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1 -DHAVE_SOCKLEN_T=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_REENTRANT=1 -D_THREAD_SAFE=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -I../../dist/include/nspr -I../.././../pr/include -I../.././../pr/include/private  ../.././../pr/tests/sel_spd.c
cc  sel_spd.o -pthread -Xlinker -R /usr/ports/devel/nspr/work/nspr-4.7/mozilla/nsprpub/build/pr/tests/../../dist/lib -L../../dist/lib -lplc4 -L../../dist/lib -lnspr4  -o sel_spd
/usr/lib/libpthread.a(thr_exit.o)(.text+0x20): In function `_thread_exit':
: multiple definition of `_thread_exit'
sel_spd.o(.text+0x940): first defined here
/usr/bin/ld: Warning: size of symbol `_thread_exit' changed from 85 in sel_spd.o to 63 in /usr/lib/libpthread.a(thr_exit.o)
gmake: *** [sel_spd] Fehler 1
gmake: Leaving directory `/usr/ports/devel/nspr/work/nspr-4.7/mozilla/nsprpub/build/pr/tests'
*** Error code 2

Stop in /usr/ports/devel/nspr.
su:/usr/ports/devel/nspr$ 
>How-To-Repeat:
cd /usr/ports/deve/nspr
make all
make test
>Fix:


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



More information about the freebsd-ports-bugs mailing list