On Wed, Aug 15, 2012 at 04:56:06PM +0100, Ken Moffat wrote: > For the moment, please don't treat this as a priority. I've been > distracted by other things today and am nowhere near confirming that > it is indeed a perl-5.16 problem. If it isn't caused by perl-5.16, > then fixing the perl is not the right answer. > > OTOH, if anyone is building 32-bit and can keep the glibc source > and build directories around, testing a change to the perl script > should only take a few seconds. Oddly, I had to run it from within > the *source* directory. If I do blame the perl version [ plausible, > a lot of "baggage" was dropped in 5.16 ], I'll produce instructions > for changing the file and for how to run it. > Bad news, I get the same regex error with perl-5.14.2.
I think that means our build process is no longer adequate for this version of glibc. So, it removes much of the purpose in running the testsuites. Perhaps it's a similar issue to Bryan's question about why packages are now using gnulib instead of our headers (the gets seds). At the moment, I'm out of my depth. In passing, I was wrong to say it's a simple thing to test : a large amount of glibc gets installed before test-installation.pl is run, and from a situation where nothing of glibc has been installed I haven't found a shortcut to only installing the minimum necessary to run the script. I suppose that isn't surprising, it runs as the *last* part of the install. I'm attaching a diff for test-installation.pl (it preserves the formatting of the script, unlike sed where I only managed to add the first line if I used a line reference for where to add it - too many special characters), but this certainly isn't going upstream because I now think it's our bug, not theirs. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce
--- glibc-2.16.0/scripts/test-installation.pl.orig 2012-08-15 19:00:25.131524968 +0100 +++ glibc-2.16.0/scripts/test-installation.pl 2012-08-15 19:17:10.321787792 +0100 @@ -115,6 +115,8 @@ } else { if (/^ld\.so/) { ($ld_so_name, $ld_so_version)= /=(.*)\.so\.(.*)$/; + $ld_so_name =~ s/^\$\(if//; + $ld_so_version =~ s/\)$//; } } }
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page