Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Sep 2005 22:59:18 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Brett Wynkoop <wynkoop@wa3yre.wynn.com>
Cc:        gnome@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: firefox-current on FreeBSD 5.x fails to build
Message-ID:  <1126061958.18969.2.camel@shumai.marcuscom.com>
In-Reply-To: <200509070256.j872uBcv017099@wa3yre.wynn.com>
References:  <200509070256.j872uBcv017099@wa3yre.wynn.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-YYGz1Rg1C0H6HHDWOZRo
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2005-09-06 at 22:56 -0400, Brett Wynkoop wrote:
> Greeting-
>     3 out of 4 5.x boxes I have fail to build firefox with the ports
> tree cvsuped to current.  The failure on the 3 boxes is the same.  The bo=
xes
> that fail are two 5.4 boxes and one 5.3 box.  All boxes have had the port=
s
> trees cvsuped and things built on them over the past several weeks.
>      The system that works is a new install of 5.4 that oddly enough shar=
es
> a ports tree with a failing 5.4 box. =20
>=20
> The failure is given below:
>=20
> gmake[4]: Leaving directory
> `/usr/ports/www/firefox/work/mozilla/netwerk/dns/public'
> gmake[4]: Entering directory
> `/usr/ports/www/firefox/work/mozilla/netwerk/dns/src'
> nsDNSService2.cpp
> c++ -o nsDNSService2.o -c -DOSTYPE=3D\"FreeBSD5\" -DOSARCH=3D\"FreeBSD\"
> -I../../../dist/include/xpcom -I../../../dist/include/string
> -I../../../dist/include/pref -I../../../dist/include/unicharutil
> -I../../../dist/include/necko -I../../../dist/include
> -I/usr/local/include/nspr -I/usr/local/include -I/usr/local/include
> -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include
> -I/usr/local/include  -I/usr/X11R6/include  -I/usr/X11R6/include
> -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
> -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
> -Wno-non-virtual-dtor -Wno-long-long -O -pipe -fshort-wchar -pipe
> -DNDEBUG -DTRIMMED -O  -I/usr/X11R6/include -I/usr/local/include
> -I/usr/X11R6/include  -I/usr/X11R6/include -DMOZILLA_CLIENT -include
> ../../../mozilla-config.h nsDNSService2.cpp
> In file included from nsDNSService2.h:40,
>                  from nsDNSService2.cpp:38:
> nsHostResolver.h:95: error: ISO C++ forbids declaration of
> `PRAddrInfo' with no type
> nsHostResolver.h:95: error: expected `;' before '*' token
> nsHostResolver.h: In member function `PRBool nsHostRecord::HasResult()
> const':
> nsHostResolver.h:99: error: `addr_info' undeclared (first use this
> function)
> nsHostResolver.h:99: error: (Each undeclared identifier is reported
> only once for each function it appears in.)
> nsHostResolver.h: At global scope:
> nsHostResolver.h:209: error: `PRAddrInfo' has not been declared
> nsHostResolver.h:209: error: ISO C++ forbids declaration of
> `parameter' with no type
> nsDNSService2.cpp: In member function `virtual nsresult
> nsDNSRecord::GetCanonicalName(nsACString&)':
> nsDNSService2.cpp:95: error: 'class nsDerivedSafe<nsHostRecord>' has
> no member named 'addr_info'
> nsDNSService2.cpp:96: error: 'class nsDerivedSafe<nsHostRecord>' has
> no member named 'addr_info'
> nsDNSService2.cpp:96: error: `PR_GetCanonNameFromAddrInfo' undeclared
> (first use this function)
> nsDNSService2.cpp: In member function `virtual nsresult
> nsDNSRecord::GetNextAddr(PRUint16, PRNetAddr*)':
> nsDNSService2.cpp:112: error: 'class nsDerivedSafe<nsHostRecord>' has
> no member named 'addr_info'
> nsDNSService2.cpp:113: error: 'class nsDerivedSafe<nsHostRecord>' has
> no member named 'addr_info'
> nsDNSService2.cpp:113: error: `PR_EnumerateAddrInfo' undeclared (first
> use this function)
> nsDNSService2.cpp: In member function `PRUint16
> nsDNSService::GetAFForLookup(const nsACString&)':
> nsDNSService2.cpp:528: error: `PR_AF_UNSPEC' undeclared (first use
> this function)
> gmake[4]: *** [nsDNSService2.o] Error 1
> gmake[4]: Leaving directory
> `/usr/ports/www/firefox/work/mozilla/netwerk/dns/src'
> gmake[3]: *** [libs] Error 2
> gmake[3]: Leaving directory
> `/usr/ports/www/firefox/work/mozilla/netwerk/dns'
> gmake[2]: *** [libs] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/www/firefox/work/mozilla/netwerk'
> gmake[1]: *** [tier_9] Error 2
> gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
> gmake: *** [default] Error 2
> *** Error code 2
>=20
> Stop in /usr/ports/www/firefox.
> flatbush#=20
>=20
>=20
> Clues or pointers appreciated.  I would hate to have to re-install all
> my boxes to get the thing to build!

Reinstall devel/nspr.  Note: this has been discussed on both lists you
posted to very recently.

Joe

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-YYGz1Rg1C0H6HHDWOZRo
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDHleGb2iPiv4Uz4cRAgeYAJ0RJg/48RW8VQWrgcQbnKkkPMCQxgCgnfi4
OVHgMintHZ4JmLNAprw0Imw=
=/lAq
-----END PGP SIGNATURE-----

--=-YYGz1Rg1C0H6HHDWOZRo--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1126061958.18969.2.camel>