[MacPorts] #62991: m4 @1.4.19+universal: configure: error: Cannot find a type to use in place of socklen_t

MacPorts noreply at macports.org
Mon Aug 30 03:02:09 UTC 2021


#62991: m4 @1.4.19+universal: configure: error: Cannot find a type to use in place
of socklen_t
---------------------------+--------------------------
  Reporter:  FaradayLight  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  arm64 bigsur
      Port:  m4            |
---------------------------+--------------------------

Comment (by MarkCallow):

 > What other ports require m4, a port that installs no libraries, to be
 universal?

 I am trying

 {{{
 sudo port install assimp +universal
 }}}

 and get the socklen_t unknown type issue. I already have assimp and m4
 installed for x86_64. So the advice from @kencu:

 > Until someone spends the time to sort out a proper universal build for
 m4 that works on all os versions, the simple workaround is to just install
 m4 first:

 does not work.

 Ultimately I used tomio-arisaka's muniversal PG patch to get past the
 problem. Big thanks @tomio-arisaka but when you, or anyone, post such
 patches please have a thought for those not intimately familiar with
 MacPorts and give the full path of the file being patched. For anyone else
 coming along, it is

 {{{
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/m4
 }}}

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


More information about the macports-tickets mailing list