openoffice build issues: i386 -current

2006-10-17 Thread Josh Grosse
I've been having trouble building the OO port lately; my last successful
build was 2.0.3m179p0.

I've been trying to build the various updates since, and have not been
able to do so.  My most recent attempt was with the October 14 2.0.4 port
on the October 15 snapshot.

It fails with:

--
.
.
COPY: ../license/win/readme_en-US.txt ->
/usr/ports/editors/openoffice/w-openoffice-2.0.4/OOD680_m5/solver/680/unxobsd.pro/bin/sdkoo/readme_en-US.txt
COPY: ../license/unx/README_en-US.html ->
/usr/ports/editors/openoffice/w-openoffice-2.0.4/OOD680_m5/solver/680/unxobsd.pro/bin/sdkoo/README_en-US.html
COPY: ../license/unx/README_en-US ->
/usr/ports/editors/openoffice/w-openoffice-2.0.4/OOD680_m5/solver/680/unxobsd.pro/bin/sdkoo/README_en-US
LOG: writing
/usr/ports/editors/openoffice/w-openoffice-2.0.4/OOD680_m5/solver/680/unxobsd.pro/inc/sdk_oo/deliver.log
Statistics: Files copied: 6 Files unchanged/not matching: 1

1 module(s):
o3tl
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making
/usr/ports/editors/openoffice/w-openoffice-2.0.4/OOD680_m5/o3tl/qa

Attention: if you build and deliver the above module(s) you may prolongue
your the build issuing command "build --from o3tl"

*** Error code 1

Stop in /usr/ports/editors/openoffice (line 123 of Makefile).
.
.
--

Looking through the build output for "Error code" I found that there were
a set of failures to compile audio related modules, though the make continued
on.  The failed builds were: audispatch.c, auevents.c, auutil.c, auprocess.c,
auvoxware.c, and Graph.c.

Then much later on there was some sort of failure that stated:

--
.
.
/usr/ports/editors/openoffice/w-openoffice-2.0.4/OOD680_m5/solver/680/unxobsd.pro/bin/checkdll:../unxobsd.pro/lib/check_libtests.so:
undefined symbol
'_ZN7CppUnit8TestCaseC2ERKN4_STL12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIc'
/usr/ports/editors/openoffice/w-openoffice-2.0.4/OOD680_m5/solver/680/unxobsd.pro/bin/checkdll:../unxobsd.pro/lib/check_libtests.so:
undefined symbol
'_ZN7CppUnit19TestFactoryRegistry11getRegistryERKN4_STL12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIc'
: ERROR: Cannot load specified object dmake:  Error code 1, while making
'../unxobsd.pro/lib/libtests.so' '---* tg_merge.mk *---' =
Building project registry = Running processes: 1
.
.
--

I can make the entire 67,200 line typescript file available if needed.



Re: openoffice build issues: i386 -current

2006-10-17 Thread Kurt Miller
Hi Josh,

On Tuesday 17 October 2006 8:36 am, Josh Grosse wrote:
> I've been having trouble building the OO port lately; my last successful
> build was 2.0.3m179p0.

Are you by chance building on multiprocessor system? I've
noticed similar issues and was about to revert the part of
the port makefile that enables parallel builds.

...
> Looking through the build output for "Error code" I found that there were
> a set of failures to compile audio related modules, though the make continued
> on.  The failed builds were: audispatch.c, auevents.c, auutil.c, auprocess.c,
> auvoxware.c, and Graph.c.

I have patches comming for these.

Thanks for the report.

-Kurt



Re: openoffice build issues: i386 -current

2006-10-17 Thread Josh Grosse
On Tue, Oct 17, 2006 at 10:48:07AM -0400, Kurt Miller wrote:
> Hi Josh,
> 
> On Tuesday 17 October 2006 8:36 am, Josh Grosse wrote:
> > I've been having trouble building the OO port lately; my last successful
> > build was 2.0.3m179p0.
> 
> Are you by chance building on multiprocessor system? I've
> noticed similar issues and was about to revert the part of
> the port makefile that enables parallel builds.

No, it's a uniprocessor GENERIC + RaidFrame.  My config file, in its 
entirety, is:
--
include "/usr/src/sys/arch/i386/conf/GENERIC"
pseudo-device   raid4
option  RAID_AUTOCONFIG

# for easier debugging after crashes:
makeoptions DEBUG="-g"
--

dmesg:

OpenBSD 4.0-current (JGGIMI) #11: Sun Oct 15 10:27:21 EDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/JGGIMI
cpu0: AMD Sempron(tm) 2600+ ("AuthenticAMD" 686-class, 256KB L2 cache) 1.84 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 502820864 (491036K)
avail mem = 450260992 (439708K)
using 4256 buffers containing 25264128 bytes (24672K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(37) BIOS, date 01/07/05, BIOS32 rev. 0 @ 0xfb9b0, 
SMBIOS rev. 2.2 @ 0xf (44 entries)
bios0: ASUS A7VT
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xda84
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfda10/112 (5 entries)
pcibios0: PCI Exclusive IRQs: 3 5 10 11
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x7e00 0xc8000/0x8000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8378 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "VIA VT8378 VGA" rev 0x01: aperture at 
0xe400, size 0x1000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
dc0 at pci0 dev 8 function 0 "Lite-On PNIC-II" rev 0x25: irq 10, address 
00:a0:cc:e3:42:d6
dcphy0 at dc0 phy 31: internal PHY
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 3
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00
iic0 at viapm0
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 78533MB, 160836480 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0 5/cdrom 
removable
wd1 at pciide0 channel 1 drive 1: 
wd1: 16-sector PIO, LBA, 78167MB, 160086528 sectors
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
wd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 6
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 5
ac97: codec id 0x41445368 (Analog Devices AD1888)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auvia0
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x74: irq 11, address 
00:11:2f:85:b1:90
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 10: OUI 
0x004063, model 0x0032
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83697HF
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ff6d netmask ff6d ttymask ffef
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
Kernelized RAIDframe activated
cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x0
SENSE KEY: Not Ready
 ASC/ASCQ: Medium Not Present
raid0 (root): (RAID Level 1) total number of sectors is 69206144 (33792 MB) as 
root
raid1 (root): (RAID Lev

Re: openoffice build issues: i386 -current

2006-10-17 Thread Kurt Miller
On Tuesday 17 October 2006 11:21 am, Josh Grosse wrote:
> On Tue, Oct 17, 2006 at 10:48:07AM -0400, Kurt Miller wrote:
> > Hi Josh,
> > 
> > On Tuesday 17 October 2006 8:36 am, Josh Grosse wrote:
> > > I've been having trouble building the OO port lately; my last successful
> > > build was 2.0.3m179p0.
> > 
> > Are you by chance building on multiprocessor system? I've
> > noticed similar issues and was about to revert the part of
> > the port makefile that enables parallel builds.
> 
> No, it's a uniprocessor GENERIC + RaidFrame.

Ok thanks. I assumed the problems were only with mp
systems but I guess that's not it. It will need to
be investigated. For now you can just continue the
build if it fails mysteriously. I'll be committing
what I have built up tonight or tomorrow but the
build failures will likely continue until that's
fixed.

-Kurt



Re: openoffice build issues: i386 -current

2006-10-17 Thread Dimitry Andric
Josh Grosse wrote:
> I've been having trouble building the OO port lately; my last successful
> build was 2.0.3m179p0.
...
> 1 module(s):
> o3tl
> need(s) to be rebuilt
> 
> Reason(s):
> 
> ERROR: error 65280 occurred while making
> /usr/ports/editors/openoffice/w-openoffice-2.0.4/OOD680_m5/o3tl/qa

I get exactly the same error.  Full build log is here:

http://www.andric.com/openbsd/ooo-log.gz  (~499 kB)



Re: openoffice build issues: i386 -current

2006-10-17 Thread Josh Grosse
On Tue, Oct 17, 2006 at 12:01:40PM -0400, Kurt Miller wrote:
> ...For now you can just continue the
> build if it fails mysteriously.

Thanks for the suggestion, but with the current port, it fails at the
same point.  (With prior ones, it failed differently, but I did not retain
those build logs.)



Re: openoffice build issues: i386 -current

2006-10-17 Thread Fritz Elfert
Dimitry Andric wrote:
> Josh Grosse wrote:
>> I've been having trouble building the OO port lately; my last successful
>> build was 2.0.3m179p0.
> ...
>> 1 module(s):
>> o3tl
>> need(s) to be rebuilt
>>
>> Reason(s):
>>
>> ERROR: error 65280 occurred while making
>> /usr/ports/editors/openoffice/w-openoffice-2.0.4/OOD680_m5/o3tl/qa
> 
> I get exactly the same error.  Full build log is here:
> 
> http://www.andric.com/openbsd/ooo-log.gz  (~499 kB)
> 

Just a quick guess:

Do you have cppunit from ports/devel/cppunit installed?

>From your build log it looks like you probably got a conflict between
the OO-provided cppunit and some other cppunit. (It uses the headers
from the cppunit in OO but picks up the cppunit in /usr/local/lib at
link time)

Ciao
 -Fritz



Re: openoffice build issues: i386 -current

2006-10-17 Thread Dimitry Andric
Fritz Elfert wrote:
>> http://www.andric.com/openbsd/ooo-log.gz  (~499 kB)
> Just a quick guess:
> 
> Do you have cppunit from ports/devel/cppunit installed?

Yes.  This came in as a build dependency of wxWidgets (which is in turn
a dependency of vlc, the app that I wanted ;).


> From your build log it looks like you probably got a conflict between
> the OO-provided cppunit and some other cppunit. (It uses the headers
> from the cppunit in OO but picks up the cppunit in /usr/local/lib at
> link time)

Indeed, looks like a bug in OOo's build scripts somewhere; it should
pick up the library it just created for itself. :)  I'll investigate
further tomorrow, and for now, I'll just zap the cppunit package.

Cheers,
Dimitry



Re: openoffice build issues: i386 -current

2006-10-17 Thread STeve Andre'
On Tuesday 17 October 2006 20:07, Fritz Elfert wrote:
> Dimitry Andric wrote:
> > Josh Grosse wrote:
> >> I've been having trouble building the OO port lately; my last successful
> >> build was 2.0.3m179p0.

[snip]

> Just a quick guess:
>
> Do you have cppunit from ports/devel/cppunit installed?
>
> From your build log it looks like you probably got a conflict between
> the OO-provided cppunit and some other cppunit. (It uses the headers
> from the cppunit in OO but picks up the cppunit in /usr/local/lib at
> link time)
>
> Ciao
>  -Fritz

Ding!

That would appear to be it, since I crossed the two hour mark on
compiling OO and it didn't crash. Thank you.

--STeve Andre'