Opened 3 years ago

Closed 3 years ago

#64095 closed defect (fixed)

nodejs8 @8.17.0 build failure: undeclared identifier 'FIPS_mode'

Reported by: dgelmer Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: elcapitan Cc: evanmiller (Evan Miller)
Port: nodejs8

Description

  • MacOS version: 10.11.6 (15G22010)
  • Xcode version: 8.1
  • Error message:
    Error: Failed to build nodejs8: command execution failed 
    Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs8/nodejs8/main.log for details.
    Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
    
  • Errorlog attached

Attachments (2)

nodejs_error.log (2.8 MB) - added by dgelmer 3 years ago.
main.log (3.2 MB) - added by kneutron 3 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs8/nodejs8/main.log

Change History (7)

Changed 3 years ago by dgelmer

Attachment: nodejs_error.log added

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Owner: changed from ciserlohn@… to ci42
Port: @8.17.0 removed
Summary: nodejs8 @8.17.0 Failed to build nodejs8: command execution failednodejs8 @8.17.0 build failure: undeclared identifier 'FIPS_mode'
Type: updatedefect

Changed 3 years ago by kneutron

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs8/nodejs8/main.log

comment:2 Changed 3 years ago by kneutron

This issue is affecting me on OSX 10.13 High Sierra as well, first saw it back on December 6 2021. Tried following general recommendations to port clean and try rebuilding it again and it is still failing.

comment:3 Changed 3 years ago by evanmiller (Evan Miller)

It looks like NodeJS 8 is incompatible with OpenSSL 3.

The function calls 'FIPS_mode()' and 'FIPS_mode_set()' have been removed from OpenSSL 3.0. You should rewrite your application to not use them. See the sections below on how to write applications to use the FIPS Module in OpenSSL 3.0.

https://wiki.openssl.org/index.php/OpenSSL_3.0#Upgrading_from_the_OpenSSL_2.0_FIPS_Object_Module

comment:4 Changed 3 years ago by evanmiller (Evan Miller)

Cc: evanmiller added

comment:5 Changed 3 years ago by evanmiller (Evan Miller)

Resolution: fixed
Status: assignedclosed

In bc4b539e4051ccefc3eb7b69a5dfe9e9ab947779/macports-ports (master):

nodejs8: require OpenSSL 1.1

Closes: #64095

Note: See TracTickets for help on using tickets.