[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 05:29:17 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):

 I just tried again, Mark, and once m4 is installed, it does not require
 being rebuilt as +universal:
 {{{
 % sudo port -v installed | grep active
   autoconf @2.71_1 (active) requested_variants='' platform='darwin 20'
 archs='noarch' date='2021-08-21T14:56:06-0400'
   automake @1.16.3_0 (active) requested_variants='' platform='darwin 20'
 archs='noarch' date='2021-08-21T14:56:12-0400'
   bzip2 @1.0.8_0+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:00:53-0400'
   curl-ca-bundle @7.78.0_0 (active) requested_variants='' platform='darwin
 20' archs='noarch' date='2021-08-21T15:22:19-0400'
   db48 @4.8.30_4+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:10:45-0400'
   expat @2.4.1_0+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:20:17-0400'
   gdbm @1.20_1+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:11:16-0400'
   gettext @0.19.8.1_2+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:06:53-0400'
   gperf @3.1_0+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:00:57-0400'
   help2man @1.48.4_0+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:15:16-0400'
   libedit @20210216-3.1_0+universal (active)
 requested_variants='+universal' platform='darwin 20' archs='arm64 x86_64'
 date='2021-08-30T01:20:32-0400'
   libiconv @1.16_1+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:01:36-0400'
   libidn2 @2.3.2_0+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:20:03-0400'
   libtool @2.4.6_11+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:08:49-0400'
   libunistring @0.9.10_0+universal (active)
 requested_variants='+universal' platform='darwin 20' archs='arm64 x86_64'
 date='2021-08-30T01:19:00-0400'
   m4 @1.4.19_1 (active) requested_variants='' platform='darwin 20'
 archs='arm64' date='2021-08-21T14:55:48-0400'
   ncurses @6.2_1+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:02:15-0400'
   p5.30-locale-gettext @1.70.0_0+universal (active)
 requested_variants='+universal' platform='darwin 20' archs='arm64 x86_64'
 date='2021-08-30T01:15:14-0400'
   perl5.30 @5.30.3_3+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:15:08-0400'
   pkgconfig @0.29.2_0+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:19:42-0400'
   readline @8.1.000_0+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:11:06-0400'
   texinfo @6.8_0+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:16:08-0400'
   xz @5.2.5_0+universal (active) requested_variants='+universal'
 platform='darwin 20' archs='arm64 x86_64' date='2021-08-30T01:11:30-0400'
 }}}

 So I why it didn't work for you, but at least on an M1 mac, what I said is
 perfectly valid.

 My best guess is that you didn't clean m4 before trying to rebuild it, but
 that is speculation.

 now, assimp won't build universal for me because libffi won't build
 universal at present on an M1 system [ticket:62449] but that is a separate
 issue.

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


More information about the macports-tickets mailing list