I'm seeing a poudriere build failure on www/qt6-webengine on: > ./gen/third_party/blink/renderer/core/css/css_property_names.cc:362:7: error: fallthrough annotation does not directly precede switch label and a bunch of similar errors in the same file. Full build log here [1]. [1] https://freebsd.binaries.simulton.com/data/142Ramd64-main/2025-04-13_21h58m54s/logs/errors/qt6-webengine-6.8.3_1.log
It seems like the recent update of gperf to 3.2 (bug #286026) broke this. CC'ing maintainer of gperf since this is generated code and not much I can do about it on the webengine side of things. I suggest downgrading to gperf 3.1 while this gets sorted.
This seems to be the regressing commit in gperf: https://git.savannah.gnu.org/gitweb/?p=gperf.git;a=commit;h=0d37a8763d9a5169ee2cb71a0281f859ca159b87
Thanks, I will see if I get a fix soon, or revert.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9fdad9848fef30b9ffcf6f4a101f5b08c8f10237 commit 9fdad9848fef30b9ffcf6f4a101f5b08c8f10237 Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2025-04-14 08:04:57 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2025-04-14 08:04:57 +0000 devel/gperf: update to 3.2.1 disable keyword '[[fallthrough]]' PR: 286084 devel/gperf/Makefile | 4 ++-- devel/gperf/distinfo | 6 +++--- devel/gperf/files/patch-output.cc (new) | 14 ++++++++++++++ 3 files changed, 19 insertions(+), 5 deletions(-)
Joel, could you please report back if the last commit to devel/gperf fixes the issue for you?
Bruno Haible wrote: It's not gperf which causes this syntax error, it's the post-processing done by third_party/blink/renderer/build/scripts/gperf.py. It apparently replaces /*FALLTHROUGH*/ with [[fallthrough]]; This replacement made sense with gperf versions < 3.2. But with gperf-3.2 it is not necessary any more. See https://bugs.gentoo.org/attachment.cgi?id=924201&action=diff and https://bugs.gentoo.org/953436 Thanks to Thomas Klausner for the pointers.
(In reply to Jason E. Hale from comment #5) It's looking good. www/qt6-webengine also builds successfully again. Thank you all!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9bb351b004d643c5f853e757777f08dc31a2137a commit 9bb351b004d643c5f853e757777f08dc31a2137a Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2025-04-14 18:24:11 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2025-04-14 18:37:39 +0000 www/qt6-webengine: Fix build with gperf >= 3.2 Blink was making no longer needed substitutions to the generated code adding extra [[fallthrough]] attributes which caused build errors. Thanks to dinoex for working through this with me. PR: 286084 Obtained from: Gentoo ...rty_blink_renderer_build_scripts_gperf.py (new) | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+)