bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-26 Thread George myglc2 Clemmer

On 04/26/2018 at 10:54 Marius Bakke writes:

> I believe this should be fixed with
> 28cae3389146ee575e29c6dfd77987883503568e.  Again sorry for the breakage,
> and thank you for reporting these issues :-)

Hi Marius, Yes that fixed it. No need to be sorry. Many thanks! - George





bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-26 Thread Marius Bakke
myg...@gmail.com writes:

> On 04/24/2018 at 21:36 Mark H Weaver writes:
>
>> I'm closing this bug now, but feel free to reopen it if you find that
>> there are still problems.
>>
>>Mark
>
> Hello Mark,
>
> Still see the problem. Using "b24b19e3f gnu: retroarch: Update to
> 1.7.2." to build "guix (GNU Guix) 0.14.0.4418-b24b1" ...
>
> g1@g1 ~/src/guix$ guix environment --ad-hoc perl perl-timedate make
> substitute: updating list of substitutes from 
> 'https://mirror.hydra.gnu.org'... 100.0%
> The following derivations will be built:
>/gnu/store/ayrxnbdb7b6fksg2bmf0f1zx6cynxzhh-profile.drv
>/gnu/store/xhzz6r8y2kqr6d58dlm2ijylb8z3q2s5-info-dir.drv
>/gnu/store/bxq1by3s2x0r742mz0h03wbr228gms0y-ca-certificate-bundle.drv
>/gnu/store/36l3lw3dlp239ds0giv9w1zn92j80g3n-fonts-dir.drv
>/gnu/store/5k76cb350q3ym35pn1jd9rd8gx37hqn0-manual-database.drv
> Creating manual page database...
> 794 entries processed in 0.8 s
> g1@g1 ~/src/guix [env]$ perl ~/.mail-mirror/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/7dckxj5l8kxcacm56k0yn3r62hrsj4if-profile/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
>  
> /gnu/store/7dckxj5l8kxcacm56k0yn3r62hrsj4if-profile/lib/perl5/site_perl/5.26.2
>  /gnu/store/7dckxj5l8kxcacm56k0yn3r62hrsj4if-profile/lib/perl5/site_perl 
> /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
>  
> /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_perl/5.26.2
>  
> /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/5.26.2/x86_64-linux-thread-multi
>  /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/5.26.2) at 
> /home/g1/.mail-mirror/mb2md-3.20.pl line 385.
> BEGIN failed--compilation aborted at /home/g1/.mail-mirror/mb2md-3.20.pl
> line 385.
>
> The offencing script is attached.

Hi George,

I believe this should be fixed with
28cae3389146ee575e29c6dfd77987883503568e.  Again sorry for the breakage,
and thank you for reporting these issues :-)


signature.asc
Description: PGP signature


bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-25 Thread myglc2
On 04/24/2018 at 21:36 Mark H Weaver writes:

> I'm closing this bug now, but feel free to reopen it if you find that
> there are still problems.
>
>Mark

Hello Mark,

Still see the problem. Using "b24b19e3f gnu: retroarch: Update to
1.7.2." to build "guix (GNU Guix) 0.14.0.4418-b24b1" ...

g1@g1 ~/src/guix$ guix environment --ad-hoc perl perl-timedate make
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 
100.0%
The following derivations will be built:
   /gnu/store/ayrxnbdb7b6fksg2bmf0f1zx6cynxzhh-profile.drv
   /gnu/store/xhzz6r8y2kqr6d58dlm2ijylb8z3q2s5-info-dir.drv
   /gnu/store/bxq1by3s2x0r742mz0h03wbr228gms0y-ca-certificate-bundle.drv
   /gnu/store/36l3lw3dlp239ds0giv9w1zn92j80g3n-fonts-dir.drv
   /gnu/store/5k76cb350q3ym35pn1jd9rd8gx37hqn0-manual-database.drv
Creating manual page database...
794 entries processed in 0.8 s
g1@g1 ~/src/guix [env]$ perl ~/.mail-mirror/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/7dckxj5l8kxcacm56k0yn3r62hrsj4if-profile/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
 /gnu/store/7dckxj5l8kxcacm56k0yn3r62hrsj4if-profile/lib/perl5/site_perl/5.26.2 
/gnu/store/7dckxj5l8kxcacm56k0yn3r62hrsj4if-profile/lib/perl5/site_perl 
/gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
 
/gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_perl/5.26.2
 
/gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/5.26.2/x86_64-linux-thread-multi
 /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/5.26.2) at 
/home/g1/.mail-mirror/mb2md-3.20.pl line 385.
BEGIN failed--compilation aborted at /home/g1/.mail-mirror/mb2md-3.20.pl
line 385.

The offencing script is attached.

TIA - George



mb2md-3.20.pl
Description: Binary data


bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-24 Thread Mark H Weaver
I'm closing this bug now, but feel free to reopen it if you find that
there are still problems.

   Mark





bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-22 Thread Leo Famulari
On Sat, Apr 21, 2018 at 01:24:25AM -0400, Mark H Weaver wrote:
> I've now pushed another commit b5178b325409b1eaf953f8f3007a180cbd27b167
> to master, which changes the replacement perl to think it is version
> 5.26.1, although it's actually version 5.26.2.  With this fix, I'm now
> able to build guix without 'po4a' reporting errors.
> 
> Please try it out and let me know if there are still problems.

Thanks! I guess one lesson is that we may want to limit Perl grafts to
specific bug-fix patches rather than a full upgrade.


signature.asc
Description: PGP signature


bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-20 Thread Mark H Weaver
I've now pushed another commit b5178b325409b1eaf953f8f3007a180cbd27b167
to master, which changes the replacement perl to think it is version
5.26.1, although it's actually version 5.26.2.  With this fix, I'm now
able to build guix without 'po4a' reporting errors.

Please try it out and let me know if there are still problems.

  Mark





bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-20 Thread Mark H Weaver
Unfortunately, the compatibility symlinks are not sufficient.  The
problem is that other perl packages such a po4a are installing their
modules into $out/lib/perl5/site_perl/5.26.1, which conflicts with the
compatibility symlink that we're installing in perl.

When perl and po4a are put together into a profile, po4a has a directory
/lib/perl5/site_perl/5.26.1 and perl has its compatibility symlink
in the same relative location.  The (guix build union) code follows
perl's symlink to its target directory /lib/perl5/site_perl/5.26.2
and merges that with /lib/perl5/site_perl/5.26.1 to form
/lib/perl5/site_perl/5.26.1, but that not in any of the paths.

I'm now trying a different approach: hack the replacement perl to think
it is version 5.26.1, although it is actually 5.26.2.  I'll report back
soon.

   Mark





bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-20 Thread Mark H Weaver
I just pushed commit 5618193694b08855488b29fae1db42f05ca6deaf to
'master', which I hope will fix the remaining problems with our grafted
perl.

Can you verify and let us know?

  Mark





bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-20 Thread Mark H Weaver
Hi,

Julien Lepiller  writes:

> Le Thu, 19 Apr 2018 10:39:10 -0400,
> Leo Famulari  a écrit :
>
>> I believe this is fixed by commit
>> 44b98b00026e62766620dbc4330a305282d61069.
>> 
>> 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/site_perl
> /home/tyreunom/.guix-profile/lib/perl5/site_perl
> /home/tyreunom/.guix-profile/lib/perl5/site_perl
> /home/tyreunom/.guix-profile/lib/perl5/site_perl
> /gnu/store/43vb2vnv7alwi40ms5qsb9i84rs0xb6s-perl-5.26.2/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
> /gnu/store/43vb2vnv7alwi40ms5qsb9i84rs0xb6s-perl-5.26.2/lib/perl5/site_perl/5.26.2
> /gnu/store/43vb2vnv7alwi40ms5qsb9i84rs0xb6s-perl-5.26.2/lib/perl5/5.26.2/x86_64-linux-thread-multi
> /gnu/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?

It's because perl is grafted: perl-5.26.1 is still used for building
packages, but then after everything is built, references to perl-5.26.1
are replaced with references to perl-5.26.2 by grafting.

The problem we're having with grafting perl is that grafting can only
rewrite a single component of the referenced filenames, namely the
directory name within /gnu/store.  In the case of perl this is not
enough because the precise Perl version number is included in
subdirectory names as well.

Commit 44b98b00026e62766620dbc4330a305282d61069 attempts to fix the
problem by installing a symlink $OUT/lib/perl5/5.26.1 in the perl-5.26.2
directory, and that certainly fixed many problems.

The problem here with p04a is that there's a second symlink that we
need: $OUT/lib/perl5/site_perl/5.26.1, and possibly a third for
$OUT/bin/perl5.26.1.

I'm testing a patch now and will push it soon.

  Mark





bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-20 Thread Leo Famulari
On Fri, Apr 20, 2018 at 07:46:45PM -0400, Leo Famulari wrote:
> On Fri, Apr 20, 2018 at 02:41:52PM +0200, Julien Lepiller wrote:
> > 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/site_perl 
> > /home/tyreunom/.guix-profile/lib/perl5/site_perl 
> > /home/tyreunom/.guix-profile/lib/perl5/site_perl 
> > /home/tyreunom/.guix-profile/lib/perl5/site_perl 
> > /gnu/store/43vb2vnv7alwi40ms5qsb9i84rs0xb6s-perl-5.26.2/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
> >  
> > /gnu/store/43vb2vnv7alwi40ms5qsb9i84rs0xb6s-perl-5.26.2/lib/perl5/site_perl/5.26.2
> >  
> > /gnu/store/43vb2vnv7alwi40ms5qsb9i84rs0xb6s-perl-5.26.2/lib/perl5/5.26.2/x86_64-linux-thread-multi
> >  /gnu/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?
> 
> Okay, something still needs fixing but I'm not sure what. I won't be
> able to take a closer look until Monday. Anyone else is free to try :)

Btw, an easy way to start debugging would be to use `git bisect` to
confirm which commit introduced the problem.


signature.asc
Description: PGP signature


bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-20 Thread Leo Famulari
On Fri, Apr 20, 2018 at 02:41:52PM +0200, Julien Lepiller wrote:
> 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/site_perl 
> /home/tyreunom/.guix-profile/lib/perl5/site_perl 
> /home/tyreunom/.guix-profile/lib/perl5/site_perl 
> /home/tyreunom/.guix-profile/lib/perl5/site_perl 
> /gnu/store/43vb2vnv7alwi40ms5qsb9i84rs0xb6s-perl-5.26.2/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
>  
> /gnu/store/43vb2vnv7alwi40ms5qsb9i84rs0xb6s-perl-5.26.2/lib/perl5/site_perl/5.26.2
>  
> /gnu/store/43vb2vnv7alwi40ms5qsb9i84rs0xb6s-perl-5.26.2/lib/perl5/5.26.2/x86_64-linux-thread-multi
>  /gnu/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?

Okay, something still needs fixing but I'm not sure what. I won't be
able to take a closer look until Monday. Anyone else is free to try :)


signature.asc
Description: PGP signature


bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-20 Thread Julien Lepiller
Le Thu, 19 Apr 2018 10:39:10 -0400,
Leo Famulari  a écrit :

> On Wed, Apr 18, 2018 at 11:14:40PM -0400, George myglc2 Clemmer wrote:
> > Commit ...
> > 
> > 217b8c2e0 * gnu: perl: Replace with 5.26.2 [fixes
> > CVE-2018-{6797,6798,6913}].
> > 
> > ... caused the attached perl script that worked like this ...
> > 
> > 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]$
> > 
> > 
> > ... to stop working ...
> > 
> > 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/wpwb4ig3qhv3m7axjlid2c0f1jqzp09p-profile/lib/perl5/site_perl/5.26.2
> >  /gnu/store/wpwb4ig3qhv3m7axjlid2c0f1jqzp09p-profile/lib/perl5/site_perl 
> > /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
> >  
> > /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_perl/5.26.2
> >  
> > /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/5.26.2/x86_64-linux-thread-multi
> >  /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-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]$
> > 
> > TIA - George  
> 
> I believe this is fixed by commit
> 44b98b00026e62766620dbc4330a305282d61069.
> 
> 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/site_perl 
/home/tyreunom/.guix-profile/lib/perl5/site_perl 
/home/tyreunom/.guix-profile/lib/perl5/site_perl 
/home/tyreunom/.guix-profile/lib/perl5/site_perl 
/gnu/store/43vb2vnv7alwi40ms5qsb9i84rs0xb6s-perl-5.26.2/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
 
/gnu/store/43vb2vnv7alwi40ms5qsb9i84rs0xb6s-perl-5.26.2/lib/perl5/site_perl/5.26.2
 
/gnu/store/43vb2vnv7alwi40ms5qsb9i84rs0xb6s-perl-5.26.2/lib/perl5/5.26.2/x86_64-linux-thread-multi
 /gnu/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?





bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-19 Thread Marius Bakke
George myglc2 Clemmer  writes:

> Commit ...
>
> 217b8c2e0 * gnu: perl: Replace with 5.26.2 [fixes
> CVE-2018-{6797,6798,6913}].
>
> ... caused the attached perl script that worked like this ...
>
> 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]$
>
>
> ... to stop working ...
>
> 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/wpwb4ig3qhv3m7axjlid2c0f1jqzp09p-profile/lib/perl5/site_perl/5.26.2
>  /gnu/store/wpwb4ig3qhv3m7axjlid2c0f1jqzp09p-profile/lib/perl5/site_perl 
> /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
>  
> /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_perl/5.26.2
>  
> /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/5.26.2/x86_64-linux-thread-multi
>  /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-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]$

Leo fixed this in 44b98b00026e62766620dbc4330a305282d61069.

Sorry for the breakage!


signature.asc
Description: PGP signature


bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-19 Thread Leo Famulari
On Wed, Apr 18, 2018 at 11:14:40PM -0400, George myglc2 Clemmer wrote:
> Commit ...
> 
> 217b8c2e0 * gnu: perl: Replace with 5.26.2 [fixes
> CVE-2018-{6797,6798,6913}].
> 
> ... caused the attached perl script that worked like this ...
> 
> 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]$
> 
> 
> ... to stop working ...
> 
> 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/wpwb4ig3qhv3m7axjlid2c0f1jqzp09p-profile/lib/perl5/site_perl/5.26.2
>  /gnu/store/wpwb4ig3qhv3m7axjlid2c0f1jqzp09p-profile/lib/perl5/site_perl 
> /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
>  
> /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_perl/5.26.2
>  
> /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/5.26.2/x86_64-linux-thread-multi
>  /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-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]$
> 
> TIA - George

I believe this is fixed by commit
44b98b00026e62766620dbc4330a305282d61069.

Can you try again and let me know?


signature.asc
Description: PGP signature


bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-18 Thread George myglc2 Clemmer
Commit ...

217b8c2e0 * gnu: perl: Replace with 5.26.2 [fixes
CVE-2018-{6797,6798,6913}].

... caused the attached perl script that worked like this ...

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]$


... to stop working ...

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/wpwb4ig3qhv3m7axjlid2c0f1jqzp09p-profile/lib/perl5/site_perl/5.26.2 
/gnu/store/wpwb4ig3qhv3m7axjlid2c0f1jqzp09p-profile/lib/perl5/site_perl 
/gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
 
/gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_perl/5.26.2
 
/gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/5.26.2/x86_64-linux-thread-multi
 /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-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]$

TIA - George



mb2md-3.20.pl
Description: Binary data