[MacPorts] #64135: grep +universal: configure: error: Cannot find a type to use in place of socklen_t (was: Configure of grep +universal fails)

MacPorts noreply at macports.org
Mon Dec 6 02:42:11 UTC 2021


#64135: grep +universal: configure: error: Cannot find a type to use in place of
socklen_t
---------------------+---------------------------------------------
  Reporter:  jgrg    |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.7.1
Resolution:          |   Keywords:  monterey universal arm64 x86_64
      Port:  grep    |
---------------------+---------------------------------------------

Comment (by ryandesign):

 Among other things, the config.log says:
 {{{
 error: redefinition of '_OSSwapInt16'
 _OSSwapInt16(
 ^
 }}}
 This is similar to #61858, #62013, and #62822. Per one of those, this may
 be a bug in gnulib. We should probably report it to the gnulib mailing
 list.

 If you want to try a workaround, you could edit the grep Portfile and add
 the line `PortGroup muniversal 1.0` below the PortSystem line.

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


More information about the macports-tickets mailing list