From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1SksLk-0008Tw-BB for garchives@archives.gentoo.org; Sat, 30 Jun 2012 07:44:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F46DE0730; Sat, 30 Jun 2012 07:43:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 44519E0710 for ; Sat, 30 Jun 2012 07:43:17 +0000 (UTC) Received: from pomiocik.lan (unknown [83.238.241.18]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id A7BE21B4015; Sat, 30 Jun 2012 07:43:15 +0000 (UTC) Date: Sat, 30 Jun 2012 09:42:50 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: gentoo-dev@lists.gentoo.org Cc: pacho@gentoo.org Subject: Re: [gentoo-dev] prune_libtool_files is NOT a direct replacement for, example, find "${D}" -name '*.la' -delete Message-ID: <20120630094250.4aa79f3d@pomiocik.lan> In-Reply-To: <1340918336.2243.3.camel@belkin4> References: <4FEB5B22.5050401@gentoo.org> <20120628102629.4f3aaff6@pomiocik.lan> <1340918336.2243.3.camel@belkin4> Organization: Gentoo X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA256; boundary="Sig_/fDsmRHch90a.5HmiHc3o=pL"; protocol="application/pgp-signature" X-Archives-Salt: 8cb963e4-0c8a-4e5d-abb3-b3cab2cfd599 X-Archives-Hash: 389180d28fe46db27013683f9305005f --Sig_/fDsmRHch90a.5HmiHc3o=pL Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 28 Jun 2012 23:18:56 +0200 Pacho Ramos wrote: > El jue, 28-06-2012 a las 10:26 +0200, Micha=C5=82 G=C3=B3rny escribi=C3= =B3: > > On Wed, 27 Jun 2012 22:12:34 +0300 > > Samuli Suominen wrote: > >=20 > > > The logic in prune_libtool_files is not perfect[1]. > >=20 > > Define 'perfect'. > >=20 > > > To clarify: > > >=20 > > > Use `prune_libtool_files --all` instead of plain > > > `prune_libtool_files` if you don't test the package with the USE > > > flags. > >=20 > > Sounds like abuse of '--all' to me. It's like calling 'rm -r' for > > single file... > >=20 > > > [1] http://bugs.gentoo.org/421197 > >=20 >=20 > But we will need to use "--all" in cases like pointed in that bug > report, no? :/ You need to use it if the package passes '-module' to libtool, and doesn't use plugin loader which uses .la files (ltdl, gmodule). The main point is that installing _those_ .la files doesn't do any harm to the system (they can't be linked against). Removing them may (for example, in ImageMagick). It's sad that people start running with pitchforks when they see anything looking like .la without really understanding what it does. And yes, I already had users removing all *.la files and then complaining programs no longer work... --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/fDsmRHch90a.5HmiHc3o=pL Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iJsEAQEIAAYFAk/urgAACgkQfXuS5UK5QB2riAP421Ee/AB8H1274odKxwLQn4Rz x/hZ13ds2HEqoepkFtGxIOjyRVU5/IdjXfuvP78ggeFiN6gwuqIVrD3oFI9B0qm7 dIuqMROT7itjPz4gMozsvAf9TlZ2F4nCKCprRqPswYYVI8l1CYroi9Hc4jKoY9Sg AqJVv5CgAGiqmVzIaw== =Phgm -----END PGP SIGNATURE----- --Sig_/fDsmRHch90a.5HmiHc3o=pL--