From owner-freebsd-questions@FreeBSD.ORG Mon Sep 5 16:08:18 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A14216A41F for ; Mon, 5 Sep 2005 16:08:18 +0000 (GMT) (envelope-from dfarmour@myrealbox.com) Received: from pd2mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91AE043D45 for ; Mon, 5 Sep 2005 16:08:17 +0000 (GMT) (envelope-from dfarmour@myrealbox.com) Received: from pd2mr4so.prod.shaw.ca (pd2mr4so-qfe3.prod.shaw.ca [10.0.141.107]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IMC001QRQ5Q31D0@l-daemon> for freebsd-questions@freebsd.org; Mon, 05 Sep 2005 10:08:14 -0600 (MDT) Received: from pn2ml10so.prod.shaw.ca ([10.0.121.80]) by pd2mr4so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IMC001ZAQ5PJD50@pd2mr4so.prod.shaw.ca> for freebsd-questions@freebsd.org; Mon, 05 Sep 2005 10:08:14 -0600 (MDT) Received: from s0106000d87ae2db6.gv.shawcable.net (S0106000d87ae2db6.gv.shawcable.net [24.108.128.113]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0IMC001WAQ5O03@l-daemon> for freebsd-questions@freebsd.org; Mon, 05 Sep 2005 10:08:13 -0600 (MDT) Date: Mon, 05 Sep 2005 09:09:43 -0700 From: David Armour In-reply-to: <20050905120036.E99C016A41F@hub.freebsd.org> To: freebsd-questions@freebsd.org, Vizion , Garrett Cooper , Yuan Jue Message-id: <200509050909.45093.dfarmour@myrealbox.com> Organization: dfarmour.org MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: <20050905120036.E99C016A41F@hub.freebsd.org> User-Agent: KMail/1.8.2 Cc: Subject: Re: firefox portupgrade failure to compile, requested error listings X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2005 16:08:18 -0000 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 > > 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' has no member named 'addr_info' nsDNSService2.cpp:96: error: 'class nsDerivedSafe' 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' has no member named 'addr_info' nsDNSService2.cpp:113: error: 'class nsDerivedSafe' 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. thanks again.