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.
Created attachment 725215 [details] build.log build log and emerge --info
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.
Same for dev-lang/perl-5.34.0-r2
[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
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(+)
I can confirm dev-lang/perl-5.34.0-r3 fixes the test failure (on amd64 with sys-libs/gdbm-1.20); thank you :)
Unable to check for sanity: > no match for package: dev-lang/perl-5.34.0-r1
amd64 done
x86 done
ppc done
ppc64 done
sparc done
hppa done
arm done
arm64 done all arches done