Skip Menu |
Report information
Id: 130885
Status: resolved
Priority: 0/
Queue: perl5

Owner: jkeenan <jkeenan [at] cpan.org>
Requestors: jkeen [at] verizon.net
Cc:
AdminCc:

Operating System: All
PatchStatus: Applied
Severity: Wishlist
Type:
Perl Version: 5.12.5
Fixed In: 5.27.1

Attachments
0001-When-and-how-to-use-Devel-PatchPerl-to-repair-older-.patch



Date: Mon, 27 Feb 2017 13:14:29 -0500
To: perlbug [...] perl.org
Subject: [PATCH] How to use Devel::PatchPerl to repair older builds
From: James E Keenan <jkeen [...] verizon.net>
Download (untitled) / with headers
text/plain 3.8k
This is a bug report for perl from jkeenan@cpan.org, generated with the help of perlbug 1.39 running under perl 5.12.5. ----------------------------------------------------------------- [Please describe your issue here] The patch attached reflects discussion on #p5p today and is documentation-only. The patch discusses when and how someone debugging problems in the core distribution would use CPAN library Devel::PatchPerl to get perl to build at an old commit. Thanks to alh for guidance. Please review. [Please do not change anything below this line] ----------------------------------------------------------------- --- Flags: category=docs severity=wishlist --- Site configuration information for perl 5.12.5: Configured by jkeenan at Sun Feb 26 21:10:57 EST 2017. Summary of my perl5 (revision 5 version 12 subversion 5) configuration: Platform: osname=linux, osvers=4.4.0-64-generic, archname=x86_64-linux uname='linux zareason 4.4.0-64-generic #85-ubuntu smp mon feb 20 11:50:30 utc 2017 x86_64 x86_64 x86_64 gnulinux ' config_args='-de -Dprefix=/home/jkeenan/perl5/perlbrew/perls/perl-5.12.5 -Aeval:scriptdir=/home/jkeenan/perl5/perlbrew/perls/perl-5.12.5/bin' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='5.4.0 20160609', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib /lib64 /usr/lib64 libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=libc-2.23.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.23' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' Locally applied patches: Devel::PatchPerl 1.38 --- @INC for perl 5.12.5: /home/jkeenan/perl5/perlbrew/perls/perl-5.12.5/lib/site_perl/5.12.5/x86_64-linux /home/jkeenan/perl5/perlbrew/perls/perl-5.12.5/lib/site_perl/5.12.5 /home/jkeenan/perl5/perlbrew/perls/perl-5.12.5/lib/5.12.5/x86_64-linux /home/jkeenan/perl5/perlbrew/perls/perl-5.12.5/lib/5.12.5 . --- Environment for perl 5.12.5: HOME=/home/jkeenan LANG=en_US.UTF-8 LANGUAGE=en_US LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/home/jkeenan/perl5/perlbrew/bin:/home/jkeenan/perl5/perlbrew/perls/perl-5.12.5/bin:/usr/lib/ccache:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/jkeenan/bin:/home/jkeenan/bin/perl:/home/jkeenan/bin/shell PERLBREW_BASHRC_VERSION=0.78 PERLBREW_HOME=/home/jkeenan/.perlbrew PERLBREW_MANPATH=/home/jkeenan/perl5/perlbrew/perls/perl-5.12.5/man PERLBREW_PATH=/home/jkeenan/perl5/perlbrew/bin:/home/jkeenan/perl5/perlbrew/perls/perl-5.12.5/bin PERLBREW_PERL=perl-5.12.5 PERLBREW_ROOT=/home/jkeenan/perl5/perlbrew PERLBREW_VERSION=0.78 PERL_BADLANG (unset) PERL_WORKDIR=/home/jkeenan/gitwork/perl SHELL=/bin/bash

Message body is not shown because sender requested not to inline it.

Date: Tue, 28 Feb 2017 10:42:39 +0100
Subject: Re: [perl #130885] [PATCH] How to use Devel::PatchPerl to repair older builds
To: perl5-porters [...] perl.org
From: Sawyer X <xsawyerx [...] gmail.com>
Download (untitled) / with headers
text/plain 823b
On 02/27/2017 08:15 PM, James E Keenan (via RT) wrote: Show quoted text
> # New Ticket Created by James E Keenan > # Please include the string: [perl #130885] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=130885 > > > > This is a bug report for perl from jkeenan@cpan.org, > generated with the help of perlbug 1.39 running under perl 5.12.5. > > > ----------------------------------------------------------------- > [Please describe your issue here] > > The patch attached reflects discussion on #p5p today and is > documentation-only. The patch discusses when and how someone > debugging problems in the core distribution would use CPAN > library Devel::PatchPerl to get perl to build at an old commit.
I like this patch and these kinds of patches. :)
Date: Tue, 28 Feb 2017 08:16:20 -0500
To: Perl5 Porters <perl5-porters [...] perl.org>
From: "Matthew Horsfall (alh)" <wolfsage [...] gmail.com>
Subject: Re: [perl #130885] [PATCH] How to use Devel::PatchPerl to repair older builds
Download (untitled) / with headers
text/plain 637b
On Tue, Feb 28, 2017 at 8:15 AM, Matthew Horsfall (alh) <wolfsage@gmail.com> wrote: Show quoted text
> On Tue, Feb 28, 2017 at 4:42 AM, Sawyer X <xsawyerx@gmail.com> wrote:
>> >> On 02/27/2017 08:15 PM, James E Keenan (via RT) wrote:
>>> The patch attached reflects discussion on #p5p today and is >>> documentation-only. The patch discusses when and how someone >>> debugging problems in the core distribution would use CPAN >>> library Devel::PatchPerl to get perl to build at an old commit.
>> >> >> I like this patch and these kinds of patches. :)
> > Agreed! Thanks James, I wasn't even aware of 'determine_version'! > > -- Matthew Horsfall (alh)
RT-Send-CC: perl5-porters [...] perl.org
On Tue, 28 Feb 2017 09:43:36 GMT, xsawyerx@gmail.com wrote: Show quoted text
> > On 02/27/2017 08:15 PM, James E Keenan (via RT) wrote:
> > # New Ticket Created by James E Keenan > > # Please include the string: [perl #130885] > > # in the subject line of all future correspondence about this issue. > > # <URL: https://rt.perl.org/Ticket/Display.html?id=130885 > > > > > > > This is a bug report for perl from jkeenan@cpan.org, > > generated with the help of perlbug 1.39 running under perl 5.12.5. > > > > > > ----------------------------------------------------------------- > > [Please describe your issue here] > > > > The patch attached reflects discussion on #p5p today and is > > documentation-only. The patch discusses when and how someone > > debugging problems in the core distribution would use CPAN > > library Devel::PatchPerl to get perl to build at an old commit.
> > > I like this patch and these kinds of patches. :) >
Applied to blead in ca31f56c9ea43ef6c05c38da5542fb95a322f2c1. Marking ticket Resolved. Thank you very much. -- James E Keenan (jkeenan@cpan.org)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org