Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3765 - openssl-0.9.6d merge fails on sparc
Summary: openssl-0.9.6d merge fails on sparc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Maarten Thibaut (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-15 14:06 UTC by Josh Tegart (RETIRED)
Modified: 2002-07-11 00:54 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 Josh Tegart (RETIRED) gentoo-dev 2002-06-15 14:06:09 UTC
+ gcc .so.0.9.6 -shared -o libcrypto.so.0.9.6 -Wl,-soname=libcrypto.so.0.9.6 -Wl
,-Bsymbolic -Wl,--whole-archive libcrypto.a -Wl,--no-whole-archive -L. -lc
gcc: .so.0.9.6: No such file or directory
make[2]: *** [do_gnu-shared] Error 1
make[2]: Leaving directory `/var/tmp/portage/openssl-0.9.6d/work/openssl-0.9.6d'
make[1]: *** [libcrypto] Error 2
make[1]: Leaving directory `/var/tmp/portage/openssl-0.9.6d/work/openssl-0.9.6d'
make: *** [sub_all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 3, Exitcode 2
!!! (no error message)

!!! emerge aborting on /usr/portage/dev-libs/openssl/openssl-0.9.6d.ebuild .
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-17 01:27:05 UTC
what version of gcc?
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-17 22:59:41 UTC
ah, gcc-3.1 here according to the e-mail
Comment 3 Josh Grebe (RETIRED) gentoo-dev 2002-06-24 10:56:29 UTC
Ok the submitter didn't put any detail in here, so here is some... The error you get is:
+ gcc .so.0.9.6 -shared -o libcrypto.so.0.9.6 -Wl,-soname=libcrypto.so.0.9.6 -Wl,-Bsymbolic -Wl,--whole-archive libcrypto.a -Wl,--no-whole-archive -L. -lc

gcc: .so.0.9.6: No such file or directory

make[2]: *** [do_gnu-shared] Error 1

make[2]: Leaving directory `/var/tmp/portage/openssl-0.9.6d/work/openssl-0.9.6d'

make[1]: *** [libcrypto] Error 2

make[1]: Leaving directory `/var/tmp/portage/openssl-0.9.6d/work/openssl-0.9.6d'

make: *** [sub_all] Error 2

!!! ERROR: The ebuild did not complete successfully.

!!! Function src_compile, Line 3, Exitcode 2

!!! (no error message)


My work-around is:
go to /var/tmp/portage/openssl-0.9.6d/work/openssl-0.9.6d/  
enter:  
gcc  -shared -o libcrypto.so.0.9.6 -Wl,-soname=libcrypto.so.0.9.6 -Wl,-Bsymbolic -Wl,--whole-archive libcrypto.a -Wl,--no-whole-archive -L. -lc  -ldl  
Then, edit the Makefile,  go to line 262 which should be "do_gnu-shared:", remove the next few lines fo that your file looks like this:  
do_gnu-shared:  
DETECT_GNU_LD=${CC} -v 2>&1 | grep '^gcc' >/dev/null 2>&1 && \  
collect2=`gcc -print-prog-name=collect2 2>&1` && \  
[ -n "$$collect2" ] && \  
my_ld=`$$collect2 --help 2>&1 | grep Usage: | sed 's/^Usage: *\([^ ][^ ]*\).*/\1/'` && \  
[ -n "$$my_ld" ] && \  
$$my_ld -v 2>&1 | grep 'GNU ld' >/dev/null 2>&1  
then run make and make install.... Worked for me. You will have to inject the build, with 
emerge -i dev-libs/openssl-0.9.6d 
Comment 4 Josh Grebe (RETIRED) gentoo-dev 2002-06-24 10:58:49 UTC
Also, mine was with gcc 2.95.3, doing a plain-jane no tweaks install.
Comment 5 Josh Tegart (RETIRED) gentoo-dev 2002-07-11 00:54:08 UTC
Huh? Didn't put any detail? I put just as much as you did. Oh, well. I created 
a cleaner fix by adding openssl-0.9.6d-r1.ebuild to the cvstree.