Summary: | devel/libopkele: compile errors on FreeBSD 12.x | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | SBB <maniactraq> | ||||
Component: | Individual Port(s) | Assignee: | Alexey Dokuchaev <danfe> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | danfe, lwhsu, zhoushuqun | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(zhoushuqun) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
I can built it in poudriere successfully now, can you check again if the issue still exists? Still doesn't work for me. Are you building against base OpenSSL or ports? I'm building against base on FreeBSD 12. (In reply to SBB from comment #2) I use poudriere with unmodified ports tree and 12.1-R jail. (In reply to Li-Wen Hsu from comment #3) That's really odd. I just made sure my system was fully up-to-date with the latest patches from freebsd-update, updated ports and manually updated the libopkele port files just to make sure. Then I tried building it again and I get the same errors as shown in my original post which is also the same error that's given as the reason for marking the port as broken. Any ideas of anything I can try? (In reply to SBB from comment #4) Maybe this PR https://github.com/hacker/libopkele/pull/7 helps. A commit references this bug: Author: danfe Date: Thu Jul 9 10:13:28 UTC 2020 New revision: 541740 URL: https://svnweb.freebsd.org/changeset/ports/541740 Log: - Unbreak the build against modern versions of OpenSSL - While at it, define LICENSE (MIT) and LICENSE_FILE PR: 245265 Changes: head/devel/libopkele/Makefile head/devel/libopkele/distinfo Should be fixed as of ports r541740, thanks. |
Created attachment 212964 [details] Poudriere libopkele build log Error snippet as follows, full log atached. basic_rp.cc:83:4: error: member access into incomplete type 'DH' (aka 'dh_st') dh->p = util::dec_to_bignum(data::_default_p); ^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st' typedef struct dh_st DH; ^ basic_rp.cc:84:4: error: member access into incomplete type 'DH' (aka 'dh_st') dh->g = util::dec_to_bignum(data::_default_g); ^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st' typedef struct dh_st DH; ^ basic_rp.cc:90:54: error: member access into incomplete type 'DH' (aka 'dh_st') req.set_field("dh_modulus",util::bignum_to_base64(dh->p)); ^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st' typedef struct dh_st DH; ^ basic_rp.cc:91:50: error: member access into incomplete type 'DH' (aka 'dh_st') req.set_field("dh_gen",util::bignum_to_base64(dh->g)); ^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st' typedef struct dh_st DH; ^ basic_rp.cc:92:62: error: member access into incomplete type 'DH' (aka 'dh_st') req.set_field("dh_consumer_public",util::bignum_to_base64(dh->pub_key)); ^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st' typedef struct dh_st DH;