Subject: Re: pkg/29793: misc/openoffice in pkgsrc-2005Q1 seems broken
To: None <mrauch@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Michael Rauch <mrauch@netbsd.org>
List: pkgsrc-bugs
Date: 03/28/2005 08:57:01
The following reply was made to PR pkg/29793; it has been noted by GNATS.

From: Michael Rauch <mrauch@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: Rui Paulo <rpaulo@netbsd-pt.org>
Subject: Re: pkg/29793: misc/openoffice in pkgsrc-2005Q1 seems broken
Date: Mon, 28 Mar 2005 10:56:12 +0200

 Hi, 
 
 On Fri, Mar 25, 2005 at 08:28:27PM +0100, Michael Rauch wrote:
 > On Fri, Mar 25, 2005 at 04:55:00PM +0000, Rui Paulo wrote:
 > > >Synopsis:       misc/openoffice in pkgsrc-2005Q1 seems broken
 > [...]
 > If no, can you please run
 > 
 > cd pkgsrc/misc/openoffice
 > rm -r work/nas/unxbsdi2.pro
 > make >LOGfile 2>&1 
 > 
 > and send me this file. 
 
 ok, the relevant part is this one (from your LOGfile):
 ------
 depending in lib/audio...
 make[3]: Entering directory `/home/rpaulo/netbsd/pkgsrc/misc/openoffice/work/nas/unxbsdi2.pro/misc/build/nas-1.6/lib/audio'
 rm -f .depend
 gccmakedep -f-  --  -I../../include -I/usr/X11R6/include    -DCSRG_BASED   -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI  -DUSE_NBSD_THREADLIB    -D_NO_LONGLONG -D_STRINGS_H  -- AlibAsync.c Alibint.c AuErrDes.c AuFreeEData.c CloseSvr.c ConnSvr.c           CrFlow.c DesFlow.c Flush.c HandleEv.c IDOfEvent.c KillClient.c                NextEvent.c OpenSvr.c ReqEvent.c ScanEvents.c ScanTEvent.c	                SetElState.c GetElState.c SetElement.c GetElement.c SvrName.c Sync.c           ReadEl.c WriteEl.c Util.c SetElParms.c GetDevAttr.c	                SetDevAttr.c CrBucket.c DesBucket.c GetBucAttr.c ListBucket.c	                ListDevice.c GetSvrTime.c SetClsDwnMd.c GetClsDwnMd.c		      	  convutil.c fileutil.c monitor.c bcache.c			      	  globals.c Astreams.c ErrHndlr.c 		                snd.c wave.c voc.c aiff.c 8svx.c sound.c soundlib.c mutex.c > .depend
 In file included from ../../include/audio/mutex.h:53,
                  from ../../include/audio/Alibint.h:155,
                  from AlibAsync.c:43:
 /home/rpaulo/netbsd/pkgsrc/misc/openoffice/work/.x11-buildlink/include/X11/Xthreads.h:204:23: threadlib.h: No such file or directory
 ------
 
 I guess, you have updated your system (kernel + userland) recently,
 without updating the X installation.
 In the base system, threadlib.h was removed, because its functionality
 is superseded by native pthreads, and this required also
 a change in the X11 part, which you don't seem to have.
 Updating your X11 installation, and then doing a make clean; make in
 openoffice should solve your problem.
 Please tell me whether this really helped.
 
 
 Michael