Gentoo Archives: gentoo-user

From: James Ausmus <james.ausmus@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Most all KDE 4 emerges fail. Cmake is common.
Date: Thu, 21 Jan 2010 23:21:01
Message-Id: b79f23071001211520i22a86cd8tef901d86fc121b3e@mail.gmail.com
In Reply to: Re: [gentoo-user] Most all KDE 4 emerges fail. Cmake is common. by Dale
1 On Thu, Jan 21, 2010 at 3:13 PM, Dale <rdalek1967@×××××.com> wrote:
2
3 > Dale wrote:
4 >
5 >>
6 >>> Try re-emerging kde-base/kdelibs - both kde4-config and libkdecore.so*
7 >>> are owned by kdelibs.
8 >>>
9 >>> -James
10 >>>
11 >>>
12 >> I think I tried that and it failed. I'm going to try it again and see if
13 >> it helps. I know I tried a couple packages and each failed with a error
14 >> similar to the one I posted. I'll post back what happens, success or fail.
15 >>
16 >> Thanks.
17 >>
18 >> Dale
19 >>
20 >> :-) :-)
21 >>
22 >
23 > OK. I think this is different. Here is the error for kdelibs. I think I
24 > went back far enough to show it all.
25 >
26 >
27 > Linking CXX shared module ../lib/libkhtmlpart.so
28 > [100%] Built target khtmlpart
29 > Scanning dependencies of target testkhtml_static
30 > /var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3/khtml/testkhtml.cpp:
31 > In function 'int main(int, char**)':
32 > /var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3/khtml/testkhtml.cpp:53:
33 > warning: unused variable 'fac'
34 > [100%] Building CXX object
35 > khtml/CMakeFiles/testkhtml_static.dir/testkhtml_static_automoc.o
36 > [100%] Building CXX object
37 > khtml/CMakeFiles/testkhtml_static.dir/testkhtml.o
38 > Linking CXX executable ../bin/testkhtml
39 > /usr/lib/libphonon.so.4: undefined reference to `QMapData::createData(int)'
40 > /usr/lib/libphonon.so.4: undefined reference to
41 > `QMapData::node_create(QMapData::Node**, int, int)'
42 > /usr/lib/libphonon.so.4: undefined reference to `QListData::detach3()'
43 > /usr/lib/libphonon.so.4: undefined reference to
44 > `QHashData::allocateNode(int)'
45 > /usr/lib/libphonon.so.4: undefined reference to
46 > `QHashData::free_helper(void (*)(QHashData::Node*))'
47 > /usr/lib/libphonon.so.4: undefined reference to
48 > `QHashData::detach_helper2(void (*)(QHashData::Node*, void*), void
49 > (*)(QHashData::Node*), int, int)'
50 > /usr/lib/libphonon.so.4: undefined reference to
51 > `QListData::append2(QListData const&)'
52 > /usr/lib/libphonon.so.4: undefined reference to `QVariant::QVariant(int,
53 > void const*, unsigned int)'
54 > collect2: ld returned 1 exit status
55 > make[2]: *** [bin/testkhtml] Error 1
56 > make[1]: *** [khtml/CMakeFiles/testkhtml.dir/all] Error 2
57 > make[1]: *** Waiting for unfinished jobs....
58 > /var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3/khtml/testkhtml.cpp:
59 > In function 'int main(int, char**)':
60 > /var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3/khtml/testkhtml.cpp:53:
61 > warning: unused variable 'fac'
62 > Linking CXX executable ../bin/testkhtml_static
63 > /usr/lib/libphonon.so.4: undefined reference to `QMapData::createData(int)'
64 > /usr/lib/libphonon.so.4: undefined reference to
65 > `QMapData::node_create(QMapData::Node**, int, int)'
66 > /usr/lib/libphonon.so.4: undefined reference to `QListData::detach3()'
67 > /usr/lib/libphonon.so.4: undefined reference to
68 > `QHashData::allocateNode(int)'
69 > /usr/lib/libphonon.so.4: undefined reference to
70 > `QHashData::free_helper(void (*)(QHashData::Node*))'
71 > /usr/lib/libphonon.so.4: undefined reference to
72 > `QHashData::detach_helper2(void (*)(QHashData::Node*, void*), void
73 > (*)(QHashData::Node*), int, int)'
74 > /usr/lib/libphonon.so.4: undefined reference to
75 > `QListData::append2(QListData const&)'
76 > /usr/lib/libphonon.so.4: undefined reference to `QVariant::QVariant(int,
77 > void const*, unsigned int)'
78 > collect2: ld returned 1 exit status
79 > make[2]: *** [bin/testkhtml_static] Error 1
80 > make[1]: *** [khtml/CMakeFiles/testkhtml_static.dir/all] Error 2
81 > make: *** [all] Error 2
82 > * ERROR: kde-base/kdelibs-4.3.3-r1 failed:
83 > * Make failed!
84 > *
85 > * Call stack:
86 > * ebuild.sh, line 48: Called src_compile
87 > * environment, line 3944: Called kde4-base_src_compile
88 > * environment, line 3032: Called cmake-utils_src_compile
89 > * environment, line 1206: Called _execute_optionaly 'src_compile'
90 > * environment, line 630: Called enable_cmake-utils_src_compile
91 > * environment, line 1579: Called cmake-utils_src_make
92 > * environment, line 1225: Called die
93 >
94 > * The specific snippet of code:
95 > * emake "$@" || die "Make failed!";
96 > *
97 > * If you need support, post the output of 'emerge --info
98 > =kde-base/kdelibs-4.3.3-r1',
99 > * the complete build log and the output of 'emerge -pqv
100 > =kde-base/kdelibs-4.3.3-r1'.
101 > * The complete build log is located at
102 > '/var/log/portage/elog/kde-base:kdelibs-4.3.3-r1:20100121-214249.log'.
103 > * The ebuild environment file is located at
104 > '/var/tmp/portage/kde-base/kdelibs-4.3.3-r1/temp/environment'.
105 > * S: '/var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3'
106 >
107 > >>> Failed to emerge kde-base/kdelibs-4.3.3-r1, Log file:
108 >
109 > >>> '/var/log/portage/elog/kde-base:kdelibs-4.3.3-r1:20100121-214249.log'
110 > root@smoker / #
111 > It is funny that it fails after the compile is about done. lol It
112 > couldn't do it at the beginning. ;-)
113 >
114 > So since this is mentioned in the area of the failure, here is some more
115 > info:
116 >
117 > root@smoker / # equery list phonon
118 > [ Searching for package 'phonon' in all categories among: ]
119 > * installed packages
120 > [I--] [M~] kde-base/phonon-kde-4.3.4 (4.3)
121 > [I--] [ ] media-sound/phonon-4.3.50_pre20090520 (0)
122 > root@smoker / #
123 >
124 > I'm about ready to unmerge kde-meta:4.3 and then do a depclean. That would
125 > fix it. lol
126 >
127 > Ideas?
128 >
129
130
131 Re-emerge media-sound/phonon, and then, if you don't want to spend the time
132 recompiling all of kdelibs, do:
133
134 ebuild /usr/portage/kde-base/kdelibs/kdelibs-4.3.3-r1.ebuild compile
135 ebuild /usr/portage/kde-base/kdelibs/kdelibs-4.3.3-r1.ebuild install
136 ebuild /usr/portage/kde-base/kdelibs/kdelibs-4.3.3-r1.ebuild qmerge
137 ebuild /usr/portage/kde-base/kdelibs/kdelibs-4.3.3-r1.ebuild clean
138
139
140 Very odd that revdep-rebuild doesn't catch the libphonon linking errors...
141 :(
142
143 -James

Replies

Subject Author
Re: [gentoo-user] Most all KDE 4 emerges fail. Cmake is common. Dale <rdalek1967@×××××.com>