Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67698 - libcap-1.10-r5 has -fPIC issues which -r4 does not
Summary: libcap-1.10-r5 has -fPIC issues which -r4 does not
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 11:46 UTC by Jeremy Huddleston (RETIRED)
Modified: 2004-10-16 09:35 UTC (History)
2 users (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 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-15 11:46:43 UTC
-debug +pic +python -static:

ibcap_wrap.c:551: warning: 'SWIG_Python_MustGetPtr' defined but not used
libcap_wrap.c:559: warning: 'SWIG_Python_ConvertPacked' defined but not used
ld -x -shared -o _libcap.so libcap_wrap.o cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o
ld: libcap_wrap.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
libcap_wrap.o: could not read symbols: Bad value
make[1]: *** [_libcap.so] Error 1
make[1]: Leaving directory `/mnt/raid0/tmp/portage/libcap-1.10-r5/work/libcap-1.10/libcap'
make: *** [all] Error 2

Portage 2.0.51_rc9 (default-linux/amd64/2004.3/lib64, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.8-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.5.3
distcc 2.18 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/raid0/gentoo/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sign userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrored.ca/"
MAKEOPTS="-j2"
PKGDIR="/mnt/raid0/gentoo/packages-amd64"
PORTAGE_TMPDIR="/mnt/raid0/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="amd64 3ds S3TC X X509 Xaw3d aac aalib accessibility acl acpi activefilter aim alsa amd apache2 apm artworkextra atlas audiofile avantgo avi bcmath berkdb bidi bindist bitmap-fonts bzlib calendar caps cddb cdparanoia cdr chroot clamav clanJavaScript clanVoice clearpasswd client clisp cmucl crypt cscope ctype cups curl curlwrappers dba dbase dbcp dbm dbx dedicated dga dio directfb divx4linux dmx dnd doc dv dvd dvdr dvdread edl emacs emacs-w3 encode esd ethereal evms2 evo exif expat ext-png ext-zlib f77 faac faad fam fax fbcon fbdev ffmpeg flac flash flatfile fltk fluidsynth freetype fs ftp gb gcj gcl gd gd-external gdbm ggi gif gimp gimpprint glade glut gmp gmtfull gmthigh gmtsuppl gmttria gnome gnomedb gnuplot gnutls gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hbci iconv icq idl image imagemagick imap imlib imlib2 innodb ipalias ipv6 jabber jack java javacomm javamail javascript jbig jikes joystick jp2 jpeg junit justify kde ladcca lcd lcms libdsk libedit libg++ libgda libsamplerate libwww lids live lmtp log4j ltsp lua lucid lzo lzw lzw-tiff mad maildir makecheck mcal md5sum mhash mikmod mime mixer mng mnogosearch mono motif mozcalendar mozctl mozdevelop mozilla mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msession msn mule multilib music mysql mysqli mythtv nas native ncurses neXt nis nls nptl nptlonly nvidia nviz oav objc oci8 odbc offensive ofx oggvorbis oldworld openal opengl oracle7 oscar oss ovrimos pam parse-clocks pcap pcmcia pcntl pcre pda pdf pdflib perl php pic pie plotutils png pnp portaudio posix postgres ppds prelude procmail psyco python qhull qt quicktime readline recode regexp rplay rtc ruby samba sasl sdk sdl server session sharedmem silc simplexml skey slang slp sndfile soap sockets socks5 sox speex spell spl sqlite src ssl svg sysvipc tcltk tcpd tetex tga theora tidy tiff timidity tokenizer transcode transparent-proxy truetype trusted type1 ucs2 usb v4l v4l2 vda vhosts videos vim-with-x virus-scan wddx wmf wsconvert wxwin wxwindows xchattext xemacs xface xforms xfs xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xrandr xsl xv xvid yahoo zeo zlib"
Comment 1 Jörg Gollnick 2004-10-15 23:59:38 UTC
This issue is releated to different python libcap/Makefile Patches.
The old (-r4) one has these two lines in it:
+libcap_wrap.o: libcap_wrap.c
+       $(CC) $(CFLAGS) -fPIC -c $< -o $@
+
The new phython patch uses the standard rule.
Comment 2 SpanKY gentoo-dev 2004-10-16 09:11:24 UTC
yep, but i'm looking through the r4 and r5 stuff and cant really see much of a difference between the sources ...

r5 installs a py file that r4 doesnt, but that's about all i can see ...
Comment 3 SpanKY gentoo-dev 2004-10-16 09:35:22 UTC
fixed -r4 and removed r5, sorry guys