a bug in the perl patch

Bruce Dubbs bruce.dubbs at gmail.com
Sun Jun 26 11:13:18 PDT 2011

Andrew Benton wrote:
> 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...

I'm not sure why the change was made in 2008, but it has worked fine 
since then.  The patch is only used in Chapter 5.  What problem are we 
solving by making a change?

   -- Bruce

More information about the lfs-dev mailing list