Should I uninstall? If not, how to fix major dependency issues?

Robin Wilson robin at rtwilson.com
Fri Jan 4 16:21:06 PST 2013


Hi again,

Unfortunately, I've run into another problem. I followed the full uninstall procedure as listed at http://guide.macports.org/chunked/installing.macports.uninstalling.html, and then reinstalled from the .pkg file.

I think tried to install ghostscript, which gave me the following results:

~ sudo port install ghostscript
--->  Computing dependencies for ghostscript
--->  Dependencies to be installed: autoconf help2man gettext expat libiconv ncurses p5.12-locale-gettext perl5.12 gdbm m4 perl5 automake fontconfig freetype bzip2 zlib jbig2dec jpeg lcms2 tiff libidn libpaper libpng libtool pkgconfig xorg-libXext xorg-libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 libedit openssl python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xz xorg-xextproto xorg-libXt xorg-libsm xorg-libice
--->  Fetching archive for expat
--->  Attempting to fetch expat-2.1.0_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/expat
--->  Attempting to fetch expat-2.1.0_0.darwin_12.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/expat
--->  Installing expat @2.1.0_0
--->  Activating expat @2.1.0_0
--->  Cleaning expat
--->  Fetching archive for libiconv
--->  Attempting to fetch libiconv-1.14_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libiconv
--->  Attempting to fetch libiconv-1.14_0.darwin_12.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libiconv
--->  Installing libiconv @1.14_0
--->  Activating libiconv @1.14_0
--->  Cleaning libiconv
--->  Fetching archive for ncurses
--->  Attempting to fetch ncurses-5.9_1.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ncurses
--->  Attempting to fetch ncurses-5.9_1.darwin_12.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ncurses
--->  Installing ncurses @5.9_1
--->  Activating ncurses @5.9_1
--->  Cleaning ncurses
--->  Fetching archive for gettext
--->  Attempting to fetch gettext-0.18.2_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gettext
--->  Attempting to fetch gettext-0.18.2_0.darwin_12.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gettext
--->  Installing gettext @0.18.2_0
--->  Activating gettext @0.18.2_0
--->  Cleaning gettext
--->  Fetching archive for gdbm
--->  Attempting to fetch gdbm-1.10_2.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gdbm
--->  Attempting to fetch gdbm-1.10_2.darwin_12.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gdbm
--->  Installing gdbm @1.10_2
--->  Activating gdbm @1.10_2
--->  Cleaning gdbm
Portfile changed since last build; discarding previous state.
--->  Fetching archive for perl5.12
--->  Attempting to fetch perl5.12-5.12.4_1.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/perl5.12
--->  Attempting to fetch perl5.12-5.12.4_1.darwin_12.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/perl5.12
--->  Installing perl5.12 @5.12.4_1
--->  Activating perl5.12 @5.12.4_1
--->  Cleaning perl5.12
--->  Fetching archive for p5.12-locale-gettext
--->  Attempting to fetch p5.12-locale-gettext-1.50.0_7.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/p5.12-locale-gettext
--->  Attempting to fetch p5.12-locale-gettext-1.50.0_7.darwin_12.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/p5.12-locale-gettext
--->  Installing p5.12-locale-gettext @1.50.0_7
--->  Activating p5.12-locale-gettext @1.50.0_7
--->  Cleaning p5.12-locale-gettext
--->  Fetching archive for help2man
--->  Attempting to fetch help2man-1.40.13_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/help2man
--->  Attempting to fetch help2man-1.40.13_0.darwin_12.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/help2man
--->  Installing help2man @1.40.13_0
--->  Activating help2man @1.40.13_0
--->  Cleaning help2man
--->  Fetching archive for m4
--->  Attempting to fetch m4-1.4.16_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/m4
--->  Attempting to fetch m4-1.4.16_0.darwin_12.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/m4
--->  Installing m4 @1.4.16_0
--->  Activating m4 @1.4.16_0
--->  Cleaning m4
--->  Fetching archive for perl5
--->  Attempting to fetch perl5-5.12.4_0+perl5_12.darwin_12.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/perl5
--->  Attempting to fetch perl5-5.12.4_0+perl5_12.darwin_12.noarch.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/perl5
--->  Installing perl5 @5.12.4_0+perl5_12
--->  Activating perl5 @5.12.4_0+perl5_12
--->  Cleaning perl5
--->  Fetching archive for autoconf
--->  Attempting to fetch autoconf-2.69_0.darwin_12.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/autoconf
--->  Attempting to fetch autoconf-2.69_0.darwin_12.noarch.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/autoconf
--->  Installing autoconf @2.69_0
--->  Activating autoconf @2.69_0
--->  Cleaning autoconf
--->  Fetching archive for automake
--->  Attempting to fetch automake-1.13.1_0.darwin_12.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/automake
--->  Attempting to fetch automake-1.13.1_0.darwin_12.noarch.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/automake
--->  Installing automake @1.13.1_0
--->  Activating automake @1.13.1_0
--->  Cleaning automake
--->  Fetching archive for bzip2
--->  Attempting to fetch bzip2-1.0.6_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/bzip2
--->  Attempting to fetch bzip2-1.0.6_0.darwin_12.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/bzip2
--->  Installing bzip2 @1.0.6_0
--->  Activating bzip2 @1.0.6_0
--->  Cleaning bzip2
Error: Requested variants "" do not match original selection "+universal".
Please use the same variants again, perform 'port clean zlib' or specify the force option (-f).
Error: Failed to install zlib
Please see the log file for port zlib for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_zlib/zlib/main.log
Error: The following dependencies were not installed: fontconfig freetype zlib jbig2dec jpeg lcms2 tiff libidn libpaper libpng libtool pkgconfig xorg-libXext xorg-libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 libedit openssl python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xz xorg-xextproto xorg-libXt xorg-libsm xorg-libice
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port ghostscript failed

It seems that zlib is causing problems again - but I have completely uninstalled and re-installed macports, so I don't understand why these errors are occurring.

Any ideas?

Cheers,

Robin

On 4 Jan 2013, at 23:09, Brandon Allbery <allbery.b at gmail.com> wrote:

> On Fri, Jan 4, 2013 at 5:49 PM, Robin Wilson <robin at rtwilson.com> wrote:
> I seem to have major dependency issues - possibly due to something I remember doing ages ago to do with different versions of GCC (yes, sounds stupid doesn't it!). Trying to install GTK+ gave an error about needing libpng, so I tried to install it and got this:
> 
> What you got is not an error; libpng is up to date, its dependency zlib was successfully reinstalled.  (Although I am worried that it doesn't say *why* it was reinstalled; the same version and variant appears to have been installed.)  Perhaps you could "sudo port clean gtk2; sudo port install gtk2" and then attach the resulting log (from "port logfile gtk2").
> 
> If you are not building gtk+ from a port, you may want to install the port instead, or if you must for some reason install manually you might want to inspect the gtk2 Portfile to see what changes might be needed for OS X compatibility and to have it use MacPorts libraries.  Note that this is a bad idea in general; you should use the port.
> 
> Or... one reason I can see for it reinstalling zlib is because you upgraded from an older OS X without performing a MacPorts migration (see https://trac.macports.org/wiki/Migration), which will result in broken libraries; at this point, that probably does mean removing and reinstalling, but read the wiki page for the details and what your options are.
> 
> -- 
> brandon s allbery kf8nh                               sine nomine associates
> allbery.b at gmail.com                                  ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130105/73ca7c85/attachment.html>


More information about the macports-users mailing list