Created attachment 894481 [details] build.log =net-dns/c-ares-1.29.0 fails to build in my MacOS Prefix. Here are the 'error:' lines from the attached build log ($EPREFIX is /Users/kingjon/Gentoo ): /Users/kingjon/Gentoo/MacOSX.sdk/usr/include/notify.h:336:11: error: unknown type name 'bool' /Users/kingjon/Gentoo/var/tmp/portage/net-dns/c-ares-1.29.0/work/c-ares-1.29.0/src/lib/ares_event_configchg.c:359:11: error: implicit declaration of function 'fcntl' [-Werror=implicit-function-declaration] /Users/kingjon/Gentoo/var/tmp/portage/net-dns/c-ares-1.29.0/work/c-ares-1.29.0/src/lib/ares_event_configchg.c:359:35: error: 'F_GETFL' undeclared (first use in this function) /Users/kingjon/Gentoo/var/tmp/portage/net-dns/c-ares-1.29.0/work/c-ares-1.29.0/src/lib/ares_event_configchg.c:360:27: error: 'F_SETFL' undeclared (first use in this function) /Users/kingjon/Gentoo/var/tmp/portage/net-dns/c-ares-1.29.0/work/c-ares-1.29.0/src/lib/ares_event_configchg.c:360:44: error: 'O_NONBLOCK' undeclared (first use in this function)
Created attachment 894482 [details] emerge-info.txt I forgot to mention in the initial description, but you can see in this emerge --info output, that =net-dns/c-ares-1.28.1 built fine in my Prefix environment, so at first glance this looks like a regression.
it fails everywhere I tried this way
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92c6b019c938960daa3adca2fbbdac2f9c0bf3e5 commit 92c6b019c938960daa3adca2fbbdac2f9c0bf3e5 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2024-05-28 14:10:01 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2024-05-28 14:10:46 +0000 profiles/prefix/darwin/macos: mask net-dns/c-ares-1.29.0 Fails to compile, unbreak bootstraps by using 1.28.0 Bug: https://bugs.gentoo.org/932809 Signed-off-by: Fabian Groffen <grobian@gentoo.org> profiles/prefix/darwin/macos/package.mask | 4 ++++ 1 file changed, 4 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5603fb21d4c3303aa29e3b1641d9349ec21628c commit d5603fb21d4c3303aa29e3b1641d9349ec21628c Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2024-07-17 13:24:03 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2024-07-17 13:26:05 +0000 net-dns/c-ares-1.32.2: fix for Darwin macOS system headers are a bit messy nowadays, provide workaround for missing bool definition and disable non-Prefix system integration Closes: https://bugs.gentoo.org/935818 Closes: https://bugs.gentoo.org/932809 Signed-off-by: Fabian Groffen <grobian@gentoo.org> net-dns/c-ares/c-ares-1.32.2.ebuild | 14 ++++++++++++++ 1 file changed, 14 insertions(+)