Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Aug 2011 13:25:48 -0700
From:      Chip Camden <sterling@camdensoftware.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   trouble with ports
Message-ID:  <20110820202548.GA10049@libertas.local.camdensoftware.com>

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

--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 <iom_perl.xs -pe
s/IOM_MODULE/urxvt/g,s/IOM_CLASS/urxvt/g |': No such file or directory in
rxvtperl.xs, line 1897
*** Error code 1

Stop in /usr/ports/x11/rxvt-unicode/work/rxvt-unicode-9.11/src.
*** Error code 1

Stop in /usr/ports/x11/rxvt-unicode/work/rxvt-unicode-9.11.
*** Error code 1

Stop in /usr/ports/x11/rxvt-unicode.
*** Error code 1

Stop in /usr/ports/x11/rxvt-unicode.

Suggestions?

--=20
=2EO. | Sterling (Chip) Camden      | http://camdensoftware.com
=2E.O | sterling@camdensoftware.com | http://chipsquips.com
OOO | 2048R/D6DBAF91              | http://chipstips.com

--k1lZvvs/B4yU6o8G
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iQEcBAEBAgAGBQJOUBhLAAoJEIpckszW26+RkxEIAIeOhUn0lwAC5Rl7+kezKxlS
KOmdjMdKV64jLbSgtdUlS8V+k3Nlde3dAtpowFcetvAQ+SFSVZFvdgHG9byAQBnS
uIoT288UDhBPO18OmRlJN8xel4f0A+vQhqa/tvdRKjaeA8IJpVR50wRDWKfGOhK7
vlT59mQUP2Cr2VWSF3DNQ5Y2va2thi9zmLryTQiYfdENftAEKQgD/CVCGIlctzh5
pu0KsinzzkzgG6I4zUAJ+23zF15v7hwDOCyCOt5GtvQsh77ra1J6m81mF5XNGZWQ
wptpEyV75SN10V84jRsVNY1Rs0/fMu8Q4IQDf5gwORIeVn7V04oUJ1d+yvhXbGU=
=z2Lh
-----END PGP SIGNATURE-----

--k1lZvvs/B4yU6o8G--



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