From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Re: Texlive and native-inputs Date: Wed, 29 Oct 2014 19:03:38 +0100 Message-ID: <20141029180338.GB1824@jocasta.intra> References: <20141029165958.GA4944@debian.eduroam.u-bordeaux.fr> <20141029171309.GA30858@jocasta.intra> <20141029174303.GA17790@debian.eduroam.u-bordeaux.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DBIVS5p969aUjpLe" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjXb4-00078S-8x for guix-devel@gnu.org; Wed, 29 Oct 2014 14:03:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjXaz-0002C1-S8 for guix-devel@gnu.org; Wed, 29 Oct 2014 14:03:50 -0400 Received: from de.cellform.com ([88.217.224.109]:44483 helo=jocasta.intra) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjXaz-0002BQ-ES for guix-devel@gnu.org; Wed, 29 Oct 2014 14:03:45 -0400 Content-Disposition: inline In-Reply-To: <20141029174303.GA17790@debian.eduroam.u-bordeaux.fr> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org --DBIVS5p969aUjpLe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 29, 2014 at 06:43:03PM +0100, Andreas Enge wrote: On Wed, Oct 29, 2014 at 06:13:09PM +0100, John Darrington wrote: > You are probably right - to be sure they should be manually checked.= An=20 > alternative would be to attempt cross building all the affected pack= ages.=20 =20 In the case that native inputs should instead be normal, if I understa= nd correctly, cross-builds will succeed, but the built package will not be usable on the target system. =20 Your suggestion detects cases where normal inputs should be native. It should also do the inverse. If, say, libpng is declared as native-input= , when it should be input, then it will fail at build stage. Specifically at the lin= king stage when the liker tries to link the target binary against the native -lpng. However in the case of things like perl, I suppose this relates to what I w= as saying earlier=20 about putting the onus on the user to install it rather than making it an i= nput. =20 > In the case of perl, python, etc I recall that previous discussions= =20 > concluded that if they are needed in installed scripts, then it shou= ld be up to the=20 > user to install them. =20 No, as I understand it, the patch-shebang is there so that scripts run without installing additional interpreters. I certainly remember in the case of octave we decided not to patch-shebang = and have the user=20 install the additional interpreters, but this may not be a universal policy= =2E I think it depends on if the additional interpreters are there as part of the core functionali= ty or as an=20 optional feature. =20 J' --=20 PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --DBIVS5p969aUjpLe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlRRK/oACgkQimdxnC3oJ7P+OQCZAUw37KW9NiNkt6nZ4c5iYUgy wMcAn18cDph/ebqXSM3ruhv+liX/zfwe =2v6y -----END PGP SIGNATURE----- --DBIVS5p969aUjpLe--