/usr/share/apps/cmake/modules/FindRUBY.cmake is a cmake module used by for instance kdebindings-ruby to locate the ruby installation. However, it uses a wrong library name when searching (it looks for ruby1.8, but not for ruby18). Reproducible: Always Steps to Reproduce: 1. emerge ~kdelibs-4.3.1 2. mkdir test && cd test 3. echo "cmake_minimum_required(VERSION 2.6) set(CMAKE_MODULE_PATH /usr/share/apps/cmake/modules) FIND_PACKAGE (RUBY REQUIRED)" >CMakeLists.txt 4. cmake . && echo success Actual Results: cmake fails: gentryx@rei ~/find-ruby-cmake $ cmake . && echo success -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/lib64/ccache/bin/gcc -- Check for working C compiler: /usr/lib64/ccache/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/lib64/ccache/bin/c++ -- Check for working CXX compiler: /usr/lib64/ccache/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at /usr/share/apps/cmake/modules/FindRUBY.cmake:85 (MESSAGE): Could not find Ruby Call Stack (most recent call first): CMakeLists.txt:3 (FIND_PACKAGE) -- Configuring incomplete, errors occurred! Expected Results: cmake should succeed: gentryx@rei ~/find-ruby-cmake $ cmake . && echo success -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/lib64/ccache/bin/gcc -- Check for working C compiler: /usr/lib64/ccache/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/lib64/ccache/bin/c++ -- Check for working CXX compiler: /usr/lib64/ccache/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Ruby found: /usr/lib64/libruby18.so -- Configuring done -- Generating done -- Build files have been written to: /home/gentryx/find-ruby-cmake success
Well, ruby bindings are not yet packaged really... When we do it, this bug will be fixed as well.
Still present in 4.3.3
(In reply to comment #2) > Still present in 4.3.3 > Is fixed in the kdebindings-ruby ebuild of kde-4.4.0 (there the required environment for a ruby ebuild is set.) Is there anything else in kdelibs that needs ruby???
All ruby packages in 4.4.x fixed afaik.