firefox portupgrade failure to compile, requested error listings

Yuan Jue yuanjue122 at 163.com
Mon Sep 5 09:30:39 PDT 2005


On Tuesday 06 September 2005 00:09, Yuan Jue wrote:
> hello list!
>
> >    5. Re: freebsd-questions Digest, Vol 110, Issue 20 (David Armour)
> > Message: 5  WAS: * Command failed [exit code 1]: /usr/bin/script -qa
> >
> > >       /tmp/portupgrade84798.26 make
> > >
> > > From: Vizion <vizion at vizion.occoxmail.com>
> > >
> > > What were the lines before:
> > > >gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
> >
> > ... unfortunately, i only clipped the lines i did, trying to keep my
> > message as short as possible. doh! i'm not sure where to locate the
>
> as i was waking up this morning, the thought that i could just as easily
> re-run the portupgrade firefox command that produced the error
> occurred... so i was delighted to see garrett cooper's recommendation
> to do so, further along in this digest. (Message 15. thanks garrett!)
>
> the (several) lines before 'gmake[1]:
>
> 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
>
> Stop in /usr/ports/www/firefox.
> ** Command failed [exit code 1]: /usr/bin/script
> -qa /tmp/portupgrade40821.26 make
> ** Fix the problem and try again.
> --->  Build of www/firefox ended at: Mon, 05 Sep 2005 07:59:57 -0700
> (consumed 00:13:36)
> --->  Upgrade of www/firefox ended at: Mon, 05 Sep 2005 07:59:57 -0700
> (consumed 00:13:36)
> --->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
>         - lang/perl5.8 (perl-5.8.7)
>         - converters/libiconv (libiconv-1.9.2_1)
>         - graphics/jpeg (jpeg-6b_3)
>         - devel/gettext (gettext-0.14.5)
>         - devel/pkgconfig (pkgconfig-0.17.2)
>         - textproc/libxml2 (libxml2-2.6.20_1)
>         - print/freetype2 (freetype2-2.1.10_1)
>         - graphics/png (png-1.2.8_2)
>         - devel/glib20 (glib-2.6.6)
>         - accessibility/atk (atk-1.9.1)
>         - graphics/tiff (tiff-3.7.3)
>         - devel/libIDL (libIDL-0.8.6)
>         - textproc/expat2 (expat-1.95.8_3)
>         - x11-fonts/fontconfig (fontconfig-2.2.3,1)
>         - x11/xorg-libraries (xorg-libraries-6.8.2)
>         - misc/hicolor-icon-theme (hicolor-icon-theme-0.5)
>         - devel/popt (popt-1.7)
>         - x11-fonts/libXft (libXft-2.1.7)
>         - devel/desktop-file-utils (desktop-file-utils-0.10_2)
>         - misc/gnomehier (gnomehier-2.0_7)
>         - misc/shared-mime-info (shared-mime-info-0.16_1)
>         - x11-fonts/bitstream-vera (bitstream-vera-1.10_1)
>         - x11-fonts/xorg-fonts-encodings (xorg-fonts-encodings-6.8.2)
>         - x11-fonts/xorg-fonts-truetype (xorg-fonts-truetype-6.8.2)
>         - x11-toolkits/pango (pango-1.8.2)
>         - x11-toolkits/gtk20 (gtk-2.6.10_1)
>         ! www/firefox (firefox-1.0.4,1) (compiler error)
> --->  Packages processed: 0 done, 26 ignored, 0 skipped and 1 failed
> --->  Session ended at: Mon, 05 Sep 2005 07:59:57 -0700 (consumed
> 00:13:48)
>
> HTH. apologies if i've padded out this too much. i have virtually no
> idea what any of the stuff that fills the screen for 13:48 minutes
> means.
>
> > file that all those screens of garbled text goes to either. i looked
> > in /var/log, but i couldn't see anything that looked likely. any idea
> > where i could find the file?
>
> i'm still interested in learning where the system might be storing those
> screensfull, if at all, for future reference.
>
> > (i tried, successfully, to update the portupgrade port, after posting
> > my question. but the firefox port upgrade, subsequently, still
> > refused to compile.)
>
> still true this morning, obviously. although Yuan Jue's message
> [Message: 6] suggests a possible workaround... thanks Yuan!
>
> > Have you upgraded the nspr port? I have almost the same problem when
> > I didn't upgrade it to the newest version.
>
> without your message, i wouldn't have noticed nspr needs updating on my
> pkg_version listing. what does it do? i'll try updating it and see what
> happens.

so does it work now? :)

For your information:
Netscape Portable Runtime (NSPR) provides a platform-neutral API for system 
level and libc like functions. The API is used in the Mozilla client, many of 
Netscape/AOL/iPlanet's and other software offerings. WWW: 
http://www.mozilla.org/projects/nspr/index.html

Good luck!

-- 
Best Regards.

Yuan Jue



More information about the freebsd-questions mailing list