Summary: | dev-ruby/sqlite3-ruby-1.2.4 unecessarily checks to see if swig was built with ruby USE flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | B.J. Orvis <aetherknight> |
Component: | New packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hkbst |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
(equery u swig && equery f swig) > equery_swig_with_ruby.txt
(equery u swig && equery f swig) > equery_swig_no_use.txt (equery u swig && equery f swig) > equery_swig_no_use.txt |
Description
B.J. Orvis
2008-12-02 02:07:35 UTC
Adding swig maintainer. Marijn, is this how swig works? If that is the case then I suspect there are many packages in the tree that check for swig's USE flags unnecessarily, and also the USE flag descriptions are misleading in this case. Swig appears to always install all of its language-specific files, regardless of the USE flag settings. It has installed .swg and .i files for every language that swig supports, despite the fact that I only have a handful of those languages installed, and I had none of the USE flags enabled. In fact, enabling the ruby USE flag did not install any additional files on my system. (this fits with what swig's README file claims: that it only uses the --with-$language arguments to make the example Makefiles work) Created attachment 174283 [details]
(equery u swig && equery f swig) > equery_swig_with_ruby.txt
Created attachment 174284 [details]
(equery u swig && equery f swig) > equery_swig_no_use.txt
Created attachment 174286 [details]
(equery u swig && equery f swig) > equery_swig_no_use.txt
Hans, I have added a new version(1.3.38) of swig with no use flags for any supported languages as the bug reporter seems to be correct about swig. Please give it a try. Following files still check use flags with swig and should be fixed soon: /usr/portage> grep -Rl 'built_with_use dev-lang/swig' * dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.4.ebuild dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1.ebuild media-gfx/graphviz/graphviz-2.12.ebuild media-gfx/graphviz/graphviz-2.20.3.ebuild rox-extra/musicbox/musicbox-027-r2.ebuild sci-libs/scipy/scipy-0.7.0_rc2.ebuild sci-physics/lhapdf/lhapdf-5.6.0.ebuild sci-physics/lhapdf/lhapdf-5.5.1.ebuild All those packages fail with the new swig version. dev-ruby/sqlite3-ruby-1.2.4 has been fixed to just depend on swig and not check its USE flags, and 1.2.1 is no longer in the tree. |