Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66743 - emerge wvstreams-3.70-r2 fails because of libwvutils.so
Summary: emerge wvstreams-3.70-r2 fails because of libwvutils.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-08 04:30 UTC by Raeed M.
Modified: 2004-10-10 10:13 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 Raeed M. 2004-10-08 04:30:48 UTC
When i try to emerge wvstreams so i can then emerge wvdial i got the following error:

echo wvcrypto.o wvsslstream.o wvx509.o >crypto.libs
rm -f libwvutils.a
ar q libwvutils.a utils/utils.libs
ar: creating libwvutils.a
ranlib libwvutils.a
g++ -Wl,-soname,libwvutils.so.3.7 -shared -o libwvutils.so utils/utils.libs -lz -lcrypto
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: utils/strcrypt.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
utils/strcrypt.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libwvutils.so] Error 1
make: *** [src] Error 2
 
!!! ERROR: net-libs/wvstreams-3.70-r2 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1.emerge wvstreams
2.
3.
Actual Results:  
output in details

Expected Results:  
normal emerging
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2004-10-08 08:29:34 UTC
in net-libs/wvstreams/wvstreams-3.70-r2.ebuild change
[ "${ARCH}" = "alpha" -o "${ARCH}" = "hppa" ] && append-flags -fPIC
to
[ "${ARCH}" = "alpha" -o "${ARCH}" = "hppa" -o "${ARCH}" = "amd64" ] && append-flags -fPIC

does it work then?
Comment 2 Raeed M. 2004-10-08 13:31:38 UTC
I did the change to the ebuild file, but unfortunatly i am getting the same error again. see below:

   implicitly a typename
../streams/wvstream.h:21: warning: implicit typename is deprecated, please see
   the documentation for details
rm -f crypto.libs
echo wvcrypto.o wvsslstream.o wvx509.o >crypto.libs
rm -f libwvutils.a
ar q libwvutils.a utils/utils.libs
ar: creating libwvutils.a
ranlib libwvutils.a
g++ -Wl,-soname,libwvutils.so.3.7 -shared -o libwvutils.so utils/utils.libs -lz -lcrypto
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: utils/strcrypt.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
utils/strcrypt.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libwvutils.so] Error 1
make: *** [src] Error 2
 
!!! ERROR: net-libs/wvstreams-3.70-r2 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! (no error message)
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2004-10-09 11:55:42 UTC
Try to emerge wvdial with the following line appended to /etc/portage/package.keywords:
net-libs/wvstreams ~YOUR_ARCH

The unstable version of wvstreams compiles without any compiler warning. I cannot say the same about stable version. Maybe 3.75 should be marked as stable since it builds so cleanly.

Please post a reply with the results. 
Comment 4 Raeed M. 2004-10-10 10:13:10 UTC
Thanks alot. Problem were solved after applying comment # 3.

Your cooperation is mostly appreciated!