Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2016 01:28:58 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Raphael Kubo da Costa <rakuco@FreeBSD.org>
Cc:        gnome@FreeBSD.org, perl@FreeBSD.org
Subject:   Re: libperl stage-qa check and libraries that do not link against libperl.so
Message-ID:  <880733D886684E0C0D43E7D8@atuin.in.mat.cc>
In-Reply-To: <868u3nonxn.fsf@FreeBSD.org>
References:  <86d1t0nu6x.fsf@FreeBSD.org> <83298B9CC954C7F5642168D0@atuin.in.mat.cc> <868u3nonxn.fsf@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--==========1E4D0EF2FD4A1E9B9F1D==========
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline



+--On 17 janvier 2016 23:12:36 +0100 Raphael Kubo da Costa
<rakuco@FreeBSD.org> wrote:
| Mathieu Arnold <mat@FreeBSD.org> writes:
| 
|> +--On 17 janvier 2016 15:42:46 +0100 Raphael Kubo da Costa
|> <rakuco@FreeBSD.org> wrote:
|> | Warning:
|> | /wrkdir/stage/usr/local/lib/perl5/site_perl/mach/5.20/auto/Net/Libprox
|> | y/L ibproxy.so is not linked with libperl.so.5.20, not respecting
|> | lddlflags? Error: None of the .so in
|> | /wrkdir/stage/usr/local/lib/perl5/site_perl/mach/5.20 are linked with
|> | libperl.so.5.20, see above for the full list.
|> 
|> Ok, there are two kinds of .so that gets into PERL_ARCH:
|> 
|> 1) the Perl modules, that are linked with libperl.so, and for which must
|> have the rpath set to be able to get libperl.so from where it's
|> installed. 2) The rest of them, they're general .so that do not contain
|> Perl code, and are not linked with libperl.so. For these, if the
|> non-linking is intentional, and not needed, ignore the ***WARNING***.
| 
| Right. If linking against libperl.so and not linking against it are both
| fine, does it still make sense to have that stage-qa check?

There is a stage-qa check because if you link against libperl.so, you MUST
have rpath set to the path of libperl.so, it happens if the port is doing
what Perl should be doing and getting it wrong.  Also, sometime, you don't
link with libperl.so, and it's a mistake, and it should be.

There are a few cases where it's not needed, but when I added the qa check
when I changed libperl.so to be versionned, out of all the ports that
install .so in PERL_ARCH, there were, say, 3 or 4 that had a .so that did
not need to be linked with libperl.so.

-- 
Mathieu Arnold
--==========1E4D0EF2FD4A1E9B9F1D==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJWnDHKXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz
QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85Ii2oP/jVTYtsouBvpuoz8RdGT5zIR
0qE5kJ6zYDbfrakeBCdxKi2IxFnZXzMd6EjrAplMIlpoCPGuFcgV0n9qamQOt1ob
jZ3dGowzfdTa8jgsp/xNL1RDUAlv0TEabqrpIBtIrzgEe1sgGkHCKGaLqMj5ky9y
gTQ2NofqP1lSkOZ7fKr8hYBttIanfQNMe6h4EwZXgcgws1uQJ4RHq3BM9Lhr03Zf
WFej6IiJxa/hK/1IrUF8yWWtx0XcG9yzwKuX5EyxnQThd6euparVRLwzkqR/RzZm
AytZx49wLKsrq+VXYkwCSK8ZuSBhDWAojUOznxiuL/peSpe2aoP+szE1nsmM0hKw
E031G7DzbK2pIvD/zeM6lxwH4HRe14/QV0SSTtN3h+YXP2PnFnaRKPnzYGQXiVAy
7i3MAN7McIKjcYmawiCm3OqZEULSPTlm2OPxvtpX2Bn5107pIMjz5lRXdp9OSoME
f4OUpaJq29pzUcAvaA3phncTznZXHAtbVjkX05aGa851jnl+cVrspSmsxKIdxZwF
iB6MfhI+tSrqbLIru87f1O8fdf342PTNnb7WLeT5TzVIq6KT9++Hvibpv6RiitlB
bV4XVD5i1vWc7BZqY9NLldLgAs7/kQPzaBr77721VCtS5o4W5QAOkAWGzPdVNqau
UIu70m+8eUmHdl3b6tzH
=8sK4
-----END PGP SIGNATURE-----

--==========1E4D0EF2FD4A1E9B9F1D==========--




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