building -stable fails on 5.5

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

building -stable fails on 5.5

Bryan Irvine
I can't seem to get -stable to build. It fails at exactly this spot every
time.  The kernel and xorg compiles to release just fine.

...
Creating Makefile in src/main
Creating Makefile in src/modules/standard
diff -u /usr/src/usr.sbin/httpd/src/include/ap_config_auto.h
/usr/src/usr.sbin/httpd/obj/src/include/ap_config_auto.h.new
--- /usr/src/usr.sbin/httpd/src/include/ap_config_auto.h        Tue Dec  9
12:33:30 2008
+++ /usr/src/usr.sbin/httpd/obj/src/include/ap_config_auto.h.new        Tue
May 13 22:57:59 2014
@@ -86,14 +86,4 @@
 #define HAVE_SOCKADDR_LEN 1
 #endif

-/* build flag: -DMOD_SSL=208116 */
-#ifndef MOD_SSL
-#define MOD_SSL 208116
-#endif
-
-/* build flag: -DEAPI */
-#ifndef EAPI
-#define EAPI 1
-#endif
-
 #endif /* AP_CONFIG_AUTO_H */
*** Error 1 in usr.sbin/httpd (Makefile.bsd-wrapper:646
'/usr/src/usr.sbin/httpd/obj/config.status')
*** Error 1 in usr.sbin (<bsd.subdir.mk>:48 'all')
*** Error 1 in . (<bsd.subdir.mk>:48 'all')
*** Error 1 in /usr/src (Makefile:89 'build')

# cat /usr/src/CVS/Tag

TOPENBSD_5_5

OpenBSD 5.5 (GENERIC) #276: Wed Mar  5 09:57:06 MST 2014
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Sempron(tm) Processor 2800+ ("AuthenticAMD" 686-class, 256KB L2
cache) 1.61 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,SSE3,LAHF
real mem  = 2129817600 (2031MB)
avail mem = 2082729984 (1986MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/14/05, BIOS32 rev. 0 @ 0xf0010,
SMBIOS rev. 2.3 @ 0xf0530 (54 entries)
bios0: vendor American Megatrends Inc. version "0204" date 10/14/2005
bios0: ASUSTeK Computer Inc. K8V-MX
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC OEMB
acpi0: wakeup devices PCI0(S4) PS2K(S4) PS2M(S4) UAR2(S4) AC97(S4) USB1(S4)
USB2(S4) USB3(S4) USB4(S4) EHCI(S4) ILAN(S4) PWRB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: AMD erratum 89 present, BIOS upgrade may be required
cpu0: apic clock running at 200MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 3, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpicpu0 at acpi0
aibs0 at acpi0 RTMP RVLT RFAN
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc0000/0x8200 0xc8800/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "VIA K8M800 Host" rev 0x00
agp at pchb0 not configured
pchb1 at pci0 dev 0 function 1 "VIA K8M800 Host" rev 0x00
pchb2 at pci0 dev 0 function 2 "VIA K8M800 Host" rev 0x00
pchb3 at pci0 dev 0 function 3 "VIA K8M800 Host" rev 0x00
pchb4 at pci0 dev 0 function 4 "VIA K8M800 Host" rev 0x00
pchb5 at pci0 dev 0 function 7 "VIA K8M800 Host" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA K8HTB AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "VIA S3 Unichrome PRO IGP" rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em0 at pci0 dev 11 function 0 "Intel 82541GI" rev 0x05: apic 1 int 16,
address 00:1b:21:0b:d9:90
rl0 at pci0 dev 13 function 0 "Realtek 8139" rev 0x10: apic 1 int 18,
address 00:20:18:8a:46:e2
rlphy0 at rl0 phy 0: RTL internal PHY
pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
pciide0: using apic 1 int 20 for native-PCI interrupt
pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide1 channel 0 drive 0: <WDC WD800BB-00JHA0>
wd0: 16-sector PIO, LBA, 76318MB, 156299375 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide1: channel 1 disabled (no drives)
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: apic 1 int 21
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: apic 1 int 21
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: apic 1 int 21
uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: apic 1 int 21
ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: apic 1 int 21
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00: SMI
iic0 at viapm0
spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0
spdmem1 at iic0 addr 0x51: 1GB DDR SDRAM non-parity PC3200CL3.0
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x60: apic 1 int 22
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 0x78: apic 1 int 23,
address 00:15:f2:4c:31:e6
rlphy1 at vr0 phy 1: RTL8201L 10/100 PHY, rev. 1
pchb6 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
pchb7 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
pchb8 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00
kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "VIA UHCI root hub" rev 1.00/1.00 addr 1
isa0 at mainbus0
isadma0 at isa0
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
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
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: W83627EHF rev 0x54
lm1 at wbsio0 port 0x290/8: W83627EHF-A
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a swap on wd0b dump on wd0b

Reply | Threaded
Open this post in threaded view
|

Re: building -stable fails on 5.5

Bryan Irvine
I did another cvs up -Pd last night and re-attempted the build, and it
still fails in the same place. I'm not sure how to proceed with getting
-stable built.


On Wed, May 14, 2014 at 9:44 PM, Bryan Irvine <[hidden email]> wrote:

> I can't seem to get -stable to build. It fails at exactly this spot every
> time.  The kernel and xorg compiles to release just fine.
>
> ...
> Creating Makefile in src/main
> Creating Makefile in src/modules/standard
> diff -u /usr/src/usr.sbin/httpd/src/include/ap_config_auto.h
> /usr/src/usr.sbin/httpd/obj/src/include/ap_config_auto.h.new
> --- /usr/src/usr.sbin/httpd/src/include/ap_config_auto.h        Tue Dec  9
> 12:33:30 2008
> +++ /usr/src/usr.sbin/httpd/obj/src/include/ap_config_auto.h.new
>  Tue May 13 22:57:59 2014
> @@ -86,14 +86,4 @@
>  #define HAVE_SOCKADDR_LEN 1
>  #endif
>
> -/* build flag: -DMOD_SSL=208116 */
> -#ifndef MOD_SSL
> -#define MOD_SSL 208116
> -#endif
> -
> -/* build flag: -DEAPI */
> -#ifndef EAPI
> -#define EAPI 1
> -#endif
> -
>  #endif /* AP_CONFIG_AUTO_H */
> *** Error 1 in usr.sbin/httpd (Makefile.bsd-wrapper:646
> '/usr/src/usr.sbin/httpd/obj/config.status')
> *** Error 1 in usr.sbin (<bsd.subdir.mk>:48 'all')
> *** Error 1 in . (<bsd.subdir.mk>:48 'all')
> *** Error 1 in /usr/src (Makefile:89 'build')
>
> # cat /usr/src/CVS/Tag
>
> TOPENBSD_5_5
>
> OpenBSD 5.5 (GENERIC) #276: Wed Mar  5 09:57:06 MST 2014
>     [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: AMD Sempron(tm) Processor 2800+ ("AuthenticAMD" 686-class, 256KB L2
> cache) 1.61 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,SSE3,LAHF
> real mem  = 2129817600 (2031MB)
> avail mem = 2082729984 (1986MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 10/14/05, BIOS32 rev. 0 @ 0xf0010,
> SMBIOS rev. 2.3 @ 0xf0530 (54 entries)
> bios0: vendor American Megatrends Inc. version "0204" date 10/14/2005
> bios0: ASUSTeK Computer Inc. K8V-MX
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S1 S3 S4 S5
> acpi0: tables DSDT FACP APIC OEMB
> acpi0: wakeup devices PCI0(S4) PS2K(S4) PS2M(S4) UAR2(S4) AC97(S4)
> USB1(S4) USB2(S4) USB3(S4) USB4(S4) EHCI(S4) ILAN(S4) PWRB(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: AMD erratum 89 present, BIOS upgrade may be required
> cpu0: apic clock running at 200MHz
> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 3, 24 pins
> ioapic0: misconfigured as apic 2, remapped to apid 1
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (P0P1)
> acpicpu0 at acpi0
> aibs0 at acpi0 RTMP RVLT RFAN
> acpibtn0 at acpi0: PWRB
> bios0: ROM list: 0xc0000/0x8200 0xc8800/0x1000
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "VIA K8M800 Host" rev 0x00
> agp at pchb0 not configured
> pchb1 at pci0 dev 0 function 1 "VIA K8M800 Host" rev 0x00
> pchb2 at pci0 dev 0 function 2 "VIA K8M800 Host" rev 0x00
> pchb3 at pci0 dev 0 function 3 "VIA K8M800 Host" rev 0x00
> pchb4 at pci0 dev 0 function 4 "VIA K8M800 Host" rev 0x00
> pchb5 at pci0 dev 0 function 7 "VIA K8M800 Host" rev 0x00
> ppb0 at pci0 dev 1 function 0 "VIA K8HTB AGP" rev 0x00
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "VIA S3 Unichrome PRO IGP" rev 0x01
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> em0 at pci0 dev 11 function 0 "Intel 82541GI" rev 0x05: apic 1 int 16,
> address 00:1b:21:0b:d9:90
> rl0 at pci0 dev 13 function 0 "Realtek 8139" rev 0x10: apic 1 int 18,
> address 00:20:18:8a:46:e2
> rlphy0 at rl0 phy 0: RTL internal PHY
> pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
> pciide0: using apic 1 int 20 for native-PCI interrupt
> pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133,
> channel 0 configured to compatibility, channel 1 configured to compatibility
> wd0 at pciide1 channel 0 drive 0: <WDC WD800BB-00JHA0>
> wd0: 16-sector PIO, LBA, 76318MB, 156299375 sectors
> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
> pciide1: channel 1 disabled (no drives)
> uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: apic 1 int 21
> uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: apic 1 int 21
> uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: apic 1 int 21
> uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: apic 1 int 21
> ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: apic 1 int 21
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
> viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00: SMI
> iic0 at viapm0
> spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0
> spdmem1 at iic0 addr 0x51: 1GB DDR SDRAM non-parity PC3200CL3.0
> auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x60: apic 1 int 22
> 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 0x78: apic 1 int 23,
> address 00:15:f2:4c:31:e6
> rlphy1 at vr0 phy 1: RTL8201L 10/100 PHY, rev. 1
> pchb6 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
> pchb7 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
> pchb8 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00
> kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci3: USB revision 1.0
> uhub4 at usb4 "VIA UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at mainbus0
> isadma0 at isa0
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> 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
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> wbsio0 at isa0 port 0x2e/2: W83627EHF rev 0x54
> lm1 at wbsio0 port 0x290/8: W83627EHF-A
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> vscsi0 at root
> scsibus0 at vscsi0: 256 targets
> softraid0 at root
> scsibus1 at softraid0: 256 targets
> root on wd0a swap on wd0b dump on wd0b

Reply | Threaded
Open this post in threaded view
|

Re: building -stable fails on 5.5

Stuart Henderson
On 2014-05-21, Bryan Irvine <[hidden email]> wrote:
> I did another cvs up -Pd last night and re-attempted the build, and it
> still fails in the same place. I'm not sure how to proceed with getting
> -stable built.

Standard debug things if you're running into a build issue:

- make sure /usr/obj is clean before you start

- move away the old source tree and fetch a new one (or make absolutely
sure you have a clean tree; note "cvs up" returning no results is *not*
enough - cvs ignore some files by default)

- make sure you 'make obj' before building

Reply | Threaded
Open this post in threaded view
|

Re: building -stable fails on 5.5

Bryan Irvine
I'll try again tonight.  I had rm -rf /usr/src/* and /usr/ob/* prior to
copying and pasting the commands directly from the faq including the cvs
checkout.  If it's working for others I must not be doing something right.


On Wed, May 21, 2014 at 12:13 PM, Stuart Henderson <[hidden email]>wrote:

> On 2014-05-21, Bryan Irvine <[hidden email]> wrote:
> > I did another cvs up -Pd last night and re-attempted the build, and it
> > still fails in the same place. I'm not sure how to proceed with getting
> > -stable built.
>
> Standard debug things if you're running into a build issue:
>
> - make sure /usr/obj is clean before you start
>
> - move away the old source tree and fetch a new one (or make absolutely
> sure you have a clean tree; note "cvs up" returning no results is *not*
> enough - cvs ignore some files by default)
>
> - make sure you 'make obj' before building

Reply | Threaded
Open this post in threaded view
|

Re: building -stable fails on 5.5

bodie
In reply to this post by Bryan Irvine
On 21.05.2014 21:28, Bryan Irvine wrote:
> I'll try again tonight.  I had rm -rf /usr/src/* and /usr/ob/* prior
> to
> copying and pasting the commands directly from the faq including the
> cvs
> checkout.  If it's working for others I must not be doing something
> right.
>

but cvs up -Pd is for -current, not for stable/release
see http://www.openbsd.org/faq/faq5.html#BldGetSrc

>
> On Wed, May 21, 2014 at 12:13 PM, Stuart Henderson
> <[hidden email]>wrote:
>
>> On 2014-05-21, Bryan Irvine <[hidden email]> wrote:
>> > I did another cvs up -Pd last night and re-attempted the build,
>> and it
>> > still fails in the same place. I'm not sure how to proceed with
>> getting
>> > -stable built.
>>
>> Standard debug things if you're running into a build issue:
>>
>> - make sure /usr/obj is clean before you start
>>
>> - move away the old source tree and fetch a new one (or make
>> absolutely
>> sure you have a clean tree; note "cvs up" returning no results is
>> *not*
>> enough - cvs ignore some files by default)
>>
>> - make sure you 'make obj' before building