This is the release candidate for the fourth maintenance release of
Perl 5.005. Please test this thoroughly and find any issues before
Alice makes it to the heap of sticks and dry leaves at the
bottom. It's available at:
http://www.cpan.org/authors/id/L/LB/LBROCARD/perl5.005_04-RC1.tar.gz
If there are no negative reports, then I hope to release the real
thing in a week. Maybe I'll break out the orange marmalade.
Dedicated to my Alice, Tanja.
--
Leon Brocard.............................http://www.astray.com/
scribot.................................http://www.scribot.com/
... Don't sweat it - it's only ones and zeros
No problems on RH9 and no real problems on Mac OS X 10.2. One nit on Mac OS X:
===================================================
lib/db-btree.......Use of uninitialized value at lib/db-btree.t line 21.
FAILED at test 0
lib/db-hash........ok
lib/db-recno.......#
# Some older versions of Berkeley DB version 1 will fail db-recno
# tests 61, 63, 64 and 65.
Use of uninitialized value at lib/db-recno.t line 109.
#
# You can safely ignore the errors if you're never going to use the
# broken functionality (recno databases with a modified bval).
# Otherwise you'll have to upgrade your DB library.
#
# If you want to use Berkeley DB version 1, then 1.85 and 1.86 are the
# last versions that were released. Berkeley DB version 2 is continually
# being updated -- Check out http://www.sleepycat.com/ for more details.
#
FAILED at test 64
===================================================
I assume it's all caused by BDB to be out of date, but the db-btree
failure is not expected and there are some uninitialized value
warnings.
Liz
> At 16:46 +0000 2/5/04, Leon Brocard wrote:
> > http://www.cpan.org/authors/id/L/LB/LBROCARD/perl5.005_04-RC1.tar.gz
> >If there are no negative reports, then I hope to release the real
> >thing in a week. Maybe I'll break out the orange marmalade.
>
> No problems on RH9 and no real problems on Mac OS X 10.2. One
> nit on Mac OS X:
>
> ===================================================
> lib/db-btree.......Use of uninitialized value at lib/db-btree.t line 21.
That warning corresponds to this piece of code
if ($^O eq 'darwin'
&& $Config{db_version_major} == 1
&& $Config{db_version_minor} == 0
&& $Config{db_version_patch} == 0) {
warn <<EOM;
#
# This test is known to crash in Mac OS X versions 10.2 (or earlier)
# because of the buggy Berkeley DB version included with the OS.
#
EOM
That code won't work with 5.005_04 - the code to populate
db_version_major/minor/patch isn't in Configure.
Can you try this instead, and see if it silences the warning?
if ($^O eq 'darwin' && $DB_File::db_version < 2) {
> FAILED at test 0
Don't know what's going on there.
> lib/db-hash........ok
> lib/db-recno.......#
> # Some older versions of Berkeley DB version 1 will fail db-recno
> # tests 61, 63, 64 and 65.
> Use of uninitialized value at lib/db-recno.t line 109.
Same piece of code at line 109. Can you try the same change please?
> #
> # You can safely ignore the errors if you're never going to use the
> # broken functionality (recno databases with a modified bval).
> # Otherwise you'll have to upgrade your DB library.
> #
> # If you want to use Berkeley DB version 1, then 1.85 and 1.86 are the
> # last versions that were released. Berkeley DB version 2 is continually
> # being updated -- Check out http://www.sleepycat.com/ for more details.
> #
> FAILED at test 64
> ===================================================
>
> I assume it's all caused by BDB to be out of date, but the db-btree
> failure is not expected and there are some uninitialized value
> warnings.
I see that 5.005_04-RC1 has DB_File 1.807 - the most recent version is
1.808. Is 5.005_04 not refreshing packages with the most recent versions?
Paul
> I see that 5.005_04-RC1 has DB_File 1.807 - the most recent version is
> 1.808. Is 5.005_04 not refreshing packages with the most recent versions?
1.807 was the most recent version when I merged it in. But no,
5.005_04 is not about updating the versions of the core modules. It's
about getting something out which compiles, not fixing bugs.
Of course, if you want to try to convince me that the memory leak in
ParseOpenInfo is important, you're welcome to have a go ;-)
Thanks for investigating, Leon
--
Leon Brocard.............................http://www.astray.com/
scribot.................................http://www.scribot.com/
... Komputors nefer maik erers
======================================================
lib/db-btree.......Use of uninitialized value at lib/db-btree.t line 25.
#
# This test is known to crash in Mac OS X versions 10.2 (or earlier)
# because of the buggy Berkeley DB version included with the OS.
#
FAILED at test 0
lib/db-hash........ok
lib/db-recno.......#
# Some older versions of Berkeley DB version 1 will fail db-recno
# tests 61, 63, 64 and 65.
#
# For example Mac OS X 10.2 (or earlier) has such an old
# version of Berkeley DB.
#
# You can safely ignore the errors if you're never going to use the
# broken functionality (recno databases with a modified bval).
# Otherwise you'll have to upgrade your DB library.
#
# If you want to use Berkeley DB version 1, then 1.85 and 1.86 are the
# last versions that were released. Berkeley DB version 2 is continually
# being updated -- Check out http://www.sleepycat.com/ for more details.
#
FAILED at test 64
======================================================
When I runt lib/db-btree.t seperately:
======================================================
$ ./perl lib/db-btree.t
Use of uninitialized value at lib/db-btree.t line 25.
#
# This test is known to crash in Mac OS X versions 10.2 (or earlier)
# because of the buggy Berkeley DB version included with the OS.
#
1..177
ok 1
ok 2
:
ok 88
Bus error
======================================================
so I guess the warning now displayed is accurate. ;-)
Also, if you change the condition to:
if ($^O eq 'darwin' && ($DB_File::db_version || 0) < 2) {
the "Use of uninitialized value" warning will disappear.
Liz
>
> Paul Marquess sent the following bits through the ether:
>
> > I see that 5.005_04-RC1 has DB_File 1.807 - the most recent version is
> > 1.808. Is 5.005_04 not refreshing packages with the most recent
> versions?
>
> 1.807 was the most recent version when I merged it in. But no,
> 5.005_04 is not about updating the versions of the core modules. It's
> about getting something out which compiles, not fixing bugs.
OK, that makes sense.
> Of course, if you want to try to convince me that the memory leak in
> ParseOpenInfo is important, you're welcome to have a go ;-)
If you have a release that is imminent, I wouldn't bother holding it up for
DB_File. I'm going to have to release an even newer version that fixes the
"uninitialized value" warnings in OS-X anyway, and that will delay things
for you more.
Paul
Duh! That test is in a BEGIN block, *before* the "use DB_File", so it's
quite correct that $DB_File::db_version isn't defined.
I'll probably change it to something like this
BEGIN {
if(-d "lib" && -f "TEST") {
if ($Config{'extensions'} !~ /\bDB_File\b/ ) {
print "1..0 # Skip: DB_File was not built\n";
exit 0;
}
}
}
use DB_File;
BEGIN {
if ($^O eq 'darwin' && $DB_File::db_version < 2) {
warn <<EOM;
#
# This test is known to crash in Mac OS X versions 10.2 (or earlier)
# because of the buggy Berkeley DB version included with the OS.
#
EOM
}
}
I'll post a patch for DB_File when I find a spare moment.
Paul
Since it's just a release candidate, it should say so in perlhist.pod.
Abigail
--- pod/perlhist.pod.orig Tue Feb 10 00:15:40 2004
+++ pod/perlhist.pod Tue Feb 10 00:16:24 2004
@@ -320,7 +320,7 @@
5.005_03-MT5 1999-Jan-28
5.005_03-MT6 1999-Mar-05
5.005_03 1999-Mar-28
- Leon 5.005_04 2004-Feb-05
+ Leon 5.005_04-RC1 2004-Feb-05
Sarathy 5.005_50 1998-Jul-26 The 5.6 development track.
5.005_51 1998-Aug-10
I applied this to bleadperl (change 22297), also adding Leon in the
list of pumpkings.
> Could you apply Jarkko's suidperl security patch, found at:
> http://www.cpan.org/src/5.0/sperl-2000-08-05/sperl-2000-08-05.txt
Thanks, applied as 22331.
Leon
--
Leon Brocard.............................http://www.astray.com/
scribot.................................http://www.scribot.com/
... A neat desk is a sign of a sick mind
> Since it's just a release candidate, it should say so in perlhist.pod.
Thanks, applied as 22333.
Leon
--
Leon Brocard.............................http://www.astray.com/
scribot.................................http://www.scribot.com/
... Silence is Foo!
> No problems on RH9 and no real problems on Mac OS X 10.2. One nit on Mac
> OS X:
Thanks, I've worked around this as changeset 22335.
Leon
--
Leon Brocard.............................http://www.astray.com/
scribot.................................http://www.scribot.com/
... Best file compressor around: DEL *.* (100% compression!)