From owner-freebsd-questions@FreeBSD.ORG Mon Sep 5 16:30:39 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 0960516A41F for ; Mon, 5 Sep 2005 16:30:39 +0000 (GMT) (envelope-from yuanjue122@163.com) Received: from 163.com (bj44-212.i.netease.com [202.108.44.212]) by mx1.FreeBSD.org (Postfix) with SMTP id B437743D45 for ; Mon, 5 Sep 2005 16:30:37 +0000 (GMT) (envelope-from yuanjue122@163.com) Received: from yuanjue.nc6000.org (unknown [59.66.138.109]) by smtp4 (Coremail) with SMTP id FkACwZhyHEOIVcIE.1 for ; Tue, 06 Sep 2005 00:30:23 +0800 (CST) X-Originating-IP: [59.66.138.109] From: Yuan Jue Organization: TsingHua Univ. To: David Armour Date: Tue, 6 Sep 2005 00:34:33 +0800 User-Agent: KMail/1.8.2 References: <20050905120036.E99C016A41F@hub.freebsd.org> <200509050909.45093.dfarmour@myrealbox.com> In-Reply-To: <200509050909.45093.dfarmour@myrealbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509060034.33549.yuanjue122@163.com> Cc: freebsd-questions@freebsd.org 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:30:39 -0000 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 > > > > > > 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. 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