Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82833 - kdebase-3.3.2-r1 on amd64 fails to emerge, as well as kdeaddon-3.3.2 and kdeartwork-3.3.2
Summary: kdebase-3.3.2-r1 on amd64 fails to emerge, as well as kdeaddon-3.3.2 and kdea...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-21 08:41 UTC by stephen koch
Modified: 2005-03-02 14:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stephen koch 2005-02-21 08:41:58 UTC
Any help would be appreciated with this.

I've been trying to work this problem out, with no luck. This is a new install, stage3 tarball, AMD64 (Gigabyte GA-K8NF-9. Athlon64 3000+). Things are well progressed with the install. Oddly, I can get kde to install, but not kdebase, kdeaddons and kdeartwork. All the other dependencies install too. ???

emerge -p kde

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild N ] kde-base/kdeaddons-3.3.2
[ebuild N ] kde-base/kdebase-3.3.2-r1
[ebuild N ] kde-base/kdeartwork-3.3.2
[ebuild R ] kde-base/kde-3.3.2 

I've run ldconfig, gcc-config 1, gcc-config 4, w/ env-update, source /etc/profile. No luck, same messages.

emerge -p kdm says its masked, but does that also break the kdebase emerge? 

Reproducible: Always
Steps to Reproduce:
1. emerge kde
2. emerge --resume --skipfirst
3. continue until all components other than listed install

Actual Results:  
All but these install: [ebuild N ] kde-base/kdeaddons-3.3.2
[ebuild N ] kde-base/kdebase-3.3.2-r1
[ebuild N ] kde-base/kdeartwork-3.3.2

Expected Results:  
emerged listed

When emerging kdebase it fails with this:

xdmcp.c: In function `sendForward':
xdmcp.c:131: warning: cast from pointer to integer of different size
xdmcp.c: In function `indirect_respond':
xdmcp.c:236: warning: cast to pointer from integer of different size
/bin/sh ../../libtool --silent --mode=link --tag=CC x86_64-pc-linux-gnu-gcc
-Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE
-D_BSD_SOURCE -D_SVID_SOURCE -DUNIXCONN -DTCPCONN -ansi -W -Wall
-Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-DNDEBUG -O2 -march=k8 -O2 -fweb -frename-registers -pipe -Wformat-security
-Wmissing-format-attribute -L/usr/lib -R /usr/lib -o kdmaccess.o auth.o choose.o
client.o ctrl.o daemon.o dm.o dpylist.o error.o genauth.o inifile.o krb5auth.o
mitauth.o netaddr.o policy.o process.o protodpy.o reset.o resource.o rpcauth.o
server.o session.o socket.o streams.o util.o xdmauth.o xdmcp.o -lX11 -lXau
-lXdmcp -lpam -ldl -lresolv -lutil
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib/libXdmcp.a(CA8.o): relocation R_X86_64_PC32 against
`memmove@@GLIBC_2.2.5' can not be used when making a shared object; recompile
with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status
make[3]: *** [kdm] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdebase-3.3.2-r1/work/kdebase-3.3.2/kdm/backend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdebase-3.3.2-r1/work/kdebase-3.3.2/kdm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.3.2-r1/work/kdebase-3.3.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebase-3.3.2-r1 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.


make.conf:

CFLAGS="-march=k8 -O2 -fweb -frename-registers -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="arts alsa apache2 avi cdr crypt cups directfb dvd dvdr encode fastcgi
foomaticdb gif gphoto2
gpm gstreamer gtk gtk2 gtkhtml imap imlib java jikes jpeg kde kerberos krb4 kms
ldap libg++ libwww
mad mbox mcal mikmod memlimit motif mozilla mpeg mysql ncurses odbc oggvorbis
opengl oss pic ppds
pdflib perl png postgres python qt quicktime samba sasl scanner snmp spell svga
tcltk tiff truetype
unicode usb videos wmf X Xaw3d xine xinerama xosd xml xml2 xmms zeo ssl readline
pam zlib threads
tcpd gnome multilib nptl nptlonly hardened hardenedphp"
MAKEOPTS="-j2"
PORTDIR_OVERLAY="/usr/local/portage"

/etc/env.d/05gcc looks like this:

PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3"
ROOTPATH="/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3"
MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/man"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/info"
LDPATH="/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3:/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.2:/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.2/32"
GCC_SPECS=""
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-21 15:11:11 UTC

*** This bug has been marked as a duplicate of 73931 ***
Comment 2 stephen koch 2005-02-22 08:08:13 UTC
Thank you for looking at this bug. Recall that emerge -p kde does not yield any other remaining dependencies. sys-devel/binutils-2.15.92.0.2-r1 is already installed. Not sure what other ancillary core dev packages might be missing, but not showing up as dependencies. Also, this bug seems to show a failure to emerge kdeaddons-3.3.2 as well.

Emerging binutils again does not resolve.

Hope it is OK, I've reopened this bug.

-S

PS: What config change should I start with in order to track this down?
Comment 3 Simone Gotti (RETIRED) gentoo-dev 2005-02-22 08:17:52 UTC
To go deeper in the dependency tree you have to use the -D emerge option:

Eg. emerge -Dupv kdebase
Comment 4 stephen koch 2005-02-22 10:28:08 UTC
Will try this now...

emerge -Dupv kde

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] app-arch/bzip2-1.0.2-r5 [1.0.2-r4] -build -debug -static 0 kB
[ebuild     U ] sys-devel/gcc-config-1.3.10-r1 [1.3.9] 0 kB
[ebuild  NS   ] sys-libs/db-4.2.52_p2  -bootstrap -doc +java -nocxx +tcltk 3,980 kB
[ebuild     U ] kde-base/arts-1.3.2-r1 [1.3.2] +alsa +arts -artswrappersuid -debug +esd +hardened -jack -kdeenablefinal +mad +oggvorbis +xinerama 0 kB
[ebuild     U ] kde-base/kdelibs-3.3.2-r3 [3.3.2-r2] +alsa +arts +cups -debug -doc +ipv6 -kdeenablefinal +kerberos +ldap +spell +ssl +tiff +xinerama 0 kB
[ebuild  N    ] kde-base/kdebase-3.3.2-r2  +arts +cups -debug +java -kdeenablefinal +ldap +opengl +pam +samba +ssl +xinerama 0 kB
[ebuild  N    ] kde-base/kdeartwork-3.3.2  +arts -debug -kdeenablefinal +opengl +xinerama -xscreensaver 0 kB
[ebuild     U ] mail-mta/ssmtp-2.61 [2.60.9] +ipv6 -mailwrapper -md5sum +ssl 52 kB
[ebuild  N    ] kde-base/kdeaddons-3.3.2  +arts -debug +esd -kdeenablefinal -sdl (-svga) +xinerama +xmms 0 kB
Comment 5 stephen koch 2005-02-22 16:04:17 UTC
Nope. The build fails out the same way with the same error. Looking at getting the whole world up to date only yields a few remaining ebuilds:

emerge -Dupv world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     U ] mail-mta/ssmtp-2.61 [2.60.9] +ipv6 -mailwrapper -md5sum +ssl 52 kB
[ebuild     U ] sys-kernel/genkernel-3.1.0j [3.1.0h] -bootsplash 2,500 kB
[ebuild  N    ] kde-base/kdebase-3.3.2-r2  +arts +cups -debug +java -kdeenablefinal +ldap +opengl +pam +samba +ssl +xinerama 0 kB
[ebuild  N    ] kde-base/kdeartwork-3.3.2  +arts -debug -kdeenablefinal +opengl +xinerama -xscreensaver 0 kB
[ebuild  N    ] kde-base/kdeaddons-3.3.2  +arts -debug +esd -kdeenablefinal -sdl (-svga) +xinerama +xmms 0 kB

In the error message for kdebase it lists this:

relocation R_X86_64_PC32 against`memmove@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC

What does that mean?

-S
Comment 6 stephen koch 2005-02-22 20:29:12 UTC
Sorry... I mentioned add-ons did not merge as well but didn't post the error...

When emerging kdeaddons, it fails with this: 
 
 plugin_katehtmltools.cpp:48: error: variable or field `addView' declared void 
 plugin_katehtmltools.cpp:48: error: `int PluginKateHtmlTools::addView' is not a static member of `class PluginKateHtmlTools' 
 plugin_katehtmltools.cpp:48: error: `MainWindow' is not a member of `Kate' 
 plugin_katehtmltools.cpp:48: error: `win' was not declared in this scope 
 plugin_katehtmltools.cpp:49: error: expected `,' or `;' before '{' token 
 plugin_katehtmltools.cpp:64: error: variable or field `removeView' declared void 
 plugin_katehtmltools.cpp:64: error: `int PluginKateHtmlTools::removeView' is not a static member of `class PluginKateHtmlTools' 
 plugin_katehtmltools.cpp:64: error: `MainWindow' is not a member of `Kate' 
 plugin_katehtmltools.cpp:64: error: `win' was not declared in this scope 
 plugin_katehtmltools.cpp:65: error: expected `,' or `;' before '{' token 
 plugin_katehtmltools.cpp: In member function `void PluginKateHtmlTools::slotEditHTMLtag()': 
 plugin_katehtmltools.cpp:79: error: `application' undeclared (first use this function) 
 plugin_katehtmltools.cpp:79: error: (Each undeclared identifier is reported only once for each function it appears in.) 
 plugin_katehtmltools.cpp: In member function `QString PluginKateHtmlTools::KatePrompt(const QString&, const QString&, QWidget*)': 
 plugin_katehtmltools.cpp:106: warning: `__comp_ctor' is deprecated (declared at /usr/kde/3.3/include/klineeditdlg.h:5 
 /usr/kde/3.3/include/kgenericfactory.h: In member function `QObject* KGenericFactory<Product, ParentType>::createObject(QObject*, const char*,const char*, const QStringList&) [with Product = PluginKateHtmlTools, ParentType = QObject]': 
 plugin_katehtmltools.cpp:160: instantiated from here 
 /usr/kde/3.3/include/kgenericfactory.h:193: error: cannot convert `PluginKateHtmlTools*' to `QObject*' in return 
 plugin_katehtmltools.cpp: At global scope: 
 plugin_katehtmltools.cpp:40: warning: unused parameter 'parent' 
 plugin_katehtmltools.cpp:40: warning: unused parameter 'parent' 
 make[3]: *** [plugin_katehtmltools.lo] Error 1 
 make[3]: Leaving directory `/var/tmp/portage/kdeaddons-3.3.2/work/kdeaddons-3.3.2/kate/htmltools' 
 make[2]: *** [all-recursive] Error 1 
 make[2]: Leaving directory `/var/tmp/portage/kdeaddons-3.3.2/work/kdeaddons-3.3.2/kate' 
 make[1]: *** [all-recursive] Error 1 
 make[1]: Leaving directory `/var/tmp/portage/kdeaddons-3.3.2/work/kdeaddons-3.3.2' 
 make: *** [all] Error 2 
 
 !!! ERROR: kde-base/kdeaddons-3.3.2 failed. 
 !!! Function kde_src_compile, Line 166, Exitcode 2 
 !!! died running emake, kde_src_compile:make 
 !!! If you need support, post the topmost build error, NOT this status message. 
Comment 7 stephen koch 2005-02-26 07:50:30 UTC
Problem fixed. Although the errors were different, guessed the fix might be the same. Followed this topic...

http://forums.gentoo.org/viewtopic-t-298640.html


Summary...
gcc-config -l .... gcc-config 4 (in my case)
emerge glibc binutils gcc
emerge -e system
emerge -Duv world (failed with qt errors, which was new)
emerge qt
emerge -Duv world

All components of kde installed. Why? Not sure why-- many of the packages that had been installed prior to kde were already compiled with the latest gcc set correctly.

Comment 8 James Porter 2005-03-01 19:02:21 UTC
This is happening on all my x86 machines as well, the ebuild needs to change, I can't spend all my time doing that to every machine!!
Comment 9 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-02 01:13:57 UTC
You get a "relocation R_X86_64_PC32..." on x86?

> the ebuild needs to change

How?
Comment 10 James Porter 2005-03-02 14:04:25 UTC
link: cannot find the library '/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la'

this must be because I only have 3.3.5 -- emerge did this automatically 

Do I need to do anything to have it look in the 3.3.5 lib?
Comment 11 James Porter 2005-03-02 14:10:45 UTC
I hate to double post, but I have my /usr/src/linux pointing to a 2.6.10 kernel, yet when i do emerge -a linux26-headers it wants to repair 2.6.8.1 . I will try playing with gcc-config, although I am unfamiliar with doing that...The ebuild may not need to change, but maybe the gcc ebuild does so that it will handle uptating the system to the new gcc...or at least notify the user of what to do.

thanks for help!

p.s. It is only doing it on my x86 machine and not on my x86_64! 
Comment 12 Simone Gotti (RETIRED) gentoo-dev 2005-03-02 14:15:46 UTC
James: you have a totally different problem already fixed in bugzilla (make a search: bug #73435), so please don't write here as it's not the right place.

A simple
fix_libtool_files.sh 3.3.4 
will fix it.