bug#31210: Perl graft breakage

2018-04-20 Thread Mark H Weaver
My suggested approach of making compatibility symlinks didn't work. See for details and further discussion. Mark

bug#31210: Perl graft breakage

2018-04-19 Thread Marius Bakke
Mark H Weaver writes: > Hi Leo, > > One more thing: > > Leo Famulari writes: >> + (add-after 'install 'workaround-grafting-version-bug >> + (lambda* (#:key outputs #:allow-other-keys) >> + (let* ((out (assoc-ref outputs

bug#31210: Perl graft breakage

2018-04-19 Thread Leo Famulari
On Thu, Apr 19, 2018 at 07:57:32AM -0400, Mark H Weaver wrote: > Hi Leo, > > One more thing: > > Leo Famulari writes: > > + (add-after 'install 'workaround-grafting-version-bug > > + (lambda* (#:key outputs #:allow-other-keys) > > + (let*

bug#31210: Perl graft breakage

2018-04-19 Thread Mark H Weaver
Hi Leo, One more thing: 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

bug#31210: Perl graft breakage

2018-04-19 Thread Mark H Weaver
Hi again, I wrote: > The problem is that you should never use 'package/inherit' to create a > graft. That leads to an infinite tower of grafts. I should explain why this is. We cannot use (package/inherit P ...) to define the replacement of package P, because it leads to a circular definition.

bug#31210: Perl graft breakage

2018-04-19 Thread Mark H Weaver
Leo Famulari writes: > On Wed, Apr 18, 2018 at 03:14:45PM -0400, Mark H Weaver wrote: >> I suggest that we add a phase to the replacement 'perl' to install a >> symlink from $out/lib/perl5/5.26.1 pointing to "5.26.2". >> >> Would you like to try this, Leo, and push it if it

bug#31210: Perl graft breakage

2018-04-18 Thread Leo Famulari
On Wed, Apr 18, 2018 at 03:14:45PM -0400, Mark H Weaver wrote: > I suggest that we add a phase to the replacement 'perl' to install a > symlink from $out/lib/perl5/5.26.1 pointing to "5.26.2". > > Would you like to try this, Leo, and push it if it solves the problem > for you? Thanks for your

bug#31210: Perl graft breakage

2018-04-18 Thread Mark H Weaver
Hi Leo, Leo Famulari writes: > On Sun, Apr 15, 2018 at 05:34:05PM +0200, Marius Bakke wrote: >> * gnu/packages/perl.scm (perl-5.26.2): New public variable. >> (perl)[replacement]: New field. > > I noticed on my Debian system that this broke rxvt-unicode, and it > probably

bug#31210: Perl graft breakage

2018-04-18 Thread Leo Famulari
On Sun, Apr 15, 2018 at 05:34:05PM +0200, Marius Bakke wrote: > * gnu/packages/perl.scm (perl-5.26.2): New public variable. > (perl)[replacement]: New field. I noticed on my Debian system that this broke rxvt-unicode, and it probably affects other packages as well. The issue is that the full