p5-locale-gettext ... version error

Mark Hattam mark at dxradio.demon.co.uk
Tue Aug 16 07:24:20 PDT 2011


Did a self-update, then an upgrade ... p5-locale-gettext threw a version error.

The following installed ports are outdated:
help2man                       1.40.4_0 < 1.40.4_1       
p5-locale-gettext              1.05_5 < 1.50.0_6         



iMac:~$ sudo port upgrade help2man p5-locale-gettext
--->  Computing dependencies for p5.12-locale-gettext
--->  Fetching archive for p5.12-locale-gettext
--->  Attempting to fetch p5.12-locale-gettext-1.50.0_6.darwin_10.x86_64.tgz from http://packages.macports.org/p5.12-locale-gettext
--->  Fetching p5.12-locale-gettext
--->  Verifying checksum(s) for p5.12-locale-gettext
--->  Extracting p5.12-locale-gettext
--->  Applying patches to p5.12-locale-gettext
--->  Configuring p5.12-locale-gettext
--->  Building p5.12-locale-gettext
--->  Staging p5.12-locale-gettext into destroot
--->  Installing p5.12-locale-gettext @1.50.0_6
--->  Activating p5.12-locale-gettext @1.50.0_6
Error: Target org.macports.deactivate returned: Active version of p5-locale-gettext is not 1.50.0_5 but 1.05_5.
Log for p5-locale-gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_p5-locale-gettext_1.05_5/p5-locale-gettext/main.log
Warning: Failed to execute portfile from registry for p5-locale-gettext @1.05_5
--->  Deactivating p5-locale-gettext @1.05_5
--->  Cleaning p5.12-locale-gettext
--->  Computing dependencies for help2man
--->  Fetching archive for help2man
--->  Attempting to fetch help2man-1.40.4_1.darwin_10.x86_64.tgz from http://packages.macports.org/help2man
--->  Fetching help2man
--->  Verifying checksum(s) for help2man
--->  Extracting help2man
--->  Configuring help2man
--->  Building help2man
--->  Staging help2man into destroot
--->  Installing help2man @1.40.4_1
--->  Cleaning help2man
--->  Computing dependencies for help2man
--->  Deactivating help2man @1.40.4_0
--->  Cleaning help2man
--->  Activating help2man @1.40.4_1
--->  Cleaning help2man
--->  p5-locale-gettext is replaced by p5.12-locale-gettext
--->  Computing dependencies for p5.12-locale-gettext
--->  Cleaning p5.12-locale-gettext


So as it's been a while, I thought I'd then purge the old installations

iMac:~$ sudo port installed
The following ports are currently installed:
  apache2 @2.2.19_0+preforkmpm (active)
  apr @1.4.5_1 (active)
  apr-util @1.3.12_0 (active)
  autoconf @2.68_2 (active)
  autoconf213 @2.13_1 (active)
  automake @1.11.1_0 (active)
  bash @4.2.10_0 (active)
  bzip2 @1.0.6_0 (active)
  cppunit @1.12.1_0 (active)
  ctags @5.8_0 (active)
  curl @7.21.7_0+ssl (active)
  curl-ca-bundle @7.21.7_0
  curl-ca-bundle @7.21.7_1 (active)
  cyrus-sasl2 @2.1.23_3+kerberos (active)
  db44 @4.4.20_1 (active)
  db46 @4.6.21_6 (active)
  dirac @1.0.2_1 (active)
  dovecot2 @2.0.13_0 (active)
  dspam @3.8.0_0+mysql5 (active)
  expat @2.0.1_1 (active)
  faac @1.28_2 (active)
  faad2 @2.7_0+darwin (active)
  ffmpeg @0.7.1_0 (active)
  fontconfig @2.8.0_0+macosx (active)
  freetype @2.4.5_1
  freetype @2.4.6_0 (active)
  gawk @4.0.0_0 (active)
  gdbm @1.8.3_3 (active)
  getmail @4.20.0_0 (active)
  gettext @0.18.1.1_2 (active)
  glib2 @2.28.8_0 (active)
  gmake @3.82_0 (active)
  gnutls @2.8.6_1 (active)
  gperf @3.0.4_2 (active)
  grep @2.9_0 (active)
  gsed @4.2.1_1 (active)
  gzip @1.4_0 (active)
  help2man @1.39.3_0
  help2man @1.40.4_0
  help2man @1.40.4_1 (active)
  icu @4.6.1_0 (active)
  jasper @1.900.1_7 (active)
  jpeg @8c_0 (active)
  lame @3.98.4_0 (active)
  less @444_0 (active)
  libgcrypt @1.5.0_0 (active)
  libgpg-error @1.10_0 (active)
  libiconv @1.13.1_0
  libiconv @1.14_0 (active)
  libidn @1.22_0 (active)
  libmcrypt @2.5.8_1 (active)
  libogg @1.2.2_0
  libogg @1.3.0_0 (active)
  liboil @0.3.17_0+darwin_10 (active)
  libpcap @1.1.1_0 (active)
  libpng @1.4.8_0 (active)
  libsdl @1.2.14_9 (active)
  libtasn1 @2.9_0 (active)
  libtheora @1.1.1_0 (active)
  libtool @2.4_1 (active)
  libvorbis @1.3.2_0 (active)
  libvpx @0.9.6_1 (active)
  libxml2 @2.7.8_0 (active)
  libxslt @1.1.26_0 (active)
  lzo2 @2.05_1 (active)
  m4 @1.4.16_0 (active)
  maildrop @2.5.0_0 (active)
  mhash @0.9.9.9_0 (active)
  mp4v2 @1.9.1_2 (active)
  mysql5 @5.1.57_0 (active)
  mysql5-server @5.1.57_0 (active)
  ncurses @5.9_0
  ncurses @5.9_1 (active)
  ncursesw @5.8_0 (active)
  neon @0.29.5_0
  neon @0.29.6_0 (active)
  nmap @5.51_0 (active)
  openssl @1.0.0d_0 (active)
  orc @0.4.14_0 (active)
  p5-locale-gettext @1.05_5
  p5.12-locale-gettext @1.50.0_6 (active)
  pcre @8.12_0 (active)
  perl5 @5.12.3_1+perl5_12 (active)
  perl5.12 @5.12.3_1 (active)
  php5 @5.3.6_0+apache2 (active)
  php5-calendar @5.3.6_0 (active)
  php5-curl @5.3.6_0 (active)
  php5-exif @5.3.6_0 (active)
  php5-ftp @5.3.6_0 (active)
  php5-gd @5.3.6_0 (active)
  php5-gettext @5.3.6_0 (active)
  php5-iconv @5.3.6_0 (active)
  php5-mbstring @5.3.6_0 (active)
  php5-mcrypt @5.3.6_0 (active)
  php5-mysql @5.3.6_0+mysql5 (active)
  php5-xsl @5.3.6_0 (active)
  php5-zip @5.3.6_0 (active)
  pkgconfig @0.26_0 (active)
  python26 @2.6.7_0 (active)
  python27 @2.7.2_0 (active)
  python_select @0.3_1 (active)
  readline @6.2.000_0 (active)
  schroedinger @1.0.10_1 (active)
  serf @0.7.2_0
  serf0 @0.7.2_0 (active)
  speex @1.2rc1_0 (active)
  sqlite3 @3.7.7.1_0 (active)
  subversion @1.6.17_0
  subversion @1.6.17_1 (active)
  tcl @8.5.9_0 (active)
  texi2html @5.0_0 (active)
  tiff @3.9.5_0 (active)
  tk @8.5.9_0 (active)
  truncate @0.5_0 (active)
  vim @7.3.237_0
  vim @7.3.237_1 (active)
  wget @1.12_3+ssl
  wget @1.13_1+ssl (active)
  x264 @20110628_0 (active)
  Xft2 @2.2.0_0 (active)
  xorg-bigreqsproto @1.1.1_0 (active)
  xorg-inputproto @2.0.1_0
  xorg-inputproto @2.0.2_0 (active)
  xorg-kbproto @1.0.5_0 (active)
  xorg-libice @1.0.7_0 (active)
  xorg-libpthread-stubs @0.3_0 (active)
  xorg-libsm @1.2.0_0 (active)
  xorg-libX11 @1.4.3_0
  xorg-libX11 @1.4.4_0 (active)
  xorg-libXau @1.0.6_0 (active)
  xorg-libxcb @1.7_0 (active)
  xorg-libXdmcp @1.1.0_0 (active)
  xorg-libXext @1.3.0_0 (active)
  xorg-libXrandr @1.3.1_0
  xorg-libXrandr @1.3.2_0 (active)
  xorg-libXScrnSaver @1.2.1_0 (active)
  xorg-libXt @1.1.1_0 (active)
  xorg-randrproto @1.3.2_0 (active)
  xorg-renderproto @0.11.1_0 (active)
  xorg-scrnsaverproto @1.2.1_0 (active)
  xorg-util-macros @1.14.0_0
  xorg-util-macros @1.15.0_0 (active)
  xorg-xcb-proto @1.6_0+python26 (active)
  xorg-xcmiscproto @1.2.1_0 (active)
  xorg-xextproto @7.2.0_0 (active)
  xorg-xf86bigfontproto @1.2.0_0 (active)
  xorg-xproto @7.0.22_0 (active)
  xorg-xtrans @1.2.6_0 (active)
  xrender @0.9.6_0 (active)
  XviD @1.3.2_0 (active)
  yasm @1.1.0_0 (active)
  zlib @1.2.5_0 (active)


iMac:~ $ sudo port uninstall inactive
--->  Uninstalling curl-ca-bundle @7.21.7_0
--->  Cleaning curl-ca-bundle
--->  Uninstalling freetype @2.4.5_1
--->  Cleaning freetype
--->  Uninstalling help2man @1.39.3_0
--->  Cleaning help2man
--->  Uninstalling help2man @1.40.4_0
--->  Cleaning help2man
--->  Uninstalling libiconv @1.13.1_0
--->  Cleaning libiconv
--->  Uninstalling libogg @1.2.2_0
--->  Cleaning libogg
--->  Uninstalling ncurses @5.9_0
--->  Cleaning ncurses
--->  Uninstalling neon @0.29.5_0
--->  Cleaning neon
Error: Target org.macports.uninstall returned: Registry error: p5-locale-gettext @1.50.0_5 not registered as installed
Log for p5-locale-gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_p5-locale-gettext_1.05_5/p5-locale-gettext/main.log
Warning: Failed to execute portfile from registry for p5-locale-gettext @1.05_5
--->  Uninstalling p5-locale-gettext @1.05_5
--->  Unable to uninstall serf @0.7.2_0, the following ports depend on it:
--->  	subversion @1.6.17_0
Error: Target org.macports.uninstall returned: Please uninstall the ports that depend on serf first.
Log for serf is at: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_serf_0.7.2_0/serf/main.log
Warning: Failed to execute portfile from registry for serf @0.7.2_0
--->  Unable to uninstall serf @0.7.2_0, the following ports depend on it:
--->  	subversion @1.6.17_0
Error: port uninstall failed: Please uninstall the ports that depend on serf first.


The two main.log files referencedabove are ...

version:1
:debug:main Executing org.macports.main (p5-locale-gettext)
:debug:uninstall uninstall phase started at Tue Aug 16 15:15:51 BST 2011
:debug:uninstall Executing org.macports.uninstall (p5-locale-gettext)
:error:uninstall Target org.macports.uninstall returned: Registry error: p5-locale-gettext @1.50.0_5 not registered as installed
:debug:uninstall Backtrace: Registry error: p5-locale-gettext @1.50.0_5 not registered as installed
    invoked from within
"throw registry::invalid "Registry error: ${portname}${composite_spec} not registered as installed""
    (procedure "registry_uninstall::uninstall" line 58)
    invoked from within
"registry_uninstall $subport $version $revision $portvariants [array get user_options]"
    (procedure "portuninstall::uninstall_main" line 3)
    invoked from within
"$procedure $targetname"
:info:uninstall Warning: the following items did not execute (for p5-locale-gettext): org.macports.uninstall
:notice:uninstall Log for p5-locale-gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_p5-locale-gettext_1.05_5/p5-locale-gettext/main.log

version:1
:debug:main Executing org.macports.main (serf)
:debug:uninstall uninstall phase started at Tue Aug 16 15:15:51 BST 2011
:debug:uninstall Executing org.macports.uninstall (serf)
:msg:uninstall --->  Unable to uninstall serf @0.7.2_0, the following ports depend on it:
:msg:uninstall --->     subversion @1.6.17_0
:error:uninstall Target org.macports.uninstall returned: Please uninstall the ports that depend on serf first.
:debug:uninstall Backtrace: Please uninstall the ports that depend on serf first.
    invoked from within
"throw registry::uninstall-error "Please uninstall the ports that depend on [$port name] first.""
    (procedure "registry::check_dependents" line 24)
    invoked from within
"registry::check_dependents $port ${uninstall.force} "uninstall""
    (procedure "registry_uninstall::uninstall" line 83)
    invoked from within
"registry_uninstall $subport $version $revision $portvariants [array get user_options]"
    (procedure "portuninstall::uninstall_main" line 3)
    invoked from within
"$procedure $targetname"
:info:uninstall Warning: the following items did not execute (for serf): org.macports.uninstall
:notice:uninstall Log for serf is at: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_serf_0.7.2_0/serf/main.log




More information about the macports-users mailing list