trouble with ports

Chip Camden sterling at camdensoftware.com
Sat Aug 20 20:25:53 UTC 2011


$ uname -a
FreeBSD libertas.local.camdensoftware.com 8.2-STABLE FreeBSD 8.2-STABLE #123: Wed Aug 17 19:23:26 PDT 2011     root at 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=1'.  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/nsExternalHelperAppService.cpp:112:
../../dist/include/jsutil.h:474: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:474: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:496: error: ISO C++ forbids declaration of
'JS_ALWAYS_INLINE' with no type
../../dist/include/jsutil.h:496: error: expected ';' before 'void'
../../dist/include/jsutil.h:500: error: expected `;' before 'template'
../../dist/include/jsutil.h:500: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:500: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:622: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:629: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:646: error: expected constructor, destructor,
or type conversion before 'static'
../../dist/include/jsutil.h:653: error: expected constructor, destructor,
or type conversion before 'static'
../../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/nsExternalHelperAppService.cpp:112:
../../dist/include/jsval.h:571: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:577: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:586: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:592: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:598: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:606: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:612: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:618: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:624: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:635: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:641: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:647: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:653: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:661: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:667: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:676: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:682: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:689: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:696: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:704: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:715: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:721: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:727: error: expected initializer before 'void'
../../dist/include/jsval.h:735: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:741: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:747: error: 'JS_ALWAYS_INLINE' does not name a
type
../../dist/include/jsval.h:758: error: expected initializer before 'void'
../../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/nsExternalHelperAppService.cpp:112:
../../dist/system_wrappers/prlock.h:2: error: expected `}' before end of
line
../../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="/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?

-- 
.O. | Sterling (Chip) Camden      | http://camdensoftware.com
..O | sterling at camdensoftware.com | http://chipsquips.com
OOO | 2048R/D6DBAF91              | http://chipstips.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110820/e656a6d8/attachment-0001.pgp


More information about the freebsd-questions mailing list