maintainer-feedback requested: [Bug 296473] devel/qt6-base: does not compile on recent CURRENT (1600019)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 3 00:22:05 BST 2026
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (group)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 296473: devel/qt6-base: does not compile on recent CURRENT (1600019)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296473
--- Description ---
Hello everyone,
on a recent FreeBSD 16 CURRENT (version 1600019) qt6-base doers not compile
with poudriere.
The part of the log that is interesting :
In file included from
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib
/io/forkfd_qt.c:16:
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib
/io/../../3rdparty/forkfd/forkfd.c:162:39:
warning: call to undeclared function 'ATOMIC_VAR_INIT'; ISO C99 and later do
not
support implicit function declarations [-Wimplicit-function-declaration]
162 | static ffd_atomic_int forkfd_status = FFD_ATOMIC_INIT(0);
| ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib
/io/../../3rdparty/forkfd/forkfd_c11.h:54:37:
note: expanded from macro 'FFD_ATOMIC_INIT'
54 | #define FFD_ATOMIC_INIT(val) ATOMIC_VAR_INIT(val)
| ^
In file included from
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib
/io/forkfd_qt.c:16:
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib
/io/../../3rdparty/forkfd/forkfd.c:162:39:
error: initializer element is not a compile-time constant
162 | static ffd_atomic_int forkfd_status = FFD_ATOMIC_INIT(0);
| ^~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib
/io/../../3rdparty/forkfd/forkfd_c11.h:54:37:
note: expanded from macro 'FFD_ATOMIC_INIT'
54 | #define FFD_ATOMIC_INIT(val) ATOMIC_VAR_INIT(val)
| ^~~~~~~~~~~~~~~~~~~~
In file included from
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib
/io/forkfd_qt.c:16:
In file included from
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib
/io/../../3rdparty/forkfd/forkfd.c:930:
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib
/io/../../3rdparty/forkfd/forkfd_freebsd.c:45:45:
error: initializer element is not a compile-time constant
45 | static ffd_atomic_int system_forkfd_state = FFD_ATOMIC_INIT(1);
| ^~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib
/io/../../3rdparty/forkfd/forkfd_c11.h:54:37:
note: expanded from macro 'FFD_ATOMIC_INIT'
54 | #define FFD_ATOMIC_INIT(val) ATOMIC_VAR_INIT(val)
| ^~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.
unfortunately it block a lot of ports from building (mainly for KDE). This file
does not seem to have changed upstream so it would seem a change on the FreeBSD
side poses this problem, maybe linked to clang/llvm ?
More information about the kde-freebsd
mailing list