Subject: kdelibs-2.2.1 build fails
To: None <tech-pkg@netbsd.org>
From: Gabriel Mastico <moof@telus.net>
List: tech-pkg
Date: 11/22/2001 17:49:18
Hi All,
    I have a fresh install of netbsd 1.5.2 on my laptop, and recently
tried to compile and install the x11/kde2 set of packages. All goes well
until the build gets to kdelibs2, but the build then fails. HEre is the
error:


Making all in libxslt
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../..
-I./.. -I/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include/libxml
-I/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include/libxml2
-I/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include
-I/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include
-I/usr/pkg/share/x11-links/include
-I/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include  -O2
-I/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include -O2
-I/usr/pkg/share/x11-links/include -c templates.c
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I./..
-I/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include/libxml
-I/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include/libxml2
-I/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include
-I/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include
-I/usr/pkg/share/x11-links/include
-I/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include -O2
-I/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include -O2
-I/usr/pkg/share/x11-links/include -c templates.c  -fPIC -DPIC -o
.libs/templates.o
In file included from
/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include/libxml/parser.h:576,
                 from
/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include/libxml/xmlerror.h:4,
                 from templates.c:18:
/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include/libxml/globals.h:70:
syntax error before `xmlGenericErrorFunc'
/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include/libxml/globals.h:217:
syntax error before `xmlGenericError'
/usr/pkgsrc/x11/kdelibs2/work/.buildlink/include/libxml/globals.h:217:
warning: data definition has no type or storage class
*** Error code 1

Stop.
*** Error code 1

Stop.



And here is a dmesg:

NetBSD 1.5.2 (GENERIC_LAPTOP) #3: Sat Aug 18 23:43:41 CEST 2001

he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC_LAPTOP
cpu0: Intel Pentium III (Coppermine) Celeron (686-class), 597.43 MHz
total memory = 255 MB
avail memory = 232 MB
using 3296 buffers containing 13184 KB of memory
BIOS32 rev. 0 found at 0xffe90
PCI BIOS rev. 2.1 found at 0xfc0ce
pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xfbd70, size 128 bytes (6
entries)
PCI Interrupt Router at 000:07:0 (Intel 82371MX Mobile PCI I/O IDE
Xcelerator (MPIIX))
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:03:0 0x104c 0xac1c   A  0x03  11  0    already assigned
000:03:1 0x104c 0xac1c   A  0x03  11  0    already assigned
000:07:2 0x8086 0x7112   D  0x03  11  0    already assigned
000:08:0 0x125d 0x1998   A  0x01   5  0    already assigned
001:00:0 0x1002 0x4c4d   A  0x00  11  0    already assigned
------------------------------------------
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI bridge 1: primary 0, secondary 2, subordinate 2
PCI bridge 2: primary 0, secondary 3, subordinate 3
PCI bus #3 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x7190
        10h mem  0xf4000000 0x04000000
                [OK]
000:01:0 0x8086 0x7191
                [OK]
000:03:0 0x104c 0xac1c
        10h mem  0x00000000 0x00001000
                [NG]
000:03:1 0x104c 0xac1c
        10h mem  0x00000000 0x00001000
                [NG]
000:07:0 0x8086 0x7110
                [OK]
000:07:1 0x8086 0x7111
        20h port 0x00000860 0x00000010
                [OK]
000:07:2 0x8086 0x7112
        20h port 0x0000dce0 0x00000020
                [OK]
000:07:3 0x8086 0x7113
                [OK]
000:08:0 0x125d 0x1998
        10h port 0x0000d800 0x00000100
        14h mem  0xfaffe000 0x00002000
                [OK]
001:00:0 0x1002 0x4c4d
        10h mem  0xfd000000 0x01000000
        14h port 0x0000ec00 0x00000100
        18h mem  0xfcfff000 0x00001000
                [OK]
--------------------------[  2 devices bogus]
 Physical memory end: 0x0ffed000
 PCI memory mapped I/O space start: 0x10000000
[PCIBIOS fixup stage]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x7190
        10h mem  0xf4000000 0x04000000
                [OK]
000:01:0 0x8086 0x7191
                [OK]
000:03:0 0x104c 0xac1c
        10h mem  0x10000000 0x00001000
                [OK]
000:03:1 0x104c 0xac1c
        10h mem  0x10001000 0x00001000
                [OK]
000:07:0 0x8086 0x7110
                [OK]
000:07:1 0x8086 0x7111
        20h port 0x00000860 0x00000010
                [OK]
000:07:2 0x8086 0x7112
        20h port 0x0000dce0 0x00000020
                [OK]
000:07:3 0x8086 0x7113
                [OK]
000:08:0 0x125d 0x1998
        10h port 0x0000d800 0x00000100
        14h mem  0xfaffe000 0x00002000
                [OK]
--------------------------[  0 devices bogus]
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: ATI Technologies Mach64 LM (rev. 0x64)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
cbb0 at pci0 dev 3 function 0: Texas Instruments PCI1225 PCI-CardBus
Bridge (rev. 0x01)
cbb1 at pci0 dev 3 function 1: Texas Instruments PCI1225 PCI-CardBus
Bridge (rev. 0x01)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4)
(rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK2017GAP>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 19077 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 39070080
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data
transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <SAMSUNG CD-ROM SN-124, , S004> type 5 cdrom
removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data
transfers)
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller
(PIIX4) (rev. 0x01)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge,
revision 0x03) at pci0 dev 7 function 3 not configured
ESS Technology Inc Maestro 3 PCI Audio Accelerator (audio multimedia,
revision 0x10) at pci0 dev 8 function 0 not configured
cbb0: interrupting at irq 11
cbb0: cacheline 0x8 lattimer 0x20
cbb0: bhlc 0x822008 lscp 0x20020200
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
cbb1: interrupting at irq 11
cbb1: cacheline 0x8 lattimer 0x20
cbb1: bhlc 0x822008 lscp 0x20030300
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x8, lattimer 0x20
pcmcia1 at cardslot1
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
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
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2
biomask ef6d netmask ef6d ttymask ffef
tlp0 at cardbus0 dev 0 function 0: Xircom X3201-3 Ethernet, pass 0.3
tlp0: Ethernet address 00:10:a4:d2:7f:ef
tqphy0 at tlp0 phy 0: 78Q2120 10/100 media interface, rev. 10
tqphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ums0 at uhub0 port 1 configuration 1 interface 0
ums0: Logitech Inc. iFeel Mouse   , rev 1.00/1.01, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
tlp0: interrupting at 11
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0


How would I go about getting this package to build?

Please note that I am not on the tech-pkg mailing list, so please
cc: any reply to me.

Thanks,
    Gabe