pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/60241: qt6-qtbase: Build fails on macOS with error "implicitly declaring library function '__yield' with type 'void ()'"
The following reply was made to PR pkg/60241; it has been noted by GNATS.
From: opensauce04%gmail.com@localhost
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/60241: qt6-qtbase: Build fails on macOS with error
"implicitly declaring library function '__yield' with type 'void ()'"
Date: Sat, 9 May 2026 16:09:16 +0100
> > /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
Kind of?
The specific build issue that I brought up in the PR description is now
gone, but it is replaced with a different issue. About 1/3 of the way
through the build, it fails with this error message:
```
dyld[56301]: Library not loaded: @rpath/libQt6Core.6.dylib
 Referenced from: <36F71CBD-69D0-3839-862C-912FBED36F8F>
/opt/pkgsrc/x11/qt6-qtbase/work/qtbase-everywhere-src-6.10.2/libexec/rcc
 Reason: tried: '/opt/pkg/lib/libQt6Core.6.dylib' (no such file),
'/System/Volumes/Preboot/Cryptexes/OS/opt/pkg/lib/libQt6Core.6.dylib'
(no such file), '/opt/pkg/lib/libQt6Core.6.dylib' (no such file),
'/System/Volumes/Preboot/Cryptexes/OS/opt/pkg/lib/libQt6Core.6.dylib'
(no such file)
/bin/sh: line 1: 56301 Abort trap: 6 Â ../../../libexec/rcc --output
/opt/pkgsrc/x11/qt6-qtbase/work/qtbase-everywhere-src-6.10.2/src/assets/icons/.qt/rcc/qrc_example_icons.cpp
--name example_icons
/opt/pkgsrc/x11/qt6-qtbase/work/qtbase-everywhere-src-6.10.2/src/assets/icons/.qt/rcc/example_icons.qrc
gmake[2]: ***
[src/assets/icons/CMakeFiles/ExampleIconsPrivate.dir/build.make:235:
src/assets/icons/.qt/rcc/qrc_example_icons.cpp] Error 134
gmake[1]: *** [CMakeFiles/Makefile2:10657:
src/assets/icons/CMakeFiles/ExampleIconsPrivate.dir/all] Error 2
```
Home |
Main Index |
Thread Index |
Old Index