Updating GCC_DEFAULT from GCC 10 to GCC 11 is blocked by the fact that building this port with GCC 11 on i386 fails. The errors reported are the following: FAILED: .obj/agg-test.stamp .obj/agg-test-debug && touch .obj/agg-test.stamp ld-elf.so.1: /lib/libgcc_s.so.1: version GCC_7.0.0 required by /usr/local/lib/gcc11/libstdc++.so.6 not found [ 66% 270/370] TEST .obj/amiga-test-debug FAILED: .obj/amiga-test.stamp .obj/amiga-test-debug && touch .obj/amiga-test.stamp ld-elf.so.1: /lib/libgcc_s.so.1: version GCC_7.0.0 required by /usr/local/lib/gcc11/libstdc++.so.6 not found Please also see the log in the URL field.
Created attachment 234512 [details] fluxengine - remove dependency on gcc After having tested the port with poudriere on {i386,amd64} {12.3,13.0,13.1}-RELEASE, I see GCC is not required for a successfull build, so I propose to remove the dependency. This does not fix the bug, but it allows us to remove the block to the GCC default version update.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2703ae40a2ac3720f7c798243cdaa3c51a090dd2 commit 2703ae40a2ac3720f7c798243cdaa3c51a090dd2 Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2022-06-07 00:15:23 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2022-06-22 09:39:42 +0000 sysutils/fluxengine: Remove dependency on GCC Build fails with GCC 11, which is soon to become GCC default version: use default compiler instead (clang). PR: 264365 Reported by: exp-run (antoine) Approved by: probono@puredarwin.org (maintainer timeout, 2 weeks) sysutils/fluxengine/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
I have committed the patch that removes the dependency on GCC (maintainer timeout). I remove the block for the the GCC default version update. The bug stays open because the port is still broken if for some reason a user wanted to build the port with GCC 11 instead of the default compiler.