Created attachment 397250 [details] build log (gzip compressed) sci-geosciences/qgis-2.6.0 fails to compile against x11-libs/qwt-6.1.2-r1: /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/sci-geosciences/qgis-2. 6.0/work/qgis-2.6.0_build/CMakeFiles make[2]: *** No rule to make target '/usr/lib64/libqwt6.so', needed by 'output/l ib64/libqgis_gui.so.2.6.0'. Stop. make[2]: *** Waiting for unfinished jobs.... Here are the libqwt* files installed on my system: $ ls -l /usr/lib64/libqwt* | awk '{print $9,$10,$11}' /usr/lib64/libqwt6-qt4.so -> libqwt6-qt4.so.6.1.2 /usr/lib64/libqwt6-qt4.so.6 -> libqwt6-qt4.so.6.1.2 /usr/lib64/libqwt6-qt4.so.6.1 -> libqwt6-qt4.so.6.1.2 /usr/lib64/libqwt6-qt4.so.6.1.2 /usr/lib64/libqwt6.so.6 -> libqwt6.so.6.1.2 /usr/lib64/libqwt6.so.6.1.2 /usr/lib64/libqwtpolar.so -> libqwtpolar.so.1.1.1 /usr/lib64/libqwtpolar.so.1 -> libqwtpolar.so.1.1.1 /usr/lib64/libqwtpolar.so.1.1 -> libqwtpolar.so.1.1.1 /usr/lib64/libqwtpolar.so.1.1.1 /usr/lib64/libqwt.so -> libqwt.so.5.2.3 /usr/lib64/libqwt.so.5 -> libqwt.so.5.2.3 /usr/lib64/libqwt.so.5.2 -> libqwt.so.5.2.3 /usr/lib64/libqwt.so.5.2.3
2.8.0 In rion overlay now. Please test.
Can you show full output of qlist qwt && emerge -pv qwt:5 qwt:6 and full build.log
and emerge -pv x11-libs/qwtpolar
This appears to be due to portage preserving libs. I have libqwt6.so.6 preserved by portage, while libqwt6.so isn't preserved. Adding that symlink I was able to emerge qgis, but the new qgis version will still depend on the old library. I realize that I'm using a qgis ebuild from my own overlay, probably imported from rion at some point. I do whish we'd get bug 485868 addressed, i.e. a recent qgis included in the main portage tree. I'll need to rebuild layman with mercurial support before I can give the rion overlay a try. Will report back after that.
(In reply to Martin von Gagern from comment #4) > … I can give the rion overlay a try. Will report back after that. Same problem: No rule to make target '/usr/lib64/libqwt6.so', needed by 'output/lib64/libqgis_gui.so.2.8.0'. Stop. Perhaps gdal should be using pkg-config? # pkg-config --libs qwt6 -L/usr/lib64/qt4 -lqwt6-qt4 -lQtSvg -lQtOpenGL -lQtGui -lQtCore The current search looks like this: FIND_LIBRARY(QWT_LIBRARY NAMES qwt qwt5 qwt6 qwt-qt4 qwt5-qt4 PATHS So it likely won't find qwt6-qt4 even if there is no qwt6 to distract it.
Ok. this is because >=qwt-6.1.2 have IUSE="qt4 qt5" and ebuild change name of this libs adding suffix -qt4 or -qt5 correspondingly. Using pkg-config in this case look logically. But I do not know how this make perfectly. I pushed ebuild with workaround in rion-overlay. Now qgis must built fine with any qwt in portage. Please test. @@ -2,6 +2,9 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 25 Feb 2015; eegorov <egor.y.egorov@gmail.com> qgis-2.8.0.ebuild: + Fix #541062 + *qgis-2.8.0 (24 Feb 2015)
(In reply to Egor Y. Egorov from comment #6) > Please test. Compiles and launches. Looks good to me.
Version is not in tree and I didn't even find it in rion-overlay Amy