[MacPorts] #65213: jemalloc +universal build fails on Mac M1 (Monterey 12.3.1)

MacPorts noreply at macports.org
Mon May 23 00:28:30 UTC 2022


#65213: jemalloc +universal build fails on Mac M1 (Monterey 12.3.1)
-----------------------------+--------------------
  Reporter:  sudheerhebbale  |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  jemalloc        |
-----------------------------+--------------------

Old description:

> Build of jemalloc on Mac M1 (ARM64) fails when tried with the following
> command
>
> sudo port install jemalloc +universal
>
> Following error is generated
> {{{
> Error: Failed to configure jemalloc: consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_jemalloc/jemalloc/work/jemalloc-5.2.1/config.log
> Error: Failed to configure jemalloc: configure failure: command execution
> failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_jemalloc/jemalloc/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port jemalloc failed
> }}}

New description:

 Build of jemalloc on Mac M1 (ARM64) fails when tried with the following
 command

 {{{
 sudo port install jemalloc +universal
 }}}

 Following error is generated
 {{{
 Error: Failed to configure jemalloc: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_jemalloc/jemalloc/work/jemalloc-5.2.1/config.log
 Error: Failed to configure jemalloc: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_jemalloc/jemalloc/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port jemalloc failed
 }}}

--

Comment (by ryandesign):

 The error seems to be `error: cannot determine number of significant
 virtual address bits` but before that I also see it's checking whether
 some assembly instruction works. If the configure script is going to do
 this sort of thing then having the port use the muniversal portgroup is
 probably the only way to get a correct universal build.

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


More information about the macports-tickets mailing list