From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#31210: Perl graft breakage Date: Thu, 19 Apr 2018 10:38:39 -0400 Message-ID: <20180419143839.GA8699@jasmine.lan> References: <20180415153405.5973-1-mbakke@fastmail.com> <20180418180850.GA11245@jasmine.lan> <87muy0iaxm.fsf@netris.org> <20180418205236.GA26365@jasmine.lan> <87a7tzjtn7.fsf@netris.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9AiI-0000hJ-G2 for bug-guix@gnu.org; Thu, 19 Apr 2018 10:39:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9AiF-0007Qf-6f for bug-guix@gnu.org; Thu, 19 Apr 2018 10:39:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53367) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f9AiE-0007Mx-IT for bug-guix@gnu.org; Thu, 19 Apr 2018 10:39:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f9AiE-00006e-C6 for bug-guix@gnu.org; Thu, 19 Apr 2018 10:39:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87a7tzjtn7.fsf@netris.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Mark H Weaver Cc: 31210@debbugs.gnu.org --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 19, 2018 at 07:57:32AM -0400, Mark H Weaver wrote: > Hi Leo, >=20 > One more thing: >=20 > Leo Famulari writes: > > + (add-after 'install 'workaround-grafting-version-bug > > + (lambda* (#:key outputs #:allow-other-keys) > > + (let* ((out (assoc-ref outputs "out")) > > + (new (string-append out "/lib/perl5/5.26.2")) > > + (old (string-append out "/lib/perl5/5.26.1"))) > > + (symlink new old) > > + #t))))))))) >=20 > It would be better for 'new' to be simply "5.26.2" instead of an > absolute file name. If I'm not mistaken, on ext4, files (including > symlinks) smaller than 60 bytes are stored entirely within the inode, > saving both a disk block and a seek operation when accessing it. Thanks for all your expert advice! I pushed a fix as 44b98b00026e62766620dbc4330a305282d61069. --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlrYqe8ACgkQJkb6MLrK fwizpxAAxdwevc51xru3x1rkqSX3WCv4WtUKyeXgE1cCMmXa9L5TMXUmM+qcdK1+ bdcynJDx7c4TRZIA/jVnWXxehdK8aBoQDccAeP5mxITMlUSku3Ul4auIJAil2GN/ g/DFOzYyLgkuVO+Ii99HWXWK3R3cJr/07S3V8TNeZ62A0u9KyTa/uKCW6aJ149ab eX+dfOhrxZw4SU5DZzwcgUKoYdDT1Zi0tQiXyvYgJLjA/aA/8mZpQTzvc9/v7RIM EZltp2Ic/ozGWX4FbF+07q2dyTH2dQTQA4+sahEkhkKG2XZ1YfCaaNSyQ1C2jmIv kdzDPlTZMJDcw2TWxB2MXdFO1nK6PkqjpBUZ7Iw8INcvBlzAr8kRLzntUNO8P+7U yOFoV+DDhAUym6+/N4sedhiIPqT8Fjirs67tdBf/DGXBUTjg3I451eqD3dcuVVPF R/bEmHqBFcsKo/YsbIh1Ho2NnqURzMGU5nLVLVR+OF8xEMJahdcv0zon22lhy1Ca rEx2J3XDD6Y9c0Z5wG00oB+UY9SzEM83UGbHFDWW5GH25+2fXWKlAYmlqMz0KawO oxZUF8ensNTLXRVbJi6uf7KC9YW8zjNLfXX6WMu1g/YVc5vMBBxuMDrMsoPhZW2J vIbas9HWc9igLnNtcpETUPDEHxREKTbo4vcogA0f04rVbISaWpw= =OLie -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--