From owner-freebsd-questions@FreeBSD.ORG Sat Aug 20 20:25:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8331B106566C for ; Sat, 20 Aug 2011 20:25:53 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh1.interactivevillages.com (ca.2e.7bae.static.theplanet.com [174.123.46.202]) by mx1.freebsd.org (Postfix) with ESMTP id 4B19F8FC13 for ; Sat, 20 Aug 2011 20:25:52 +0000 (UTC) Received: from 184-78-197-203.war.clearwire-wmx.net ([184.78.197.203] helo=_HOSTNAME_) by wh1.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Qus73-00028G-2K for freebsd-questions@freebsd.org; Sat, 20 Aug 2011 13:25:26 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Sat, 20 Aug 2011 13:25:48 -0700 Date: Sat, 20 Aug 2011 13:25:48 -0700 From: Chip Camden To: FreeBSD Questions Message-ID: <20110820202548.GA10049@libertas.local.camdensoftware.com> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh1.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com X-Source: X-Source-Args: X-Source-Dir: Subject: trouble with ports 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: Sat, 20 Aug 2011 20:25:53 -0000 --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable $ uname -a FreeBSD libertas.local.camdensoftware.com 8.2-STABLE FreeBSD 8.2-STABLE #12= 3: Wed Aug 17 19:23:26 PDT 2011 root@libertas.local.camdensoftware.com:= /usr/obj/usr/src/sys/LIBERTAS amd64 Last Monday when I had the problem with panics that Attilio's patch seems to have solved, my system died in the middle of a large portmaster operation. This corrupted a number of entries in the package db, resulting in messages like the following: $ pkg_version -vl\< pkg_version: the package info for package 'firefox-5.0,1' is corrupt pkg_version: the package info for package 'rxvt-unicode-9.11' is corrupt This prevents 'portmaster -a' from working at all, and 'portupgrade -a' will not detect changes to those ports whose info is corrupt. Neither does portversion report on those ports (it acts like they aren't installed). I've found that the problem can be corrected by going into the port directory and doing a 'make install FORCE_PKG_REGISTER=3D1'. I had to do about a hundred of those. Howveer, there still remain two ports that refuse to be fixed: firefox and rxvt-unicode (as you can see above). They are each getting build errors. I could believe that's a coincidence in the case of firefox (the port is now at version 6.0), but even then I figure someone would have complained. For rxvt-unicode, though, the version has not changed and I was able to build 9.11 before. Here are the tails of the output from each: firefox: /usr/local/bin/python2.7 /usr/ports/www/firefox/work/mozilla-release/dist/sdk/bin/xpt.py link _xpidlgen/exthandler.xpt _xpidlgen/nsCExternalHandlerService.xpt _xpidlgen/nsIExternalProtocolService.xpt _xpidlgen/nsIExternalHelperAppService.xpt _xpidlgen/nsIHelperAppLauncherDialog.xpt _xpidlgen/nsIContentDispatchChooser.xpt _xpidlgen/nsIHandlerService.xpt _xpidlgen/nsIExternalSharingAppService.xpt _xpidlgen/nsIExternalURLHandlerService.xpt In file included from ../../dist/include/jsval.h:48, from ../../dist/include/jspubtd.h:47, from ../../dist/include/nsIDOMWindowInternal.h:17, from ../../dist/include/nsPIDOMWindow.h:47, from ../../dist/include/nsNPAPIPluginInstance.h:45, from ../../dist/include/nsPluginHost.h:48, from /usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/nsExternal= HelperAppService.cpp:112: =2E./../dist/include/jsutil.h:474: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:474: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:474: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:474: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:474: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:474: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:474: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:474: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:474: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:474: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:474: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:474: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:474: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:474: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:496: error: ISO C++ forbids declaration of 'JS_ALWAYS_INLINE' with no type =2E./../dist/include/jsutil.h:496: error: expected ';' before 'void' =2E./../dist/include/jsutil.h:500: error: expected `;' before 'template' =2E./../dist/include/jsutil.h:500: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:500: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:622: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:629: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:646: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:653: error: expected constructor, destructor, or type conversion before 'static' =2E./../dist/include/jsutil.h:669: error: expected constructor, destructor, or type conversion before 'static' In file included from ../../dist/include/jspubtd.h:47, from ../../dist/include/nsIDOMWindowInternal.h:17, from ../../dist/include/nsPIDOMWindow.h:47, from ../../dist/include/nsNPAPIPluginInstance.h:45, from ../../dist/include/nsPluginHost.h:48, from /usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/nsExternal= HelperAppService.cpp:112: =2E./../dist/include/jsval.h:571: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:577: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:586: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:592: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:598: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:606: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:612: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:618: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:624: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:635: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:641: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:647: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:653: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:661: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:667: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:676: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:682: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:689: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:696: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:704: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:715: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:721: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:727: error: expected initializer before 'void' =2E./../dist/include/jsval.h:735: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:741: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:747: error: 'JS_ALWAYS_INLINE' does not name a type =2E./../dist/include/jsval.h:758: error: expected initializer before 'void' =2E./../dist/include/jsval.h:767: error: expected initializer before 'double' In file included from ../../dist/include/nsBaseHashtable.h:42, from ../../dist/include/nsInterfaceHashtable.h:41, from ../../dist/include/nsNPAPIPluginInstance.h:50, from ../../dist/include/nsPluginHost.h:48, from /usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler/nsExternal= HelperAppService.cpp:112: =2E./../dist/system_wrappers/prlock.h:2: error: expected `}' before end of line =2E./../dist/system_wrappers/prlock.h:2: error: expected declaration before end of line gmake[4]: *** [nsExternalHelperAppService.o] Error 1 gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/uriloader/exthandler' gmake[3]: *** [exthandler_libs] Error 2 gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/uriloader' gmake[2]: *** [libs_tier_platform] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release' gmake[1]: *** [tier_platform] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release' gmake: *** [default] Error 2 *** Error code 1 Stop in /usr/ports/www/firefox. *** Error code 1 Stop in /usr/ports/www/firefox. Now rxvt-unicode: c++ -I.. -I. -I. -I./../libev -DHAVE_CONFIG_H -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -w -I/usr/local/include -D_REENTRANT -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -c ev_cpp.C PERL=3D"/usr/bin/perl5" /usr/bin/perl5 /usr/local/lib/perl5/5.14.1/ExtUtils/xsubpp -C++ -typemap /usr/local/lib/perl5/5.14.1/ExtUtils/typemap -typemap typemap.iom -typemap typemap -prototypes ./rxvtperl.xs >rxvtperl.C Cannot open '$PERL