On Fri, 6 Mar 2009 19:49:35 -0600
The Ronin <cold.ro...@gmail.com> wrote:

> I was trying to build the firefox port of 3.0.6 on a 4.4 system
> following current, and I kept getting build errors. CVS'ed an updated
> ports tree today and 3.0.7 replaced 3.0.6, but got the same errors
> trying to build the newer version. This is a fresh install of 4.4.
> Any ideas would be greatly appreciated.

You are simply trying to mix a 4.4-RELEASE base system and a
4.5-CURRENT port tree. That simply does not work.

3.0.6 is a 4.5-RELEASE port, 3.0.7 is a 4.5-CURRENT port, and none of
them work on 4.4-RELEASE.

You have to either stay on 4.4-RELEASE for base *and* ports/packages, or
go on 4.5-CURRENT for base (snapshot) *and* ports/packages.

http://www.openbsd.org/faq/faq15.html#NoFun

Regards,
Maxime DERCHE

> Errors :
> 
> In file included from /usr/include/g++/bitset:55,
>                  from ../../../dist/include/thebes/gfxFontUtils.h:61,
>                  from gfxFontUtils.cpp:39:
> /usr/include/g++/string:45:28: bits/c++config.h: No such file or
> directory In file included from /usr/include/g++/string:46,
>                  from /usr/include/g++/bitset:55,
>                  from ../../../dist/include/thebes/gfxFontUtils.h:61,
>                  from gfxFontUtils.cpp:39:
> /usr/include/g++/bits/stringfwd.h:44:28: bits/c++config.h: No such
> file or directory
> In file included from /usr/include/g++/bits/char_traits.h:46,
>                  from /usr/include/g++/string:47,
>                  from /usr/include/g++/bitset:55,
>                  from ../../../dist/include/thebes/gfxFontUtils.h:61,
>                  from gfxFontUtils.cpp:39:
> /usr/include/g++/bits/fpos.h:44:24: bits/c++io.h: No such file or
> directory In file included from /usr/include/g++/bits/fpos.h:45,
>                  from /usr/include/g++/bits/char_traits.h:46,
>                  from /usr/include/g++/string:47,
>                  from /usr/include/g++/bitset:55,
>                  from ../../../dist/include/thebes/gfxFontUtils.h:61,
>                  from gfxFontUtils.cpp:39:
> /usr/include/g++/cwchar:49:28: bits/c++config.h: No such file or
> directory In file included from /usr/include/g++/bits/fpos.h:45,
>                  from /usr/include/g++/bits/char_traits.h:46,
>                  from /usr/include/g++/string:47,
>                  from /usr/include/g++/bitset:55,
>                  from ../../../dist/include/thebes/gfxFontUtils.h:61,
>                  from gfxFontUtils.cpp:39:
> /usr/include/g++/cwchar:65: error: conflicting types for `typedef
> struct mbstate_t mbstate_t'
> /usr/include/stddef.h:64: error: previous declaration as `typedef
> union __mbstate_t mbstate_t'
> In file included from /usr/include/g++/bits/char_traits.h:46,
>                  from /usr/include/g++/string:47,
>                  from /usr/include/g++/bitset:55,
>                  from ../../../dist/include/thebes/gfxFontUtils.h:61,
>                  from gfxFontUtils.cpp:39:
> /usr/include/g++/bits/fpos.h:63: error: 'streamoff' is used as a
> type, but is
>    not defined as a type.
> /usr/include/g++/bits/fpos.h:77: error: syntax error before `__off'
> /usr/include/g++/bits/fpos.h:78: error: missing ';' before right brace
> /usr/include/g++/bits/fpos.h:80: error: semicolon missing after
> declaration of
>    `std::fpos<_StateT>'
> /usr/include/g++/bits/fpos.h: In constructor `std::fpos<_StateT>::fpos
> ()': /usr/include/g++/bits/fpos.h:75: error: class
> `std::fpos<_StateT>' does not have any field named `_M_off'
> /usr/include/g++/bits/fpos.h: At global scope:
> /usr/include/g++/bits/fpos.h:80: error: syntax error before `(' token
> /usr/include/g++/bits/fpos.h:80: error: ISO C++ forbids defining types
> within
>    return type
> /usr/include/g++/bits/fpos.h:80: error: non-member function
> `std::fpos<_StateT>
>    std::<invalid operator>()' cannot have `const' method qualifier
> /usr/include/g++/bits/fpos.h:80: error: semicolon missing after
> declaration of
>    `class std::fpos<_StateT>'
> /usr/include/g++/bits/fpos.h:82: error: syntax error before `&' token
> In file included from /usr/include/g++/bits/char_traits.h:46,
>                  from /usr/include/g++/string:47,
>                  from /usr/include/g++/bitset:55,
>                  from ../../../dist/include/thebes/gfxFontUtils.h:61,
>                  from gfxFontUtils.cpp:39:
> /usr/include/g++/bits/fpos.h:39:1: unterminated #ifndef
> In file included from /usr/include/g++/string:47,
>                  from /usr/include/g++/bitset:55,
>                  from ../../../dist/include/thebes/gfxFontUtils.h:61,
>                  from gfxFontUtils.cpp:39:
> /usr/include/g++/bits/char_traits.h:40:1: unterminated #ifndef
> In file included from /usr/include/g++/bitset:55,
>                  from ../../../dist/include/thebes/gfxFontUtils.h:61,
>                  from gfxFontUtils.cpp:39:
> /usr/include/g++/string:40:1: unterminated #ifndef
> In file included from ../../../dist/include/thebes/gfxFontUtils.h:61,
>                  from gfxFontUtils.cpp:39:
> /usr/include/g++/bitset:48:1: unterminated #ifndef
> In file included from gfxFontUtils.cpp:39:
> ../../../dist/include/thebes/gfxFontUtils.h:39:1: unterminated #ifndef
> gmake[5]: *** [gfxFontUtils.o] Error 1
> gmake[5]: Leaving directory
> `/usr/ports/www/mozilla-firefox/w-mozilla-firefox-3.0.7/mozilla/gfx/thebes/src'
> gmake[4]: *** [libs] Error 2
> gmake[4]: Leaving directory
> `/usr/ports/www/mozilla-firefox/w-mozilla-firefox-3.0.7/mozilla/gfx/thebes'
> gmake[3]: *** [libs] Error 2
> gmake[3]: Leaving directory
> `/usr/ports/www/mozilla-firefox/w-mozilla-firefox-3.0.7/mozilla/gfx'
> gmake[2]: *** [libs_tier_gecko] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/www/mozilla-firefox/w-mozilla-firefox-3.0.7/mozilla'
> gmake[1]: *** [tier_gecko] Error 2
> gmake[1]: Leaving directory
> `/usr/ports/www/mozilla-firefox/w-mozilla-firefox-3.0.7/mozilla'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/www/mozilla-firefox (line 2172 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
> 
> Stop in /usr/ports/www/mozilla-firefox (line 1427 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
> 
> Stop in /usr/ports/www/mozilla-firefox (line 1967 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
> 
> Stop in /usr/ports/www/mozilla-firefox (line 1457 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> 
> 
> 
> DMESG
> 
> OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
>     dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class)
> 2.81 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,SBF,CNXT-ID,xTPR
> real mem  = 1072525312 (1022MB)
> avail mem = 1028661248 (981MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 04/11/03, BIOS32 rev. 0 @
> 0xf0010, SMBIOS rev. 2.3 @ 0xfc340 (68 entries)
> bios0: vendor Intel Corp. version "RG84510A.86A.0031.P16.0304111002"
> date 04/11/2003
> bios0: BUYMPC OTC-H3100D00
> apm0 at bios0: Power Management spec V1.2
> apm0: AC on, battery charge unknown
> acpi at bios0 function 0x0 not configured
> pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf4860/208 (11 entries)
> pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev
> 0x00) pcibios0: PCI bus #2 is the last bus
> bios0: ROM list: 0xc0000/0xf400 0xcf800/0x1000 0xd0800/0x800
> 0xd1000/0x1000 cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82845G Host" rev 0x03
> ppb0 at pci0 dev 1 function 0 "Intel 82845G AGP" rev 0x03
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "NVIDIA GeForce FX 5200" rev 0xa1
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> agp0 at vga1: aperture at 0xf8000000, size 0x4000000
> drm at vga1 unsupported
> uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x02: irq 11
> uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x02: irq 5
> uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x02: irq 10
> ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x02: irq 9
> ehci0: timed out waiting for BIOS
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x82
> pci2 at ppb1 bus 2
> ahc0 at pci2 dev 2 function 0 "Adaptec AHA-2940U" rev 0x00: irq 10
> scsibus0 at ahc0: 16 targets, initiator 7
> fxp0 at pci2 dev 8 function 0 "Intel PRO/100 VE" rev 0x82, i82562:
> irq 11, address 00:0c:f1:d5:24:f5
> inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801DB LPC" rev 0x02:
> 24-bit timer at 3579545Hz
> pciide0 at pci0 dev 31 function 1 "Intel 82801DB IDE" rev 0x02: DMA,
> channel 0 configured to compatibility, channel 1 configured to
> compatibility wd0 at pciide0 channel 0 drive 0: <ST340014A>
> wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors
> wd1 at pciide0 channel 0 drive 1: <ST380011A>
> wd1: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
> wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus1 at atapiscsi0: 2 targets, initiator 7
> cd0 at scsibus1 targ 0 lun 0: <SONY, DVD-ROM DDU1621, S1.6> ATAPI
> 5/cdrom removable
> atapiscsi1 at pciide0 channel 1 drive 1
> scsibus2 at atapiscsi1: 2 targets, initiator 7
> cd1 at scsibus2 targ 0 lun 0: <PLEXTOR, CD-R PX-W8432T, 1.07> ATAPI
> 5/cdrom removable
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> cd1(pciide0:1:1): using PIO mode 4, DMA mode 2
> ichiic0 at pci0 dev 31 function 3 "Intel 82801DB SMBus" rev 0x02: irq
> 3 iic0 at ichiic0
> adt0 at iic0 addr 0x2e: lm85 rev 0x62
> spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
> spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC2700CL2.5
> auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x02: irq
> 3, ICH4 AC97
> ac97: codec id 0x41445374 (Analog Devices AD1981B)
> ac97: codec features headphone, 20 bit DAC, No 3D Stereo
> audio0 at auich0
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at ichpcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: 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
> pmsi0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pmsi0 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
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> biomask ef6d netmask ef6d ttymask ffff
> mtrr: Pentium Pro MTRR support
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b
> auich0: measured ac97 link rate at 47999 Hz, will use 48000 Hz


-- 
Maxime DERCHE
GnuPG public key ID : 0x9A85C4C0
(fingerprint : 0FDC 16AF 5A5B 1908 786C  2B85 2D3C C83E 9A85 C4C0)
http://www.mouet-mouet.net/maxime/blog/index.php

Reply via email to