Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 862564 - puppet producing ambiguous spec warnings for webrick
Summary: puppet producing ambiguous spec warnings for webrick
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-31 15:49 UTC by John Helmert III
Modified: 2022-09-29 03:03 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 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.