Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jul 2011 12:08:42 +0200
From:      Jan Henrik Sylvester <me@janh.de>
To:        Aleksey Spiridonov <leksey@ya.ru>,  Jeremy Messenger <mezz.freebsd@gmail.com>
Cc:        gnome-list freebsd <freebsd-gnome@freebsd.org>
Subject:   Re: Port net-im/empathy/ possible broken
Message-ID:  <4E11912A.9020508@janh.de>
References:  4E07BB73.6000801@ya.ru

next in thread | raw e-mail | index | archive | help
On Wed, Jun 29, 2011 at 20:59, Jeremy Messenger <mezz.freebsd at 
gmail.com> wrote:
> On Sun, Jun 26, 2011 at 6:06 PM, Aleksey Spiridonov <leksey at ya.ru> wrote:
>> Hello.
>>
>> Same bug finds at
>> http://lists.pcbsd.org/pipermail/pbibuild/2011-June/034842.html
>>
>> My config.log in attach
>
> The pointyhat[1] and I can't reproduce it. You will need to make sure
> to follow this: http://www.freebsd.org/gnome/docs/bugging.html
>
> [1] http://pointyhat.freebsd.org/errorlogs/amd64-8-latest-logs/empathy-2.32.2_1.log

Have you found out more about this?

Pointyhat does install security/gnome-keyring as a build dependency. On 
my system with a ports tree from about 12 hours ago, gnome-keyring is 
not installed. When I install it manually, net-im/empathy can be build, 
but not installed, since net-im/telepathy-gabble does not build anymore 
(gcrypt deprecated something). But the gnome-keyring issue first:

For the packages I build a week ago, some depend on gnome-keyring, such 
as evince, gimp, and empathy. During the last night I rebuild most ports 
and now nothing depends on gnome-keyring. evince and gimp did install 
without gnome-keyring present, empathy does not.

Already sysutils/gnome-mount of last week depends on libgnome-keyring 
and gnome-keyring, whereas gnome-mount of yesterday does not. devel/gvfs 
lost its dependency on gnome-keyring, too, but kept libgnome-keyring. 
Looking at Makefile/LIB_DEPENDS:

sysutils/gnome-mount: gnome-keyring:${PORTSDIR}/security/gnome-keyring
devel/gvfs: gnome-keyring:${PORTSDIR}/security/libgnome-keyring

Ok, it seems to depend on which is installed first. If libgnome-keyring 
is present, gnome-keyring is fulfilled since lib/libgnome-keyring.so.0 
is installed. Hence, gnome-keyring will not be installed and registered.

Is the dependency for gnome-keyring correct? It installs 
lib/libgnome-keyring/* and not ib/libgnome-keyring.so*.

I do not really understand what is going on here, but my conclusion is 
that net-im/empathy pulls in sysutils/gnome-mount that usually provides 
lib/libgcr.so.0 via security/gnome-keyring, but if libgnome-keyring is 
present, sysutils/gnome-mount does not install security/gnome-keyring.

The same happens for other ports (for me evince, gimp*, gnome-mount, 
gvfs, and nautilus*), but they all build fine without 
security/gnome-keyring, since they do not depend on lib/libgcr.so.0.

Two possible fixes:

If sysutils/gnome-mount does not need security/gnome-keyring, its 
LIB_DEPENDS could be changed to security/libgnome-keyring as in 
devel/gvfs. net-im/empathy would need something like 
"libgcr:${PORTSDIR}/security/gnome-keyring" in its LIB_DEPENDS.

If sysutils/gnome-mount really needs security/gnome-keyring, it should 
get LIB_DEPENDS that actually reflect that, for example 
"libgcr:${PORTSDIR}/security/gnome-keyring". Then net-im/empathy would 
not need anything.

For bumping library versions, it might even be better to use 
gnome-keyring.0 and libgcr.0 and explicitly list libgcr.0 for 
net-im/empathy independently of sysutils/gnome-mount, but since there 
are many different opinions on that, I left the versions out in my 
suggestions as that seems to be standard for gnome maintained ports.

Cheers,
Jan Henrik



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