[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 15:14:35 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):

 Replying to [comment:41 kencu]:
 > Well of course cleaning would have helped.
 > {{{
 > sudo port install m4
 > }}}
 > works fine on every macOS system. I fixed it on the ones where it did
 not work.

 I did do that and it worked. Quoting myself "Installation of m4 without
 +universal succeeded". In other words I did the command you've quoted
 above and it worked. So I don't understand where I am supposed to have run
 clean.


 >
 > 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 are you telling me that

 {{{
 sudo port install openimageio +universal
 }}}

 is unusual? As I wrote, that is all I did and port took it upon itself to
 attempt to install m4 +universal.

 > 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.

 The patch worked for me.

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


More information about the macports-tickets mailing list