[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296473

            Bug ID: 296473
           Summary: devel/qt6-base: does not compile on recent CURRENT
                    (1600019)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: florian.millet at laposte.net
          Assignee: kde at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)

Created attachment 272413
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=272413&action=edit
Full poudriere log for qt6-base compile failure

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 ?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list