Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623096 - dev-perl/rpm-build-perl broken perl 5.26 ( error: ‘SVOP {aka struct svop}’ has no member named ‘op_sibling’)
Summary: dev-perl/rpm-build-perl broken perl 5.26 ( error: ‘SVOP {aka struct svop}’ ha...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL: https://rt.cpan.org/Public/Bug/Displa...
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: perl-5.26 627080
  Show dependency tree
 
Reported: 2017-06-30 01:09 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2017-10-23 03:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-06-30 01:09:18 UTC
>>> Compiling source in /var/tmp/portage/dev-perl/rpm-build-perl-0.820.0/work/rpm-build-perl-0.82 ...
 * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed
make -j3 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed'
make[1]: Entering directory '/var/tmp/portage/dev-perl/rpm-build-perl-0.820.0/work/rpm-build-perl-0.82/ConstOptree'
cp lib/B/Walker.pm blib/lib/B/Walker.pm
cp fake.pm blib/lib/fake.pm
cp lib/B/PerlReq.pm blib/lib/B/PerlReq.pm
cp lib/B/Clobbers.pm blib/lib/B/Clobbers.pm
cp lib/PerlReq/Utils.pm blib/lib/PerlReq/Utils.pm
"/usr/bin/perl" "/usr/lib64/perl5/5.26.0/ExtUtils/xsubpp"  -typemap '/usr/lib64/perl5/5.26.0/ExtUtils/typemap'  ConstOptree.xs > ConstOptree.xsc
Running Mkbootstrap for ConstOptree ()
cp ConstOptree.pm ../blib/lib/B/ConstOptree.pm
chmod 644 "ConstOptree.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ConstOptree.bs ../blib/arch/auto/B/ConstOptree/ConstOptree.bs 644
Please specify prototyping behavior for ConstOptree.xs (see perlxs manual)
mv ConstOptree.xsc ConstOptree.c
x86_64-pc-linux-gnu-gcc -c   -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=native -mtune=native -O2 -pipe   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib64/perl5/5.26.0/x86_64-linux/CORE"   ConstOptree.c
ConstOptree.xs: In function ‘convert_arg’:
ConstOptree.xs:28:7: error: ‘SVOP {aka struct svop}’ has no member named ‘op_sibling’
  newop->op_sibling = op1->op_sibling;
       ^
ConstOptree.xs:28:25: error: ‘OP {aka struct op}’ has no member named ‘op_sibling’
  newop->op_sibling = op1->op_sibling;
                         ^
ConstOptree.xs: In function ‘my_ck_op’:
ConstOptree.xs:41:17: error: ‘OP {aka struct op}’ has no member named ‘op_sibling’
  argp = &(*argp)->op_sibling;
                 ^
make[1]: *** [Makefile:313: ConstOptree.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-perl/rpm-build-perl-0.820.0/work/rpm-build-perl-0.82/ConstOptree'
make: *** [Makefile:540: subdirs] Error 2
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-08-04 16:32:08 UTC
commit 985e23015ba3e87e7b9db371934c276b92517eca (HEAD -> master, origin/master, origin/HEAD)
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Fri Aug 4 18:29:02 2017 +0200

    dev-perl/rpm-build-perl: Add (invasive) build fix for Perl 5.26, bug 623096
    
    Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-perl/rpm-build-perl/Manifest                         |  1 +
 dev-perl/rpm-build-perl/rpm-build-perl-0.820.0-r1.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-08-08 04:18:05 UTC
It really doesn't look fixed to me.

Whatever the compile fix fixes seems still broken at runtime.

t/02-perlreq.t  (Wstat: 768 Tests: 4 Failed: 3)
  Failed tests:  2-4
  Non-zero exit status: 3
t/01-B-PerlReq.t (Wstat: 9984 Tests: 78 Failed: 39)
  Failed tests:  1, 4, 20-48, 52-56, 74, 77-78
  Non-zero exit status: 39



PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
===(       1;0  0/?  0/?  1/? )=========================================dying at /usr/lib64/perl5/5.26.0/AutoLoader.pm line 3
 at /var/tmp/portage/dev-perl/rpm-build-perl-0.820.0-r1/work/rpm-build-perl-0.82/blib/lib/B/PerlReq.pm line 388.
        B::PerlReq::__ANON__("Can't locate object method \"sv\" via package \"B::METHOP\" at /v"...) called at /var/tmp/portage/dev-perl/rpm-build-perl-0.820.0-r1/work/rpm-build-perl-0.82/blib/lib/B/Walker.pm line 25
        B::Walker::const_sv(B::METHOP=SCALAR(0x14a4e90)) called at /var/tmp/portage/dev-perl/rpm-build-perl-0.820.0-r1/work/rpm-build-perl-0.82/blib/lib/B/PerlReq.pm line 307
        B::PerlReq::grok_entersub(B::UNOP=SCALAR(0x14a4f80)) called at /var/tmp/portage/dev-perl/rpm-build-perl-0.820.0-r1/work/rpm-build-perl-0.82/blib/lib/B/Walker.pm line 56
        B::Walker::walk_root(B::UNOP=SCALAR(0x14a4f80)) called at /var/tmp/portage/dev-perl/rpm-build-perl-0.820.0-r1/work/rpm-build-perl-0.82/blib/lib/B/Walker.pm line 65
        B::Walker::walk_root(B::LISTOP=SCALAR(0x14a4f98)) called at /var/tmp/portage/dev-perl/rpm-build-perl-0.820.0-r1/work/rpm-build-perl-0.82/blib/lib/B/Walker.pm line 65
        B::Walker::walk_root(B::LISTOP=SCALAR(0x14a4dd0)) called at /var/tmp/portage/dev-perl/rpm-build-perl-0.820.0-r1/work/rpm-build-perl-0.82/blib/lib/B/Walker.pm line 65
        B::Walker::walk_root(B::UNOP=SCALAR(0x137d770)) called at /var/tmp/portage/dev-perl/rpm-build-perl-0.820.0-r1/work/rpm-build-perl-0.82/blib/lib/B/Walker.pm line 91
        B::Walker::walk_cv(B::CV=SCALAR(0x1499a18)) called at /var/tmp/portage/dev-perl/rpm-build-perl-0.820.0-r1/work/rpm-build-perl-0.82/blib/lib/B/Walker.pm line 77
        B::Walker::walk_av("BEGIN", B::AV=SCALAR(0x11f0db0)) called at /var/tmp/portage/dev-perl/rpm-build-perl-0.820.0-r1/work/rpm-build-perl-0.82/blib/lib/B/Walker.pm line 97
        B::Walker::walk_blocks() called at /var/tmp/portage/dev-perl/rpm-build-perl-0.820.0-r1/work/rpm-build-perl-0.82/blib/lib/B/PerlReq.pm line 390
        B::PerlReq::__ANON__() called at (eval 3) line 31
        O::CHECK() called at /usr/lib64/perl5/5.26.0/AutoLoader.pm line 0
        eval {...} called at /usr/lib64/perl5/5.26.0/AutoLoader.pm line 0
Can't locate object method "sv" via package "B::METHOP" at /var/tmp/portage/dev-perl/rpm-build-perl-0.820.0-r1/work/rpm-build-perl-0.82/blib/lib/B/Walker.pm line 25.
CHECK failed--call queue aborted.
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-08-08 04:34:28 UTC
And yep, this breaks on Perl 5.24 now as well. Yey.
Comment 4 Larry the Git Cow gentoo-dev 2017-09-11 20:36:44 UTC
The bug has been referenced in the following commit(s):

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

commit ca1d40bfe9630aed8d9dd08692113d67ed107945
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2017-09-11 20:34:05 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2017-09-11 20:36:36 +0000

    dev-perl/Test-Dependencies: Bump to version 0.230.0 and kill ::Heavy
    
    This bump removes support for having ::Heavy work and forces the code
    paths to try the ::Light, or die()
    
    This is because there's little evidence anyone uses this, as its been
    broken since Perl 5.22, and allows us to consider removing
    rpm-build-perl without also removing Test::Dependencies
    
    (Test::Dependencies doesn't itself have any obvious consumers, but it
     did recently from Crypt-SMIME)
    
    Bug: https://bugs.gentoo.org/623096
    Bug: https://bugs.gentoo.org/627080
    Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-perl/Test-Dependencies/Manifest                |   1 +
 .../Test-Dependencies-0.230.0.ebuild               |  37 +++
 ...Dependencies-0.230.0-backcompat-test-more.patch |  78 ++++++
 .../files/Test-Dependencies-0.230.0-no-heavy.patch | 287 +++++++++++++++++++++
 4 files changed, 403 insertions(+)}
Comment 5 Larry the Git Cow gentoo-dev 2017-09-11 20:44:42 UTC
The bug has been referenced in the following commit(s):

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

commit ca1d40bfe9630aed8d9dd08692113d67ed107945
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2017-09-11 20:34:05 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2017-09-11 20:36:36 +0000

    dev-perl/Test-Dependencies: Bump to version 0.230.0 and kill ::Heavy
    
    This bump removes support for having ::Heavy work and forces the code
    paths to try the ::Light, or die()
    
    This is because there's little evidence anyone uses this, as its been
    broken since Perl 5.22, and allows us to consider removing
    rpm-build-perl without also removing Test::Dependencies
    
    (Test::Dependencies doesn't itself have any obvious consumers, but it
     did recently from Crypt-SMIME)
    
    Bug: https://bugs.gentoo.org/623096
    Bug: https://bugs.gentoo.org/627080
    Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-perl/Test-Dependencies/Manifest                |   1 +
 .../Test-Dependencies-0.230.0.ebuild               |  37 +++
 ...Dependencies-0.230.0-backcompat-test-more.patch |  78 ++++++
 .../files/Test-Dependencies-0.230.0-no-heavy.patch | 287 +++++++++++++++++++++
 4 files changed, 403 insertions(+)}
Comment 6 Larry the Git Cow gentoo-dev 2017-09-23 10:04:08 UTC
The bug has been referenced in the following commit(s):

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

commit 0f1afe5db2806dd11c27735db5f0e32e57815429
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2017-09-23 10:02:58 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2017-09-23 10:03:49 +0000

    dev-perl/Test-Dependencies: Drop old; now rpm-build-perl can go away
    
    Bug: https://bugs.gentoo.org/623096
    Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-perl/Test-Dependencies/Manifest                |  2 --
 .../Test-Dependencies-0.120.0.ebuild               | 27 ------------------
 .../Test-Dependencies-0.210.0.ebuild               | 32 ----------------------
 .../files/0.210.0-require-ok.patch                 | 23 ----------------
 4 files changed, 84 deletions(-)}
Comment 7 Larry the Git Cow gentoo-dev 2017-09-23 10:09:14 UTC
The bug has been referenced in the following commit(s):

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

commit 14f307bd2ebf60bc0c31e3ad3ff8e5492e0914e1
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2017-09-23 10:08:26 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2017-09-23 10:08:26 +0000

    package.mask: mask dev-perl/rpm-build-perl for removal, bug 623096
    
    Bug: https://bugs.gentoo.org/623096

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)}
Comment 8 Larry the Git Cow gentoo-dev 2017-10-23 03:27:50 UTC
The bug has been closed via the following commit(s):

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

commit b455abbd94d89b55c0c3f5c0e35ca57bf1044e65
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2017-10-23 03:25:56 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2017-10-23 03:25:56 +0000

    dev-perl/rpm-build-perl: Treeclean
    
    Closes: https://bugs.gentoo.org/623096
    Closes: https://bugs.gentoo.org/627080

 dev-perl/rpm-build-perl/Manifest                   |  2 --
 dev-perl/rpm-build-perl/metadata.xml               |  8 ------
 .../rpm-build-perl-0.820.0-r1.ebuild               | 30 ----------------------
 .../rpm-build-perl/rpm-build-perl-0.820.0.ebuild   | 27 -------------------
 profiles/package.mask                              |  5 ----
 5 files changed, 72 deletions(-)