Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openssl-0.9.7d broken?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Rieck
n00b
n00b


Joined: 23 Mar 2004
Posts: 5

PostPosted: Tue Mar 23, 2004 1:21 pm    Post subject: openssl-0.9.7d broken? Reply with quote

Hello,

I have recently updated OpenSSL to version 0.9.7d on my Gentoo PPC
system and now something is badly wrong.

Using ssh-keygen I can generate keys, but I can't access their content
using ssh-add or ssh itself. The password is always wrong.

Since the OpenSSH version didn't change, there must be a problem with
the new OpenSSL version. Unfortunatley some Gentoo staff removed
old versions from the portage tree and thus it is now impossible to install
openssl-0.9.7c or openssl-0.9.7c-r1

Code:

# emerge =openssl-0.9.7c-r1
[...]
 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *   /usr/portage/dev-libs/openssl/files/openssl-0.9.6l-gentoo.diff
!!! ERROR: dev-libs/openssl-0.9.7c-r1 failed.


In other words: I am stuck with a new and broken OpenSSL version. :)
Recompiling OpenSSH didn't help either.

I assume this is a big endian problem, because I could not reproduce
the problem on x86 systems.

Any ideas? Help? I can't live without ssh-agent and ssh-add!

Regards,
Konrad
Back to top
View user's profile Send private message
Rieck
n00b
n00b


Joined: 23 Mar 2004
Posts: 5

PostPosted: Wed Mar 31, 2004 9:12 am    Post subject: Reply with quote

Solved this myself. Optimzation flags were to aggressive for OpenSSL.

Changed
Code:
CFLAGS=-mcpu=750 -mmultiple -mstring -O3 -mpowerpc-gfxopt

to
Code:
CFLAGS=-O2


Cheers.
Back to top
View user's profile Send private message
carded
n00b
n00b


Joined: 27 May 2004
Posts: 7

PostPosted: Fri May 28, 2004 2:34 pm    Post subject: Reply with quote

Hi,
I'm getting the same sort of message.
*ERROR: dev-libs/openssl-0.9.7d failed
*Function src_compile, line 156, exitcode 1

I tried changing my cflags to just -02 but that didn't solve my problem. Any suggestions?

Thomas
Back to top
View user's profile Send private message
pvdabeel
Retired Dev
Retired Dev


Joined: 25 Mar 2003
Posts: 188
Location: Belgium

PostPosted: Mon May 31, 2004 12:47 am    Post subject: Reply with quote

carded wrote:
Hi,
I'm getting the same sort of message.
*ERROR: dev-libs/openssl-0.9.7d failed
*Function src_compile, line 156, exitcode 1

I tried changing my cflags to just -02 but that didn't solve my problem. Any suggestions?

Thomas


Can you submit a bugreport for this. Don't forget to include emerge --info

Best regards,

Pieter Van den Abeele
Back to top
View user's profile Send private message
carded
n00b
n00b


Joined: 27 May 2004
Posts: 7

PostPosted: Mon May 31, 2004 6:06 am    Post subject: bug report Reply with quote

Hi,
I will get a bug report out to you but I'm really busy right now, so it might be a while. I could either post it here when I have time or if it's easier I could email it to you.


Thanks,
Thomas
Back to top
View user's profile Send private message
chris.pickett
n00b
n00b


Joined: 05 Apr 2004
Posts: 72
Location: Montreal

PostPosted: Mon May 31, 2004 3:20 pm    Post subject: Reply with quote

hi thomas,

just go to bugs.gentoo.org, search for openssl, and if you don't find a relevant bug then file one. if you're having problems with links and bugzilla (i was), email the problem to yourself and file it using your windows machine. you can dump text into a file like this:

# emerge --info >> emerge_info

if you use '>' instead of '>>' it will overwrite or create the file instead of append to the file or create the file.

if you look in /var/log/portage/ you should be able to find the openssl log as well, just do:

# ls *openssl*

where the *'s make it match any string before and after openssl, and then 'cat' each of the results -- you should find it. append the relevant file to your emerge_info file and then edit out the crap from the openssl log that worked normally using nano.

you need to open a bugzilla account to file a bug. if bugzilla doesn't work, it might be impossible to attach a text file using links and your webmail interface, but it could work, i don't know.

some things to try, before you mess with any of this:

# emerge sync | grep openssl

and it will tell you if openssl got updated. if it did, then try bootstrap-2.6.sh again. emerge sync is MUCH faster once you've already downloaded all the files onto your computer.

cheers,
chris

p.s. thomas is my brother. the only unusual / perhaps-related things i can think of without emerge info are that it's an amd athlon-xp, and we had to load the forcedeth module for networking to work with his motherboard. it would be great if we could skip openssl for bootstrapping purposes, and try to emerge it later, but i don't know if USE="-ssl" will work or not.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum