Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932809 - net-dns/c-ares-1.29.0 fails to build on MacOS Prefix
Summary: net-dns/c-ares-1.29.0 fails to build on MacOS Prefix
Status: CONFIRMED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-26 21:45 UTC by Jonathan Lovelace
Modified: 2024-05-28 14:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,94.39 KB, application/octet-stream)
2024-05-26 21:45 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,6.11 KB, text/plain)
2024-05-26 21:48 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2024-05-26 21:45:53 UTC
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)
Comment 1 Jonathan Lovelace 2024-05-26 21:48:12 UTC
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.
Comment 2 Fabian Groffen gentoo-dev 2024-05-27 15:22:42 UTC
it fails everywhere I tried this way
Comment 3 Larry the Git Cow gentoo-dev 2024-05-28 14:10:49 UTC
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(+)