Opened 3 years ago

Closed 3 years ago

#63866 closed defect (fixed)

erlang build fails with "pkey.c: error: implicit declaration of function 'FIPS_mode' is invalid in C99"

Reported by: ShadSterling (Shad Sterling) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: mascguy (Christopher Nielsen), cjones051073 (Chris Jones)
Port: erlang

Description

The same error occurs 5 times in pkey.c:

:info:build pkey.c:76:14: error: implicit declaration of function 'FIPS_mode' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build         if (!FIPS_mode()) return PKEY_OK;
:info:build pkey.c:322:14: error: implicit declaration of function 'FIPS_mode' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build         if (!FIPS_mode())
:info:build pkey.c:452:14: error: implicit declaration of function 'FIPS_mode' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build         if (!FIPS_mode()) {
:info:build pkey.c:609:14: error: implicit declaration of function 'FIPS_mode' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build         if (!FIPS_mode()) {
:info:build pkey.c:842:14: error: implicit declaration of function 'FIPS_mode' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build         if (!FIPS_mode()) {

Attachments (1)

main.log (535.7 KB) - added by ShadSterling (Shad Sterling) 3 years ago.

Download all attachments as: .zip

Change History (7)

Changed 3 years ago by ShadSterling (Shad Sterling)

Attachment: main.log added

comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: cjones051073 added

@cjones, did your earlier erlang-related commit cover this?

comment:3 Changed 3 years ago by ShadSterling (Shad Sterling)

It succeeds if I install with -ssl

comment:4 Changed 3 years ago by knightcode (Dylan)

Also having this issue after upgrading to 12.0.1 on an x86_64 Mac. ....Can rabbitmq-server use it with -ssl?

Last edited 3 years ago by knightcode (Dylan) (previous) (diff)

comment:5 Changed 3 years ago by reneeotten (Renee Otten)

Cc: ci42 removed
Owner: set to ci42
Status: newassigned

perhaps updating the port to its latest upstream version already resolves this?

% port -dv livecheck erlang
erlang seems to have been updated (port version: 23.1, new version: 24.1)
Note: See TracTickets for help on using tickets.