I am trying to test qt-4.8.6 from qt overlay. After building parts of it, portage tells me that I have to rebuild kdelibs and kwebkitpart. In both packages qmake can't be found by the ebuilds. This is the output I get trying to rebuild kdelibs-4.13.2: loading initial cache file /var/tmp/portage/kde-base/kdelibs-4.13.2-r1/work/kdelibs-4.13.2_build/gentoo_common_config.cmake -- The C compiler identification is GNU 4.8.3 -- The CXX compiler identification is GNU 4.8.3 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at cmake/modules/FindQt4.cmake:1239 (MESSAGE): Qt qmake not found! Call Stack (most recent call first): cmake/modules/FindKDE4Internal.cmake:420 (find_package) CMakeLists.txt:56 (find_package)
Created attachment 379608 [details] build.log
Created attachment 379610 [details] environment
We appreciate your testing effort, however I suggest you to stop right now. There's a reason why qt-4.8.6 is masked, and that is because the transition to /usr/lib/qt4/bin is still unfinished, and therefore 99% of the reverse deps won't build. You can resume testing the rest of the tree when qt-4.8.6 is unmasked. Thanks for your help so far.
Thank you Davide, I didn't think the transition is that difficult!
This should be fixed for now, by defaulting qtchooser (which now installs /usr/bin/qmake) to qt4. However we should change cmake modules to look for qmake in /usr/lib/qt4/bin/qmake.
For FindQt4.cmake it would be enough if there was '/usr/bin/qmake-qt4' symlink - it would be used automatically and '/usr/bin/qmake' would be ignored if it wasn't qt4 version. For FindQt.cmake, following patch may be used: --- FindQt.cmake 2014-01-16 18:15:08.000000000 +0100 +++ FindQt_new.cmake 2014-11-02 04:13:34.994870521 +0100 @@ -102,6 +102,7 @@ /usr/local/include/Qt /usr/lib/qt/include/Qt /usr/include/Qt + /usr/include/qt4/Qt /usr/share/qt4/include/Qt /usr/local/include/X11/qt4/Qt C:/Progra~1/qt/include/Qt )