Summary: | dev-lang/perl-5.34.0-r5: fails to build on s390(x) (Attempt to free unreferenced scalar: SV 0x16f9720 at lib/strict.pm line 38.) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | s390 | ||
OS: | Linux | ||
URL: | https://github.com/Perl/perl5/issues/19307 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=877659 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Sam James
2021-11-04 04:47:45 UTC
Same on s390 (lgentoo3). s390x box was lgentoo4. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29830cdf4858be3cb76a7fe2976a0695509bf8cd commit 29830cdf4858be3cb76a7fe2976a0695509bf8cd Author: Sam James <sam@gentoo.org> AuthorDate: 2021-11-05 01:10:00 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-05 01:10:11 +0000 profiles/arch/s390: mask dev-lang/perl-5.34.0-r5 (segfaults during build) Bug: https://bugs.gentoo.org/821577 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/s390/package.mask | 7 +++++++ 1 file changed, 7 insertions(+) Backtrace from s390 (lgentoo3): ``` # gdb --args ./miniperl -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' [...] Reading symbols from ./miniperl... (gdb) r Starting program: /var/tmp/portage/dev-lang/perl-5.34.0-r5/work/perl-5.34.0/miniperl -w -Ilib -Idist/Exporter/lib -MExporter -e \<\?\> Attempt to free unreferenced scalar: SV 0x6a75f8. Attempt to free unreferenced scalar: SV 0x692568 at lib/strict.pm line 38. Program received signal SIGSEGV, Segmentation fault. S_mg_findext_flags (flags=0, vtbl=0x0, type=type@entry=60, sv=0x6be52c) at mg.c:409 409 for (mg = SvMAGIC(sv); mg; mg = mg->mg_moremagic) { (gdb) bt #0 S_mg_findext_flags (flags=0, vtbl=0x0, type=type@entry=60, sv=0x6be52c) at mg.c:409 #1 Perl_mg_find (sv=0x6be52c, type=type@entry=60) at mg.c:430 #2 0x004c5ca8 in Perl_sv_del_backref (tsv=0x6be52c, sv=sv@entry=0x6a7c48) at sv.c:6154 #3 0x0043416e in Perl_cvstash_set (cv=cv@entry=0x6a7c48, st=0x6a78c8) at gv.c:318 #4 0x00424df8 in Perl_newATTRSUB_x (floor=<optimized out>, o=<optimized out>, proto=<optimized out>, attrs=<optimized out>, block=0x6c1828, o_is_gv=<optimized out>) at op.c:11667 #5 0x0045ee36 in Perl_yyparse (gramtype=gramtype@entry=258) at perly.y:324 #6 0x004f62b6 in S_doeval_compile (gimme=gimme@entry=2 '\002', outside=outside@entry=0x0, seq=7, hh=hh@entry=0x0) at pp_ctl.c:3559 #7 0x004f807a in S_require_file (sv=<optimized out>) at pp_ctl.c:4370 #8 Perl_pp_require () at pp_ctl.c:4394 #9 0x004b7ef4 in Perl_runops_standard () at run.c:41 #10 0x0042af7a in Perl_call_sv (sv=sv@entry=0x6a7748, flags=flags@entry=13) at perl.c:3079 #11 0x0042da06 in Perl_call_list (oldscope=oldscope@entry=6, paramList=0x6a76e8) at perl.c:5113 #12 0x0040d900 in S_process_special_blocks (floor=floor@entry=144, fullname=<optimized out>, fullname@entry=0x6adf2c "BEGIN", gv=gv@entry=0x6a77a8, cv=cv@entry=0x6a7748) at op.c:11811 #13 0x00424d50 in Perl_newATTRSUB_x (floor=floor@entry=144, o=<optimized out>, o@entry=0x6b58ec, proto=<optimized out>, proto@entry=0x0, attrs=<optimized out>, attrs@entry=0x0, block=0x6b587c, block@entry=0x6b5b7c, o_is_gv=<optimized out>) at op.c:11736 #14 0x0042810c in Perl_utilize (aver=<optimized out>, floor=144, version=<optimized out>, idop=<optimized out>, arg=<optimized out>, arg@entry=0x0) at op.c:8834 #15 0x0045d892 in Perl_yyparse (gramtype=gramtype@entry=258) at perly.y:364 #16 0x004f62b6 in S_doeval_compile (gimme=gimme@entry=2 '\002', outside=outside@entry=0x0, seq=6, hh=hh@entry=0x0) at pp_ctl.c:3559 #17 0x004f807a in S_require_file (sv=<optimized out>) at pp_ctl.c:4370 #18 Perl_pp_require () at pp_ctl.c:4394 #19 0x004b7ef4 in Perl_runops_standard () at run.c:41 #20 0x0042af7a in Perl_call_sv (sv=sv@entry=0x6a7618, flags=flags@entry=13) at perl.c:3079 #21 0x0042da06 in Perl_call_list (oldscope=oldscope@entry=2, paramList=0x692688) at perl.c:5113 #22 0x0040d900 in S_process_special_blocks (floor=floor@entry=42, fullname=<optimized out>, fullname@entry=0x6adf2c "BEGIN", gv=gv@entry=0x6a7658, cv=cv@entry=0x6a7618) at op.c:11811 #23 0x00424d50 in Perl_newATTRSUB_x (floor=floor@entry=42, o=<optimized out>, o@entry=0x6ad54c, proto=<optimized out>, proto@entry=0x0, attrs=<optimized out>, attrs@entry=0x0, block=0x6ad4dc, block@entry=0x6adcd4, o_is_gv=<optimized out>) at op.c:11736 #24 0x0042810c in Perl_utilize (aver=<optimized out>, floor=42, version=<optimized out>, idop=<optimized out>, arg=<optimized out>, arg@entry=0x0) at op.c:8834 #25 0x0045d892 in Perl_yyparse (gramtype=gramtype@entry=258) at perly.y:364 #26 0x00432488 in S_parse_body (xsinit=0x574708 <xs_init>, env=0x0) at perl.c:2558 #27 perl_parse (my_perl=<optimized out>, xsinit=xsinit@entry=0x574708 <xs_init>, argc=<optimized out>, argv=<optimized out>, env=env@entry=0x0) at perl.c:1853 #28 0x0040af48 in main (argc=<optimized out>, argv=<optimized out>, env=<optimized out>) at miniperlmain.c:115 ``` The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74a4658a0b6ff15a80f4b67d5c9d110fb3e50054 commit 74a4658a0b6ff15a80f4b67d5c9d110fb3e50054 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-11-05 05:18:57 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-05 05:18:57 +0000 profiles/arch: mask dev-python/scipy[pythran] on alpha/hppa/ia64/s390/sparc Bug: https://bugs.gentoo.org/821577 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/alpha/package.use.mask | 4 ++++ profiles/arch/hppa/package.use.mask | 4 ++++ profiles/arch/ia64/package.use.mask | 4 ++++ profiles/arch/s390/package.use.mask | 4 ++++ profiles/arch/sparc/package.use.mask | 4 ++++ 5 files changed, 20 insertions(+) The only way out that I see here is an upstream bug report. (I wonder if anyone is actually running that arch there.) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19f7749f3ceb45e3c87a13eedc0e0c4b4cfaa060 commit 19f7749f3ceb45e3c87a13eedc0e0c4b4cfaa060 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-31 04:19:50 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-31 04:19:50 +0000 profiles/arch/s390: update Perl mask Bug: https://bugs.gentoo.org/821577 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/s390/package.mask | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cde79fe919fa29946337a61d4729672b7462c407 commit cde79fe919fa29946337a61d4729672b7462c407 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2022-02-25 16:31:07 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2022-02-25 16:31:55 +0000 dev-lang/perl: Use -Accflags="${CFLAGS}" instead of -Dccflags=... Closes: https://bugs.gentoo.org/821577 Closes: https://github.com/Perl/perl5/issues/19307 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> dev-lang/perl/perl-5.34.0-r8.ebuild | 828 ++++++++++++++++++++++++++++++++++++ 1 file changed, 828 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d2700aa5e1c1495045e702d92e17142fc7321ce commit 1d2700aa5e1c1495045e702d92e17142fc7321ce Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2022-04-18 23:31:49 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2022-04-18 23:32:27 +0000 arch/s390: unmask new perl Bug: https://bugs.gentoo.org/821577 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> profiles/arch/s390/package.mask | 5 ----- 1 file changed, 5 deletions(-) |