From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH] Enable deterministic perl archives. Date: Sat, 26 Nov 2016 09:06:22 +0100 Message-ID: <87lgw6hdhd.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <87eg22nkvo.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <87r35zp2oz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAY0F-0005P6-B9 for guix-devel@gnu.org; Sat, 26 Nov 2016 03:06:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cAY0C-0008NG-6I for guix-devel@gnu.org; Sat, 26 Nov 2016 03:06:31 -0500 In-Reply-To: <87r35zp2oz.fsf@gnu.org> 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" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi, > > Marius Bakke skribis: > >> Hi Guix, >> >> This patch disables installation of "perllocal.pod" files which records >> build time and not much else in perl packages. >> >> I haven't checked whether this is needed for packages using 'Build.PL', >> if you know any such package let me know. > > Are these perllocal.pod files really useless? > > In Debian this problem is filed as . > Apparently upstream ended up using SOURCE_DATE_EPOCH: > > https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/279 > > Should we do that instead? Or are perllocal.pod pointless anyway? As far as I can tell, they really are pointless. Makefiles generated by MakeMaker have a "pure_install" target that do not create them. From=20http://www.perlmonks.org/?node=3DExtUtils%3A%3AMakeMaker: "make install per default writes some documentation of what has been done into the file $(INSTALLARCHLIB)/perllocal.pod. This feature can be bypassed by calling make pure_install." Here is a typical perllocal.pod: =2D-8<---------------cut here---------------start------------->8--- =3Dhead2 Tue Oct 25 03:46:54 2016: C L =3Dover 4 =3Ditem * C =3Ditem * C =3Ditem * C =3Ditem * C =3Dback =2D-8<---------------cut here---------------end--------------->8--- They contain build date, FFI language, link type, version and a list of executables. As far as I can tell, this is used by "traditional" package managers such as CPAN, which appends information about all modules in a location to a single perllocal.pod file [0]. Since our modules are self-contained, they will not have any more utility than the above. [0]: http://www.cpan.org/misc/cpan-faq.html#How_installed_modules "Each time a module is installed on your system, it appends information like the following to a file called perllocal.pod which can be found in /usr/local/lib/perl5/version number/architecture/ or something akin to that" --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlg5Qn4ACgkQoqBt8qM6 VPrOxQf/RCp5/4YLTKvG65mSVCThfCZwvQRZ4pKE8wyZq+iXZXLDMgjfr7zmrrif 5mXqr13zrere2EbKJTGh0CJvrlGIPlV2YzNogLtM1VZnGQIRUPmKNcPnv7r0DW3O WpwaPPkOcgA4fBg1YlhsaoUJdBtwKFlmWxDovXI87gXxJrc2/QbPf/55TPtLSqf7 DLq0Lw4I9ro4TV89oak4rI+WPKtS404wsvER9NHEl1JOyf91JG+WMNZW94DZ+f9C DETjN2QCFFcWrEva5TNXTBsFDWxxuBq1p2sETJUPVcisdnOk1hPVcMYkGhFscF8g 9wBT+bKpwmMyhLaXqqbytviZGVjhOQ== =g7IY -----END PGP SIGNATURE----- --=-=-=--