Opened 4 years ago

Closed 4 years ago

#61455 closed defect (fixed)

erlang @23.0: Configure failure when installing on Big Sur 11.0.1

Reported by: tonyalderman (Tony Alderman) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur haspatch Cc: elventear (Pepe Barbe)
Port: erlang

Description

From the log file (attached):

:debug:sysinfo macOS 11.0 (darwin/20.1.0) arch i386
:debug:sysinfo MacPorts 2.6.4
:debug:sysinfo Xcode 12.2
:debug:sysinfo SDK 11.0
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.0

. . .

:info:configure configure: error: 
:info:configure   You are natively building Erlang/OTP for a later version of MacOSX
:info:configure   than current version (11.0.1). You either need to
:info:configure   cross-build Erlang/OTP, or set the environment variable
:info:configure   MACOSX_DEPLOYMENT_TARGET to 11.0.1 (or a lower version).
:info:configure ERROR: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/otp_src_23.0/make/configure failed!
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/otp_src_23.0" && ./configure --prefix=/opt/local --prefix=/opt/local --enable-threads --enable-dynamic-ssl-lib --enable-smp-support --without-odbc --without-wx --enable-darwin-64bit --with-ssl=/opt/local --enable-hipe 
:info:configure Exit code: 1
:error:configure Failed to configure erlang: configure failure: command execution failed
:debug:configure Error code: NONE

Attachments (1)

main.log (289.7 KB) - added by tonyalderman (Tony Alderman) 4 years ago.

Download all attachments as: .zip

Change History (10)

Changed 4 years ago by tonyalderman (Tony Alderman)

Attachment: main.log added

comment:1 Changed 4 years ago by tonyalderman (Tony Alderman)

Summary: erlang @23.0: Configure failure when installing on Big Surerlang @23.0: Configure failure when installing on Big Sur 11.0.1

comment:2 Changed 4 years ago by tonyalderman (Tony Alderman)

Owner: set to ci42
Status: newassigned

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: bigsur added

The error message sounds like a lie to me.

comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

I've filed a bug report with erlang for you: https://bugs.erlang.org/browse/ERL-1407

comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

They already had a "fix" for macOS 11.0 in erlang 23.1 but it didn't work for 11.0.1. They "fixed" it for 11.0.1 in erlang 23.2. But both the 11.0 fix and the 11.0.1 fix were wrong in that they broke the test for macOS 10.x. The've now decided the test isn't needed at all and can be removed: https://github.com/erlang/otp/pull/2871

comment:6 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added

Oh, 23.2 is not yet released. So maybe the complete removal of the version checking code will land in 23.2.

Until then, here's a PR to update to 23.1 and add a patch to remove the version checking code:

https://github.com/macports/macports-ports/pull/9156

comment:7 Changed 4 years ago by tonyalderman (Tony Alderman)

Thanks for your help.

comment:8 Changed 4 years ago by elventear (Pepe Barbe)

Cc: elventear added

comment:9 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 76abb9a60a3bdc8b2c885cd988cadc0659939f1b/macports-ports (master):

erlang: Update to 23.1

Closes: #61455

Note: See TracTickets for help on using tickets.