Subject: Re: pkg/30660: gpgme pkg should only be linked to libpthread in libgpgme-pthread
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Quentin Garnier <cube@cubidou.net>
List: pkgsrc-bugs
Date: 07/05/2005 08:04:02
The following reply was made to PR pkg/30660; it has been noted by GNATS.
From: Quentin Garnier <cube@cubidou.net>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/30660: gpgme pkg should only be linked to libpthread in libgpgme-pthread
Date: Tue, 5 Jul 2005 10:19:42 +0200
--LqInKle6vr1NBc7W
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Jul 04, 2005 at 02:41:00AM +0000, Rui Paulo wrote:
> >Number: 30660
> >Category: pkg
> >Synopsis: gpgme pkg should only be linked to libpthread in libgpgm=
e-pthread
> >Confidential: no
> >Severity: serious
> >Priority: high
> >Responsible: pkg-manager
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Mon Jul 04 02:41:00 +0000 2005
> >Originator: Rui Paulo
> >Release: NetBSD 3.99.7
> >Organization:
> >Environment:
> System: NetBSD proton.internal.fnop.net 3.99.7 NetBSD 3.99.7 (GENERIC) #1=
: Fri Jul 1 01:31:14 WEST 2005 rpaulo@proton.internal.fnop.net:/home/rpaulo=
/netbsd/obj-head/sys/arch/i386/compile/GENERIC i386
> Architecture: i386
> Machine: i386
> >Description:
> libgpgme.so gets linked to libpthread erroneously:
>=20
> /usr/pkg/lib/libgpgme.so:
> -lpthread.0 =3D> /usr/lib/libpthread.so.0 <--- wrong
> -lrfuncs.1 =3D> /usr/pkg/lib/librfuncs.so.1
> -lintl.0 =3D> /usr/lib/libintl.so.0
> -lgpg-error.0 =3D> /usr/pkg/lib/libgpg-error.so.0
libgpgme.so itself doesn't depend on libpthread, but librfuncs does.
So gpgme itself isn't the problem, but rather the way it depends
on librfuncs.
[...]
> I will notice gpgme folks to this problem. Meanwhile we should probably
> make libgpgme.so not to link with libpthread.so.
The way librfuncs is introduced is too intrusive, it should be changed
to only be introduced when the library is linked against libpthread.
Buildlink magic should help...
--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
--LqInKle6vr1NBc7W
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
iQEVAwUBQspCntgoQloHrPnoAQKvJAgAwK9JYaZsSS5Po5zfVc2Pg9brNTVFhYGN
HcaKBUAsi05q7UttpDfLU5uxe5dfp7JVHw8TIBQXmc36RgLUtqRtvj10SvOuoVs4
y5XUFdyL17i9BNkJptOAGgrvVYquyqvkp0yjftxIjp+z743riO1ed7F+gRjGD2ZQ
302gRZej3jOC1cPKVY88ybA1TV7dfJTsv9fX6uHW+PmqBZ+sXyKpPxrBO2CsugWz
xQtFBQvMNq0qiXZtEgGE53Cv7m2Q9zhWsob4wS04f2jlyRsUiAftOZG5RRwbwSXU
bl/LRMPK7dCLUOpKbH08VxSpU2npNpkASuDkH64+Hyv5jr0jDmwvyA==
=4lJ5
-----END PGP SIGNATURE-----
--LqInKle6vr1NBc7W--