/Volumes/Scratch/Gentoo/bootstrap64-20171112/bin/bash ../libtool --tag=CC --mode=compile x86_64-apple-darwin17-clang -DHAVE_CONFIG_H -I/Volumes/Scratch/Gentoo/bootstrap64-20171112/var/tmp/portage/net-misc/curl-7.56.1/work/curl-7.56.1/include -I../lib -I/Volumes/Scratch/Gentoo/bootstrap64-20171112/var/tmp/portage/net-misc/curl-7.56.1/work/curl-7.56.1/lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -fvisibility=hidden -march=native -O2 -pipe -Qunused-arguments -mmacosx-version-min=10.8 -Werror=partial-availability -c -o libcurl_la-content_encoding.lo `test -f 'content_encoding.c' || echo '/Volumes/Scratch/Gentoo/bootstrap64-20171112/var/tmp/portage/net-misc/curl-7.56.1/work/curl-7.56.1/lib/'`content_encoding.c /Volumes/Scratch/Gentoo/bootstrap64-20171112/var/tmp/portage/net-misc/curl-7.56.1/work/curl-7.56.1/lib/connect.c:1072:14: error: 'connectx' is partial: introduced in macOS 10.11 [-Werror,-Wpartial-availability] rc = connectx(sockfd, &endpoints, SAE_ASSOCID_ANY, ^ /usr/include/sys/socket.h:713:5: note: 'connectx' has been explicitly marked partial here int connectx(int, const sa_endpoints_t *, sae_associd_t, unsigned int, ^ /Volumes/Scratch/Gentoo/bootstrap64-20171112/var/tmp/portage/net-misc/curl-7.56.1/work/curl-7.56.1/lib/connect.c:1072:14: note: explicitly redeclare 'connectx' to silence this warning rc = connectx(sockfd, &endpoints, SAE_ASSOCID_ANY, ^ 1 error generated. make[2]: *** [Makefile:1473: libcurl_la-connect.lo] Error 1 make[2]: *** Waiting for unfinished jobs....
Disabled the error for High Sierra, this will still fail with an old (Sierra, Capitan etc.) Prefix on High Sierra (mismatch unsupported).
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7d7fb78e3689b5a56f384d9e0eca42ac36b23c7 commit f7d7fb78e3689b5a56f384d9e0eca42ac36b23c7 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-07-22 02:52:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-07-22 03:20:27 +0000 net-misc/curl: add 7.78.0 * Security bump to 7.78.0 * Drops metalink support (gone upstream entirely) * Drops two obsolete seds Bug: https://bugs.gentoo.org/382241 Bug: https://bugs.gentoo.org/637252 Bug: https://bugs.gentoo.org/803308 Signed-off-by: Sam James <sam@gentoo.org> net-misc/curl/Manifest | 1 + net-misc/curl/curl-7.78.0.ebuild | 289 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 290 insertions(+)