GNU bug report logs - #27227
[PATCH] gnu: perl: Update to 5.26.0.

Previous Next

Package: guix-patches;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Sun, 4 Jun 2017 08:43:01 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27227 in the body.
You can then email your comments to 27227 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#27227; Package guix-patches. (Sun, 04 Jun 2017 08:43:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 04 Jun 2017 08:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: perl: Update to 5.26.0.
Date: Sun,  4 Jun 2017 04:40:24 -0400
* gnu/packages/perl.scm (perl): Update to 5.26.0.
* gnu/packages/patches/perl-no-sys-dirs.patch: Update patch context for
'hints/linux.sh'.
---
 gnu/packages/patches/perl-no-sys-dirs.patch | 72 +++++++++++++++--------------
 gnu/packages/perl.scm                       |  4 +-
 2 files changed, 40 insertions(+), 36 deletions(-)

diff --git a/gnu/packages/patches/perl-no-sys-dirs.patch b/gnu/packages/patches/perl-no-sys-dirs.patch
index da91fef3b..ec5987561 100644
--- a/gnu/packages/patches/perl-no-sys-dirs.patch
+++ b/gnu/packages/patches/perl-no-sys-dirs.patch
@@ -1,6 +1,6 @@
 Don't look for headers and libraries in "traditional" locations.
 
-Patch from Nixpkgs by Eelco Dolstra <eelco.dolstra <at> logicblox.com>.
+Patch adapted from Nixpkgs by Eelco Dolstra <eelco.dolstra <at> logicblox.com>.
 
 diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/Configure perl-5.20.0/Configure
 --- perl-5.20.0-orig/Configure	2014-05-26 15:34:18.000000000 +0200
@@ -185,39 +185,6 @@ diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/hints/linux.sh perl-5.20.0/hints/li
  case "$plibpth" in
  '') plibpth=`LANG=C LC_ALL=C $gcc $ccflags $ldflags -print-search-dirs | grep libraries |
  	cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'`
-@@ -178,32 +159,6 @@
-     ;;
- esac
- 
--case "$libc" in
--'')
--# If you have glibc, then report the version for ./myconfig bug reporting.
--# (Configure doesn't need to know the specific version since it just uses
--# gcc to load the library for all tests.)
--# We don't use __GLIBC__ and  __GLIBC_MINOR__ because they
--# are insufficiently precise to distinguish things like
--# libc-2.0.6 and libc-2.0.7.
--    for p in $plibpth
--    do
--        for trylib in libc.so.6 libc.so
--        do
--            if $test -e $p/$trylib; then
--                libc=`ls -l $p/$trylib | awk '{print $NF}'`
--                if $test "X$libc" != X; then
--                    break
--                fi
--            fi
--        done
--        if $test "X$libc" != X; then
--            break
--        fi
--    done
--    ;;
--esac
--
- # Are we using ELF?  Thanks to Kenneth Albanowski <kjahds <at> kjahds.com>
- # for this test.
- cat >try.c <<'EOM'
 @@ -367,33 +322,6 @@
  	;;
  esac
@@ -252,3 +219,40 @@ diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/hints/linux.sh perl-5.20.0/hints/li
  # Linux on Synology.
  if [ -f /etc/synoinfo.conf -a -d /usr/syno ]; then
      # Tested on Synology DS213 and DS413
+diff --git a/hints/linux.sh b/hints/linux.sh
+index 3f38ea0..97aed11 100644
+--- a/hints/linux.sh
++++ b/hints/linux.sh
+@@ -195,32 +195,6 @@ case "$usequadmath" in
+   ;;
+ esac
+ 
+-case "$libc" in
+-'')
+-# If you have glibc, then report the version for ./myconfig bug reporting.
+-# (Configure doesn't need to know the specific version since it just uses
+-# gcc to load the library for all tests.)
+-# We don't use __GLIBC__ and  __GLIBC_MINOR__ because they
+-# are insufficiently precise to distinguish things like
+-# libc-2.0.6 and libc-2.0.7.
+-    for p in $plibpth
+-    do
+-        for trylib in libc.so.6 libc.so
+-        do
+-            if $test -e $p/$trylib; then
+-                libc=`ls -l $p/$trylib | awk '{print $NF}'`
+-                if $test "X$libc" != X; then
+-                    break
+-                fi
+-            fi
+-        done
+-        if $test "X$libc" != X; then
+-            break
+-        fi
+-    done
+-    ;;
+-esac
+-
+ if ${sh:-/bin/sh} -c exit; then
+   echo ''
+   echo 'You appear to have a working bash.  Good.'
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 812d7548c..c3b486988 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -51,14 +51,14 @@
   ;; Yeah, Perl...  It is required early in the bootstrap process by Linux.
   (package
     (name "perl")
-    (version "5.24.0")
+    (version "5.26.0")
     (source (origin
              (method url-fetch)
              (uri (string-append "mirror://cpan/src/5.0/perl-"
                                  version ".tar.gz"))
              (sha256
               (base32
-               "00jj8zr8fnihrxxhl8h936ssczv5x86qb618yz1ig40d1rp0qhvy"))
+               "0zxn9hd7mqgq06ikyi6k70ngbvjf01z1paw0jd25byyl0rlwdrzb"))
              (patches (search-patches
                        "perl-no-sys-dirs.patch"
                        "perl-autosplit-default-time.patch"
-- 
2.13.0





Information forwarded to guix-patches <at> gnu.org:
bug#27227; Package guix-patches. (Sun, 04 Jun 2017 13:46:02 GMT) Full text and rfc822 format available.

Message #8 received at 27227 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Leo Famulari <leo <at> famulari.name>, 27227 <at> debbugs.gnu.org
Subject: Re: bug#27227: [PATCH] gnu: perl: Update to 5.26.0.
Date: Sun, 04 Jun 2017 15:45:50 +0200
[Message part 1 (text/plain, inline)]
Leo Famulari <leo <at> famulari.name> writes:

> * gnu/packages/perl.scm (perl): Update to 5.26.0.
> * gnu/packages/patches/perl-no-sys-dirs.patch: Update patch context for
> 'hints/linux.sh'.

LGTM.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#27227; Package guix-patches. (Sun, 04 Jun 2017 16:38:01 GMT) Full text and rfc822 format available.

Message #11 received at 27227 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 27227 <at> debbugs.gnu.org
Subject: Re: bug#27227: [PATCH] gnu: perl: Update to 5.26.0.
Date: Sun, 4 Jun 2017 12:37:21 -0400
[Message part 1 (text/plain, inline)]
On Sun, Jun 04, 2017 at 03:45:50PM +0200, Marius Bakke wrote:
> Leo Famulari <leo <at> famulari.name> writes:
> 
> > * gnu/packages/perl.scm (perl): Update to 5.26.0.
> > * gnu/packages/patches/perl-no-sys-dirs.patch: Update patch context for
> > 'hints/linux.sh'.
> 
> LGTM.

Thanks!

Is core-updates still open for changes like this? Or should I wait until the
next cycle?

So far I built the final 'perl' package and am currently building Git with this
patch.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#27227; Package guix-patches. (Sun, 04 Jun 2017 18:37:02 GMT) Full text and rfc822 format available.

Message #14 received at 27227 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 27227 <at> debbugs.gnu.org
Subject: Re: bug#27227: [PATCH] gnu: perl: Update to 5.26.0.
Date: Sun, 04 Jun 2017 20:35:56 +0200
[Message part 1 (text/plain, inline)]
Leo Famulari <leo <at> famulari.name> writes:

> On Sun, Jun 04, 2017 at 03:45:50PM +0200, Marius Bakke wrote:
>> Leo Famulari <leo <at> famulari.name> writes:
>> 
>> > * gnu/packages/perl.scm (perl): Update to 5.26.0.
>> > * gnu/packages/patches/perl-no-sys-dirs.patch: Update patch context for
>> > 'hints/linux.sh'.
>> 
>> LGTM.
>
> Thanks!
>
> Is core-updates still open for changes like this? Or should I wait until the
> next cycle?

Perl (and openldap) have not been built yet, so I think it's fine.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Sun, 04 Jun 2017 19:20:02 GMT) Full text and rfc822 format available.

Notification sent to Leo Famulari <leo <at> famulari.name>:
bug acknowledged by developer. (Sun, 04 Jun 2017 19:20:02 GMT) Full text and rfc822 format available.

Message #19 received at 27227-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 27227-done <at> debbugs.gnu.org
Subject: Re: bug#27227: [PATCH] gnu: perl: Update to 5.26.0.
Date: Sun, 4 Jun 2017 15:19:39 -0400
[Message part 1 (text/plain, inline)]
On Sun, Jun 04, 2017 at 08:35:56PM +0200, Marius Bakke wrote:
> Leo Famulari <leo <at> famulari.name> writes:
> 
> > On Sun, Jun 04, 2017 at 03:45:50PM +0200, Marius Bakke wrote:
> >> Leo Famulari <leo <at> famulari.name> writes:
> >> 
> >> > * gnu/packages/perl.scm (perl): Update to 5.26.0.
> >> > * gnu/packages/patches/perl-no-sys-dirs.patch: Update patch context for
> >> > 'hints/linux.sh'.
> >> 
> >> LGTM.
> >
> > Thanks!
> >
> > Is core-updates still open for changes like this? Or should I wait until the
> > next cycle?
> 
> Perl (and openldap) have not been built yet, so I think it's fine.

I merged master into core-updates and pushed this as
f65805485dac3f8c4586648e3f7e901202095a19.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 03 Jul 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 66 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.