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 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

Reply via email to