#19124 closed defect (fixed)
neon: build failure because openssl does not provide _SSL_SESSION_cmp
Reported by: | akimd (Akim Demaille) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | mww@…, danielluke (Daniel J. Luke) | |
Port: |
Description
The most recent version of opensslm 1.0.0, does not provide this symbol:
sudo nm /opt/local/lib/libssl.1.0.0.dylib | c++filt | grep _SSL_SESSION 0002d0d0 T _PEM_read_SSL_SESSION 0002d080 T _PEM_read_bio_SSL_SESSION 0002d180 T _PEM_write_SSL_SESSION 0002d120 T _PEM_write_bio_SSL_SESSION 0002c2e0 T _SSL_SESSION_free 0002c100 T _SSL_SESSION_get_ex_data 0002c0a0 T _SSL_SESSION_get_ex_new_index 0002c260 T _SSL_SESSION_get_id 0002cb10 T _SSL_SESSION_get_time 0002caf0 T _SSL_SESSION_get_timeout 0002c120 T _SSL_SESSION_new 000355f0 T _SSL_SESSION_print 00035b60 T _SSL_SESSION_print_fp 0002c0e0 T _SSL_SESSION_set_ex_data 0002cb30 T _SSL_SESSION_set_time 0002cad0 T _SSL_SESSION_set_timeout 00034420 T _d2i_SSL_SESSION 00033840 T _i2d_SSL_SESSION
yet it is apparently used by neon, see the attached log.
Attachments (1)
Change History (7)
Changed 16 years ago by akimd (Akim Demaille)
comment:1 follow-up: 3 Changed 16 years ago by danielluke (Daniel J. Luke)
Cc: | mww@… added |
---|
I think we should roll back openssl to the non-beta 0.9.8k release (and perhaps have openssl-devel for the 1.0.0-beta).
comment:3 follow-up: 4 Changed 16 years ago by akimd (Akim Demaille)
Replying to dluke@…:
I think we should roll back openssl to the non-beta 0.9.8k release (and perhaps have openssl-devel for the 1.0.0-beta).
Well, that would be nice, I'm quite stuck now. Subversion is broken etc.
I added this in neon to have it compile:
int SSL_SESSION_cmp(const SSL_SESSION *a,const SSL_SESSION *b) { if (a->ssl_version != b->ssl_version) return(1); if (a->session_id_length != b->session_id_length) return(1); return(memcmp(a->session_id,b->session_id,a->session_id_length)); }
comment:4 Changed 16 years ago by danielluke (Daniel J. Luke)
Replying to akim.demaille@…:
Well, that would be nice, I'm quite stuck now. Subversion is broken etc.
For subversion, you can work around this for now by building with the +no_neon variant (and subversion will use serf for DAV access instead of neon).
Thanks for the patch, if we don't roll back openssl, I will get it or something like it committed.
comment:5 Changed 16 years ago by danielluke (Daniel J. Luke)
Resolution: | → fixed |
---|---|
Status: | new → closed |
openssl was rolled back to the 0.9.8k (latest release) version.
sudo port -fnd upgrade neon |& tee log