FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-03-2010, 08:09 AM
Mick
 
Default kdelibs fails to build

I am running the kde-4.4.4 upgrade on a x86 machine and this is how
kdelibs fails:
====================================
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/network/k3socketdevice.h:275:
warning: by ‘virtual qint64 KNetwork::KSocketDevice::writeData(const
char*, qint64, const KNetwork::KSocketAddress*)’
[ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslcertificate.o
[ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslkeygen.o
[ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslsettings.o
[ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslutils.o
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ksslsettings.cpp:
In member function ‘void KSSLSettings::load()’:
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ksslsettings.cpp:134:
warning: ‘void KConfigGroup::changeGroup(const char*)’ is deprecated
(declared at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/config/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ksslsettings.cpp:139:
warning: ‘void KConfigGroup::changeGroup(const char*)’ is deprecated
(declared at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/config/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ksslsettings.cpp:144:
warning: ‘void KConfigGroup::changeGroup(const char*)’ is deprecated
(declared at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/config/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ksslsettings.cpp:
In member function ‘void KSSLSettings::save()’:
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ksslsettings.cpp:177:
warning: ‘void KConfigGroup::changeGroup(const char*)’ is deprecated
(declared at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/config/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ksslsettings.cpp:182:
warning: ‘void KConfigGroup::changeGroup(const char*)’ is deprecated
(declared at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/config/kconfiggroup.h:159)
[ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslx509v3.o
Linking CXX shared library ../lib/libkio.so
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld:
warning: creating a DT_TEXTREL in object.
collect2: ld returned 1 exit status
make[2]: *** [lib/libkio.so.5.4.0] Error 1
make[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2
make: *** [all] Error 2
* ERROR: kde-base/kdelibs-4.4.4 failed:
* Make failed!
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 4033: Called kde4-base_src_compile
* environment, line 3111: Called cmake-utils_src_compile
* environment, line 1258: Called _execute_optionaly 'src_compile'
* environment, line 665: Called enable_cmake-utils_src_compile
* environment, line 1623: Called cmake-utils_src_make
* environment, line 1277: Called die
* The specific snippet of code:
* emake "$@" || die "Make failed!";
====================================

Any ideas?
--
Regards,
Mick
 
Old 07-03-2010, 11:49 AM
Dale
 
Default kdelibs fails to build

Mick wrote:

I am running the kde-4.4.4 upgrade on a x86 machine and this is how
kdelibs fails:
====================================
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/network/k3socketdevice.h:275:
warning: by ‘virtual qint64 KNetwork::KSocketDevice::writeData(const
char*, qint64, const KNetwork::KSocketAddress*)’
[ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslcertificate.o
[ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslkeygen.o
[ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslsettings.o
[ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslutils.o
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ksslsettings.cpp:
In member function ‘void KSSLSettings::load()’:
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ksslsettings.cpp:134:
warning: ‘void KConfigGroup::changeGroup(const char*)’ is deprecated
(declared at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/config/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ksslsettings.cpp:139:
warning: ‘void KConfigGroup::changeGroup(const char*)’ is deprecated
(declared at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/config/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ksslsettings.cpp:144:
warning: ‘void KConfigGroup::changeGroup(const char*)’ is deprecated
(declared at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/config/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ksslsettings.cpp:
In member function ‘void KSSLSettings::save()’:
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ksslsettings.cpp:177:
warning: ‘void KConfigGroup::changeGroup(const char*)’ is deprecated
(declared at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/config/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ksslsettings.cpp:182:
warning: ‘void KConfigGroup::changeGroup(const char*)’ is deprecated
(declared at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/config/kconfiggroup.h:159)
[ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslx509v3.o
Linking CXX shared library ../lib/libkio.so
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld:
warning: creating a DT_TEXTREL in object.
collect2: ld returned 1 exit status
make[2]: *** [lib/libkio.so.5.4.0] Error 1
make[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2
make: *** [all] Error 2
* ERROR: kde-base/kdelibs-4.4.4 failed:
* Make failed!
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 4033: Called kde4-base_src_compile
* environment, line 3111: Called cmake-utils_src_compile
* environment, line 1258: Called _execute_optionaly 'src_compile'
* environment, line 665: Called enable_cmake-utils_src_compile
* environment, line 1623: Called cmake-utils_src_make
* environment, line 1277: Called die
* The specific snippet of code:
* emake "$@" || die "Make failed!";
====================================

Any ideas?



Do you have MAKEOPTS set to a high number in make.conf? I ask because
in my 'knowing very little mind' I think it is trying to make a link to
a file that kdelibs is supposed to be making. It may be trying to link
to something that isn't there yet so it failed. If you have that set to
2 or higher, try setting it to 1 and see if that helps.


Hope that works. At least it didn't fail at 99%. lol

Dale

:-) :-)
 
Old 07-03-2010, 04:28 PM
Mick
 
Default kdelibs fails to build

On Saturday 03 July 2010 12:49:49 Dale wrote:
> Mick wrote:
> > I am running the kde-4.4.4 upgrade on a x86 machine and this is how
> > kdelibs fails:
> > ====================================
> > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/networ
> > k/k3socketdevice.h:275: warning: by ‘virtual qint64
> > KNetwork::KSocketDevice::writeData(const char*, qint64, const
> > KNetwork::KSocketAddress*)’
> > [ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslcertificate.o
> > [ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslkeygen.o
> > [ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslsettings.o
> > [ 54%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslutils.o
> > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kssls
> > ettings.cpp: In member function ‘void KSSLSettings::load()’:
> > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kssls
> > ettings.cpp:134: warning: ‘void KConfigGroup::changeGroup(const char*)’
> > is deprecated (declared at
> > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/confi
> > g/kconfiggroup.h:159)
> > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kssl
> > settings.cpp:139: warning: ‘void KConfigGroup::changeGroup(const char*)’
> > is deprecated (declared at
> > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/confi
> > g/kconfiggroup.h:159)
> > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kssl
> > settings.cpp:144: warning: ‘void KConfigGroup::changeGroup(const char*)’
> > is deprecated (declared at
> > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/confi
> > g/kconfiggroup.h:159)
> > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kssl
> > settings.cpp: In member function ‘void KSSLSettings::save()’:
> > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kssls
> > ettings.cpp:177: warning: ‘void KConfigGroup::changeGroup(const char*)’
> > is deprecated (declared at
> > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/confi
> > g/kconfiggroup.h:159)
> > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kssl
> > settings.cpp:182: warning: ‘void KConfigGroup::changeGroup(const char*)’
> > is deprecated (declared at
> > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/confi
> > g/kconfiggroup.h:159) [ 54%] Building CXX object
> > kio/CMakeFiles/kio.dir/kssl/ksslx509v3.o Linking CXX shared library
> > ../lib/libkio.so
> > /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld
> > : warning: creating a DT_TEXTREL in object.
> > collect2: ld returned 1 exit status
> > make[2]: *** [lib/libkio.so.5.4.0] Error 1
> > make[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2
> > make: *** [all] Error 2
> >
> > * ERROR: kde-base/kdelibs-4.4.4 failed:
> > * Make failed!
> > *
> > * Call stack:
> > * ebuild.sh, line 54: Called src_compile
> > * environment, line 4033: Called kde4-base_src_compile
> > * environment, line 3111: Called cmake-utils_src_compile
> > * environment, line 1258: Called _execute_optionaly 'src_compile'
> > * environment, line 665: Called enable_cmake-utils_src_compile
> > * environment, line 1623: Called cmake-utils_src_make
> > * environment, line 1277: Called die
> > * The specific snippet of code:
> > * emake "$@" || die "Make failed!";
> >
> > ====================================
> >
> > Any ideas?
>
> Do you have MAKEOPTS set to a high number in make.conf? I ask because
> in my 'knowing very little mind' I think it is trying to make a link to
> a file that kdelibs is supposed to be making. It may be trying to link
> to something that isn't there yet so it failed. If you have that set to
> 2 or higher, try setting it to 1 and see if that helps.
>
> Hope that works. At least it didn't fail at 99%. lol
>
> Dale

Thanks Dale, I tried with -j1 and it fails with the same libkio.so error. :-(

--
Regards,
Mick
 
Old 07-03-2010, 04:49 PM
Mick
 
Default kdelibs fails to build

On Saturday 03 July 2010 17:28:41 Mick wrote:
> On Saturday 03 July 2010 12:49:49 Dale wrote:
> > Mick wrote:
> > > I am running the kde-4.4.4 upgrade on a x86 machine and this is how
> > > kdelibs fails:
> > > ====================================
> > > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/netw
> > > or k/k3socketdevice.h:275: warning: by ‘virtual qint64
> > > KNetwork::KSocketDevice::writeData(const char*, qint64, const
> > > KNetwork::KSocketAddress*)’
> > > [ 54%] Building CXX object
> > > kio/CMakeFiles/kio.dir/kssl/ksslcertificate.o [ 54%] Building CXX
> > > object kio/CMakeFiles/kio.dir/kssl/ksslkeygen.o [ 54%] Building CXX
> > > object kio/CMakeFiles/kio.dir/kssl/ksslsettings.o [ 54%] Building CXX
> > > object kio/CMakeFiles/kio.dir/kssl/ksslutils.o
> > > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks
> > > sls ettings.cpp: In member function ‘void KSSLSettings::load()’:
> > > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kss
> > > ls ettings.cpp:134: warning: ‘void KConfigGroup::changeGroup(const
> > > char*)’ is deprecated (declared at
> > > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/conf
> > > i g/kconfiggroup.h:159)
> > > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kss
> > > l settings.cpp:139: warning: ‘void KConfigGroup::changeGroup(const
> > > char*)’ is deprecated (declared at
> > > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/conf
> > > i g/kconfiggroup.h:159)
> > > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kss
> > > l settings.cpp:144: warning: ‘void KConfigGroup::changeGroup(const
> > > char*)’ is deprecated (declared at
> > > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/conf
> > > i g/kconfiggroup.h:159)
> > > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kss
> > > l settings.cpp: In member function ‘void KSSLSettings::save()’:
> > > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kss
> > > ls ettings.cpp:177: warning: ‘void KConfigGroup::changeGroup(const
> > > char*)’ is deprecated (declared at
> > > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/conf
> > > i g/kconfiggroup.h:159)
> > > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kss
> > > l settings.cpp:182: warning: ‘void KConfigGroup::changeGroup(const
> > > char*)’ is deprecated (declared at
> > > /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/conf
> > > i g/kconfiggroup.h:159) [ 54%] Building CXX object
> > > kio/CMakeFiles/kio.dir/kssl/ksslx509v3.o Linking CXX shared library
> > > ../lib/libkio.so
> > > /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/
> > > ld
> > >
> > > : warning: creating a DT_TEXTREL in object.
> > >
> > > collect2: ld returned 1 exit status
> > > make[2]: *** [lib/libkio.so.5.4.0] Error 1
> > > make[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2
> > > make: *** [all] Error 2
> > >
> > > * ERROR: kde-base/kdelibs-4.4.4 failed:
> > > * Make failed!
> > > *
> > > * Call stack:
> > > * ebuild.sh, line 54: Called src_compile
> > > * environment, line 4033: Called kde4-base_src_compile
> > > * environment, line 3111: Called cmake-utils_src_compile
> > > * environment, line 1258: Called _execute_optionaly 'src_compile'
> > > * environment, line 665: Called enable_cmake-utils_src_compile
> > > * environment, line 1623: Called cmake-utils_src_make
> > > * environment, line 1277: Called die
> > > * The specific snippet of code:
> > > * emake "$@" || die "Make failed!";
> > >
> > > ====================================
> > >
> > > Any ideas?
> >
> > Do you have MAKEOPTS set to a high number in make.conf? I ask because
> > in my 'knowing very little mind' I think it is trying to make a link to
> > a file that kdelibs is supposed to be making. It may be trying to link
> > to something that isn't there yet so it failed. If you have that set to
> > 2 or higher, try setting it to 1 and see if that helps.
> >
> > Hope that works. At least it didn't fail at 99%. lol
> >
> > Dale
>
> Thanks Dale, I tried with -j1 and it fails with the same libkio.so error.

I found a bug about it (324061) and I'm now trying again without ccache.
--
Regards,
Mick
 
Old 07-03-2010, 05:38 PM
Dale
 
Default kdelibs fails to build

Mick wrote:

On Saturday 03 July 2010 17:28:41 Mick wrote:


On Saturday 03 July 2010 12:49:49 Dale wrote:


Mick wrote:


I am running the kde-4.4.4 upgrade on a x86 machine and this is how
kdelibs fails:
====================================
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/netw
or k/k3socketdevice.h:275: warning: by ‘virtual qint64
KNetwork::KSocketDevice::writeData(const char*, qint64, const
KNetwork::KSocketAddress*)’
[ 54%] Building CXX object
kio/CMakeFiles/kio.dir/kssl/ksslcertificate.o [ 54%] Building CXX
object kio/CMakeFiles/kio.dir/kssl/ksslkeygen.o [ 54%] Building CXX
object kio/CMakeFiles/kio.dir/kssl/ksslsettings.o [ 54%] Building CXX
object kio/CMakeFiles/kio.dir/kssl/ksslutils.o
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks
sls ettings.cpp: In member function ‘void KSSLSettings::load()’:
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kss
ls ettings.cpp:134: warning: ‘void KConfigGroup::changeGroup(const
char*)’ is deprecated (declared at
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/conf
i g/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kss
l settings.cpp:139: warning: ‘void KConfigGroup::changeGroup(const
char*)’ is deprecated (declared at
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/conf
i g/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kss
l settings.cpp:144: warning: ‘void KConfigGroup::changeGroup(const
char*)’ is deprecated (declared at
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/conf
i g/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kss
l settings.cpp: In member function ‘void KSSLSettings::save()’:
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kss
ls ettings.cpp:177: warning: ‘void KConfigGroup::changeGroup(const
char*)’ is deprecated (declared at
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/conf
i g/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/kss
l settings.cpp:182: warning: ‘void KConfigGroup::changeGroup(const
char*)’ is deprecated (declared at
/var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/conf
i g/kconfiggroup.h:159) [ 54%] Building CXX object
kio/CMakeFiles/kio.dir/kssl/ksslx509v3.o Linking CXX shared library
../lib/libkio.so
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/
ld

: warning: creating a DT_TEXTREL in object.

collect2: ld returned 1 exit status
make[2]: *** [lib/libkio.so.5.4.0] Error 1
make[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2
make: *** [all] Error 2

* ERROR: kde-base/kdelibs-4.4.4 failed:
* Make failed!
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 4033: Called kde4-base_src_compile
* environment, line 3111: Called cmake-utils_src_compile
* environment, line 1258: Called _execute_optionaly 'src_compile'
* environment, line 665: Called enable_cmake-utils_src_compile
* environment, line 1623: Called cmake-utils_src_make
* environment, line 1277: Called die
* The specific snippet of code:
* emake "$@" || die "Make failed!";

====================================

Any ideas?


Do you have MAKEOPTS set to a high number in make.conf? I ask because
in my 'knowing very little mind' I think it is trying to make a link to
a file that kdelibs is supposed to be making. It may be trying to link
to something that isn't there yet so it failed. If you have that set to
2 or higher, try setting it to 1 and see if that helps.

Hope that works. At least it didn't fail at 99%. lol

Dale


Thanks Dale, I tried with -j1 and it fails with the same libkio.so error.


I found a bug about it (324061) and I'm now trying again without ccache.



That would be the next thing to try. Most packages can compile with
higher than -j1 and with ccache but some can not do so well. I hope it
compiles when you disable that.


Dale

:-) :-)
 
Old 07-04-2010, 07:46 AM
Stéphane Guedon
 
Default kdelibs fails to build

Le samedi 03 juillet 2010 19:38:39, Dale a écrit :
> Mick wrote:
> > On Saturday 03 July 2010 17:28:41 Mick wrote:
> >> On Saturday 03 July 2010 12:49:49 Dale wrote:
> >>> Mick wrote:
> >>>> I am running the kde-4.4.4 upgrade on a x86 machine and this is how
> >>>> kdelibs fails:
> >>>> ====================================
> >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/net
> >>>> w or k/k3socketdevice.h:275: warning: by ‘virtual qint64
> >>>> KNetwork::KSocketDevice::writeData(const char*, qint64, const
> >>>> KNetwork::KSocketAddress*)’
> >>>> [ 54%] Building CXX object
> >>>> kio/CMakeFiles/kio.dir/kssl/ksslcertificate.o [ 54%] Building CXX
> >>>> object kio/CMakeFiles/kio.dir/kssl/ksslkeygen.o [ 54%] Building CXX
> >>>> object kio/CMakeFiles/kio.dir/kssl/ksslsettings.o [ 54%] Building CXX
> >>>> object kio/CMakeFiles/kio.dir/kssl/ksslutils.o
> >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks
> >>>> sls ettings.cpp: In member function ‘void KSSLSettings::load()’:
> >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks
> >>>> s ls ettings.cpp:134: warning: ‘void KConfigGroup::changeGroup(const
> >>>> char*)’ is deprecated (declared at
> >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/con
> >>>> f i g/kconfiggroup.h:159)
> >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks
> >>>> s l settings.cpp:139: warning: ‘void KConfigGroup::changeGroup(const
> >>>> char*)’ is deprecated (declared at
> >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/con
> >>>> f i g/kconfiggroup.h:159)
> >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks
> >>>> s l settings.cpp:144: warning: ‘void KConfigGroup::changeGroup(const
> >>>> char*)’ is deprecated (declared at
> >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/con
> >>>> f i g/kconfiggroup.h:159)
> >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks
> >>>> s l settings.cpp: In member function ‘void KSSLSettings::save()’:
> >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/k
> >>>> ss ls ettings.cpp:177: warning: ‘void KConfigGroup::changeGroup(const
> >>>> char*)’ is deprecated (declared at
> >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/con
> >>>> f i g/kconfiggroup.h:159)
> >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kssl/ks
> >>>> s l settings.cpp:182: warning: ‘void KConfigGroup::changeGroup(const
> >>>> char*)’ is deprecated (declared at
> >>>> /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/con
> >>>> f i g/kconfiggroup.h:159) [ 54%] Building CXX object
> >>>> kio/CMakeFiles/kio.dir/kssl/ksslx509v3.o Linking CXX shared library
> >>>> ../lib/libkio.so
> >>>> /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin
> >>>> / ld
> >>>>
> >>>> : warning: creating a DT_TEXTREL in object.
> >>>>
> >>>> collect2: ld returned 1 exit status
> >>>> make[2]: *** [lib/libkio.so.5.4.0] Error 1
> >>>> make[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2
> >>>> make: *** [all] Error 2
> >>>>
> >>>> * ERROR: kde-base/kdelibs-4.4.4 failed:
> >>>> * Make failed!
> >>>> *
> >>>> * Call stack:
> >>>> * ebuild.sh, line 54: Called src_compile
> >>>> * environment, line 4033: Called kde4-base_src_compile
> >>>> * environment, line 3111: Called cmake-utils_src_compile
> >>>> * environment, line 1258: Called _execute_optionaly
> >>>> 'src_compile' * environment, line 665: Called
> >>>> enable_cmake-utils_src_compile * environment, line 1623: Called
> >>>> cmake-utils_src_make
> >>>> * environment, line 1277: Called die
> >>>> * The specific snippet of code:
> >>>> * emake "$@" || die "Make failed!";
> >>>>
> >>>> ====================================
> >>>>
> >>>> Any ideas?
> >>>
> >>> Do you have MAKEOPTS set to a high number in make.conf? I ask because
> >>> in my 'knowing very little mind' I think it is trying to make a link to
> >>> a file that kdelibs is supposed to be making. It may be trying to link
> >>> to something that isn't there yet so it failed. If you have that set
> >>> to 2 or higher, try setting it to 1 and see if that helps.
> >>>
> >>> Hope that works. At least it didn't fail at 99%. lol
> >>>
> >>> Dale
> >>
> >> Thanks Dale, I tried with -j1 and it fails with the same libkio.so
> >> error.
> >
> > I found a bug about it (324061) and I'm now trying again without ccache.
>
> That would be the next thing to try. Most packages can compile with
> higher than -j1 and with ccache but some can not do so well. I hope it
> compiles when you disable that.
>
> Dale
>
> :-) :-)

Did you think about changing the python set used ? For my own, it solves 90%
of my emerge bugs !

--
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
 
Old 07-04-2010, 08:59 AM
Neil Bothwick
 
Default kdelibs fails to build

On Sat, 3 Jul 2010 17:49:28 +0100, Mick wrote:

> I found a bug about it (324061) and I'm now trying again without ccache.

I have removed ccache from my systems, it cost me more time in chasing
problems that any saving in time (for the computer, not me). At last one
program even tried to use it with FEATURES="-ccache", I had to uninstall
it, and feel happier never reinstalling it.


--
Neil Bothwick

WinErr 013: Unexpected error - Huh ?
 
Old 07-04-2010, 09:44 AM
Mick
 
Default kdelibs fails to build

On Sunday 04 July 2010 09:59:30 Neil Bothwick wrote:
> On Sat, 3 Jul 2010 17:49:28 +0100, Mick wrote:
> > I found a bug about it (324061) and I'm now trying again without ccache.
>
> I have removed ccache from my systems, it cost me more time in chasing
> problems that any saving in time (for the computer, not me). At last one
> program even tried to use it with FEATURES="-ccache", I had to uninstall
> it, and feel happier never reinstalling it.

Hmm ... I thought that it was a_good_thing™.

I have not experienced problems with it both on x86 and amd64 to date (that I
can remember).

Anyway, the fix to the kdelibs problem seems to have been related to cmake!
Following the recommendations on the bug report I unmasked cmake-2.8.1-r2 and
it is now clonking along at 75% of the build. I think that this fixed it.
--
Regards,
Mick
 

Thread Tools




All times are GMT. The time now is 08:11 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org