Gentoo Archives: gentoo-user

From: "Stéphane Guedon" <stephane@××××××××××.eu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] kdelibs fails to build
Date: Sun, 04 Jul 2010 07:48:08
Message-Id: 201007040946.34449.stephane@22decembre.eu
In Reply to: Re: [gentoo-user] kdelibs fails to build by Dale
1 Le samedi 03 juillet 2010 19:38:39, Dale a écrit :
2 > Mick wrote:
3 > > On Saturday 03 July 2010 17:28:41 Mick wrote:
4 > >> On Saturday 03 July 2010 12:49:49 Dale wrote:
5 > >>> Mick wrote:
6 > >>>> I am running the kde-4.4.4 upgrade on a x86 machine and this is how
7 > >>>> kdelibs fails:
8 > >>>> ====================================
9 > >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/net
10 > >>>> w or k/k3socketdevice.h:275: warning: by ‘virtual qint64
11 > >>>> KNetwork::KSocketDevice::writeData(const char*, qint64, const
12 > >>>> KNetwork::KSocketAddress*)’
13 > >>>> [ 54%] Building CXX object
14 > >>>> kio/CMakeFiles/kio.dir/kssl/ksslcertificate.o [ 54%] Building CXX
15 > >>>> object kio/CMakeFiles/kio.dir/kssl/ksslkeygen.o [ 54%] Building CXX
16 > >>>> object kio/CMakeFiles/kio.dir/kssl/ksslsettings.o [ 54%] Building CXX
17 > >>>> object kio/CMakeFiles/kio.dir/kssl/ksslutils.o
18 > >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks
19 > >>>> sls ettings.cpp: In member function ‘void KSSLSettings::load()’:
20 > >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks
21 > >>>> s ls ettings.cpp:134: warning: ‘void KConfigGroup::changeGroup(const
22 > >>>> char*)’ is deprecated (declared at
23 > >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/con
24 > >>>> f i g/kconfiggroup.h:159)
25 > >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks
26 > >>>> s l settings.cpp:139: warning: ‘void KConfigGroup::changeGroup(const
27 > >>>> char*)’ is deprecated (declared at
28 > >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/con
29 > >>>> f i g/kconfiggroup.h:159)
30 > >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks
31 > >>>> s l settings.cpp:144: warning: ‘void KConfigGroup::changeGroup(const
32 > >>>> char*)’ is deprecated (declared at
33 > >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/con
34 > >>>> f i g/kconfiggroup.h:159)
35 > >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks
36 > >>>> s l settings.cpp: In member function ‘void KSSLSettings::save()’:
37 > >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/k
38 > >>>> ss ls ettings.cpp:177: warning: ‘void KConfigGroup::changeGroup(const
39 > >>>> char*)’ is deprecated (declared at
40 > >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/con
41 > >>>> f i g/kconfiggroup.h:159)
42 > >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks
43 > >>>> s l settings.cpp:182: warning: ‘void KConfigGroup::changeGroup(const
44 > >>>> char*)’ is deprecated (declared at
45 > >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/con
46 > >>>> f i g/kconfiggroup.h:159) [ 54%] Building CXX object
47 > >>>> kio/CMakeFiles/kio.dir/kssl/ksslx509v3.o Linking CXX shared library
48 > >>>> ../lib/libkio.so
49 > >>>> /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin
50 > >>>> / ld
51 > >>>>
52 > >>>> : warning: creating a DT_TEXTREL in object.
53 > >>>>
54 > >>>> collect2: ld returned 1 exit status
55 > >>>> make[2]: *** [lib/libkio.so.5.4.0] Error 1
56 > >>>> make[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2
57 > >>>> make: *** [all] Error 2
58 > >>>>
59 > >>>> * ERROR: kde-base/kdelibs-4.4.4 failed:
60 > >>>> * Make failed!
61 > >>>> *
62 > >>>> * Call stack:
63 > >>>> * ebuild.sh, line 54: Called src_compile
64 > >>>> * environment, line 4033: Called kde4-base_src_compile
65 > >>>> * environment, line 3111: Called cmake-utils_src_compile
66 > >>>> * environment, line 1258: Called _execute_optionaly
67 > >>>> 'src_compile' * environment, line 665: Called
68 > >>>> enable_cmake-utils_src_compile * environment, line 1623: Called
69 > >>>> cmake-utils_src_make
70 > >>>> * environment, line 1277: Called die
71 > >>>> * The specific snippet of code:
72 > >>>> * emake "$@" || die "Make failed!";
73 > >>>>
74 > >>>> ====================================
75 > >>>>
76 > >>>> Any ideas?
77 > >>>
78 > >>> Do you have MAKEOPTS set to a high number in make.conf? I ask because
79 > >>> in my 'knowing very little mind' I think it is trying to make a link to
80 > >>> a file that kdelibs is supposed to be making. It may be trying to link
81 > >>> to something that isn't there yet so it failed. If you have that set
82 > >>> to 2 or higher, try setting it to 1 and see if that helps.
83 > >>>
84 > >>> Hope that works. At least it didn't fail at 99%. lol
85 > >>>
86 > >>> Dale
87 > >>
88 > >> Thanks Dale, I tried with -j1 and it fails with the same libkio.so
89 > >> error.
90 > >
91 > > I found a bug about it (324061) and I'm now trying again without ccache.
92 >
93 > That would be the next thing to try. Most packages can compile with
94 > higher than -j1 and with ccache but some can not do so well. I hope it
95 > compiles when you disable that.
96 >
97 > Dale
98 >
99 > :-) :-)
100
101 Did you think about changing the python set used ? For my own, it solves 90%
102 of my emerge bugs !
103
104 --
105 Stéphane Guedon
106 page web : http://www.22decembre.eu/
107 carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
108 clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc

Attachments

File name MIME type
signature.asc application/pgp-signature