Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947183 - Circular dependency dev-ruby/typeprof
Summary: Circular dependency dev-ruby/typeprof
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-29 19:14 UTC by Harris Landgarten
Modified: 2025-01-18 18:20 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 Harris Landgarten 2024-12-29 19:14:19 UTC
With the release of ruby-3.4 a dependency conflict was created. 

Ruby-3.1.6-r2 requires typeprof-2.1.9 while ruby-3.4 requires typeprof-3.0 which does not support ruby_target:3.1
Comment 1 Harris Landgarten 2024-12-30 02:19:23 UTC
These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 198.07 s (backtrack: 12/20).

[ebuild     UD ] dev-ruby/typeprof-0.21.11::gentoo [0.30.1::gentoo] USE="-test" RUBY_TARGETS="ruby31%* ruby32 ruby33 (-ruby34%*)" 0 KiB

Total: 1 package (1 downgrade), Size of downloads: 0 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-ruby/typeprof:0

  (dev-ruby/typeprof-0.30.1:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby32 ruby33 ruby34" pulled in by
    >=dev-ruby/typeprof-0.30.1[ruby_targets_ruby34(-)] required by (dev-lang/ruby-3.4.1:3.4/3.4::gentoo, installed) USE="gdbm ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
    ^^                  ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

  (dev-ruby/typeprof-0.21.11:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 ruby33" pulled in by
    >=dev-ruby/typeprof-0.12.2[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r2:3.1/3.1::gentoo, installed) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-18 14:06:37 UTC
commit dd53726efc3e60e5067b876a30a03b21c8d73f8b
Author: Hans de Graaff <graaff@gentoo.org>
Date:   Sat Jan 18 09:48:36 2025 +0100

    dev-ruby/typeprof: allow ruby32 in the gemspec

    Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Comment 3 Harris Landgarten 2025-01-18 18:20:23 UTC
Still not fixed. There is no version of typeprof that supports ruby:3.1 and ruby:3.4

sudo emerge ruby:3.1::gentoo -1av

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 55.29 s (backtrack: 4/20).

[ebuild   R    ] dev-lang/ruby-3.1.6-r2:3.1::gentoo [3.1.6-r2:3.1::local] USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" 0 KiB
[ebuild     UD ] dev-ruby/typeprof-0.21.11::gentoo [0.30.1-r1::gentoo] USE="-test" RUBY_TARGETS="ruby31%* ruby32 ruby33 (-ruby34%*)" 0 KiB

Total: 2 packages (1 downgrade, 1 reinstall), Size of downloads: 0 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-ruby/typeprof:0

  (dev-ruby/typeprof-0.21.11:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 ruby33" pulled in by
    >=dev-ruby/typeprof-0.12.2[ruby_targets_ruby31(-)] required by (dev-lang/ruby-3.1.6-r2:3.1/3.1::gentoo, ebuild scheduled for merge) USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

  (dev-ruby/typeprof-0.30.1-r1:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby32 ruby33 ruby34" pulled in by
    >=dev-ruby/typeprof-0.30.1[ruby_targets_ruby34(-)] required by (dev-lang/ruby-3.4.1:3.4/3.4::gentoo, installed) USE="gdbm ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" ABI_X86="(64)"