Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105260 - Error building silc-plugin
Summary: Error building silc-plugin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-08 07:59 UTC by Ethan Burns
Modified: 2006-02-14 16:55 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 Ethan Burns 2005-09-08 07:59:53 UTC
I get an error when trying to emerge silc-plugin on my amd64:
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
./.libs/silc.a(silcattrs.o): relocation R_X86_64_32S against `a local symbol'
can not be used when making a shared object; recompile with -fPIC
./.libs/silc.a(silcattrs.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libsilc_core.la] Error 1
make: Leaving directory
`/usr/tmp/portage/silc-plugin-1.0.1-r3/work/irssi-0.8.9/src/silc/core'

Reproducible: Always
Steps to Reproduce:
sudo emerge silc-plugin

Actual Results:  
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
./.libs/silc.a(silcattrs.o): relocation R_X86_64_32S against `a local symbol'
can not be used when making a shared object; recompile with -fPIC
./.libs/silc.a(silcattrs.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libsilc_core.la] Error 1
make: Leaving directory
`/usr/tmp/portage/silc-plugin-1.0.1-r3/work/irssi-0.8.9/src/silc/core'


Expected Results:  
I expected the plugin to install

contact me if you need me to find any more information about the problem
Comment 1 Martin Jansa 2006-01-20 11:34:04 UTC
This do the job for me, but it's probably like -r3.ebuild.

Changelog says:
  12 Dec 2005; Andrej Kacian <ticho@gentoo.org> -silc-plugin-1.0.1.ebuild,
  -silc-plugin-1.0.1-r1.ebuild, -silc-plugin-1.0.1-r2.ebuild,
  -silc-plugin-1.0.1-r3.ebuild, silc-plugin-1.0.1-r4.ebuild:
  Removed old ebuilds to get rid of USE=pic cruft. 1.0.1-r4 stable on x86. commit

maybe too early to get rid of USE=pic cruft. :-/


*** /usr/portage/net-im/silc-plugin/silc-plugin-1.0.1-r4.ebuild.orig    Fri Jan 20 20:28:43 2006
--- /usr/portage/net-im/silc-plugin/silc-plugin-1.0.1-r4.ebuild Fri Jan 20 20:28:55 2006
***************
*** 41,47 ****
        fi
        econf --with-helpdir=${D}/usr/share/irssi/help/silc/ \
                --without-libtoolfix \
!               --enable-static --with-pic \
                `use_enable debug` || die "silc-client configure failed"
        ( MAKEOPTS="" emake -C lib ) || die "silc-client's lib compilation failed"

--- 41,47 ----
        fi
        econf --with-helpdir=${D}/usr/share/irssi/help/silc/ \
                --without-libtoolfix \
!               --enable-static \
                `use_enable debug` || die "silc-client configure failed"
        ( MAKEOPTS="" emake -C lib ) || die "silc-client's lib compilation failed"
Comment 2 Luis Medinas (RETIRED) gentoo-dev 2006-02-14 16:55:36 UTC
the ebuild changed a bit please test and re-assign to me if anything is wrong (i hope not)
i fixed build on amd64 and its on cvs.

Thanks