Subject: Re: cannot build openoffice under current
To: Patrick Welche <>
From: Patrick Welche <>
List: tech-pkg
Date: 01/30/2005 13:00:06
On Sun, Jan 30, 2005 at 12:24:10PM +0000, Patrick Welche wrote:
> On Sun, Jan 30, 2005 at 01:07:36PM +0100, Thierry Lacoste wrote:
> > Thanks for your answer.
> > I found your post on tech-pkg; I guess I didn't see it because it is
> > too recent to be referenced by search engines.
> > > FWIW I posted a message to tech-pkg about this - I think you will see
> > > further up the errors which caused libaudio to be built, and essentially
> > > it's because Xtheads.h includes threadlib.h if USE_NBSD_THREADLIB is
> > > defined. threadlib.h is deprecated in current, so the question is: where
> > > is USE_NBSD_THREADLIB defined? (you will see it in .work.log, but I still
> > > haven't found where it is set..)
> > >
> > Could you please let me know if and when you are able to build oppenoffice?
> I did a make distclean, and started again. This time in 9949258 bytes of
> .work.log, USE_NBSD_THREADLIB isn't mentioned.. It may be that I had cruft
> left over from earlier attempts while threadlib.h still existed..
> Not finished yet though..

No such luck.. It appears in .work.log here for the first time:

    (cmd-sink) pop: -L/usr/pkgsrc/misc/openoffice/work.i386/.buildlink/lib
<.> /usr/pkgsrc/misc/openoffice/work.i386/.gcc/bin/gcc -M -I. -I../../include -I../../../include -I../../
dia -I/usr/pkgsrc/misc/openoffice/work.i386/.x11-buildlink/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPR
OTO -D_NO_LONGLONG -D_STRINGS_H auvoxware.c config.c -I/usr/pkgsrc/misc/openoffice/work.i386/.buildlink/i
nclude -L/usr/pkgsrc/misc/openoffice/work.i386/.buildlink/lib
[*] /usr/pkgsrc/misc/openoffice/work.i386/.wrapper/bin/gcc -M -I../../include -I/usr/X11R6/include -DCSRG
BSD_THREADLIB -D_NO_LONGLONG -D_STRINGS_H AlibAsync.c Alibint.c AuErrDes.c AuFreeEData.c CloseSvr.c ConnS
vr.c CrFlow.c DesFlow.c Flush.c HandleEv.c IDOfEvent.c KillClient.c NextEvent.c OpenSvr.c ReqEvent.c Scan
Events.c ScanTEvent.c SetElState.c GetElState.c SetElement.c GetElement.c SvrName.c Sync.c ReadEl.c Write
El.c Util.c SetElParms.c GetDevAttr.c SetDevAttr.c CrBucket.c DesBucket.c GetBucAttr.c ListBucket.c ListD
evice.c GetSvrTime.c SetClsDwnMd.c GetClsDwnMd.c convutil.c fileutil.c monitor.c bcache.c globals.c Astre
ams.c ErrHndlr.c snd.c wave.c voc.c aiff.c 8svx.c sound.c soundlib.c mutex.c
    ( append args: -I/usr/pkgsrc/misc/openoffice/work.i386/.buildlink/include -L/usr/pkgsrc/mi
    (arg-source) push: -M