[gentoo-user] Most all KDE 4 emerges fail. Cmake is common.
Hi, For some reason I can't emerge about anything related to KDE 4. This is the failure that I currently have. It is short so I put the whole thing here. Emerging (2 of 2) kde-base/step-4.3.4 * kdeedu-4.3.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: kde-base/step-4.3.4 * REPO: gentoo * USE: elibc_glibc gsl handbook kernel_linux qalculate userland_GNU x86 Unpacking source... * Unpacking parts of kdeedu-4.3.4.tar.bz2 to /var/tmp/portage/kde-base/step-4.3.4/work ... [ ok ] Source unpacked in /var/tmp/portage/kde-base/step-4.3.4/work Preparing source in /var/tmp/portage/kde-base/step-4.3.4/work/step-4.3.4 ... * Applying step-4.3.2-solaris.patch ... [ ok ] Source prepared. Configuring source in /var/tmp/portage/kde-base/step-4.3.4/work/step-4.3.4 ... Working in BUILD_DIR: /var/tmp/portage/kde-base/step-4.3.4/work/step-4.3.4_build cmake -C /var/tmp/portage/kde-base/step-4.3.4/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE4_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DWITH_gsl=ON -DWITH_GSL=ON -DWITH_Gsl=ON -DWITH_qalculate=ON -DWITH_QALCULATE=ON -DWITH_Qalculate=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/kde-base/step-4.3.4/temp/gentoo_rules.cmake /var/tmp/portage/kde-base/step-4.3.4/work/step-4.3.4 loading initial cache file /var/tmp/portage/kde-base/step-4.3.4/temp/gentoo_common_config.cmake -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in Call Stack (most recent call first): CMakeLists.txt:6 (find_package) CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.8) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run cmake --help-policy CMP. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred! * ERROR: kde-base/step-4.3.4 failed: * cmake failed * * Call stack: * ebuild.sh, line 48: Called src_configure * environment, line 4134: Called kde4-meta_src_configure * environment, line 3233: Called kde4-base_src_configure * environment, line 2920: Called cmake-utils_src_configure * environment, line 1081: Called _execute_optionaly 'src_configure' * environment, line 510: Called enable_cmake-utils_src_configure * environment, line 1507: Called die * The specific snippet of code: * cmake ${cmakear...@]} ${CMAKE_USE_DIR} || die cmake failed; * * If you need support, post the output of 'emerge --info =kde-base/step-4.3.4', * the complete build log and the output of 'emerge -pqv =kde-base/step-4.3.4'. * The complete build log is located at '/var/log/portage/elog/kde-base:step-4.3.4:20100121-174459.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/step-4.3.4/temp/environment'. * S: '/var/tmp/portage/kde-base/step-4.3.4/work/step-4.3.4' Failed to emerge kde-base/step-4.3.4, Log file: '/var/log/portage/elog/kde-base:step-4.3.4:20100121-174459.log' * GNU info directory index is up-to-date. r...@smoker / # I searched the forums and found where some re-emerged kdelibs and some other packages to fix this. They fail with a error that is basically the same with just the package name changing. So I don't think this is just this package. More info: r...@smoker / # equery list make [ Searching for package 'make' in all categories among: ] * installed packages [I--] [ ~] dev-util/cmake-2.8.0 (0) [I--] [ ] sys-devel/automake-1.8.5-r3 (1.8) [I--] [ ] sys-devel/automake-1.9.6-r2 (1.9) [I--] [ ] sys-devel/automake-1.10.2 (1.10) [I--] [ ] sys-devel/automake-wrapper-3-r1 (0) [I--] [ ] sys-devel/make-3.81 (0) [I--] [ ]
Re: [gentoo-user] Most all KDE 4 emerges fail. Cmake is common.
On 1/21/10, Dale rdalek1...@gmail.com wrote: CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in Call Stack (most recent call first): CMakeLists.txt:6 (find_package) Ok, so kde4-config is not returning any path for the kde4 data (i.e., apps?) dir? Does kde4-config --path data return anything if you run it from a shell? -- Arttu V.
Re: [gentoo-user] Most all KDE 4 emerges fail. Cmake is common.
Arttu V. wrote: On 1/21/10, Dale rdalek1...@gmail.com wrote: CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in Call Stack (most recent call first): CMakeLists.txt:6 (find_package) Ok, so kde4-config is not returning any path for the kde4 data (i.e., apps?) dir? Does kde4-config --path data return anything if you run it from a shell? You have a good hammer. I think you hit the problem or at least a good start to fixin it. r...@smoker / # kde4-config --path data kde4-config: symbol lookup error: /usr/lib/libkdecore.so.5: undefined symbol: _ZN9QListData7detach3Ev r...@smoker / # I get a clean revdep-rebuild so is it missing this one? Is it something else? Dale :-) :-)
Re: [gentoo-user] Most all KDE 4 emerges fail. Cmake is common.
On Thu, Jan 21, 2010 at 1:08 PM, Dale rdalek1...@gmail.com wrote: Arttu V. wrote: On 1/21/10, Dale rdalek1...@gmail.com wrote: CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in Call Stack (most recent call first): CMakeLists.txt:6 (find_package) Ok, so kde4-config is not returning any path for the kde4 data (i.e., apps?) dir? Does kde4-config --path data return anything if you run it from a shell? You have a good hammer. I think you hit the problem or at least a good start to fixin it. r...@smoker / # kde4-config --path data kde4-config: symbol lookup error: /usr/lib/libkdecore.so.5: undefined symbol: _ZN9QListData7detach3Ev r...@smoker / # I get a clean revdep-rebuild so is it missing this one? Is it something else? Try re-emerging kde-base/kdelibs - both kde4-config and libkdecore.so* are owned by kdelibs. -James
Re: [gentoo-user] Most all KDE 4 emerges fail. Cmake is common.
James Ausmus wrote: On Thu, Jan 21, 2010 at 1:08 PM, Dale rdalek1...@gmail.com mailto:rdalek1...@gmail.com wrote: Arttu V. wrote: On 1/21/10, Dale rdalek1...@gmail.com mailto:rdalek1...@gmail.com wrote: CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in Call Stack (most recent call first): CMakeLists.txt:6 (find_package) Ok, so kde4-config is not returning any path for the kde4 data (i.e., apps?) dir? Does kde4-config --path data return anything if you run it from a shell? You have a good hammer. I think you hit the problem or at least a good start to fixin it. r...@smoker / # kde4-config --path data kde4-config: symbol lookup error: /usr/lib/libkdecore.so.5: undefined symbol: _ZN9QListData7detach3Ev r...@smoker / # I get a clean revdep-rebuild so is it missing this one? Is it something else? Try re-emerging kde-base/kdelibs - both kde4-config and libkdecore.so* are owned by kdelibs. -James I think I tried that and it failed. I'm going to try it again and see if it helps. I know I tried a couple packages and each failed with a error similar to the one I posted. I'll post back what happens, success or fail. Thanks. Dale :-) :-)
Re: [gentoo-user] Most all KDE 4 emerges fail. Cmake is common.
Dale wrote: Try re-emerging kde-base/kdelibs - both kde4-config and libkdecore.so* are owned by kdelibs. -James I think I tried that and it failed. I'm going to try it again and see if it helps. I know I tried a couple packages and each failed with a error similar to the one I posted. I'll post back what happens, success or fail. Thanks. Dale :-) :-) OK. I think this is different. Here is the error for kdelibs. I think I went back far enough to show it all. Linking CXX shared module ../lib/libkhtmlpart.so [100%] Built target khtmlpart Scanning dependencies of target testkhtml_static /var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3/khtml/testkhtml.cpp: In function 'int main(int, char**)': /var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3/khtml/testkhtml.cpp:53: warning: unused variable 'fac' [100%] Building CXX object khtml/CMakeFiles/testkhtml_static.dir/testkhtml_static_automoc.o [100%] Building CXX object khtml/CMakeFiles/testkhtml_static.dir/testkhtml.o Linking CXX executable ../bin/testkhtml /usr/lib/libphonon.so.4: undefined reference to `QMapData::createData(int)' /usr/lib/libphonon.so.4: undefined reference to `QMapData::node_create(QMapData::Node**, int, int)' /usr/lib/libphonon.so.4: undefined reference to `QListData::detach3()' /usr/lib/libphonon.so.4: undefined reference to `QHashData::allocateNode(int)' /usr/lib/libphonon.so.4: undefined reference to `QHashData::free_helper(void (*)(QHashData::Node*))' /usr/lib/libphonon.so.4: undefined reference to `QHashData::detach_helper2(void (*)(QHashData::Node*, void*), void (*)(QHashData::Node*), int, int)' /usr/lib/libphonon.so.4: undefined reference to `QListData::append2(QListData const)' /usr/lib/libphonon.so.4: undefined reference to `QVariant::QVariant(int, void const*, unsigned int)' collect2: ld returned 1 exit status make[2]: *** [bin/testkhtml] Error 1 make[1]: *** [khtml/CMakeFiles/testkhtml.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs /var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3/khtml/testkhtml.cpp: In function 'int main(int, char**)': /var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3/khtml/testkhtml.cpp:53: warning: unused variable 'fac' Linking CXX executable ../bin/testkhtml_static /usr/lib/libphonon.so.4: undefined reference to `QMapData::createData(int)' /usr/lib/libphonon.so.4: undefined reference to `QMapData::node_create(QMapData::Node**, int, int)' /usr/lib/libphonon.so.4: undefined reference to `QListData::detach3()' /usr/lib/libphonon.so.4: undefined reference to `QHashData::allocateNode(int)' /usr/lib/libphonon.so.4: undefined reference to `QHashData::free_helper(void (*)(QHashData::Node*))' /usr/lib/libphonon.so.4: undefined reference to `QHashData::detach_helper2(void (*)(QHashData::Node*, void*), void (*)(QHashData::Node*), int, int)' /usr/lib/libphonon.so.4: undefined reference to `QListData::append2(QListData const)' /usr/lib/libphonon.so.4: undefined reference to `QVariant::QVariant(int, void const*, unsigned int)' collect2: ld returned 1 exit status make[2]: *** [bin/testkhtml_static] Error 1 make[1]: *** [khtml/CMakeFiles/testkhtml_static.dir/all] Error 2 make: *** [all] Error 2 * ERROR: kde-base/kdelibs-4.3.3-r1 failed: * Make failed! * * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 3944: Called kde4-base_src_compile * environment, line 3032: Called cmake-utils_src_compile * environment, line 1206: Called _execute_optionaly 'src_compile' * environment, line 630: Called enable_cmake-utils_src_compile * environment, line 1579: Called cmake-utils_src_make * environment, line 1225: Called die * The specific snippet of code: * emake $@ || die Make failed!; * * If you need support, post the output of 'emerge --info =kde-base/kdelibs-4.3.3-r1', * the complete build log and the output of 'emerge -pqv =kde-base/kdelibs-4.3.3-r1'. * The complete build log is located at '/var/log/portage/elog/kde-base:kdelibs-4.3.3-r1:20100121-214249.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdelibs-4.3.3-r1/temp/environment'. * S: '/var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3' Failed to emerge kde-base/kdelibs-4.3.3-r1, Log file: '/var/log/portage/elog/kde-base:kdelibs-4.3.3-r1:20100121-214249.log' r...@smoker / # It is funny that it fails after the compile is about done. lol It couldn't do it at the beginning. ;-) So since this is mentioned in the area of the failure, here is some more info: r...@smoker / # equery list phonon [ Searching for package 'phonon' in all categories among: ] * installed packages [I--] [M~] kde-base/phonon-kde-4.3.4 (4.3) [I--] [ ] media-sound/phonon-4.3.50_pre20090520 (0) r...@smoker / # I'm about ready to unmerge kde-meta:4.3 and then do a depclean. That would fix it. lol Ideas? Dale :-) :-)
Re: [gentoo-user] Most all KDE 4 emerges fail. Cmake is common.
On Thu, Jan 21, 2010 at 3:13 PM, Dale rdalek1...@gmail.com wrote: Dale wrote: Try re-emerging kde-base/kdelibs - both kde4-config and libkdecore.so* are owned by kdelibs. -James I think I tried that and it failed. I'm going to try it again and see if it helps. I know I tried a couple packages and each failed with a error similar to the one I posted. I'll post back what happens, success or fail. Thanks. Dale :-) :-) OK. I think this is different. Here is the error for kdelibs. I think I went back far enough to show it all. Linking CXX shared module ../lib/libkhtmlpart.so [100%] Built target khtmlpart Scanning dependencies of target testkhtml_static /var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3/khtml/testkhtml.cpp: In function 'int main(int, char**)': /var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3/khtml/testkhtml.cpp:53: warning: unused variable 'fac' [100%] Building CXX object khtml/CMakeFiles/testkhtml_static.dir/testkhtml_static_automoc.o [100%] Building CXX object khtml/CMakeFiles/testkhtml_static.dir/testkhtml.o Linking CXX executable ../bin/testkhtml /usr/lib/libphonon.so.4: undefined reference to `QMapData::createData(int)' /usr/lib/libphonon.so.4: undefined reference to `QMapData::node_create(QMapData::Node**, int, int)' /usr/lib/libphonon.so.4: undefined reference to `QListData::detach3()' /usr/lib/libphonon.so.4: undefined reference to `QHashData::allocateNode(int)' /usr/lib/libphonon.so.4: undefined reference to `QHashData::free_helper(void (*)(QHashData::Node*))' /usr/lib/libphonon.so.4: undefined reference to `QHashData::detach_helper2(void (*)(QHashData::Node*, void*), void (*)(QHashData::Node*), int, int)' /usr/lib/libphonon.so.4: undefined reference to `QListData::append2(QListData const)' /usr/lib/libphonon.so.4: undefined reference to `QVariant::QVariant(int, void const*, unsigned int)' collect2: ld returned 1 exit status make[2]: *** [bin/testkhtml] Error 1 make[1]: *** [khtml/CMakeFiles/testkhtml.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs /var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3/khtml/testkhtml.cpp: In function 'int main(int, char**)': /var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3/khtml/testkhtml.cpp:53: warning: unused variable 'fac' Linking CXX executable ../bin/testkhtml_static /usr/lib/libphonon.so.4: undefined reference to `QMapData::createData(int)' /usr/lib/libphonon.so.4: undefined reference to `QMapData::node_create(QMapData::Node**, int, int)' /usr/lib/libphonon.so.4: undefined reference to `QListData::detach3()' /usr/lib/libphonon.so.4: undefined reference to `QHashData::allocateNode(int)' /usr/lib/libphonon.so.4: undefined reference to `QHashData::free_helper(void (*)(QHashData::Node*))' /usr/lib/libphonon.so.4: undefined reference to `QHashData::detach_helper2(void (*)(QHashData::Node*, void*), void (*)(QHashData::Node*), int, int)' /usr/lib/libphonon.so.4: undefined reference to `QListData::append2(QListData const)' /usr/lib/libphonon.so.4: undefined reference to `QVariant::QVariant(int, void const*, unsigned int)' collect2: ld returned 1 exit status make[2]: *** [bin/testkhtml_static] Error 1 make[1]: *** [khtml/CMakeFiles/testkhtml_static.dir/all] Error 2 make: *** [all] Error 2 * ERROR: kde-base/kdelibs-4.3.3-r1 failed: * Make failed! * * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 3944: Called kde4-base_src_compile * environment, line 3032: Called cmake-utils_src_compile * environment, line 1206: Called _execute_optionaly 'src_compile' * environment, line 630: Called enable_cmake-utils_src_compile * environment, line 1579: Called cmake-utils_src_make * environment, line 1225: Called die * The specific snippet of code: * emake $@ || die Make failed!; * * If you need support, post the output of 'emerge --info =kde-base/kdelibs-4.3.3-r1', * the complete build log and the output of 'emerge -pqv =kde-base/kdelibs-4.3.3-r1'. * The complete build log is located at '/var/log/portage/elog/kde-base:kdelibs-4.3.3-r1:20100121-214249.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdelibs-4.3.3-r1/temp/environment'. * S: '/var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3' Failed to emerge kde-base/kdelibs-4.3.3-r1, Log file: '/var/log/portage/elog/kde-base:kdelibs-4.3.3-r1:20100121-214249.log' r...@smoker / # It is funny that it fails after the compile is about done. lol It couldn't do it at the beginning. ;-) So since this is mentioned in the area of the failure, here is some more info: r...@smoker / # equery list phonon [ Searching for package 'phonon' in all categories among: ] * installed packages [I--] [M~] kde-base/phonon-kde-4.3.4 (4.3) [I--] [ ] media-sound/phonon-4.3.50_pre20090520 (0) r...@smoker / # I'm about ready to unmerge kde-meta:4.3 and
Re: [gentoo-user] Most all KDE 4 emerges fail. Cmake is common.
James Ausmus wrote: On Thu, Jan 21, 2010 at 3:13 PM, Dale rdalek1...@gmail.com mailto:rdalek1...@gmail.com wrote: Dale wrote: Try re-emerging kde-base/kdelibs - both kde4-config and libkdecore.so* are owned by kdelibs. -James I think I tried that and it failed. I'm going to try it again and see if it helps. I know I tried a couple packages and each failed with a error similar to the one I posted. I'll post back what happens, success or fail. Thanks. Dale :-) :-) OK. I think this is different. Here is the error for kdelibs. I think I went back far enough to show it all. SNIP It is funny that it fails after the compile is about done. lol It couldn't do it at the beginning. ;-) So since this is mentioned in the area of the failure, here is some more info: r...@smoker / # equery list phonon [ Searching for package 'phonon' in all categories among: ] * installed packages [I--] [M~] kde-base/phonon-kde-4.3.4 (4.3) [I--] [ ] media-sound/phonon-4.3.50_pre20090520 (0) r...@smoker / # I'm about ready to unmerge kde-meta:4.3 and then do a depclean. That would fix it. lol Ideas? Re-emerge media-sound/phonon, and then, if you don't want to spend the time recompiling all of kdelibs, do: ebuild /usr/portage/kde-base/kdelibs/kdelibs-4.3.3-r1.ebuild compile ebuild /usr/portage/kde-base/kdelibs/kdelibs-4.3.3-r1.ebuild install ebuild /usr/portage/kde-base/kdelibs/kdelibs-4.3.3-r1.ebuild qmerge ebuild /usr/portage/kde-base/kdelibs/kdelibs-4.3.3-r1.ebuild clean Very odd that revdep-rebuild doesn't catch the libphonon linking errors... :( -James I'll give that a try. I started to just do that when I saw the error but I been recompiling packages for days trying to fix this thing. I felt like I was in a loop. I plan to do a emerge -1v phonon emerge -1v kdelibs:4.3 and take a nap while it crunches away. It'll be done when I get up. Will post with failure or success. Thanks much. Dale :-) :-)