Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60691 - libwnck-2.6.2.1 fails to build under xfree-4.3.0-r6 on PPC
Summary: libwnck-2.6.2.1 fails to build under xfree-4.3.0-r6 on PPC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High major
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-17 10:13 UTC by Trey Stout
Modified: 2004-09-22 15:33 UTC (History)
1 user (show)

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 Trey Stout 2004-08-17 10:13:56 UTC
Fails with errors about XRes.o not being compiled with -fPic like this one...

/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld: Error: The symbol `_XEatData' has a R_PPC_REL24 relocation, that means '/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.


Reproducible: Always
Steps to Reproduce:
1. emerge libwnck


Actual Results:  
This is a major problem as it prevents gnome 2.6 from emerging. Here is the
progress from the emerge...

 gcc -shared  .libs/application.o .libs/class-group.o .libs/pager.o
.libs/screen.o .libs/tasklist.o .libs/util.o .libs/window.o
.libs/window-action-menu.o .libs/window-menu.o .libs/workspace.o .libs/xutils.o
.libs/wnck-enum-types.o .libs/wnck-marshal.o .libs/pager-accessible.o
.libs/pager-accessible-factory.o .libs/workspace-accessible.o
.libs/workspace-accessible-factory.o  -L/usr/X11R6/lib -L/usr/lib
/usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
/usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so
/usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
/usr/lib/libstartup-notification-1.so -lSM -lICE -lX11 -lXRes -lXext  -mcpu=7400
-maltivec -mabi=altivec -Wl,--export-dynamic -Wl,-soname -Wl,libwnck-1.so.4
-Wl,-version-script -Wl,.libs/libwnck-1.ver -o .libs/libwnck-1.so.4.9.0
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `XextCreateExtension' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `XextFindDisplay' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `XextAddDisplay' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `XMissingExtension' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `_XReply' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `_XFlush' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `XMissingExtension' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `_XReply' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `_XFlush' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `XextRemoveDisplay' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `XMissingExtension' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `_XReply' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `malloc@@GLIBC_2.0' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `_XRead' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `_XFlush' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `_XEatData' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `XMissingExtension' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `_XReply' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `malloc@@GLIBC_2.0' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `_XRead' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `_XFlush' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld:
Error: The symbol `_XEatData' has a R_PPC_REL24 relocation, that means
'/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
collect2: ld returned 1 exit status
make[2]: *** [libwnck-1.la] Error 1
make[2]: Leaving directory
`/var/tmp/portage/libwnck-2.6.2.1/work/libwnck-2.6.2.1/libwnck'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libwnck-2.6.2.1/work/libwnck-2.6.2.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: x11-libs/libwnck-2.6.2.1 failed.
!!! Function gnome2_src_compile, Line 38, Exitcode 2
!!! compile failure


Expected Results:  
should have finished emerging

Portage 2.0.50-r9 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-pegasos0)
=================================================================
System uname: 2.6.4-pegasos0 ppc 0
Gentoo Base System version 1.4.16
distcc 2.13 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distcc keepwork sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa arts berkdb bonobo cdr cups curl directfb doc dvd esd
foomaticdb gd gdbm gif gnome gnome-libs gpm gtk gtk2 gtkhtml imap imlib jpeg
ldap libwww mitshm motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl
png ppc python qt radeon readline samba sdl slang ssl tcltk tcpd tetex tiff
truetype video_cards_radeon vim-with-x xml2 xmms xv zlib"
Comment 1 Luca Barbato gentoo-dev 2004-08-17 13:12:26 UTC
please emerge xorg-x11
Comment 2 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-09-22 15:33:12 UTC
Could you please reopen this bug if it is still valid?