[MacPorts] #55570: erlang @20.2: implicit declaration of function 'RSA_padding_add_SSLv23' (was: implicit declaration of function 'RSA_padding_add_SSLv23')

MacPorts noreply at macports.org
Fri Dec 22 09:25:46 UTC 2017


#55570: erlang @20.2: implicit declaration of function 'RSA_padding_add_SSLv23'
-----------------------+----------------------
  Reporter:  conradwt  |      Owner:  ci42
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  erlang    |
-----------------------+----------------------
Changes (by ryandesign):

 * owner:   => ci42
 * cc: ci42 (removed)
 * status:  new => assigned


Old description:

> Hi, I'm attempting to upgrade to Erlang 20.2 and I'm seeing the error
> within the logs on build:
>
> ```
> :info:build make[4]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/erlang-20.2/lib/crypto/c_src'
> :info:build  CC ../priv/obj/x86_64-apple-darwin17.3.0/crypto.o
> :info:build crypto.c:4605:7: error: implicit declaration of function
> 'RSA_padding_add_SSLv23' is invalid in C99 [-Werror,-Wimplicit-function-
> declaration]
> :info:build                 if (RSA_padding_add_SSLv23(tmp_bin.data,
> tmplen, in_bin.data, in_bin.size) <= 0)
> :info:build                     ^
> :info:build crypto.c:4605:7: warning: this function declaration is not a
> prototype [-Wstrict-prototypes]
> :info:build crypto.c:4739:10: error: implicit declaration of function
> 'RSA_padding_check_SSLv23' is invalid in C99 [-Werror,-Wimplicit-
> function-declaration]
> :info:build             i = RSA_padding_check_SSLv23(tmp_bin.data,
> tmplen, p, out_bin.size - 1, tmplen);
> :info:build                 ^
> :info:build crypto.c:4739:10: note: did you mean
> 'RSA_padding_add_SSLv23'?
> :info:build crypto.c:4605:7: note: 'RSA_padding_add_SSLv23' declared here
> :info:build                 if (RSA_padding_add_SSLv23(tmp_bin.data,
> tmplen, in_bin.data, in_bin.size) <= 0)
> :info:build                     ^
> :info:build crypto.c:4739:10: warning: this function declaration is not a
> prototype [-Wstrict-prototypes]
> :info:build             i = RSA_padding_check_SSLv23(tmp_bin.data,
> tmplen, p, out_bin.size - 1, tmplen);
> :info:build                 ^
> :info:build 2 warnings and 2 errors generated.
> ```

New description:

 Hi, I'm attempting to upgrade to Erlang 20.2 and I'm seeing the error
 within the logs on build:

 {{{
 :info:build make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/erlang-20.2/lib/crypto/c_src'
 :info:build  CC ../priv/obj/x86_64-apple-darwin17.3.0/crypto.o
 :info:build crypto.c:4605:7: error: implicit declaration of function
 'RSA_padding_add_SSLv23' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
 :info:build                 if (RSA_padding_add_SSLv23(tmp_bin.data,
 tmplen, in_bin.data, in_bin.size) <= 0)
 :info:build                     ^
 :info:build crypto.c:4605:7: warning: this function declaration is not a
 prototype [-Wstrict-prototypes]
 :info:build crypto.c:4739:10: error: implicit declaration of function
 'RSA_padding_check_SSLv23' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
 :info:build             i = RSA_padding_check_SSLv23(tmp_bin.data, tmplen,
 p, out_bin.size - 1, tmplen);
 :info:build                 ^
 :info:build crypto.c:4739:10: note: did you mean 'RSA_padding_add_SSLv23'?
 :info:build crypto.c:4605:7: note: 'RSA_padding_add_SSLv23' declared here
 :info:build                 if (RSA_padding_add_SSLv23(tmp_bin.data,
 tmplen, in_bin.data, in_bin.size) <= 0)
 :info:build                     ^
 :info:build crypto.c:4739:10: warning: this function declaration is not a
 prototype [-Wstrict-prototypes]
 :info:build             i = RSA_padding_check_SSLv23(tmp_bin.data, tmplen,
 p, out_bin.size - 1, tmplen);
 :info:build                 ^
 :info:build 2 warnings and 2 errors generated.
 }}}

--

Comment:

 Remember to use WikiFormatting when writing in Trac.

--
Ticket URL: <https://trac.macports.org/ticket/55570#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list