[MacPorts] #61622: p5-www-curl @4.17: error: #endif without #if

MacPorts noreply at macports.org
Sun Nov 22 13:38:10 UTC 2020


#61622: p5-www-curl @4.17: error: #endif without #if
------------------------+-------------------------
 Reporter:  ryandesign  |      Owner:  fracai
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.4
 Keywords:  bigsur      |       Port:  p5-www-curl
------------------------+-------------------------
 p5-www-curl seems to be doing something that is not compatible with macOS,
 at least not macOS Big Sur (maybe `#define`ing something that's now being
 used in the system headers?) because the build log is just lots of errors
 that appear to be in the system headers:

 https://build.macports.org/builders/ports-
 11_arm64-builder/builds/1076/steps/install-port/logs/stdio
 {{{
 Locating required external dependency bin:curl-config... found at
 /opt/local/bin/curl-config.
 The version is libcurl 7.73.0
 Found curl.h in /opt/local/include/curl/curl.h
 In file included from /opt/local/include/curl/curl.h:38:
 In file included from /opt/local/include/curl/system.h:430:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/sys/types.h:184:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/sys/_types/_fd_def.h:32:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/Availability.h:136:
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/AvailabilityInternal.h:142:2:
 error: #endif without #if
 #endif /* #if defined(__has_builtin) */
  ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61622>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list