Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 729068

Summary: dev-ruby/x25519-1.0.8 fails on ppc*
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 728064    
Attachments: ppc32 build log
ppc64 build log
ppc32 emerge --info
ppc64 emerge --info

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-06-21 22:01:15 UTC
Created attachment 645578 [details]
ppc32 build log

Both ppc32 and ppc64 fail with roughly the same error:

>>> Test phase: dev-ruby/x25519-1.0.8
 * Running test phase for ruby25 ...

An error occurred while loading ./spec/x25519/provider/precomputed_spec.rb.
Failure/Error:
  RSpec.describe X25519::Provider::Precomputed do
    if described_class.available?
      include_examples "X25519::Provider"
    else
      pending "#{described_class} provider not available on this CPU"
    end

NameError:
  uninitialized constant X25519::Provider::Precomputed
# ./spec/x25519/provider/precomputed_spec.rb:3:in `<top (required)>'


Finished in 0.00004 seconds (files took 0.22955 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-06-21 22:01:32 UTC
Created attachment 645580 [details]
ppc64 build log
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-06-21 22:02:14 UTC
Created attachment 645582 [details]
ppc32 emerge --info
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-06-21 22:02:32 UTC
Created attachment 645584 [details]
ppc64 emerge --info
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-07-04 19:40:30 UTC
same on arm.
Comment 5 Larry the Git Cow gentoo-dev 2020-07-05 06:39:17 UTC
The bug has been closed via the following commit(s):

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

commit 37bad98e1352f6e62f0dded01c6708fb7f6c002f
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2020-07-05 06:39:01 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2020-07-05 06:39:01 +0000

    dev-ruby/x25519: fix tests on non-amd64
    
    Don't run tests for unsupported implementations.
    
    Closes: https://bugs.gentoo.org/729068
    Package-Manager: Portage-2.3.99, Repoman-2.3.23
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/x25519/x25519-1.0.8.ebuild | 1 +
 1 file changed, 1 insertion(+)