Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93535 - net-dialup/capi4k-utils-20050509 needs -fPIC
Summary: net-dialup/capi4k-utils-20050509 needs -fPIC
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 All
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 88603 90279
  Show dependency tree
 
Reported: 2005-05-22 03:59 UTC by Simon Stelling (RETIRED)
Modified: 2005-06-26 04:05 UTC (History)
2 users (show)

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


Attachments
capi4k-utils-20050509-r1.ebuild (capi4k-utils-20050509-r1.ebuild,3.95 KB, text/plain)
2005-06-26 02:49 UTC, Stefan Briesenick (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Stelling (RETIRED) gentoo-dev 2005-05-22 03:59:32 UTC
/var/tmp/portage/capi4k-utils-20050509/work/capi4k-utils/pppdcapiplugin/capiplugin.c: In function `wakeupdemand':
/var/tmp/portage/capi4k-utils-20050509/work/capi4k-utils/pppdcapiplugin/capiplugin.c:1102: warning: passing arg 3 of `getsockname' from incompatible pointer type
gcc -o capiplugin.so -shared -L/var/tmp/portage/capi4k-utils-20050509/work/capi4k-utils/pppdcapiplugin/../capi20 capiplugin.o capiconn.o -lcapi20dyn
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/capi4k-utils-20050509/work/capi4k-utils/pppdcapiplugin/../capi20/libcapi20dyn.a(capidyn.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/var/tmp/portage/capi4k-utils-20050509/work/capi4k-utils/pppdcapiplugin/../capi20/libcapi20dyn.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [capiplugin.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/capi4k-utils-20050509/work/capi4k-utils/pppdcapiplugin/ppp-2.4.3'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/capi4k-utils-20050509/work/capi4k-utils/pppdcapiplugin'
make: *** [subtargets] Error 2

!!! ERROR: net-dialup/capi4k-utils-20050509 failed.

Portage 2.0.51.21-r1 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-g -ggdb -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-g -ggdb -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg cvs debug distlocks multilib-strict nostrip sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://buggy"
USE="amd64 X acpi alsa berkdb bitmap-fonts crypt cups curl debug dvd esd fam flac font-server fortran gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jp2 jpeg ldap libwww lzw lzw-tiff motif mozilla mp3 mpeg ncurses network nls nptl ogg oggvorbis opengl oss pam perl png python qt readline ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vorbis xml xml2 xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Stefan Briesenick (RETIRED) gentoo-dev 2005-05-22 13:38:40 UTC
huh? it works here on amd64. 
 
I will check it later... 
 
Comment 2 Stefan Briesenick (RETIRED) gentoo-dev 2005-05-22 13:41:15 UTC
CFLAGS="-g -ggdb -pipe -O2" 
 
hmmm, was that for testing, or do you really compile all stuff with full debug 
informations? 
 
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2005-05-22 13:54:07 UTC
i'm testing this stuff in my devel-chroot, where everything is compiled with
these flags. I didn't have any problems so far, and it doesn't work with
CFLAGS="-O2 -pipe" either. The error message doesn't look cflags-specific anyway...
Comment 4 Stefan Briesenick (RETIRED) gentoo-dev 2005-05-22 14:05:45 UTC
I never said that it is a CFLAGS problem. But I said: it works on my machine.  
So we have to check, where your problem is. I'm quite busy right now, but I  
will check it later.  
 
Since the capi4k-utils ebuild is mostly written by me, I think we will find a 
solution... ;-) 
 
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2005-05-23 05:39:08 UTC
what profile and compiler do you use?
Comment 6 Stefan Briesenick (RETIRED) gentoo-dev 2005-05-24 13:53:33 UTC
Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.3-20050110,  
glibc-2.3.5-r0, 2.6.11-gentoo-r9 x86_64)  
=================================================================  
System uname: 2.6.11-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3000+  
Gentoo Base System version 1.6.12  
dev-lang/python:     2.3.5  
sys-apps/sandbox:    1.2.8  
sys-devel/autoconf:  2.13, 2.59-r6  
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5  
sys-devel/binutils:  2.16  
sys-devel/libtool:   1.5.18  
virtual/os-headers:  2.6.11  
ACCEPT_KEYWORDS="amd64 ~amd64"  
AUTOCLEAN="yes"  
CBUILD="x86_64-pc-linux-gnu"  
CFLAGS="-O2 -pipe -fomit-frame-pointer -ffast-math"  
CHOST="x86_64-pc-linux-gnu"  
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc"  
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"  
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -ffast-math -falign-functions  
-falign-loops"  
DISTDIR="/usr/portage/distfiles"  
FEATURES="autoconfig distlocks sandbox sfperms strict"  
GENTOO_MIRRORS="http://gentoo.eliteitminds.com"  
LANG="de_DE.UTF-8"  
LC_ALL="de_DE.UTF-8"  
LINGUAS="de"  
MAKEOPTS="-j5"  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/vol3/.gentoo/tmp"  
PORTDIR="/usr/portage"  
PORTDIR_OVERLAY="/usr/local/portage"  
SYNC="rsync://rsync.gentoo.org/gentoo-portage"  
USE="amd64 X X509 a52 aac aalib acl acpi activefilter adns alsa aotuv apache2  
ares arts artswrappersuid audiofile avi bcmath berkdb bidi bitmap-fonts bzip2  
bzlib calendar caps cdb cdparanoia chroot cjk cpudetection crypt css ctype cups  
curl curlwrappers custom-cflags dba dbase dbm dbus dbx dga dhcp dio directfb  
djbfft dlloader doc dpms dts dv dvd dvdread ecc edl elf encode esd eurofile  
exif expat extensions fam fame fbcon fftw flac flatfile font-server foomaticdb  
fortran fpx ftp gcj gd gdbm ggi gif glitz gmp gpm graphviz gtk hal hardened  
iconv idea idled idn ieee1394 imagemagick imap imlib inifile ipppd ipv6 isdnlog  
ithreads java javascript jbig jikes jp2 jpeg jpeg2k kdeenablefinal lcms ldap  
libcaca libclamav libwww live lm_sensors logitech-mouse logrotate lzo lzw  
lzw-tiff mad matroska mbox md5sum memlimit mhash mikmod mime mjpeg mmap motif  
mp3 mpeg mpm-prefork mpm-worker mppe-mppc mysql ncurses network nis nls  
nomalloccheck nptl nptlonly oav objc odbc ogg oggvorbis openexr opengl oss pam  
pam_chroot parse-clocks pcntl pcre perl pg-intdatetime pic plotutils png posix  
ppds python qdbm qt quicktime quotas readline real rpm rrdtool rtc samba sample  
sasl sdl session sharedext simplexml slang sndfile snmp soap sockets socks5  
softfax sox speex spell sqlite srp ssl sysfs sysvipc tetex tga theora threads  
tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode  
unsupported_8bit urandom usb userlocales utf8 virus-scan vorbis wddx webdav wmf  
xanim xml xml2 xmlrpc xpm xrandr xsl xv xvid yv12 zero-penalty-hit zeroconf  
zlib linguas_de userland_GNU kernel_linux elibc_glibc"  
Unset:  ASFLAGS, CTARGET, LDFLAGS  
  
Comment 7 Simon Stelling (RETIRED) gentoo-dev 2005-06-25 02:25:47 UTC
any ideas on this? it blocks me from testing several apps, and i don't have a
clue why it fails here but works for you
Comment 8 Stefan Briesenick (RETIRED) gentoo-dev 2005-06-25 11:00:11 UTC
no yet. But I try to analyze it later on my amd64 test machine (ssh access 
only). 
 
Comment 9 Stefan Briesenick (RETIRED) gentoo-dev 2005-06-26 02:49:51 UTC
Created attachment 61934 [details]
capi4k-utils-20050509-r1.ebuild

changed some sed's. should compile now. please test. thanks.
Comment 10 Simon Stelling (RETIRED) gentoo-dev 2005-06-26 03:02:48 UTC
new ebuild works for me
Comment 11 Stefan Briesenick (RETIRED) gentoo-dev 2005-06-26 03:56:05 UTC
thanks. it's in CVS now. 
 
Comment 12 Stefan Briesenick (RETIRED) gentoo-dev 2005-06-26 03:58:23 UTC
please test updated ebuild in portage when it's available on the mirrors.  
Comment 13 Alin Năstac (RETIRED) gentoo-dev 2005-06-26 04:05:56 UTC
Stefan, the bug should be closed by QA team or by the reporter/tester. The
developer should only set as FIXED.