Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdelibs-4.3.5 emerge failure [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Art Vandalay
Guru
Guru


Joined: 16 Sep 2003
Posts: 335
Location: Melbourne - VIC

PostPosted: Thu Jan 28, 2010 6:34 am    Post subject: kdelibs-4.3.5 emerge failure [SOLVED] Reply with quote

trying to update to kde 4.3.5 from 4.3.4

kdelibs failing with following output:

Quote:

[ 50%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslcertchain.o
[ 50%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslcertificate.o
[ 50%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslkeygen.o
[ 50%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslsettings.o
/var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kio/kssl/ksslsettings.cpp: In member function 'void KSSLSettings::load()':
/var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kio/kssl/ksslsettings.cpp:134: warning: 'void KConfigGroup::changeGroup(const char*)' is deprecated (declared at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdecore/config/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kio/kssl/ksslsettings.cpp:139: warning: 'void KConfigGroup::changeGroup(const char*)' is deprecated (declared at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdecore/config/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kio/kssl/ksslsettings.cpp:144: warning: 'void KConfigGroup::changeGroup(const char*)' is deprecated (declared at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdecore/config/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kio/kssl/ksslsettings.cpp: In member function 'void KSSLSettings::save()':
/var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kio/kssl/ksslsettings.cpp:177: warning: 'void KConfigGroup::changeGroup(const char*)' is deprecated (declared at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdecore/config/kconfiggroup.h:159)
/var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kio/kssl/ksslsettings.cpp:182: warning: 'void KConfigGroup::changeGroup(const char*)' is deprecated (declared at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdecore/config/kconfiggroup.h:159)
[ 50%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslutils.o
[ 50%] 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.2/../../../../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.3.0] Error 1
make[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2
make: *** [all] Error 2
* ERROR: kde-base/kdelibs-4.3.5 failed:
* Make failed!
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 3990: Called kde4-base_src_compile
* environment, line 3073: Called cmake-utils_src_compile
* environment, line 1247: Called _execute_optionaly 'src_compile'
* environment, line 668: Called enable_cmake-utils_src_compile
* environment, line 1620: Called cmake-utils_src_make
* environment, line 1266: 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.5',
* the complete build log and the output of 'emerge -pqv =kde-base/kdelibs-4.3.5'.
* The complete build log is located at '/var/tmp/portage/kde-base/kdelibs-4.3.5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/kde-base/kdelibs-4.3.5/temp/environment'.
* S: '/var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5'


i seem to be the only one encountering this error thus far.

emerge info as follows:

Quote:

Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.30-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 28 Jan 2010 01:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash: 4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python: 2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.8.0-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.6.0-r1
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13, 2.65
sys-devel/automake: 1.8.5-r4, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils: 2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.iinet.net.au/linux/Gentoo http://ftp.iinet.net.au/linux/Gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi administrator alsa amarok apache2 apm arts asf berkdb branding bzip2 cairo cddb cdr cdrom cleartype cli colordiff consolekit corefonts cracklib crypt css ctype cups cupsddk cxx dbase dbus disk-partition divx divx4linux dri dts dvb dvd dvdr dvdread eds embedded emboss encode esd evo fam fax ffmpeg filter firefox flac ftp fts3 gd gdbm gif glib gnutls gs gstreamer gtk hal hddtemp iconv icq id3 imap iostats ipv6 java javascript jfs jpeg jpeg2k json kde kerberos kipi lcms libnotify libwww lm_sensors lua lzo mad math mikmod mime mjpeg mmx mmx2 mng modules mozbranding moznopango mp3 mp4 mpeg mplayer msn mudflap musicbrainz mysql mythtv ncurses nls nptl nptlonly nsplugin ntfs nvidia ogg ooo-kde opengl openmp oscar oss pam pcre pdf perl phonon php pmu png posix ppds pppd python qt3support qt4 quicktime rdesktop readline realmedia reflection reiserfs scanner sdl semantic-desktop session shaper snmp spell spl sql sqlite sse ssl startup-notification svg symlink sysfs tcpd threads threadsafe thunar tiff truetype type1 unicode usb v4l2 vcd visualization vorbis weather-metar weather-xoap webinterface webkit win32codecs wma wmp wxgtk1 x264 x86 xchat xfs xml xorg xpm xulrunner xv xvid xvmc yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="usb-bluebird" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="dvico" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

_________________
I might not have morals...but at least I have standards


Last edited by Art Vandalay on Fri Jan 29, 2010 8:01 am; edited 1 time in total
Back to top
View user's profile Send private message
chair-raver
n00b
n00b


Joined: 13 Jan 2007
Posts: 25
Location: Paderborn, Germany

PostPosted: Thu Jan 28, 2010 8:03 am    Post subject: Re: kdelibs-4.3.5 emerge failure Reply with quote

Art Vandalay wrote:
...

[ 50%] 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.2/../../../../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.3.0] Error 1
make[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2
make: *** [all] Error 2
* ERROR: kde-base/kdelibs-4.3.5 failed:
* Make failed!
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 3990: Called kde4-base_src_compile
* environment, line 3073: Called cmake-utils_src_compile
* environment, line 1247: Called _execute_optionaly 'src_compile'
* environment, line 668: Called enable_cmake-utils_src_compile
* environment, line 1620: Called cmake-utils_src_make
* environment, line 1266: Called die
* The specific snippet of code:
* emake "$@" || die "Make failed!";
*
...


Same here. There is bug report out there: https://bugs.gentoo.org/show_bug.cgi?id=302474. As the bug reports mentions, I seeing this problem since the switch to jpeg-8, while trying to recompile the dependend packages.

I personally tried the following things (without effect):

  • Switched from glibc 2.10 to 2.11
  • Tried GCC 4.1.2
  • Tried GCC 4.3.4
  • Tried GCC 4.4.2
  • Tried binutils 2.18

All done on a system running ~x86.

I found this message: http://gcc.gnu.org/ml/gcc-help/2006-11/msg00390.html. I don't know, if it has any relation to this problem.
Back to top
View user's profile Send private message
chair-raver
n00b
n00b


Joined: 13 Jan 2007
Posts: 25
Location: Paderborn, Germany

PostPosted: Thu Jan 28, 2010 1:56 pm    Post subject: Re: kdelibs-4.3.5 emerge failure Reply with quote

chair-raver wrote:
Art Vandalay wrote:
...

[ 50%] 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.2/../../../../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.3.0] Error 1
make[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2
make: *** [all] Error 2
* ERROR: kde-base/kdelibs-4.3.5 failed:
* Make failed!
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 3990: Called kde4-base_src_compile
* environment, line 3073: Called cmake-utils_src_compile
* environment, line 1247: Called _execute_optionaly 'src_compile'
* environment, line 668: Called enable_cmake-utils_src_compile
* environment, line 1620: Called cmake-utils_src_make
* environment, line 1266: Called die
* The specific snippet of code:
* emake "$@" || die "Make failed!";
*
...


Same here. There is bug report out there: https://bugs.gentoo.org/show_bug.cgi?id=302474. As the bug reports mentions, I seeing this problem since the switch to jpeg-8, while trying to recompile the dependend packages.

I personally tried the following things (without effect):

  • Switched from glibc 2.10 to 2.11
  • Tried GCC 4.1.2
  • Tried GCC 4.3.4
  • Tried GCC 4.4.2
  • Tried binutils 2.18

All done on a system running ~x86.

I found this message: http://gcc.gnu.org/ml/gcc-help/2006-11/msg00390.html. I don't know, if it has any relation to this problem.


I think I've found something. I can successfully compile kdelibs with "USE=-acl".

With active "USE=acl" you might want to execute

Code:
# cd /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5_build
# grep -r -l -- -lacl .
./kio/CMakeFiles/kio.dir/link.txt
./kioslave/file/CMakeFiles/kio_file.dir/link.txt


Within these two files you will basically find the command line to build the shared libary. Near the end there is a "-Wl,-Bstatic -lacl", which causes the DT_TEXTREL warning and since the linker is invoked with "-Wl,--fatal-warnings" the link process aborts. Manually removing the "-Bstatic" produces a successfull linking. Compiling with "USE=-acl" effectively completely removes the linking of the ACL lib.

I haven't been able to find any obvious thing (like sys-apps/acl or dev-utils/cmake), which might have resulted in this changed behavior since I originally compiled kdelibs-4.3.4. And in particular I don't understand, what the advantage here is to only link the libacl statically.
Back to top
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Thu Jan 28, 2010 4:00 pm    Post subject: Reply with quote

I could get around this issue by including -fPIC in CFLAGS and recompiling libacl and kdelibs. Then, I take out -fPIC flag and compile the rest of KDE.
Back to top
View user's profile Send private message
chair-raver
n00b
n00b


Joined: 13 Jan 2007
Posts: 25
Location: Paderborn, Germany

PostPosted: Thu Jan 28, 2010 7:06 pm    Post subject: Reply with quote

robbyjo wrote:
I could get around this issue by including -fPIC in CFLAGS and recompiling libacl and kdelibs. Then, I take out -fPIC flag and compile the rest of KDE.


Look at the error report again. There is more info to be found. I found these symlinks on two other systems as well.

Code:
lrwxrwxrwx 1 root root    17 Apr  3  2006 /lib/libacl.a -> /usr/lib/libacl.a
lrwxrwxrwx 1 root root    18 Apr  3  2006 /lib/libacl.la -> /usr/lib/libacl.la


I'm going to recompile another round tomorrow morning, but these old symlinks indeed smell fishy.

Of cause, why the original of kdelibs-4.3.4 compile worked, is beyond me.
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Thu Jan 28, 2010 8:54 pm    Post subject: Reply with quote

rm -f /lib/libacl.a
rm -f /lib/libacl.la

shouldn't have any of that in /lib directory

must have been a old bug that created them, the dates i've seen for them have been 2006-2008
Back to top
View user's profile Send private message
Art Vandalay
Guru
Guru


Joined: 16 Sep 2003
Posts: 335
Location: Melbourne - VIC

PostPosted: Fri Jan 29, 2010 8:00 am    Post subject: Reply with quote

ssuominen wrote:
rm -f /lib/libacl.a
rm -f /lib/libacl.la


marking this as solved. thanks guys.
_________________
I might not have morals...but at least I have standards
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sat Feb 06, 2010 9:40 am    Post subject: Reply with quote

Hi,

I'm seeing what looks very similar but without /lib/libacl.a and .la

Code:
#ls -ail /lib/libacl.a  /lib/libacl.la
ls: cannot access /lib/libacl.a: No such file or directory
ls: cannot access /lib/libacl.la: No such file or directory

Code:

In file included from /back/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdecore/network/k3sockssocketdevice.cpp:20:
/back/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdecore/network/k3socketdevice.h:184: warning: 'virtual bool KNetwor ::KSocketDevice::connect(const KNetwork::KResolverEntry&, QFlags<QIODevice::OpenModeFlag>)' was hidden
/back/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdecore/network/k3sockssocketdevice.h:78: warning:   by 'virtual boo  KNetwork::KSocksSocketDevice::connect(const KNetwork::KResolverEntry&)'
[ 13%] Building CXX object kdecore/CMakeFiles/kdecore.dir/network/klocalsocket_unix.o
[ 13%] Building CXX object kdecore/CMakeFiles/kdecore.dir/network/netsupp.o
[ 13%] Building CXX object kdecore/CMakeFiles/kdecore.dir/io/klockfile_unix.o
[ 13%] Building CXX object kdecore/CMakeFiles/kdecore.dir/util/kshell_unix.o
[ 13%] Building CXX object kdecore/CMakeFiles/kdecore.dir/util/kuser_unix.o
[ 13%] Building CXX object kdecore/CMakeFiles/kdecore.dir/util/kmacroexpander_unix.o
[ 13%] Building C object kdecore/CMakeFiles/kdecore.dir/fakes.o
Linking CXX shared library ../lib/libkdecore.so
Scanning dependencies of target dummy
[ 13%] Building CXX object kio/kio/dummyanalyzers/CMakeFiles/dummy.dir/dummy_automoc.o
[ 13%] Building CXX object kio/kio/dummyanalyzers/CMakeFiles/dummy.dir/dummyanalyzers.o
Linking CXX shared module ../../../lib/strigiea_dummy.so
[ 13%] Built target dummy
Scanning dependencies of target solid_static
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
collect2: ld returned 1 exit status
make[2]: *** [lib/libkdecore.so.5.3.0] Error 1
make[1]: *** [kdecore/CMakeFiles/kdecore.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....


Does this error come back to what was posted above?
Quote:

Within these two files you will basically find the command line to build the shared libary. Near the end there is a "-Wl,-Bstatic -lacl", which causes the DT_TEXTREL warning and since the linker is invoked with "-Wl,--fatal-warnings" the link process aborts.


TIA. 8)

PS building with USE="-acl" did not resolve it !
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun May 09, 2010 3:14 pm    Post subject: Reply with quote

OK this problem is still NOT resolved.

I put off updating kde because I reckoned it would get ironed out in an update somewhere.

Now portage tree is being trimmed of the working versions and I'm being forced to update to clear shit-load of blockages. Sadly I forgot this mess before I removed the blocks so now I have a kde-less system because the current portage available versions to not build.

this is still bugging in 4.4.3


Code:

bash-4.0#ls /lib/libacl.a
ls: cannot access /lib/libacl.a: No such file or directory
bash-4.0#ls /lib/libacl.la
ls: cannot access /lib/libacl.la: No such file or directory
bash-4.0#ls /usr/lib/libacl.a
/usr/lib/libacl.a
bash-4.0#ls -ail /usr/lib/libacl.a
183370 -rw-r--r-- 1 root root 70720 Feb  3 20:33 /usr/lib/libacl.a
bash-4.0#ls -ail /usr/lib/libacl.la
138048 -rw-r--r-- 1 root root 926 Feb  3 20:33 /usr/lib/libacl.la
bash-4.0#


Code:
bash-4.0#USE="-acl" emerge  kdelibs

...

[ 13%] Building CXX object kdecore/CMakeFiles/kdecore.dir/util/kmacroexpander_unix.o
[ 13%] Building C object kdecore/CMakeFiles/kdecore.dir/fakes.o
Scanning dependencies of target dummy
[ 13%] Building CXX object kio/kio/dummyanalyzers/CMakeFiles/dummy.dir/dummy_automoc.o
[ 13%] Building CXX object kio/kio/dummyanalyzers/CMakeFiles/dummy.dir/dummyanalyzers.o
Linking CXX shared library ../lib/libkdecore.so
Linking CXX shared module ../../../lib/strigiea_dummy.so
[ 13%] Built target dummy
Scanning dependencies of target solid_static
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
collect2: ld returned 1 exit status
make[2]: *** [lib/libkdecore.so.5.4.0] Error 1
make[1]: *** [kdecore/CMakeFiles/kdecore.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....


:(

PS
Code:

[ebuild  N    ] kde-base/kdelibs-4.4.3  USE="3dnow alsa bindist bzip2 fam handbook mmx nls opengl spell sse ssl -acl (-altivec) (-aqua) -debug -doc -jpeg2k (-kdeenablefinal) (-kdeprefix) -kerberos -lzma -openexr -policykit -semantic-desktop -sse2 -test -zeroconf"

_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
garlicbread
Apprentice
Apprentice


Joined: 06 Mar 2004
Posts: 182

PostPosted: Mon May 10, 2010 9:27 pm    Post subject: Reply with quote

had the same problem myself going from kde-4.3 to 4.4

1. add "-fPIC" temporarily to CFLAGS in /etc/make.conf
2. emerge acl
3. remove "-fPIC" from CFLAGS
4. emerge -u kde-meta:4.4
to get kdelibs to install

normally -fPIC should only be used where needed (which is why generally it's not a good idea to add to cflags)
in this case there's probably a missing -fPIC in the acl Makefile when building libacl.a under amd64
so by just building that one package (acl) as -fPIC is a quick fix to get everything else to work
until someone decides to patch the acl Makefile for amd64
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Tue May 11, 2010 9:13 am    Post subject: Reply with quote

Thanks for the reply, garlicbreath.

Sadly my case does not seem quite the same. I'm not running x86-64 , I'm on x86.

I added -fPIC like you said but I could see it twice so apparently it's already in the ebuild now.
Code:

[ebuild  N    ] kde-base/kdelibs-4.4.3  USE="3dnow acl alsa bindist bzip2 fam handbook mmx nls opengl spell sse ssl (-altivec) (-aqua) -debug -doc -jpeg2k (-kdeenablefinal) (-kdeprefix) -kerberos -lzma -openexr -policykit -semantic-desktop -sse2 -test -zeroconf" 0 kB



Code:
[ 14%] [ 14%] Building C object solid/solid/CMakeFiles/solid_static.dir/predicate_parser.o
Building CXX object kdecore/CMakeFiles/kdecore.dir/util/kmacroexpander_unix.o
[ 14%] Building CXX object solid/solid/CMakeFiles/solid_static.dir/powermanagement.o
[ 14%] Building C object kdecore/CMakeFiles/kdecore.dir/fakes.o
Linking CXX shared library ../lib/libkdecore.so
[ 15%] Building CXX object solid/solid/CMakeFiles/solid_static.dir/networking.o
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
collect2: ld returned 1 exit status
make[2]: *** [lib/libkdecore.so.5.4.0] Error 1
make[1]: *** [kdecore/CMakeFiles/kdecore.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....



So with or without acl it's the same shit.

I don't run a full kde system , I primarily have all this cruft just to install k3b which I reckon to be one of the best graphical linux progs.

If I have to reboot to a different OS next time I want to burn a DVD I won't be happy with Gentoo.

:evil:
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
garlicbread
Apprentice
Apprentice


Joined: 06 Mar 2004
Posts: 182

PostPosted: Tue May 11, 2010 7:39 pm    Post subject: Reply with quote

hmm that looks like a different kind of error
all I can suggest is the obvious stuff

1. run "emerge -u kde-meta:4.4 --keep-going"
do this twice over

the --keep-going flag will continue on when kdelibs fails to build
(it auto recalcs the dependencys to work out what it can install without installing kdelibs and continues on)
it's possible that something in the emerge list after kdelibs needs installing first
before kdelibs will install
(normally this shouldn't happend if the depends are set correctly in the ebuild
but kde-4.4 does look a bit as if it's only been added in recently so there could be something missing in the depend list)

I mention the above as I'm sure I had to do this when installing
although I can't remember which package failed to build at the time

2. revdep-rebuild
(be sure to clear out "rm /var/cache/revdep-rebuild/*.rr" before running)

3. lafilefixer --justfixit
(may need to emerge lafilefixer first)

4. at a guess when kdelibs is trying to build libkdecore.so
it's trying to link (ld) against something that ether doesn't exist or is just broken
if one of the above approaches doesn't work, then try to work out what file
it's trying to link against, use equery belongs <file>
to work out which package the offending file belongs to, and re-emerge it
Back to top
View user's profile Send private message
brynstntn
n00b
n00b


Joined: 19 Apr 2010
Posts: 9

PostPosted: Fri Aug 13, 2010 11:05 pm    Post subject: Thanks Reply with quote

garlicbread wrote:
had the same problem myself going from kde-4.3 to 4.4

1. add "-fPIC" temporarily to CFLAGS in /etc/make.conf
2. emerge acl
3. remove "-fPIC" from CFLAGS
4. emerge -u kde-meta:4.4
to get kdelibs to install

normally -fPIC should only be used where needed (which is why generally it's not a good idea to add to cflags)
in this case there's probably a missing -fPIC in the acl Makefile when building libacl.a under amd64
so by just building that one package (acl) as -fPIC is a quick fix to get everything else to work
until someone decides to patch the acl Makefile for amd64


Thanks. I was having a ton of issues upgrading to kde-4.5.0, and this seemed to fix them.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum