Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 802945 - dev-lang/perl-5.34.0-r3: stabilisation (was: dev-lang/perl-5.34.0-r1 fails tests, broken with >=sys-libs/gdbm-1.20)
Summary: dev-lang/perl-5.34.0-r3: stabilisation (was: dev-lang/perl-5.34.0-r1 fails te...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords: CC-ARCHES, TESTFAILURE
Depends on:
Blocks: 797460 815364
  Show dependency tree
 
Reported: 2021-07-19 21:39 UTC by Agostino Sarubbo
Modified: 2021-10-17 20:29 UTC (History)
6 users (show)

See Also:
Package list:
dev-lang/perl-5.34.0-r3
Runtime testing required: ---
nattka: sanity-check+


Attachments
build.log (build.log,648.10 KB, text/plain)
2021-07-19 21:39 UTC, Agostino Sarubbo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-07-19 21:39:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/perl-5.34.0-r1 fails tests.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-07-19 21:39:42 UTC
Created attachment 725215 [details]
build.log

build log and emerge --info
Comment 2 Christer Ekholm 2021-07-22 21:46:24 UTC
I have some additional information that might be useful.

I noticed that some perl program I have using GDBM_File fails to use keys() on a tied hash.

my $dbfile = shift;
my %db;
tie(%db, 'GDBM_File', $dbfile , &GDBM_WRCREAT, 0644) || die "tie failed: $!";
my @keys = keys(%db);


When I run this I get

$ perl test.pl foo
gdbm_nextkey: Item not found at test.pl line 15.

Downgrading gdbm to sys-libs/gdbm-1.19 and rebuild perl fixes the problem.
Comment 3 Paolo Pedroni 2021-09-20 07:52:11 UTC
Same for dev-lang/perl-5.34.0-r2
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-29 15:44:33 UTC
[23:36:46]  <+sam_> dilfridge: https://sources.debian.org/patches/perl/5.34.0-2/fixes/gdbm-1.20.diff/ for bug 802945
[23:36:48]  <willikins> sam_: https://bugs.gentoo.org/802945 "dev-lang/perl-5.34.0-r1 fails tests"; Gentoo Linux, Current packages; CONF; ago:perl
Comment 5 Larry the Git Cow gentoo-dev 2021-10-09 14:26:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d170e2a4277744193407903b9fe8e7f23ce15f63

commit d170e2a4277744193407903b9fe8e7f23ce15f63
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-10-09 14:25:05 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-10-09 14:25:05 +0000

    dev-lang/perl: Fix functionality with recent gdbm
    
    Bug: https://bugs.gentoo.org/802945
    Bug: https://bugs.gentoo.org/797460
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 dev-lang/perl/files/perl-5.34.0-gdbm-1.20.patch |  40 ++
 dev-lang/perl/perl-5.34.0-r3.ebuild             | 827 ++++++++++++++++++++++++
 2 files changed, 867 insertions(+)
Comment 6 ahudson.news 2021-10-12 15:52:22 UTC
I can confirm dev-lang/perl-5.34.0-r3 fixes the test failure (on amd64 with sys-libs/gdbm-1.20); thank you :)
Comment 7 NATTkA bot gentoo-dev 2021-10-14 05:28:33 UTC Comment hidden (obsolete)
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 20:26:36 UTC
amd64 done
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 20:26:38 UTC
x86 done
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 20:29:05 UTC
ppc done
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 20:29:07 UTC
ppc64 done
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 20:29:08 UTC
sparc done
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 20:29:10 UTC
hppa done
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 20:29:12 UTC
arm done
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 20:29:13 UTC
arm64 done

all arches done