Nginx security patch build fail

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

Nginx security patch build fail

Gilles Cafedjian
Hello,
I just installed a fresh OpenBSD 5.4 release and I want to apply all the
errata security patch.
Everything worked well except the 004 patch for Nginx.
I apply the patch without problem, but when I try to recompile:

# rm -rf
/usr/obj/*                                                          
# cd /usr/src/
# make -f Makefile.bsd-wrapper obj  
/usr/src/usr.sbin/nginx/obj -> /usr/obj/usr.sbin/nginx
# make -f Makefile.bsd-wrapper depend
# Nothing here so far...
# make -f Makefile.bsd-wrapper      
/usr/bin/lndir -s -e obj -e obj.i386 -e Makefile.bsd-wrapper
/usr/src/usr.sbin/nginx
checking for OS
 + OpenBSD 5.4 i386
checking for C compiler ... found but is not working

configure: error: C compiler cc is not found

*** Error 1 in /usr/src/usr.sbin/nginx (Makefile.bsd-wrapper:49
'/usr/src/usr.sbin/nginx/obj/objs/ngx_auto_config.h': @cd
/usr/src/usr.sbin/...)

This is weird, my compiler worked fine for the other build..
OpenBSD 5.4 i386. dmesg attached.
 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.21 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,SSE3,CX16,LAHF,CMPLEG,SVM,EAPICSP,AMCR8
real mem  = 2011623424 (1918MB)
avail mem = 1967292416 (1876MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/02/06, BIOS32 rev. 0 @ 0xfae60, SMBIOS rev. 2.4 @ 0xf0000 (63 entries)
bios0: vendor Dell Inc version "1.0.3" date 10/02/2006
bios0: Dell Inc Dimension E521
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP BOOT SSDT HPET MCFG SLIC APIC
acpi0: wakeup devices HUB0(S5) XVRA(S5) XVRB(S5) XVRC(S5) USB0(S3) USB2(S3) AZAD(S5) MMAC(S5) MMCI(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: disabled
acpimcfg0 at acpi0 addr 0xf0000000, bus 0-255
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.21 GHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,SSE3,CX16,LAHF,CMPLEG,SVM,EAPICSP,AMCR8
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (HUB0)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xec00
cpu0: PowerNow! K8 2205 MHz: speeds: 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
"NVIDIA C51 Host" rev 0xa2 at pci0 dev 0 function 0 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 1 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 2 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 3 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 4 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 5 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 6 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 7 not configured
ppb0 at pci0 dev 2 function 0 "NVIDIA C51 PCIE" rev 0xa1
pci1 at ppb0 bus 1
ppb1 at pci0 dev 3 function 0 "NVIDIA C51 PCIE" rev 0xa1
pci2 at ppb1 bus 2
ppb2 at pci0 dev 4 function 0 "NVIDIA C51 PCIE" rev 0xa1
pci3 at ppb2 bus 3
vga1 at pci0 dev 5 function 0 "NVIDIA GeForce 6150 LE" rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"NVIDIA MCP51 Host" rev 0xa2 at pci0 dev 9 function 0 not configured
pcib0 at pci0 dev 10 function 0 "NVIDIA MCP51 ISA" rev 0xa3
nviic0 at pci0 dev 10 function 1 "NVIDIA MCP51 SMBus" rev 0xa3
iic0 at nviic0
spdmem0 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-5300CL5
spdmem1 at iic0 addr 0x52: 512MB DDR2 SDRAM non-parity PC2-4200CL5
spdmem2 at iic0 addr 0x53: 512MB DDR2 SDRAM non-parity PC2-4200CL5
iic1 at nviic0
"NVIDIA MCP51 Memory" rev 0xa3 at pci0 dev 10 function 2 not configured
ohci0 at pci0 dev 11 function 0 "NVIDIA MCP51 USB" rev 0xa3: apic 2 int 15, version 1.0, legacy support
ehci0 at pci0 dev 11 function 1 "NVIDIA MCP51 USB" rev 0xa3: apic 2 int 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1
pciide0 at pci0 dev 14 function 0 "NVIDIA MCP51 SATA" rev 0xa1: DMA
pciide0: using apic 2 int 11 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <WDC WD3200KS-75PFB0>
wd0: 16-sector PIO, LBA48, 305245MB, 625142448 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: <TSSTcorp, DVD+-RW TS-H553A, DE04> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
pciide1 at pci0 dev 15 function 0 "NVIDIA MCP51 SATA" rev 0xa1: DMA
pciide1: using apic 2 int 10 for native-PCI interrupt
wd1 at pciide1 channel 1 drive 0: <ST3160023AS>
wd1: 16-sector PIO, LBA48, 152587MB, 312500000 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6
ppb3 at pci0 dev 16 function 0 "NVIDIA MCP51" rev 0xa2
pci4 at ppb3 bus 4
bce0 at pci4 dev 7 function 0 "Broadcom BCM4401B1" rev 0x02: apic 2 int 5, address 00:13:72:38:96:60
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
azalia0 at pci0 dev 16 function 1 "NVIDIA MCP51 HD Audio" rev 0xa2: apic 2 int 11
azalia0: codecs: Sigmatel STAC9227X
audio0 at azalia0
pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
pchb1 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
pchb2 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: core rev BH-F2
isa0 at pcib0
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
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (96d4be65474e7782.a) swap on wd0b dump on wd0b
syncing disks...
OpenBSD 5.4 (GENERIC) #0: Wed Apr 23 11:02:51 CEST 2014
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.21 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,SSE3,CX16,LAHF,CMPLEG,SVM,EAPICSP,AMCR8
real mem  = 2011623424 (1918MB)
avail mem = 1967316992 (1876MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/02/06, BIOS32 rev. 0 @ 0xfae60, SMBIOS rev. 2.4 @ 0xf0000 (63 entries)
bios0: vendor Dell Inc version "1.0.3" date 10/02/2006
bios0: Dell Inc Dimension E521
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP BOOT SSDT HPET MCFG SLIC APIC
acpi0: wakeup devices HUB0(S5) XVRA(S5) XVRB(S5) XVRC(S5) USB0(S3) USB2(S3) AZAD(S5) MMAC(S5) MMCI(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: disabled
acpimcfg0 at acpi0 addr 0xf0000000, bus 0-255
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (HUB0)
acpicpu0 at acpi0: PSS
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xec00
cpu0: PowerNow! K8 2205 MHz: speeds: 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
"NVIDIA C51 Host" rev 0xa2 at pci0 dev 0 function 0 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 1 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 2 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 3 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 4 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 5 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 6 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 7 not configured
ppb0 at pci0 dev 2 function 0 "NVIDIA C51 PCIE" rev 0xa1
pci1 at ppb0 bus 1
ppb1 at pci0 dev 3 function 0 "NVIDIA C51 PCIE" rev 0xa1
pci2 at ppb1 bus 2
ppb2 at pci0 dev 4 function 0 "NVIDIA C51 PCIE" rev 0xa1
pci3 at ppb2 bus 3
vga1 at pci0 dev 5 function 0 "NVIDIA GeForce 6150 LE" rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"NVIDIA MCP51 Host" rev 0xa2 at pci0 dev 9 function 0 not configured
pcib0 at pci0 dev 10 function 0 "NVIDIA MCP51 ISA" rev 0xa3
nviic0 at pci0 dev 10 function 1 "NVIDIA MCP51 SMBus" rev 0xa3
iic0 at nviic0
spdmem0 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-5300CL5
spdmem1 at iic0 addr 0x52: 512MB DDR2 SDRAM non-parity PC2-4200CL5
spdmem2 at iic0 addr 0x53: 512MB DDR2 SDRAM non-parity PC2-4200CL5
iic1 at nviic0
"NVIDIA MCP51 Memory" rev 0xa3 at pci0 dev 10 function 2 not configured
ohci0 at pci0 dev 11 function 0 "NVIDIA MCP51 USB" rev 0xa3: apic 2 int 15, version 1.0, legacy support
ehci0 at pci0 dev 11 function 1 "NVIDIA MCP51 USB" rev 0xa3: apic 2 int 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1
pciide0 at pci0 dev 14 function 0 "NVIDIA MCP51 SATA" rev 0xa1: DMA
pciide0: using apic 2 int 11 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <WDC WD3200KS-75PFB0>
wd0: 16-sector PIO, LBA48, 305245MB, 625142448 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: <TSSTcorp, DVD+-RW TS-H553A, DE04> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
pciide1 at pci0 dev 15 function 0 "NVIDIA MCP51 SATA" rev 0xa1: DMA
pciide1: using apic 2 int 10 for native-PCI interrupt
wd1 at pciide1 channel 1 drive 0: <ST3160023AS>
wd1: 16-sector PIO, LBA48, 152587MB, 312500000 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6
ppb3 at pci0 dev 16 function 0 "NVIDIA MCP51" rev 0xa2
pci4 at ppb3 bus 4
bce0 at pci4 dev 7 function 0 "Broadcom BCM4401B1" rev 0x02: apic 2 int 5, address 00:13:72:38:96:60
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
azalia0 at pci0 dev 16 function 1 "NVIDIA MCP51 HD Audio" rev 0xa2: apic 2 int 11
azalia0: codecs: Sigmatel STAC9227X
audio0 at azalia0
pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
pchb1 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
pchb2 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: core rev BH-F2
isa0 at pcib0
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
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (96d4be65474e7782.a) swap on wd0b dump on wd0b
syncing disks... tm) 6
OpenBSD 5.4 (GENERIC.MP) #1: Thu Apr 24 15:22:50 CEST 2014
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.21 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,SSE3,CX16,LAHF,CMPLEG,SVM,EAPICSP,AMCR8
real mem  = 2011623424 (1918MB)
avail mem = 1967292416 (1876MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/02/06, BIOS32 rev. 0 @ 0xfae60, SMBIOS rev. 2.4 @ 0xf0000 (63 entries)
bios0: vendor Dell Inc version "1.0.3" date 10/02/2006
bios0: Dell Inc Dimension E521
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP BOOT SSDT HPET MCFG SLIC APIC
acpi0: wakeup devices HUB0(S5) XVRA(S5) XVRB(S5) XVRC(S5) USB0(S3) USB2(S3) AZAD(S5) MMAC(S5) MMCI(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: disabled
acpimcfg0 at acpi0 addr 0xf0000000, bus 0-255
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.21 GHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,SSE3,CX16,LAHF,CMPLEG,SVM,EAPICSP,AMCR8
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (HUB0)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xec00
cpu0: PowerNow! K8 2205 MHz: speeds: 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
"NVIDIA C51 Host" rev 0xa2 at pci0 dev 0 function 0 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 1 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 2 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 3 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 4 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 5 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 6 not configured
"NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 7 not configured
ppb0 at pci0 dev 2 function 0 "NVIDIA C51 PCIE" rev 0xa1
pci1 at ppb0 bus 1
ppb1 at pci0 dev 3 function 0 "NVIDIA C51 PCIE" rev 0xa1
pci2 at ppb1 bus 2
ppb2 at pci0 dev 4 function 0 "NVIDIA C51 PCIE" rev 0xa1
pci3 at ppb2 bus 3
vga1 at pci0 dev 5 function 0 "NVIDIA GeForce 6150 LE" rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"NVIDIA MCP51 Host" rev 0xa2 at pci0 dev 9 function 0 not configured
pcib0 at pci0 dev 10 function 0 "NVIDIA MCP51 ISA" rev 0xa3
nviic0 at pci0 dev 10 function 1 "NVIDIA MCP51 SMBus" rev 0xa3
iic0 at nviic0
spdmem0 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-5300CL5
spdmem1 at iic0 addr 0x52: 512MB DDR2 SDRAM non-parity PC2-4200CL5
spdmem2 at iic0 addr 0x53: 512MB DDR2 SDRAM non-parity PC2-4200CL5
iic1 at nviic0
"NVIDIA MCP51 Memory" rev 0xa3 at pci0 dev 10 function 2 not configured
ohci0 at pci0 dev 11 function 0 "NVIDIA MCP51 USB" rev 0xa3: apic 2 int 15, version 1.0, legacy support
ehci0 at pci0 dev 11 function 1 "NVIDIA MCP51 USB" rev 0xa3: apic 2 int 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1
pciide0 at pci0 dev 14 function 0 "NVIDIA MCP51 SATA" rev 0xa1: DMA
pciide0: using apic 2 int 11 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <WDC WD3200KS-75PFB0>
wd0: 16-sector PIO, LBA48, 305245MB, 625142448 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: <TSSTcorp, DVD+-RW TS-H553A, DE04> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
pciide1 at pci0 dev 15 function 0 "NVIDIA MCP51 SATA" rev 0xa1: DMA
pciide1: using apic 2 int 10 for native-PCI interrupt
wd1 at pciide1 channel 1 drive 0: <ST3160023AS>
wd1: 16-sector PIO, LBA48, 152587MB, 312500000 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6
ppb3 at pci0 dev 16 function 0 "NVIDIA MCP51" rev 0xa2
pci4 at ppb3 bus 4
bce0 at pci4 dev 7 function 0 "Broadcom BCM4401B1" rev 0x02: apic 2 int 5, address 00:13:72:38:96:60
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
azalia0 at pci0 dev 16 function 1 "NVIDIA MCP51 HD Audio" rev 0xa2: apic 2 int 11
azalia0: codecs: Sigmatel STAC9227X
audio0 at azalia0
pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
pchb1 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
pchb2 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: core rev BH-F2
isa0 at pcib0
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
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (96d4be65474e7782.a) swap on wd0b dump on wd0b

Reply | Threaded
Open this post in threaded view
|

Re: Nginx security patch build fail

Pablo Méndez Hernández
Hi Blaise,

On Thu, Apr 24, 2014 at 4:03 PM, Blaise Hizded <[hidden email]> wrote:

> Hello,
> I just installed a fresh OpenBSD 5.4 release and I want to apply all the
> errata security patch.
> Everything worked well except the 004 patch for Nginx.
> I apply the patch without problem, but when I try to recompile:
>
> # rm -rf
> /usr/obj/*
> # cd /usr/src/
> # make -f Makefile.bsd-wrapper obj
> /usr/src/usr.sbin/nginx/obj -> /usr/obj/usr.sbin/nginx
> # make -f Makefile.bsd-wrapper depend
> # Nothing here so far...
> # make -f Makefile.bsd-wrapper
> /usr/bin/lndir -s -e obj -e obj.i386 -e Makefile.bsd-wrapper
> /usr/src/usr.sbin/nginx
> checking for OS
>  + OpenBSD 5.4 i386
> checking for C compiler ... found but is not working
>
> configure: error: C compiler cc is not found

Which packages did you choose at install time?


Regards.

--

Pablo Méndez Hernández

Reply | Threaded
Open this post in threaded view
|

Re: Nginx security patch build fail

Gilles Cafedjian
On 04/24/14 17:38, Pablo Méndez Hernández wrote:

> Hi Blaise,
>
> On Thu, Apr 24, 2014 at 4:03 PM, Blaise Hizded <[hidden email]> wrote:
>> Hello,
>> I just installed a fresh OpenBSD 5.4 release and I want to apply all the
>> errata security patch.
>> Everything worked well except the 004 patch for Nginx.
>> I apply the patch without problem, but when I try to recompile:
>>
>> # rm -rf
>> /usr/obj/*
>> # cd /usr/src/
>> # make -f Makefile.bsd-wrapper obj
>> /usr/src/usr.sbin/nginx/obj -> /usr/obj/usr.sbin/nginx
>> # make -f Makefile.bsd-wrapper depend
>> # Nothing here so far...
>> # make -f Makefile.bsd-wrapper
>> /usr/bin/lndir -s -e obj -e obj.i386 -e Makefile.bsd-wrapper
>> /usr/src/usr.sbin/nginx
>> checking for OS
>>  + OpenBSD 5.4 i386
>> checking for C compiler ... found but is not working
>>
>> configure: error: C compiler cc is not found
> Which packages did you choose at install time?
>
>
> Regards.
>
I didn't install the X sets. Everything else are installed (comp54.tgz...)

Reply | Threaded
Open this post in threaded view
|

Re: Nginx security patch build fail

Pablo Méndez Hernández
On Thu, Apr 24, 2014 at 6:32 PM, Blaise Hizded <[hidden email]> wrote:

> On 04/24/14 17:38, Pablo Méndez Hernández wrote:
>> Hi Blaise,
>>
>> On Thu, Apr 24, 2014 at 4:03 PM, Blaise Hizded <[hidden email]> wrote:
>>> Hello,
>>> I just installed a fresh OpenBSD 5.4 release and I want to apply all the
>>> errata security patch.
>>> Everything worked well except the 004 patch for Nginx.
>>> I apply the patch without problem, but when I try to recompile:
>>>
>>> # rm -rf
>>> /usr/obj/*
>>> # cd /usr/src/
>>> # make -f Makefile.bsd-wrapper obj
>>> /usr/src/usr.sbin/nginx/obj -> /usr/obj/usr.sbin/nginx
>>> # make -f Makefile.bsd-wrapper depend
>>> # Nothing here so far...
>>> # make -f Makefile.bsd-wrapper
>>> /usr/bin/lndir -s -e obj -e obj.i386 -e Makefile.bsd-wrapper
>>> /usr/src/usr.sbin/nginx
>>> checking for OS
>>>  + OpenBSD 5.4 i386
>>> checking for C compiler ... found but is not working
>>>
>>> configure: error: C compiler cc is not found
>> Which packages did you choose at install time?
>>
> I didn't install the X sets. Everything else are installed (comp54.tgz...)

Can you check if /usr/bin/cc is there?


--

Pablo Méndez Hernández

Reply | Threaded
Open this post in threaded view
|

Re: Nginx security patch build fail

Gilles Cafedjian
On 04/25/14 09:29, Pablo Méndez Hernández wrote:

> On Thu, Apr 24, 2014 at 6:32 PM, Blaise Hizded <[hidden email]> wrote:
>> On 04/24/14 17:38, Pablo Méndez Hernández wrote:
>>> Hi Blaise,
>>>
>>> On Thu, Apr 24, 2014 at 4:03 PM, Blaise Hizded <[hidden email]> wrote:
>>>> Hello,
>>>> I just installed a fresh OpenBSD 5.4 release and I want to apply all the
>>>> errata security patch.
>>>> Everything worked well except the 004 patch for Nginx.
>>>> I apply the patch without problem, but when I try to recompile:
>>>>
>>>> # rm -rf
>>>> /usr/obj/*
>>>> # cd /usr/src/
>>>> # make -f Makefile.bsd-wrapper obj
>>>> /usr/src/usr.sbin/nginx/obj -> /usr/obj/usr.sbin/nginx
>>>> # make -f Makefile.bsd-wrapper depend
>>>> # Nothing here so far...
>>>> # make -f Makefile.bsd-wrapper
>>>> /usr/bin/lndir -s -e obj -e obj.i386 -e Makefile.bsd-wrapper
>>>> /usr/src/usr.sbin/nginx
>>>> checking for OS
>>>>  + OpenBSD 5.4 i386
>>>> checking for C compiler ... found but is not working
>>>>
>>>> configure: error: C compiler cc is not found
>>> Which packages did you choose at install time?
>>>
>> I didn't install the X sets. Everything else are installed (comp54.tgz...)
> Can you check if /usr/bin/cc is there?
>
>
Hello,
Yes cc is here and it's GCC 4.2.1

$ ls
/usr/bin/cc                                                              
/usr/bin/cc
$ /usr/bin/cc -v
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd5.4/4.2.1/specs
Target: i386-unknown-openbsd5.4
Configured with: OpenBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719