[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
Tue Aug 31 13:26:50 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 kencu):

 Well of course cleaning would have helped.
 {{{
 sudo port install m4
 }}}
 works fine on every macOS system. If fixed it on the ones where it did not
 work.

 once {{{m4}}} it is installed, macports will not ask for {{{m4}}} to be
 rebuilt as {{{+universal}}} unless you do something unusual to force it to
 do that (because it doesn't install any libs).

 So what I said works fine, and it is the easiest solution.

 Now, if I get time, or somebody else gets interested, we can see if m4
 will properly build {{{+universal}}} using the patch above or some other
 fix. We'd like it to build +universal. Somebody has to properly patch it
 to do so, then check that it all works properly.

 But a perfectly simple solution is to install it first without universal.
 I realize you are new to MacPorts, and didn't know to clean m4 between
 build attempts.

 But telling everyone that "kencu's solution didn't work" when you most
 likely didn't do it correctly is not exactly correct either.

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


More information about the macports-tickets mailing list