Re: [gentoo-user] Most all KDE 4 emerges fail. Cmake is common.

2010-01-21 Thread Arttu V.
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.

2010-01-21 Thread Dale

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.

2010-01-21 Thread James Ausmus
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.

2010-01-21 Thread Dale

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.

2010-01-21 Thread Dale

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.

2010-01-21 Thread James Ausmus
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.

2010-01-21 Thread Dale

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

:-)  :-)