Bug 101919

Summary: Openoffice.org-2 build failure: Spinlock called when not threaded.
Product: Ports & Packages Reporter: Cy Schubert <Cy.Schubert>
Component: Individual Port(s)Assignee: freebsd-openoffice (Nobody) <openoffice>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Cy Schubert 2006-08-12 15:00:24 UTC
Openoffice.org-2.0 fails to build due to:

Fatal error 'Spinlock called when not threaded.' at line 87 in file /opt/src/cvs-stable6/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)

------------------------------
Making: ../../../unxfbsdi.pro/lib/libmozabdrv2.so
g++-ooo -Wl,-z,combreloc -Wl,-rpath,'$ORIGIN' -shared -Wl,-O1 -Wl,--version-script ../../../unxfbsdi.pro/misc/mozabdrv_mozabdrv2.map -L../../../unxfbsdi.pro/lib -L../lib -L/export2/wrkdir/usr/ports/editors/openoffice.org-2.0/work/OOC680_m7/solenv/unxfbsdi/lib -L/export2/wrkdir/usr/ports/editors/openoffice.org-2.0/work/OOC680_m7/solver/680/unxfbsdi.pro/lib -L/export2/wrkdir/usr/ports/editors/openoffice.org-2.0/work/OOC680_m7/solenv/unxfbsdi/lib -L/usr/local/jdk1.4.2/lib -L/usr/local/jdk1.4.2/jre/lib/i386 -L/usr/local/jdk1.4.2/jre/lib/i386/client -L/usr/local/jdk1.4.2/jre/lib/i386/native_threads -L/usr/X11R6/lib ../../../unxfbsdi.pro/slo/MConfigAccess.o ../../../unxfbsdi.pro/slo/MCatalog.o ../../../unxfbsdi.pro/slo/MColumns.o ../../../unxfbsdi.pro/slo/MTable.o ../../../unxfbsdi.pro/slo/MTables.o ../../../unxfbsdi.pro/slo/MColumnAlias.o ../../../unxfbsdi.pro/slo/MPreparedStatement.o ../../../unxfbsdi.pro/slo/MStatement.o ../../../unxfbsdi.pro/slo/MResultSetMetaData.o ../../../u!
 nxfbsdi.pro/slo/MResultSet.o ../../../unxfbsdi.pro/slo/MDatabaseMetaData.o ../../../unxfbsdi.pro/slo/MConnection.o ../../../unxfbsdi.pro/slo/MNSInit.o ../../../unxfbsdi.pro/slo/MQueryHelper.o ../../../unxfbsdi.pro/slo/MDatabaseMetaDataHelper.o ../../../unxfbsdi.pro/slo/MQuery.o ../../../unxfbsdi.pro/slo/MTypeConverter.o ../../../unxfbsdi.pro/slo/MNameMapper.o ../../../unxfbsdi.pro/slo/MNSMozabProxy.o ../../../unxfbsdi.pro/slo/MNSTerminateListener.o ../../../unxfbsdi.pro/slo/MMozillaBootstrap.o ../../../unxfbsdi.pro/slo/MNSFolders.o ../../../unxfbsdi.pro/slo/MNSProfileDiscover.o ../../../unxfbsdi.pro/slo/MNSProfileManager.o ../../../unxfbsdi.pro/slo/MNSINIParser.o ../../../unxfbsdi.pro/slo/MNSRunnable.o ../../../unxfbsdi.pro/slo/MNSProfile.o ../../../unxfbsdi.pro/slo/MNSProfileDirServiceProvider.o ../../../unxfbsdi.pro/slo/mozabdrv2_version.o ../../../unxfbsdi.pro/slo/mozabdrv2_description.o -o ../../../unxfbsdi.pro/lib/libmozabdrv2.so -luno_cppu -luno_cppuhelpergcc3 -lvos3g!
 cc3 -luno_sal -ldbtools680fi -lcomphelp4gcc3 -L/export2/wrkdir!
 /usr/por
ts/editors/openoffice.org-2.0/work/OOC680_m7/solver/680/unxfbsdi.pro/lib -lembed_base_s -lnspr4 -lmozreg_s -lxpcom -pthread -lm -Wl,-Bdynamic -lstlport_gcc
rm -f ../../../unxfbsdi.pro/lib/check_libmozabdrv2.so
mv ../../../unxfbsdi.pro/lib/libmozabdrv2.so ../../../unxfbsdi.pro/lib/check_libmozabdrv2.so
/export2/wrkdir/usr/ports/editors/openoffice.org-2.0/work/OOC680_m7/solenv/bin/checkdll.sh -L../../../unxfbsdi.pro/lib -L../lib -L/export2/wrkdir/usr/ports/editors/openoffice.org-2.0/work/OOC680_m7/solenv/unxfbsdi/lib -L/export2/wrkdir/usr/ports/editors/openoffice.org-2.0/work/OOC680_m7/solver/680/unxfbsdi.pro/lib -L/export2/wrkdir/usr/ports/editors/openoffice.org-2.0/work/OOC680_m7/solenv/unxfbsdi/lib -L/usr/local/jdk1.4.2/lib -L/usr/local/jdk1.4.2/jre/lib/i386 -L/usr/local/jdk1.4.2/jre/lib/i386/client -L/usr/local/jdk1.4.2/jre/lib/i386/native_threads -L/usr/X11R6/lib ../../../unxfbsdi.pro/lib/check_libmozabdrv2.so
Checking DLL ../../../unxfbsdi.pro/lib/check_libmozabdrv2.so ...Fatal error 'Spinlock called when not threaded.' at line 87 in file /opt/src/cvs-stable6/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
Abort trap (core dumped)
dmake:  Error code 1, while making '../../../unxfbsdi.pro/lib/libmozabdrv2.so'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /export2/wrkdir/usr/ports/editors/openoffice.org-2.0/work/OOC680_m7/connectivity/source/drivers/mozab
dmake:  Error code 1, while making 'build_instsetoo_native'
'---* *---'
*** Error code 255

Stop in /usr/ports/editors/openoffice.org-2.0.
cwsys#

Fix: 

Unknown at this time.
How-To-Repeat: Build openoffice.org-2.0.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2006-08-12 19:47:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->openoffice

Over to maintainer(s).
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2007-04-01 12:28:06 UTC
State Changed
From-To: open->closed

openoffice has been updated many times since this PR was submitted.  I'm 
sorry that we did not handle it earlier.