[Bug 1168859] New: perl-Archive-RPM-0.07-8.fc22 FTBFS: tests fail: The _header attribute is trying to delegate to a class which has not been loaded

bugzilla at redhat.com bugzilla at redhat.com
Fri Nov 28 09:21:09 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1168859

            Bug ID: 1168859
           Summary: perl-Archive-RPM-0.07-8.fc22 FTBFS: tests fail: The
                    _header attribute is trying to delegate to a class
                    which has not been loaded
           Product: Fedora
           Version: rawhide
         Component: perl-Archive-RPM
          Assignee: jplesnik at redhat.com
          Reporter: ppisar at redhat.com
        QA Contact: extras-qa at fedoraproject.org
                CC: jplesnik at redhat.com, mmaslano at redhat.com,
                    perl-devel at lists.fedoraproject.org, psabata at redhat.com



perl-Archive-RPM-0.07-8.fc22 fails to build in F22 due to tests:

"/usr/bin/perl" "-Iinc" "-MModule::Install::ExtraTests" "-e"
"Module::Install::ExtraTests::__harness('Test::Harness', 0, 'xt/author', '',
'', 0, 'blib/lib', 'blib/arch')" t/00-load.t t/100-archive-rpm.t
t/101-archive-srpm.t t/102-changelog.t
#   Failed test 'use Archive::RPM;'
#   at t/00-load.t line 4.
#     Tried to use 'Archive::RPM'.
#     Error:  The _header attribute is trying to delegate to a class which has
not been loaded - RPM2::Header at /usr/lib/perl5/vendor_perl/Class/MOP/Class.pm
line 901
#     Class::MOP::Class::catch {...}
('Moose::Exception::DelegationToAClassWhichIsNotLoaded=HASH(0x1bfc838)') called
at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 104
#     Try::Tiny::try('CODE(0x1c00598)', 'Try::Tiny::Catch=REF(0x1bfba68)')
called at /usr/lib/perl5/vendor_perl/Class/MOP/Class.pm line 903
#    
Class::MOP::Class::_post_add_attribute('Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0xe61168)',
'Moose::Meta::Attribute=HASH(0x1bfc178)') called at
/usr/lib/perl5/vendor_perl/Class/MOP/Mixin/HasAttributes.pm line 38
#    
Class::MOP::Mixin::HasAttributes::add_attribute('Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0xe61168)',
'Moose::Meta::Attribute=HASH(0x1bfc178)') called at
/usr/lib/perl5/vendor_perl/Moose/Meta/Class.pm line 572
#    
Moose::Meta::Class::add_attribute('Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0xe61168)',
'_header', 'definition_context', 'HASH(0x623f30)', 'is', 'ro', 'isa',
'RPM2::Header', 'lazy_build', 1, 'handles', 'Regexp=REGEXP(0xd55a88)') called
at /usr/lib/perl5/vendor_perl/Moose.pm line 76
#     Moose::has('Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0xe61168)',
'_header', 'is', 'ro', 'isa', 'RPM2::Header', 'lazy_build', 1, 'handles',
'Regexp=REGEXP(0xd55a88)') called at
/usr/lib/perl5/vendor_perl/Moose/Exporter.pm line 418
#     Moose::has('_header', 'is', 'ro', 'isa', 'RPM2::Header', 'lazy_build', 1,
'handles', 'Regexp=REGEXP(0xd55a88)') called at
/builddir/build/BUILD/Archive-RPM-0.07/blib/lib/Archive/RPM.pm line 62
#     require Archive/RPM.pm at t/00-load.t line 4
#     main::BEGIN at
/builddir/build/BUILD/Archive-RPM-0.07/blib/lib/Archive/RPM.pm line 0
#     eval {...} at
/builddir/build/BUILD/Archive-RPM-0.07/blib/lib/Archive/RPM.pm line 0
#     eval 'package main;
# 
# #line 4 t/00-load.t
# use Archive::RPM @{$args[0]};
# 1;
# ' at /usr/share/perl5/vendor_perl/Test/More.pm line 993
#     Test::More::_eval('package main;^J^J#line 4 t/00-load.t^Juse Archive::RPM
@{$args[0]};^J1;^J', 'ARRAY(0x5fa3c0)') called at
/usr/share/perl5/vendor_perl/Test/More.pm line 968
#     Test::More::use_ok('Archive::RPM') called at t/00-load.t line 4
#     main::BEGIN at
/builddir/build/BUILD/Archive-RPM-0.07/blib/lib/Archive/RPM.pm line 0
#     eval {...} at
/builddir/build/BUILD/Archive-RPM-0.07/blib/lib/Archive/RPM.pm line 0
# Compilation failed in require at t/00-load.t line 4.
# BEGIN failed--compilation aborted at t/00-load.t line 4.
# Testing Archive::RPM 0.07, Perl 5.020001, /usr/bin/perl
# Looks like you failed 1 test of 1.
t/00-load.t ........... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

Difference between working and failing build root is:

Removed packages:
    audit-libs-2.4.1
    basesystem-10.0
    bash-4.3.30
    binutils-2.24
    bzip2-1.0.6
    bzip2-libs-1.0.6
    ca-certificates-2014.2.1
    chkconfig-1.3.63
    coreutils-8.23
    cpio-2.11
    cpp-4.9.2
    cracklib-2.9.1
    cracklib-dicts-2.9.1
    crypto-policies-20140905
    curl-7.39.0
    cyrus-sasl-lib-2.1.26
    diffutils-3.3
    dwz-0.11
    elfutils-0.160
    elfutils-libelf-0.160
    elfutils-libs-0.160
    expat-2.1.0
    fedora-release-22
    fedora-release-cloud-22
    fedora-repos-22
    fedora-repos-rawhide-22
    file-5.20
    file-libs-5.20
    filesystem-3.2
    findutils-4.5.14
    gawk-4.1.1
    gcc-4.9.2
    gcc-c++-4.9.2
    gdbm-1.11
    ghc-srpm-macros-1.3
    glib2-2.43.0
    gmp-6.0.0
    gnat-srpm-macros-1
    gnupg2-2.0.25
    grep-2.20
    gzip-1.6
    info-5.2
    keyutils-libs-1.5.9
    krb5-libs-1.13
    libacl-2.2.52
    libarchive-3.1.2
    libassuan-2.1.2
    libattr-2.4.47
    libbabeltrace-1.2.1
    libblkid-2.25.2
    libcap-2.24
    libcap-ng-0.7.4
    libcom_err-1.42.12
    libcurl-7.39.0
    libdb-5.3.28
    libdb-utils-5.3.28
    libffi-3.1
    libgcc-4.9.2
    libgcrypt-1.6.1
    libgomp-4.9.2
    libgpg-error-1.16
    libidn-1.29
    libmetalink-0.1.2
    libmount-2.25.2
    libmpc-1.0.2
    libpwquality-1.2.4
    libselinux-2.3
    libsemanage-2.3
    libsepol-2.3
    libsmartcols-2.25.2
    libssh2-1.4.3
    libstdc++-4.9.2
    libstdc++-devel-4.9.2
    libtasn1-4.2
    libuser-0.60
    libutempter-1.1.6
    libuuid-2.25.2
    libverto-0.2.6
    libxml2-2.9.2
    lua-5.2.2
    lzo-2.08
    make-4.0
    mpfr-3.1.2
    ncurses-5.9
    ncurses-base-5.9
    ncurses-libs-5.9
    nspr-4.10.7
    nss-3.17.2
    nss-softokn-3.17.2
    nss-softokn-freebl-3.17.2
    nss-sysinit-3.17.2
    nss-tools-3.17.2
    nss-util-3.17.2
    ocaml-srpm-macros-2
    openldap-2.4.40
    openssl-libs-1.0.1j
    p11-kit-0.22.1
    p11-kit-trust-0.22.1
    pam-1.1.8
    patch-2.7.1
    pcre-8.36
    perl-boolean-0.38
    perl-Class-Singleton-1.4
    perl-CPAN-Meta-2.142060
    perl-CPAN-Meta-Requirements-2.128
    perl-DateTime-Format-Natural-1.01
    perl-DateTime-TimeZone-1.76
    perl-DateTime-TimeZone-Tzfile-0.007
    perl-Devel-PartialDump-0.15
    perl-Eval-Closure-0.08
    perl-ExtUtils-MakeMaker-7.00
    perl-ExtUtils-Manifest-1.68
    perl-generators-1.00
    perl-HTTP-Tiny-0.050
    perl-Moose-2.1005
    perl-MooseX-Traits-0.11
    perl-MooseX-Types-DateTime-0.08
    perl-Pod-Parser-1.62
    perl-Scalar-List-Utils-1.38
    perl-srpm-macros-1
    perl-Test-Harness-3.33
    pinentry-0.8.3
    pkgconfig-0.28
    popt-1.16
    pth-2.0.7
    python-libs-2.7.8
    readline-6.3
    redhat-rpm-config-26
    rpm-4.12.0.1
    rpm-build-4.12.0.1
    rpm-build-libs-4.12.0.1
    rpm-libs-4.12.0.1
    rpm-plugin-selinux-4.12.0.1
    sed-4.2.2
    setup-2.9.2
    shadow-utils-4.1.5.1
    shared-mime-info-1.3
    sqlite-3.8.7
    systemd-libs-217
    tar-1.28
    tzdata-2014i
    unzip-6.0
    ustr-1.0.4
    util-linux-2.25.2
    which-2.20
    xz-5.1.2
    xz-libs-5.1.2
    zip-3.0
    zlib-1.2.8
Added packages:
    perl-boolean-0.42
    perl-Class-Singleton-1.5
    perl-Class-Tiny-1.000
    perl-CPAN-Meta-2.143240
    perl-CPAN-Meta-Requirements-2.130
    perl-DateTime-Format-Natural-1.02
    perl-DateTime-TimeZone-1.81
    perl-DateTime-TimeZone-Tzfile-0.010
    perl-Devel-Caller-2.06
    perl-Devel-LexAlias-0.05
    perl-Devel-OverloadInfo-0.002
    perl-Devel-PartialDump-0.17
    perl-Devel-StackTrace-2.00
    perl-Eval-Closure-0.11
    perl-ExtUtils-Command-1.18
    perl-ExtUtils-MakeMaker-7.02
    perl-ExtUtils-Manifest-1.69
    perl-Filter-Simple-0.91
    perl-generators-1.01
    perl-HTTP-Tiny-0.051
    perl-Moose-2.1402
    perl-MooseX-Traits-0.12
    perl-MooseX-Types-DateTime-0.10
    perl-PadWalker-1.99
    perl-Pod-Perldoc-3.24
    perl-Pod-Usage-1.64
    perl-Scalar-List-Utils-1.41
    perl-Test-Harness-3.34

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=1ozJXwS4ku&a=cc_unsubscribe



More information about the perl-devel mailing list