Re: pkg/60241: qt6-qtbase: Build fails on macOS with error "implicitly declaring library function '__yield' with type 'void ()'"

"Tobias Nygren via gnats" <[email protected]> Fri, 8 May 2026 13:45:01 +0000 (UTC)
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs
Message-ID <[email protected]>
The following reply was made to PR pkg/60241; it has been noted by GNATS.

From: Tobias Nygren <[email protected]>
To: [email protected]
Cc: 
Subject: Re: pkg/60241: qt6-qtbase: Build fails on macOS with error
 "implicitly declaring library function '__yield' with type 'void ()'"
Date: Fri, 8 May 2026 15:44:51 +0200

 On Fri,  8 May 2026 13:40:00 +0000 (UTC)
 "[email protected] via gnats" <[email protected]> wrote:
 
 > /opt/pkgsrc/x11/qt6-qtbase/work/qtbase-everywhere-src-6.10.2/src/corelib/thread/qyieldcpu.h:37:5: error: implicitly declaring library function '__yield' with type 'void ()'
 >       [-Werror,-Wimplicit-function-declaration]
 >    37 |     __yield();              // Generic
 
 This is related to xcode 26.4 which I believe released after 2026Q1.
 It should be fixed in pkgsrc-current with this commit:
 
 https://mail-index.netbsd.org/pkgsrc-changes/2026/03/27/msg342910.html