[MacPorts] #64598: grep-3.7.2+universal fails to build on M1 Mac

MacPorts noreply at macports.org
Thu Feb 3 07:15:19 UTC 2022


#64598: grep-3.7.2+universal fails to build on M1 Mac
--------------------+--------------------
 Reporter:  hmeine  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:
--------------------+--------------------
 This is my first MacPorts installation on Apple silicon.
 {{{
 sudo port clean grep
 sudo port install grep +universal
 }}}
 fails with
 {{{
 --->  Attempting to fetch grep-3.7_2+universal.darwin_21.arm64-x86_64.tbz2
 from https://fra.de.packages.macports.org/grep
 --->  Attempting to fetch grep-3.7_2+universal.darwin_21.arm64-x86_64.tbz2
 from https://nue.de.packages.macports.org/grep
 --->  Attempting to fetch grep-3.7_2+universal.darwin_21.arm64-x86_64.tbz2
 from https://packages.macports.org/grep
 --->  Fetching distfiles for grep
 --->  Verifying checksums for grep
 --->  Extracting grep
 --->  Configuring grep
 Error: Failed to configure grep: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_grep/grep/work/grep-3.7/config.log
 }}}

 The configure error seems to be
 {{{
 configure:46378: error: Cannot find a type to use in place of socklen_t
 }}}
 and looks very similar to what was reported for m4 in #62991.  I don't
 know what a "muniversal port group" is, yet, and whether a similar fix
 could apply here.

-- 
Ticket URL: <https://trac.macports.org/ticket/64598>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list