[DRE-maint] Bug#1088629: WARN: Unresolved or ambiguous specs during Gem::Specification.reset

Kevin Locke kevin at kevinlocke.name
Thu Nov 28 20:10:44 GMT 2024


Package: ruby-rubygems
Version: 3.4.20-1
Severity: normal

Dear Maintainer,

If a user installs the psych and stringio gems, every gem command
produces the following warning:

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

This can be reproduced using Podman/Docker with:

podman run --rm docker.io/debian:sid-slim sh -c '
	apt-get -yU install build-essential libyaml-dev ruby ruby-dev &&
	gem install --user-install psych stringio &&
	gem --version'

The issue does not occur with Rubygems 3.5.23 using upstream builds,
as I explained on a (closed but actively discussed) upstream issue:
https://github.com/rubygems/rubygems/issues/7657#issuecomment-2506697849

Thanks,
Kevin


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.0 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ruby-rubygems depends on:
ii  ruby  1:3.1+nmu1

ruby-rubygems recommends no packages.

ruby-rubygems suggests no packages.

-- no debconf information



More information about the Pkg-ruby-extras-maintainers mailing list