Summary: | dev-lang/ruby-1.8.*[-threads] with dev-lang/tk[threads] - "PTHREAD SUPPORT MODE ERROR" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | New packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | m27315, urcindalo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jeroen Roovers (RETIRED)
2009-02-13 23:50:50 UTC
(In reply to comment #0) > I get the following fatal warning from ruby's build system: Er, sorry - that should have been "NON-fatal". :) We now check for this before compilation starts and display a message why the same useflags are needed, thanks. (In reply to comment #2) > We now check for this before compilation starts and display a message why the > same useflags are needed, thanks. > The checking does not work quite well. In my case I cant't upgrade to stable dev-lang/ruby-1.8.6_p287-r12 for amd64 even though *both* tk and ruby are installed without threads support, and threads is not enabled for any of them at emerge time: === $ eix -I dev-lang/tk [I] dev-lang/tk Available versions: 8.4.15-r1 8.4.18 ~8.4.18-r1 ~8.4.19-r1 [M]~8.5.1 [M]~8.5.6 {debug threads truetype} Installed versions: 8.4.18(12:33:54 13/01/09)(-debug -threads) Homepage: http://www.tcl.tk/ Description: Tk Widget Set $ eix -I ruby [I] app-admin/eselect-ruby Available versions: (~)20081211 (~)20081227 Installed versions: 20081227(20:02:35 15/01/09) Homepage: http://www.gentoo.org Description: Manages multiple Ruby versions [U] dev-lang/ruby Available versions: (1.8) 1.8.6_p114 1.8.6_p287-r1 (~)1.8.6_p287-r3 1.8.6_p287-r4 1.8.6_p287-r5 (~)1.8.6_p287-r10 (~)1.8.6_p287-r11 (~)1.8.6_p287-r12 [M](~)1.8.7_p72-r1 [M](~)1.8.7_p72-r2 {berkdb cjk debug doc emacs examples gdbm ipv6 rubytests socks5 ssl threads tk xemacs} Installed versions: 1.8.6_p287-r11(1.8)(20:06:31 15/01/09)(gdbm ipv6 socks5 ssl tk -berkdb -debug -doc -emacs -examples -rubytests -threads -xemacs) Homepage: http://www.ruby-lang.org/ Description: An object-oriented scripting language Found 2 matches. $ fink -1 tk ruby These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild U ] dev-lang/ruby-1.8.6_p287-r12 [1.8.6_p287-r11] USE="gdbm ipv6 socks5 ssl tk -berkdb -debug -doc -emacs -examples -rubytests -threads -xemacs" 0 kB [ebuild R ] dev-lang/tk-8.4.18 USE="-debug -threads" 0 kB Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] === However, I get this error: === * Messages for package dev-lang/ruby-1.8.6_p287-r12: * * You have Tk support enabled. * * Ruby and Tk need the same 'threads' USE flag settings. * Either change the USE flag on dev-lang/ruby or on dev-lang/tk * and recompile tk. * * ERROR: dev-lang/ruby-1.8.6_p287-r12 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * ruby-1.8.6_p287-r12.ebuild, line 51: Called die * The specific snippet of code: * die "threads USE flag mismatch" * The die message: * threads USE flag mismatch === Is this a bug, or am I missing something? (In reply to comment #3) > Is this a bug, or am I missing something? > Nah, the test was simply broken. :) Should be fixed now, thanks! *** Bug 260054 has been marked as a duplicate of this bug. *** |