[MacPorts] #52507: erlang @19.1_0+hipe+ssl.darwin_10.x86_64 fails to compile/assemble?

MacPorts noreply at macports.org
Thu Aug 25 21:36:09 UTC 2022


#52507: erlang @19.1_0+hipe+ssl.darwin_10.x86_64 fails to compile/assemble?
--------------------------+-------------------------
  Reporter:  macportsraf  |      Owner:  ci42
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.4
Resolution:  fixed        |   Keywords:  snowleopard
      Port:  erlang       |
--------------------------+-------------------------

Comment (by barracuda156):

 Replying to [comment:8 evanmiller]:
 > In [changeset:"2279429148fde0261c7c58c68d05c8fc10f4f2cf/macports-ports"
 2279429148fde0261c7c58c68d05c8fc10f4f2cf/macports-ports] (master):
 > {{{
 > #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="2279429148fde0261c7c58c68d05c8fc10f4f2cf"
 > erlang: fix build error on 10.6
 >
 > See: https://trac.macports.org/ticket/52507
 > }}}

 By the way on Rosetta it fails. To begin with, `llvm-gcc-4.2` begins
 building for Intel. When `--build=powerpc-apple-darwin${os.major}` is
 added, it starts building for PPC, but then fails on:
 {{{
 BROKEN KQUEUE!
 Erlang has been compiled with kernel-poll support,
 but this OS X version is known to have kernel bugs
 when using kernel-poll. You have two options:
  1) update to a newer OS X version (OS X Sierra or newer)
  2) recompile erlang without kernel-poll support
 make[5]: *** [../../ebin/megaco_flex_scanner.beam] Error 1
 make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/otp_src_25.0/lib/megaco/src/flex'
 make[4]: *** [opt] Error 2
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/otp_src_25.0/lib/megaco/src/flex'
 make[3]: *** [opt] Error 2
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/otp_src_25.0/lib/megaco/src'
 make[2]: *** [opt] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/otp_src_25.0/lib/megaco'
 make[1]: *** [opt] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/otp_src_25.0/lib'
 make: *** [libs] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/otp_src_25.0'
 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_25.0"
 && /usr/bin/make -j1 -w all
 Exit code: 2
 Error: Failed to build erlang: command execution failed
 }}}

 So instead for Rosetta blacklist should include *gcc-4.* (then all the
 rest gets correct automatically, no need to specify `--build=`).

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


More information about the macports-tickets mailing list