Bug 192594 - dev-lang/swig not found by dev-util/cmake
|
Bug#:
192594
|
Product: Gentoo Linux
|
Version: 2007.0
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: trivial
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: kde@gentoo.org
|
Reported By: stefaan@gentoo.org
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: dev-lang/swig not found by dev-util/cmake
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-09-15 13:03 0000
|
dev-util/cmake uses the description found in
/usr/share/cmake/Modules/FindSWIG.cmake to locate dev-lang/swig
Currently, this says:
FIND_PATH(SWIG_DIR
SWIGConfig.cmake
/usr/share/swig1.3
/usr/lib/swig1.3
/usr/local/share/swig1.3)
FIND_PATH(SWIG_DIR
swig.swg
/usr/share/swig1.3
/usr/lib/swig1.3
/usr/local/share/swig1.3)
However, none of the paths exist, as swig is (on my system swig-1.3.31 is
installed) only located in /usr/share/swig/1.3.31.
My fix was to create a softlink in /usr/share from swig/1.3.31 to swig1.3, but
it could also be solved in FindSWIG.cmake file. Don't know which is
preferable...
cmake bugs #3498, #3637, #4145 - maybe if you report is couple more times,
they'll do something finally.
Anyway, a workaround for ebuilds:
cmake -DSWIG_DIR="$(swig -swiglib)"
(In reply to comment #2)
> This bug is also holding a net-p2p/museek+ version bump.
> Any chance we can apply the fix provided in
> http://www.cmake.org/Bug/view.php?id=4145 by our side?
There would be a chance if I could see the bug but I don't get any mail from
their bugtracker when trying to reset my password or create a new account. :-/
Mailing them didn't help either.
This is fixed in cmake-2.4.7-r2 which is currently p.masked until a dependency
has been properly keyworded. Thanks, Coldwind!
I've just unmasked cmake-2.4.7-r2 which fixes this issue.