Re: java on openbsd 4.0?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: java on openbsd 4.0?

Kurt Miller-4
On Monday 08 January 2007 8:38 pm, bofh wrote:
...
> data(kbytes)         1048576
...
>    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
...
> real mem = 3219894272 (3144428K)

Nice bug report (i.e. had everything I needed to deduce
the reason), but please post port building problems on
ports@ and/or to maintainer. I easily could have missed your
email due to the signal to noise ratio on misc@.

The problem is that the jdk sizes the default memory
usage based on real mem installed in the box so with
systems with lots of real mem it can set the useage
higher then the 1G datasize limit.

I thought I fixed this before but perhaps the fix
was i386 only. I'll look into it again and send a
patch for you to test.

-Kurt

Reply | Threaded
Open this post in threaded view
|

Re: java on openbsd 4.0?

J.C. Roberts
On Tuesday 09 January 2007 09:23, Kurt Miller wrote:

> On Monday 08 January 2007 8:38 pm, bofh wrote:
> ...
>
> > data(kbytes)         1048576
>
> ...
>
> >  
> > [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.M
> >P
>
> ...
>
> > real mem = 3219894272 (3144428K)
>
> Nice bug report (i.e. had everything I needed to deduce
> the reason), but please post port building problems on
> ports@ and/or to maintainer. I easily could have missed your
> email due to the signal to noise ratio on misc@.
>
> The problem is that the jdk sizes the default memory
> usage based on real mem installed in the box so with
> systems with lots of real mem it can set the useage
> higher then the 1G datasize limit.
>
> I thought I fixed this before but perhaps the fix
> was i386 only. I'll look into it again and send a
> patch for you to test.
>
> -Kurt

Kurt,

Building and installing the lang/jdk/1.3, lang/jdk/1.3-linux and
lang/jdk/1.4 ports of 4.0-STABLE worked perfectly. Though I can't test
the 1G issue you mentioned, I did hit an issue building the lang/kaffe
dependency while trying to build the devel/jdk/1.5 port.

I've managed to repeat the error on the second attempt when just trying
to build /lang/kaffe

The 'easy' part works just fine ;-)
  # make
completes successuflly

The problem is when building the package.
  # make package
this dies a miserable death...

You might want to note that the error below is sligtly different than
the one posted to misc@ on the first time through. Somehow junk is
getting appended to one of the path names. "Documeowwve" below and
"javaoosowxuownonowmkwssxozuwo" in the error previously posted error
sent to misc@.


Making install in lib
gmake[3]: Entering directory
`/usr/ports/lang/kaffe/w-kaffe-1.1.7p2/build-i386/libraries/javalib/external/classpath/lib'
true
top_builddir=..
top_srcdir=/usr/ports/lang/kaffe/w-kaffe-1.1.7p2/kaffe-1.1.7/libraries/javalib/external/classpath /bin/sh ./gen-classlist.sh
standard
Adding java source files from srcdir
'/usr/ports/lang/kaffe/w-kaffe-1.1.7p2/kaffe-1.1.7/libraries/javalib/external/classpath'.
Adding java source files from VM
directory /usr/ports/lang/kaffe/w-kaffe-1.1.7p2/kaffe-1.1.7/libraries/javalib/vmspecific
Adding generated files in builddir '..'.
gmake[3]: *** No rule to make target
`/usr/ports/lang/kaffe/w-kaffe-1.1.7p2/kaffe-1.1.7/libraries/javalib/external/classpath/javax/swing/event/Documeowwve~',
needed by `compile-classes'.  Stop.
gmake[3]: Leaving directory
`/usr/ports/lang/kaffe/w-kaffe-1.1.7p2/build-i386/libraries/javalib/external/classpath/lib'
gmake[2]: *** [install-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/lang/kaffe/w-kaffe-1.1.7p2/build-i386/libraries/javalib/external/classpath'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/lang/kaffe/w-kaffe-1.1.7p2/build-i386/libraries/javalib'
gmake: *** [install-recursive] Error 1
*** Error code 2

Stop in /usr/ports/lang/kaffe (line 1995
of /usr/ports/infrastructure/mk/bsd.port.mk).
$                            


The error smells weird so I'll try updating -stable again just to make
sure I don't have something corrupted. Since the last time I updated
ports two weeks ago, I had to fsck this box due to a power loss during
a bad storm, so the problem might be on my end.



And of course, my dmesg.


OpenBSD 4.0-stable (GENERIC.MP) #2: Fri Dec 29 07:50:04 PST 2006
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Xeon(TM) CPU 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real mem  = 1072754688 (1047612K)
avail mem = 970498048 (947752K)
using 4256 buffers containing 53739520 bytes (52480K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 11/01/04, BIOS32 rev. 0 @
0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (114 entries)
bios0: Dell Computer Corporation Precision WorkStation 530 MT
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfba00/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801BA LPC" rev
0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc0000/0x8800 0xc8800/0x2800
mainbus0: Intel MP Specification (Version 1.4) (DELL     WS 530      )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 99 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Xeon(TM) CPU 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type PCI
mainbus0: bus 4 is type PCI
mainbus0: bus 5 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82860 Host" rev 0x04: rng active,
7Kb/sec
ppb0 at pci0 dev 1 function 0 "Intel 82850/82860 AGP" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Matrox MGA G400/G450 AGP" rev 0x82
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 2 function 0 "Intel 82860 PCI-PCI" rev 0x04
pci2 at ppb1 bus 2
ppb2 at pci2 dev 31 function 0 "Intel 82806AA" rev 0x03
pci3 at ppb2 bus 3
"Intel 82806AA APIC" rev 0x01 at pci3 dev 0 function 0 not configured
ami0 at pci3 dev 13 function 0 "Symbios Logic MegaRAID" rev 0x01: apic 2
int 21 (irq 10)
ami0: LSI 523, 32b, FW 713R, BIOS vG121, 64MB RAM
ami0: 1 channels, 0 FC loops, 1 logical drives
scsibus0 at ami0: 40 targets
sd0 at scsibus0 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct
fixed
sd0: 457749MB, 457749 cyl, 64 head, 32 sec, 512 bytes/sec, 937469952 sec
total
scsibus1 at ami0: 16 targets
ppb3 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x04
pci4 at ppb3 bus 4
xl0 at pci4 dev 11 function 0 "3Com 3c905C 100Base-TX" rev 0x78: apic 2
int 23 (irq 9)xl0: reset didn't complete
, address 00:06:5b:87:ad:bd
exphy0 at xl0 phy 24: 3Com internal media interface
xl0: reset didn't complete
"TI TSB12LV26 FireWire" rev 0x00 at pci4 dev 12 function 0 not
configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x04
pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x04: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 7Y250P0>
wd0: 16-sector PIO, LBA48, 239372MB, 490234752 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <LITE-ON, LTR-48246S, SUS5> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x04: apic 2 int
19 (irq 11)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x04: apic 2
int 17 (irq 9)
iic0 at ichiic0
admtemp0 at iic0 addr 0x18: adm1023
uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x04: apic 2 int
23 (irq 9)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97" rev 0x04: apic 2
int 17 (irq 9), ICH2 AC97
ac97: codec id 0x41445360 (Analog Devices AD1885)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at auich0
isa0 at ichpcib0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 0 netmask 0 ttymask 0
ioapic0: pin 17 shares different IPL interrupts (40..90), degraded
performance
ioapic0: pin 23 shares different IPL interrupts (40..50), degraded
performance
pctr: user-level cycle counter enabled
apm0: disconnected
dkcsum: sd0 matches BIOS drive 0x80
dkcsum: wd0 matches BIOS drive 0x81
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
auich0: measured ac97 link rate at 55935 Hz

Reply | Threaded
Open this post in threaded view
|

Re: java on openbsd 4.0?

Kurt Miller-3
On Tuesday 09 January 2007 2:27 pm, J.C. Roberts wrote:

> Building and installing the lang/jdk/1.3, lang/jdk/1.3-linux and
> lang/jdk/1.4 ports of 4.0-STABLE worked perfectly. Though I can't test
> the 1G issue you mentioned, I did hit an issue building the lang/kaffe
> dependency while trying to build the devel/jdk/1.5 port.
>
> I've managed to repeat the error on the second attempt when just trying
> to build /lang/kaffe
>
> The 'easy' part works just fine ;-)
>   # make
> completes successuflly
>
> The problem is when building the package.
>   # make package
> this dies a miserable death...
>
> You might want to note that the error below is sligtly different than
> the one posted to misc@ on the first time through. Somehow junk is
> getting appended to one of the path names. "Documeowwve" below and
> "javaoosowxuownonowmkwssxozuwo" in the error previously posted error
> sent to misc@.

Yea that sure is unusual. Kinda looks like memory or disk
problems at first glance especially since it changes and
has random values.

There also is a possibility this is due to pthreads. I changed
how pthreads deals with pipes in -current to work-around a random
OOo build failure see mostly on mp systems. Did you by chance
pipe stdout and/or stderr somewhere (i.e. tee, portslogger)?

>
>
> Making install in lib
> gmake[3]: Entering directory
> `/usr/ports/lang/kaffe/w-kaffe-1.1.7p2/build-i386/libraries/javalib/external/classpath/lib'
> true
> top_builddir=..
> top_srcdir=/usr/ports/lang/kaffe/w-kaffe-1.1.7p2/kaffe-1.1.7/libraries/javalib/external/classpath /bin/sh ./gen-classlist.sh
> standard
> Adding java source files from srcdir
> '/usr/ports/lang/kaffe/w-kaffe-1.1.7p2/kaffe-1.1.7/libraries/javalib/external/classpath'.
> Adding java source files from VM
> directory /usr/ports/lang/kaffe/w-kaffe-1.1.7p2/kaffe-1.1.7/libraries/javalib/vmspecific
> Adding generated files in builddir '..'.
> gmake[3]: *** No rule to make target
> `/usr/ports/lang/kaffe/w-kaffe-1.1.7p2/kaffe-1.1.7/libraries/javalib/external/classpath/javax/swing/event/Documeowwve~',
> needed by `compile-classes'.  Stop.
> gmake[3]: Leaving directory
> `/usr/ports/lang/kaffe/w-kaffe-1.1.7p2/build-i386/libraries/javalib/external/classpath/lib'
> gmake[2]: *** [install-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/lang/kaffe/w-kaffe-1.1.7p2/build-i386/libraries/javalib/external/classpath'
> gmake[1]: *** [install-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/lang/kaffe/w-kaffe-1.1.7p2/build-i386/libraries/javalib'
> gmake: *** [install-recursive] Error 1
> *** Error code 2
>
> Stop in /usr/ports/lang/kaffe (line 1995
> of /usr/ports/infrastructure/mk/bsd.port.mk).
> $                            
>
>
> The error smells weird so I'll try updating -stable again just to make
> sure I don't have something corrupted. Since the last time I updated
> ports two weeks ago, I had to fsck this box due to a power loss during
> a bad storm, so the problem might be on my end.
>
>
>
> And of course, my dmesg.
>
>
> OpenBSD 4.0-stable (GENERIC.MP) #2: Fri Dec 29 07:50:04 PST 2006
>     [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: Intel(R) Xeon(TM) CPU 2.00GHz ("GenuineIntel" 686-class) 2 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
> real mem  = 1072754688 (1047612K)
> avail mem = 970498048 (947752K)
> using 4256 buffers containing 53739520 bytes (52480K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(00) BIOS, date 11/01/04, BIOS32 rev. 0 @
> 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (114 entries)
> bios0: Dell Computer Corporation Precision WorkStation 530 MT
> apm0 at bios0: Power Management spec V1.2
> apm0: AC on, battery charge unknown
> apm0: flags 30102 dobusy 0 doidle 1
> pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfba00/224 (12 entries)
> pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801BA LPC" rev
> 0x00)
> pcibios0: PCI bus #4 is the last bus
> bios0: ROM list: 0xc0000/0x8800 0xc8800/0x2800
> mainbus0: Intel MP Specification (Version 1.4) (DELL     WS 530      )
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 99 MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Xeon(TM) CPU 2.00GHz ("GenuineIntel" 686-class) 2 GHz
> cpu1:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
> mainbus0: bus 0 is type PCI
> mainbus0: bus 1 is type PCI
> mainbus0: bus 2 is type PCI
> mainbus0: bus 3 is type PCI
> mainbus0: bus 4 is type PCI
> mainbus0: bus 5 is type ISA
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 2
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82860 Host" rev 0x04: rng active,
> 7Kb/sec
> ppb0 at pci0 dev 1 function 0 "Intel 82850/82860 AGP" rev 0x04
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "Matrox MGA G400/G450 AGP" rev 0x82
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> ppb1 at pci0 dev 2 function 0 "Intel 82860 PCI-PCI" rev 0x04
> pci2 at ppb1 bus 2
> ppb2 at pci2 dev 31 function 0 "Intel 82806AA" rev 0x03
> pci3 at ppb2 bus 3
> "Intel 82806AA APIC" rev 0x01 at pci3 dev 0 function 0 not configured
> ami0 at pci3 dev 13 function 0 "Symbios Logic MegaRAID" rev 0x01: apic 2
> int 21 (irq 10)
> ami0: LSI 523, 32b, FW 713R, BIOS vG121, 64MB RAM
> ami0: 1 channels, 0 FC loops, 1 logical drives
> scsibus0 at ami0: 40 targets
> sd0 at scsibus0 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct
> fixed
> sd0: 457749MB, 457749 cyl, 64 head, 32 sec, 512 bytes/sec, 937469952 sec
> total
> scsibus1 at ami0: 16 targets
> ppb3 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x04
> pci4 at ppb3 bus 4
> xl0 at pci4 dev 11 function 0 "3Com 3c905C 100Base-TX" rev 0x78: apic 2
> int 23 (irq 9)xl0: reset didn't complete
> , address 00:06:5b:87:ad:bd
> exphy0 at xl0 phy 24: 3Com internal media interface
> xl0: reset didn't complete
> "TI TSB12LV26 FireWire" rev 0x00 at pci4 dev 12 function 0 not
> configured
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x04
> pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x04: DMA,
> channel 0 wired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 0: <Maxtor 7Y250P0>
> wd0: 16-sector PIO, LBA48, 239372MB, 490234752 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus2 at atapiscsi0: 2 targets
> cd0 at scsibus2 targ 0 lun 0: <LITE-ON, LTR-48246S, SUS5> SCSI0 5/cdrom
> removable
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x04: apic 2 int
> 19 (irq 11)
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x04: apic 2
> int 17 (irq 9)
> iic0 at ichiic0
> admtemp0 at iic0 addr 0x18: adm1023
> uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x04: apic 2 int
> 23 (irq 9)
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1
> uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97" rev 0x04: apic 2
> int 17 (irq 9), ICH2 AC97
> ac97: codec id 0x41445360 (Analog Devices AD1885)
> ac97: codec features headphone, Analog Devices Phat Stereo
> audio0 at auich0
> isa0 at ichpcib0
> 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
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> biomask 0 netmask 0 ttymask 0
> ioapic0: pin 17 shares different IPL interrupts (40..90), degraded
> performance
> ioapic0: pin 23 shares different IPL interrupts (40..50), degraded
> performance
> pctr: user-level cycle counter enabled
> apm0: disconnected
> dkcsum: sd0 matches BIOS drive 0x80
> dkcsum: wd0 matches BIOS drive 0x81
> root on sd0a
> rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
> auich0: measured ac97 link rate at 55935 Hz
>
>

Reply | Threaded
Open this post in threaded view
|

Re: java on openbsd 4.0?

J.C. Roberts
On Tuesday 09 January 2007 12:08, Kurt Miller wrote:

> On Tuesday 09 January 2007 2:27 pm, J.C. Roberts wrote:
> > Building and installing the lang/jdk/1.3, lang/jdk/1.3-linux and
> > lang/jdk/1.4 ports of 4.0-STABLE worked perfectly. Though I can't
> > test the 1G issue you mentioned, I did hit an issue building the
> > lang/kaffe dependency while trying to build the devel/jdk/1.5 port.
> >
> > I've managed to repeat the error on the second attempt when just
> > trying to build /lang/kaffe
> >
> > The 'easy' part works just fine ;-)
> >   # make
> > completes successuflly
> >
> > The problem is when building the package.
> >   # make package
> > this dies a miserable death...
> >
> > You might want to note that the error below is sligtly different
> > than the one posted to misc@ on the first time through. Somehow
> > junk is getting appended to one of the path names. "Documeowwve"
> > below and "javaoosowxuownonowmkwssxozuwo" in the error previously
> > posted error sent to misc@.
>
> Yea that sure is unusual. Kinda looks like memory or disk
> problems at first glance especially since it changes and
> has random values.
>
> There also is a possibility this is due to pthreads. I changed
> how pthreads deals with pipes in -current to work-around a random
> OOo build failure see mostly on mp systems. Did you by chance
> pipe stdout and/or stderr somewhere (i.e. tee, portslogger)?

Just for the archives.

My problem was caused by a corrupted file and was fixed by a simple cvs
update.

I've continued with the testing (i386 dmesg in this thread) and I've
been able to build devel/jdk/1.3 devel/jdk/1.4 and devel/jdk/1.5
without any problems.

The only outstanding question is, has "bofh" gotten 1.5 to compile and
install correctly on his amd64 box with Kurt's previous suggestion?

jcr

Reply | Threaded
Open this post in threaded view
|

Re: java on openbsd 4.0?

bofh-6
In reply to this post by Kurt Miller-4
On 1/12/07, Kurt Miller <[hidden email]> wrote:
> Attached are two patch files that you can drop
> in /usr/ports/devel/jdk/1.5/patches that hopefully
> will fix your amd64 build issue. Please let me know
> if this fixes it for you and I'll work on getting
> this in 4.0-stable.

Thank you very much, the patches work for jdk-1.5p19 (from 4.0
ports.tar.gz) and for jdk-1.5p20 (cvs update for OPENBSD_4_0).

> BTW, I replied to your email on ports@ (the mailing
> list). Ports build problems should be dealt with there.
> For example I have 17,838 unread messages from misc@.
> I easily could have missed your issue.

Sorry about that.  I'm replying to ports too (unless it bounces).