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

Bug 862564

Summary: puppet producing ambiguous spec warnings for webrick
Product: Gentoo Linux Reporter: John Helmert III <ajak>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED OBSOLETE    
Severity: normal CC: infra-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-07-31 15:49:30 UTC
For example, this is being produced on every puppet run:

"WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
      webrick (>= 0)
      Available/installed versions of this gem:
      - 1.7.0
      - 1.4.4
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems."

infra hosts are using ruby-2.6, which seems to bundle webrick-1.7.0, the first version of the above warning:

$ qfile /usr/lib64/ruby/gems/2.6.0/specifications/webrick-1.7.0.gemspec
dev-ruby/webrick: /usr/lib64/ruby/gems/2.6.0/specifications/webrick-1.7.0.gemspec

But also seems to be bundling at least a .gemspec for webrick-1.4.4, which is the second version in the above warning:

$ qfile /usr/lib64/ruby/gems/2.6.0/specifications/default/webrick-1.4.4.gemspec
dev-lang/ruby: /usr/lib64/ruby/gems/2.6.0/specifications/default/webrick-1.4.4.gemspec

Adjacently, we also have dev-ruby/webrick-1.7.0 installed.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-29 03:03:42 UTC
This is a ruby-2.6 issue and that's gone from ::gentoo now.

Anyway, Alec removed the problematic gemspecs and that seems to have fixed the problem.