Subject: pkg/21333: openoffice thread problem
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/27/2003 00:50:13
>Number:         21333
>Category:       pkg
>Synopsis:       libpthread uncovers openoffice error
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 26 23:51:00 UTC 2003
>Originator:     Patrick Welche
>Release:        NetBSD 1.6R
i386 kernel and world of Apr 25 19:32 GMT
pkgsrc of Apr 26 16:36 GMT
New error checking in libpthread reveals an error in openoffice:

Building project udkapi
mkout -- version: 1.3
idlc @/var/tmp/mk00006445ab
idlc: compile 'ArrayIndexOutOfBoundsException.idl' ... 
Error detected, file "/usr/src/lib/libpthread/pthread_mutex.c", line 312, function "pthread_mutex_unlock": Invalid mutex.
Abort (core dumped)
dmake:  Error code 134, while making '../../../../'

Result is misc/openoffice can't be built. There was another oddity in
the attempt: openoffice includes, which is meant
to favour native libpthread over pkg threads. I had pth-1.4.0nb1, and
found that some of the helper programs eg svtools/
were still linked to /usr/pkg/lib/libpthread. I had to pkg_delete
pth-1.4.0nb1 to avoid it..
cd pkgsrc/misc/openoffice
See if it is fixed in newer releases of openoffice?