From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error Date: Fri, 20 Apr 2018 14:41:52 +0200 Message-ID: <20180420144145.18837a78@lepiller.eu> References: <87r2nbubtr.fsf@gmail.com> <20180419143910.GB8699@jasmine.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9VNa-0004wW-Sv for bug-guix@gnu.org; Fri, 20 Apr 2018 08:43:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9VNW-0003Lh-MR for bug-guix@gnu.org; Fri, 20 Apr 2018 08:43:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53906) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f9VNW-0003Kc-II for bug-guix@gnu.org; Fri, 20 Apr 2018 08:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f9VNW-0004aE-9X for bug-guix@gnu.org; Fri, 20 Apr 2018 08:43:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9VMb-0004gD-Hw for bug-guix@gnu.org; Fri, 20 Apr 2018 08:42:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9VMY-0000ZD-Eb for bug-guix@gnu.org; Fri, 20 Apr 2018 08:42:05 -0400 Received: from lepiller.eu ([89.234.186.109]:44548) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f9VMY-0000Q0-5E for bug-guix@gnu.org; Fri, 20 Apr 2018 08:42:02 -0400 Received: from localhost (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by lepiller.eu (OpenSMTPD) with ESMTPSA id 6b2e1813 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Fri, 20 Apr 2018 12:45:08 +0000 (UTC) In-Reply-To: <20180419143910.GB8699@jasmine.lan> 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: 31216@debbugs.gnu.org Le Thu, 19 Apr 2018 10:39:10 -0400, Leo Famulari a =C3=A9crit : > On Wed, Apr 18, 2018 at 11:14:40PM -0400, George myglc2 Clemmer wrote: > > Commit ... > >=20 > > 217b8c2e0 * gnu: perl: Replace with 5.26.2 [fixes > > CVE-2018-{6797,6798,6913}]. > >=20 > > ... caused the attached perl script that worked like this ... > >=20 > > g1@g1 ~/.mail-mirror$ guix environment --ad-hoc perl perl-timedate > > make wget g1@g1 ~/.mail-mirror [env]$ perl mb2md-3.20.pl > > Usage: > > mb2md -h > > mb2md [-c] -m [-d destdir] > > mb2md [-c] -s sourcefile [-d destdir] > > mb2md [-c] -s sourcedir [-l wu-mailboxlist] [-R|-f > > somefolder] [-d destdir] [-r strip_extension] g1@g1 ~/.mail-mirror > > [env]$ > >=20 > >=20 > > ... to stop working ... > >=20 > > g1@g1 ~/.mail-mirror$ guix environment --ad-hoc perl perl-timedate > > make wget g1@g1 ~/.mail-mirror [env]$ perl mb2md-3.20.pl > > Can't locate Date/Parse.pm in @INC (you may need to install the > > Date::Parse module) (@INC > > contains: /gnu/store/wpwb4ig3qhv3m7axjlid2c0f1jqzp09p-profile/lib/perl5= /site_perl/5.26.2/x86_64-linux-thread-multi /gnu/store/wpwb4ig3qhv3m7axjlid= 2c0f1jqzp09p-profile/lib/perl5/site_perl/5.26.2 /gnu/store/wpwb4ig3qhv3m7ax= jlid2c0f1jqzp09p-profile/lib/perl5/site_perl /gnu/store/ynk3rg3i791i6k7rz2i= mbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-mu= lti /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_= perl/5.26.2 /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/per= l5/5.26.2/x86_64-linux-thread-multi /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfj= rnrc-perl-5.26.2/lib/perl5/5.26.2) > > at mb2md-3.20.pl line 385. BEGIN failed--compilation aborted at > > mb2md-3.20.pl line 385. g1@g1 ~/.mail-mirror [env]$ > >=20 > > TIA - George =20 >=20 > I believe this is fixed by commit > 44b98b00026e62766620dbc4330a305282d61069. >=20 > Can you try again and let me know? Hi, I don't think this is fully fixed. On current master, trying to run po4a (a perl application that guix now depends on to generate the translation of the manual), I get the following: [env]$ po4a-updatepo Can't locate Locale/Po4a/Po.pm in @INC (you may need to install the Locale::Po4a::Po module) (@INC contains: /gnu/store/b10z3mm4nyvzwq6b7537nhckmilbv7bm-po4a-0.47/lib/perl5/s= ite_perl /home/tyreunom/.guix-profile/lib/perl5/site_perl /home/tyreunom/.g= uix-profile/lib/perl5/site_perl /home/tyreunom/.guix-profile/lib/perl5/site= _perl /gnu/store/43vb2vnv7alwi40ms5qsb9i84rs0xb6s-perl-5.26.2/lib/perl5/sit= e_perl/5.26.2/x86_64-linux-thread-multi /gnu/store/43vb2vnv7alwi40ms5qsb9i8= 4rs0xb6s-perl-5.26.2/lib/perl5/site_perl/5.26.2 /gnu/store/43vb2vnv7alwi40m= s5qsb9i84rs0xb6s-perl-5.26.2/lib/perl5/5.26.2/x86_64-linux-thread-multi /gn= u/store/43vb2vnv7alwi40ms5qsb9i84rs0xb6s-perl-5.26.2/lib/perl5/5.26.2) at /gnu/store/b10z3mm4nyvzwq6b7537nhckmilbv7bm-po4a-0.47/bin/.po4a-updatepo= -real line 168. What fixed the issue was adding $GUIX_ENVIRONMENT/lib/perl5/site_perl/5.26.1 to the PERL5LIB variable. It used to work until very recently, but I wonder why the version number is 5.26.1 if perl is 5.26.2?