a bug in the perl patch

Andrew Benton b3nton at gmail.com
Sun Jun 26 03:12:25 PDT 2011


On Sat, 25 Jun 2011 21:45:42 -0500
Bruce Dubbs <bruce.dubbs at gmail.com> wrote:

> Aleksandar Kuktin wrote:
> > There is a bug in the newly submitted patch for perl.
> 
> I haven't looked at what the patch is doing in detail, but the only 
> difference between what is currently in the book and latest patch I just 
> committed are line numbers.
> 
> The change you are referring to last was in perl-5.8.8 (2006).  The 
> patch has been the same as now since perl-5.10.0 (Dec 2008).
> 
Then perhaps the patch needs to be updated? Like Aleksandar said, it
doesn't change the line:

libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`

The current patch tests if ${prefix}/lib/libc.so.6 exists and then it
gets the version of libc from /lib/libc.so.6, the one installed on the
host...

Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perl-5.14.1-glibc.patch
Type: application/octet-stream
Size: 753 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20110626/00fb6328/attachment.obj>


More information about the lfs-dev mailing list