Subject: make build results in errors on 20020219-1.5ZA port i386
To: None <netbsd-help@netbsd.org>
From: Mine Sakiyama <msakiyam@nortelnetworks.com>
List: netbsd-help
Date: 03/22/2002 15:21:25
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1D1F8.491CC984
Content-Type: text/plain;
	charset="iso-8859-1"

Hi,
I have been trying to make build on NetBSD1.5ZA(20020219 snapshot), and not
having luck. Last week once I was able to make build and also rebuild
kernel. After cvs update, everything started fall apart. So I reinstalled
NetBSD1.5ZA(20020219 snapshot, only running ipf,named, and ssh). 
I did:
cd /usr
cvs checkout -P src
cd /usr/src
mkdir /usr/obj
make obj
make build

After 7 hours, it always stops at the following, and I already tried three
times. 
Help! (dmesg follows)

cc -O   -o mkmagic -DHAVE_CONFIG_H -DQUICK -DCOMPILE_ONLY
-I/usr/src/usr.bin/file /usr/src/usr.bin/file/apprentice.c
/usr/src/usr.bin/file/print.c
./mkmagic magic
make: don't know how to make magic.mime. Stop

make: stopped in /usr/src/usr.bin/file
*** Error code 2

Stop.
make: stopped in /usr/src/usr.bin/file
*** Error code 1

Stop.
make: stopped in /usr/src/usr.bin
*** Error code 1

Stop.
make: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
alex#

Mine Sakiyama


alex# dmesg
NetBSD 1.5ZA (GENERIC) #0: Tue Feb 19 16:45:49 EST 2002
    root@zathras.wasabisystems.com:/big/obj/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II (Klamath) (686-class), 266.45 MHz
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 2-way
cpu0: L2 cache 512 KB 32b/line 4-way
cpu0: features 80f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 80f9ff<PGE,MCA,CMOV,MMX>
total memory = 65148 KB
avail memory = 54164 KB
using 839 buffers containing 3356 KB of memory
BIOS32 rev. 0 found at 0xed000
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 82443LX PCI AGP Controller (PAC) (rev. 0x03)
agp at pchb0 not configured
ppb0 at pci0 dev 1 function 0: Intel 82443LX AGP Interface (PAC) (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Matrox MGA Millennium II 2164WA-B AG (rev.
0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
ex0 at pci0 dev 13 function 0: 3Com 3c905-TX 10/100 Ethernet (rev. 0x0)
ex0: interrupting at irq 11
ex0: MAC address 00:60:08:a5:fb:e7
nsphy0 at ex0 phy 24: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc1 at pci0 dev 15 function 0
ahc1: interrupting at irq 11
ahc1: Using left over BIOS settings
ahc1: aic7860 Single Channel A, SCSI Id=7, 3/255 SCBs
scsibus0 at ahc1: 8 targets, 8 luns per target
tl0 at pci0 dev 16 function 0
tl0: Compaq Deskpro 4000 5233MMX
tl0: Ethernet address 00:08:c7:40:82:5b
tl0: interrupting at irq 11
lxtphy0 at tl0 phy 1: LXT970 10/100 media interface, rev. 0
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlphy0 at tl0 phy 31: ThunderLAN 10BASE-T media interface, rev. 6
tlphy0: 10base5
pcib0 at pci0 dev 20 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x01)
pciide0 at pci0 dev 20 function 1: Intel 82371AB IDE controller (PIIX4)
(rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
pciide0: disabling primary channel (no drives)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <HITACHI CDR-8235, , 0004> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 1
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 0, DMA mode 1 (using DMA data transfers)
uhci0 at pci0 dev 20 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 0x01) at pci0 dev 20 function 3 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: 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: read port 0x203
isapnp0: <ESS ES1869 Plug and Play AudioD, ESS0006, , > port 0x800/8 not
configured
ess0 at isapnp0 port 0x220/16,0x388/4,0x330/2 irq 5 drq 1,0
ess0:: ESS Technology ES1869 [version 0x688b]
ess0: audio1 interrupting at irq 5
audio0 at ess0: half duplex, mmap, independent
opl0 at ess0: model OPL3
midi1 at opl0: ESS Yamaha OPL3
biomask ef45 netmask ef45 ttymask ffc7
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <COMPAQPC, VIKING 4.5 NSE, 8807> SCSI2
0/direct fixed
sd0: 4094 MB, 6144 cyl, 8 head, 170 sec, 512 bytes/sect x 8386000 sectors
sd0: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
Kernelized RAIDframe activated
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
IP Filter: v3.4.23 initialized.  Default = pass all, Logging = enabled
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)
alex#

------_=_NextPart_001_01C1D1F8.491CC984
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2655.35">
<TITLE>make build results in  errors on 20020219-1.5ZA port =
i386</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi,</FONT>
<BR><FONT SIZE=3D2>I have been trying to make build on =
NetBSD1.5ZA(20020219 snapshot), and not having luck. Last week once I =
was able to make build and also rebuild kernel. After cvs update, =
everything started fall apart. So I reinstalled NetBSD1.5ZA(20020219 =
snapshot, only running ipf,named, and ssh). </FONT></P>

<P><FONT SIZE=3D2>I did:</FONT>
<BR><FONT SIZE=3D2>cd /usr</FONT>
<BR><FONT SIZE=3D2>cvs checkout -P src</FONT>
<BR><FONT SIZE=3D2>cd /usr/src</FONT>
<BR><FONT SIZE=3D2>mkdir /usr/obj</FONT>
<BR><FONT SIZE=3D2>make obj</FONT>
<BR><FONT SIZE=3D2>make build</FONT>
</P>

<P><FONT SIZE=3D2>After 7 hours, it always stops at the following, and =
I already tried three times. </FONT>
<BR><FONT SIZE=3D2>Help! (dmesg follows)</FONT>
</P>

<P><FONT SIZE=3D2>cc -O&nbsp;&nbsp; -o mkmagic -DHAVE_CONFIG_H -DQUICK =
-DCOMPILE_ONLY&nbsp; -I/usr/src/usr.bin/file =
/usr/src/usr.bin/file/apprentice.c =
/usr/src/usr.bin/file/print.c</FONT></P>

<P><FONT SIZE=3D2>./mkmagic magic</FONT>
<BR><FONT SIZE=3D2>make: don't know how to make magic.mime. Stop</FONT>
</P>

<P><FONT SIZE=3D2>make: stopped in /usr/src/usr.bin/file</FONT>
<BR><FONT SIZE=3D2>*** Error code 2</FONT>
</P>

<P><FONT SIZE=3D2>Stop.</FONT>
<BR><FONT SIZE=3D2>make: stopped in /usr/src/usr.bin/file</FONT>
<BR><FONT SIZE=3D2>*** Error code 1</FONT>
</P>

<P><FONT SIZE=3D2>Stop.</FONT>
<BR><FONT SIZE=3D2>make: stopped in /usr/src/usr.bin</FONT>
<BR><FONT SIZE=3D2>*** Error code 1</FONT>
</P>

<P><FONT SIZE=3D2>Stop.</FONT>
<BR><FONT SIZE=3D2>make: stopped in /usr/src</FONT>
<BR><FONT SIZE=3D2>*** Error code 1</FONT>
</P>

<P><FONT SIZE=3D2>Stop.</FONT>
<BR><FONT SIZE=3D2>make: stopped in /usr/src</FONT>
<BR><FONT SIZE=3D2>*** Error code 1</FONT>
</P>

<P><FONT SIZE=3D2>Stop.</FONT>
<BR><FONT SIZE=3D2>make: stopped in /usr/src</FONT>
<BR><FONT SIZE=3D2>alex#</FONT>
</P>

<P><FONT SIZE=3D2>Mine Sakiyama</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>alex# dmesg</FONT>
<BR><FONT SIZE=3D2>NetBSD 1.5ZA (GENERIC) #0: Tue Feb 19 16:45:49 EST =
2002</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; =
root@zathras.wasabisystems.com:/big/obj/sys/arch/i386/compile/GENERIC</F=
ONT>
<BR><FONT SIZE=3D2>cpu0: Intel Pentium II (Klamath) (686-class), 266.45 =
MHz</FONT>
<BR><FONT SIZE=3D2>cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB =
32b/line 2-way</FONT>
<BR><FONT SIZE=3D2>cpu0: L2 cache 512 KB 32b/line 4-way</FONT>
<BR><FONT SIZE=3D2>cpu0: features =
80f9ff&lt;FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR&gt;</FONT>
<BR><FONT SIZE=3D2>cpu0: features 80f9ff&lt;PGE,MCA,CMOV,MMX&gt;</FONT>
<BR><FONT SIZE=3D2>total memory =3D 65148 KB</FONT>
<BR><FONT SIZE=3D2>avail memory =3D 54164 KB</FONT>
<BR><FONT SIZE=3D2>using 839 buffers containing 3356 KB of =
memory</FONT>
<BR><FONT SIZE=3D2>BIOS32 rev. 0 found at 0xed000</FONT>
<BR><FONT SIZE=3D2>mainbus0 (root)</FONT>
<BR><FONT SIZE=3D2>pci0 at mainbus0 bus 0: configuration mode 1</FONT>
<BR><FONT SIZE=3D2>pci0: i/o space, memory space enabled</FONT>
<BR><FONT SIZE=3D2>pchb0 at pci0 dev 0 function 0</FONT>
<BR><FONT SIZE=3D2>pchb0: Intel 82443LX PCI AGP Controller (PAC) (rev. =
0x03)</FONT>
<BR><FONT SIZE=3D2>agp at pchb0 not configured</FONT>
<BR><FONT SIZE=3D2>ppb0 at pci0 dev 1 function 0: Intel 82443LX AGP =
Interface (PAC) (rev. 0x03)</FONT>
<BR><FONT SIZE=3D2>pci1 at ppb0 bus 1</FONT>
<BR><FONT SIZE=3D2>pci1: i/o space, memory space enabled</FONT>
<BR><FONT SIZE=3D2>vga1 at pci1 dev 0 function 0: Matrox MGA Millennium =
II 2164WA-B AG (rev. 0x00)</FONT>
<BR><FONT SIZE=3D2>wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 =
emulation)</FONT>
<BR><FONT SIZE=3D2>ex0 at pci0 dev 13 function 0: 3Com 3c905-TX 10/100 =
Ethernet (rev. 0x0)</FONT>
<BR><FONT SIZE=3D2>ex0: interrupting at irq 11</FONT>
<BR><FONT SIZE=3D2>ex0: MAC address 00:60:08:a5:fb:e7</FONT>
<BR><FONT SIZE=3D2>nsphy0 at ex0 phy 24: DP83840 10/100 media =
interface, rev. 1</FONT>
<BR><FONT SIZE=3D2>nsphy0: 10baseT, 10baseT-FDX, 100baseTX, =
100baseTX-FDX, auto</FONT>
<BR><FONT SIZE=3D2>ahc1 at pci0 dev 15 function 0</FONT>
<BR><FONT SIZE=3D2>ahc1: interrupting at irq 11</FONT>
<BR><FONT SIZE=3D2>ahc1: Using left over BIOS settings</FONT>
<BR><FONT SIZE=3D2>ahc1: aic7860 Single Channel A, SCSI Id=3D7, 3/255 =
SCBs</FONT>
<BR><FONT SIZE=3D2>scsibus0 at ahc1: 8 targets, 8 luns per =
target</FONT>
<BR><FONT SIZE=3D2>tl0 at pci0 dev 16 function 0</FONT>
<BR><FONT SIZE=3D2>tl0: Compaq Deskpro 4000 5233MMX</FONT>
<BR><FONT SIZE=3D2>tl0: Ethernet address 00:08:c7:40:82:5b</FONT>
<BR><FONT SIZE=3D2>tl0: interrupting at irq 11</FONT>
<BR><FONT SIZE=3D2>lxtphy0 at tl0 phy 1: LXT970 10/100 media interface, =
rev. 0</FONT>
<BR><FONT SIZE=3D2>lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, =
100baseTX-FDX, auto</FONT>
<BR><FONT SIZE=3D2>tlphy0 at tl0 phy 31: ThunderLAN 10BASE-T media =
interface, rev. 6</FONT>
<BR><FONT SIZE=3D2>tlphy0: 10base5</FONT>
<BR><FONT SIZE=3D2>pcib0 at pci0 dev 20 function 0</FONT>
<BR><FONT SIZE=3D2>pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. =
0x01)</FONT>
<BR><FONT SIZE=3D2>pciide0 at pci0 dev 20 function 1: Intel 82371AB IDE =
controller (PIIX4) (rev. 0x01)</FONT>
<BR><FONT SIZE=3D2>pciide0: bus-master DMA support present</FONT>
<BR><FONT SIZE=3D2>pciide0: primary channel wired to compatibility =
mode</FONT>
<BR><FONT SIZE=3D2>pciide0: disabling primary channel (no =
drives)</FONT>
<BR><FONT SIZE=3D2>pciide0: secondary channel wired to compatibility =
mode</FONT>
<BR><FONT SIZE=3D2>atapibus0 at pciide0 channel 1: 2 targets</FONT>
<BR><FONT SIZE=3D2>cd0 at atapibus0 drive 0: &lt;HITACHI CDR-8235, , =
0004&gt; type 5 cdrom removable</FONT>
<BR><FONT SIZE=3D2>cd0: 32-bit data port</FONT>
<BR><FONT SIZE=3D2>cd0: drive supports PIO mode 4, DMA mode 1</FONT>
<BR><FONT SIZE=3D2>pciide0: secondary channel interrupting at irq =
15</FONT>
<BR><FONT SIZE=3D2>cd0(pciide0:1:0): using PIO mode 0, DMA mode 1 =
(using DMA data transfers)</FONT>
<BR><FONT SIZE=3D2>uhci0 at pci0 dev 20 function 2: Intel 82371AB USB =
Host Controller (PIIX4) (rev. 0x01)</FONT>
<BR><FONT SIZE=3D2>uhci0: interrupting at irq 11</FONT>
<BR><FONT SIZE=3D2>usb0 at uhci0: USB revision 1.0</FONT>
<BR><FONT SIZE=3D2>uhub0 at usb0</FONT>
<BR><FONT SIZE=3D2>uhub0: Intel UHCI root hub, class 9/0, rev =
1.00/1.00, addr 1</FONT>
<BR><FONT SIZE=3D2>uhub0: 2 ports with 2 removable, self powered</FONT>
<BR><FONT SIZE=3D2>Intel 82371AB Power Management Controller (PIIX4) =
(miscellaneous bridge, revision 0x01) at pci0 dev 20 function 3 not =
configured</FONT></P>

<P><FONT SIZE=3D2>isa0 at pcib0</FONT>
<BR><FONT SIZE=3D2>com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, =
working fifo</FONT>
<BR><FONT SIZE=3D2>com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, =
working fifo</FONT>
<BR><FONT SIZE=3D2>pckbc0 at isa0 port 0x60-0x64</FONT>
<BR><FONT SIZE=3D2>pckbd0 at pckbc0 (kbd slot)</FONT>
<BR><FONT SIZE=3D2>pckbc0: using irq 1 for kbd slot</FONT>
<BR><FONT SIZE=3D2>wskbd0 at pckbd0: console keyboard, using =
wsdisplay0</FONT>
<BR><FONT SIZE=3D2>pms0 at pckbc0 (aux slot)</FONT>
<BR><FONT SIZE=3D2>pckbc0: using irq 12 for aux slot</FONT>
<BR><FONT SIZE=3D2>wsmouse0 at pms0 mux 0</FONT>
<BR><FONT SIZE=3D2>lpt0 at isa0 port 0x378-0x37b irq 7</FONT>
<BR><FONT SIZE=3D2>pcppi0 at isa0 port 0x61</FONT>
<BR><FONT SIZE=3D2>midi0 at pcppi0: PC speaker</FONT>
<BR><FONT SIZE=3D2>sysbeep0 at pcppi0</FONT>
<BR><FONT SIZE=3D2>isapnp0 at isa0 port 0x279: ISA Plug 'n Play device =
support</FONT>
<BR><FONT SIZE=3D2>npx0 at isa0 port 0xf0-0xff: using exception =
16</FONT>
<BR><FONT SIZE=3D2>fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2</FONT>
<BR><FONT SIZE=3D2>fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 =
sec</FONT>
<BR><FONT SIZE=3D2>isapnp0: read port 0x203</FONT>
<BR><FONT SIZE=3D2>isapnp0: &lt;ESS ES1869 Plug and Play AudioD, =
ESS0006, , &gt; port 0x800/8 not configured</FONT>
<BR><FONT SIZE=3D2>ess0 at isapnp0 port 0x220/16,0x388/4,0x330/2 irq 5 =
drq 1,0</FONT>
<BR><FONT SIZE=3D2>ess0:: ESS Technology ES1869 [version 0x688b]</FONT>
<BR><FONT SIZE=3D2>ess0: audio1 interrupting at irq 5</FONT>
<BR><FONT SIZE=3D2>audio0 at ess0: half duplex, mmap, =
independent</FONT>
<BR><FONT SIZE=3D2>opl0 at ess0: model OPL3</FONT>
<BR><FONT SIZE=3D2>midi1 at opl0: ESS Yamaha OPL3</FONT>
<BR><FONT SIZE=3D2>biomask ef45 netmask ef45 ttymask ffc7</FONT>
<BR><FONT SIZE=3D2>scsibus0: waiting 2 seconds for devices to =
settle...</FONT>
<BR><FONT SIZE=3D2>sd0 at scsibus0 target 0 lun 0: &lt;COMPAQPC, VIKING =
4.5 NSE, 8807&gt; SCSI2 0/direct fixed</FONT>
<BR><FONT SIZE=3D2>sd0: 4094 MB, 6144 cyl, 8 head, 170 sec, 512 =
bytes/sect x 8386000 sectors</FONT>
<BR><FONT SIZE=3D2>sd0: sync (100.0ns offset 15), 8-bit (10.000MB/s) =
transfers, tagged queueing</FONT>
<BR><FONT SIZE=3D2>Kernelized RAIDframe activated</FONT>
<BR><FONT SIZE=3D2>boot device: sd0</FONT>
<BR><FONT SIZE=3D2>root on sd0a dumps on sd0b</FONT>
<BR><FONT SIZE=3D2>root file system type: ffs</FONT>
<BR><FONT SIZE=3D2>IP Filter: v3.4.23 initialized.&nbsp; Default =3D =
pass all, Logging =3D enabled</FONT>
<BR><FONT SIZE=3D2>wsdisplay0: screen 1 added (80x25, vt100 =
emulation)</FONT>
<BR><FONT SIZE=3D2>wsdisplay0: screen 2 added (80x25, vt100 =
emulation)</FONT>
<BR><FONT SIZE=3D2>wsdisplay0: screen 3 added (80x25, vt100 =
emulation)</FONT>
<BR><FONT SIZE=3D2>wsdisplay0: screen 4 added (80x25, vt100 =
emulation)</FONT>
<BR><FONT SIZE=3D2>alex#</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1D1F8.491CC984--