Opened 3 months ago

#61622 assigned defect

p5-www-curl @4.17: error: #endif without #if

Reported by: ryandesign (Ryan Schmidt) Owned by: fracai
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: p5-www-curl

Description

p5-www-curl seems to be doing something that is not compatible with macOS, at least not macOS Big Sur (maybe #defineing 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) */
 ^

Change History (0)

Note: See TracTickets for help on using tickets.