Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2010 10:22:11 +0200
From:      Koop Mast <kwm@rainbow-runner.nl>
To:        n dhert <ndhertbsd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: devel/gobject-introspection
Message-ID:  <1275034931.97064.3.camel@heater.rainbow-runner.nl>
In-Reply-To: <AANLkTilxG45EclqNTfP6Lx_5M8NDnp7eV4SBdztFWpLF@mail.gmail.com>
References:  <AANLkTilxG45EclqNTfP6Lx_5M8NDnp7eV4SBdztFWpLF@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2010-05-28 at 09:09 +0200, n dhert wrote:
> When doing daily portupgrades I have a problem with
> devel/gobject-introspection :
> 
> ...
> /giscanner/xmlwriter.py", line 71, in <module>
>     from giscanner._giscanner import collect_attributes
>   File
> "/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11
> /giscanner/libtoolimporter.py", line 53, in load_module
>     ('.so', 'rb', 3))
> ImportError: Shared object "libz.so.4" not found, required by
> "libgio-2.0.so.0"
> gmake[2]: *** [GLib-2.0.gir] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/devel/gobject-introspection/work/gobject
> -introspection-0.6.11/gir'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/devel/gobject-introspection/work/gobject
> -introspection-0.6.11'
> gmake: *** [all] Error 2
> *** Error code 1
> Stop in /usr/ports/devel/gobject-introspection.
> It looks for libz.so.4 but
> $ locate libz.so
> /lib/libz.so.5
> /usr/compat/linux/usr/lib/libz.so.1
> /usr/compat/linux/usr/lib/libz.so.1.2.2.2
> /usr/lib/libz.so
> This system was upgraded from 7.2 to 8.0.
> It still seems to look for a 7.2 version of libz instead of libz.so.5 which
> is what is used in 8.0
> I tried
> # cd /usr/ports/devel/gobject-introspection
> # make deinstall
> (reports no problems)
> # make reinstall
> but this gives the same errors

The problem here is that devel/glib20 still links agains the 7.2 libz
(which is gone) while this port wants to link agains 8.0 libz. 

As a rule of the thumb if you upgrade to another major freebsd release.
You will need to reinstall _all_ of your ports. You can do this by using
portmaster or portupgrade. Or make a list of all installed ports, then
use pkg_delete -a to remove them all. And reinstall them then. 

> # pkgdb -F
> --->  Checking the package registry database
> Stale dependency: consolekit-0.4.1_2 -> gobject-introspection-0.6.10
> (devel/gobj
> ect-introspection):
> Install stale dependency? ([y]es/[n]o/[a]ll) [yes]
> 
> How to fix this?
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 





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