Bug 264365 - sysutils/fluxengine: Build fails with GCC 11 on i386: 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
Summary: sysutils/fluxengine: Build fails with GCC 11 on i386: ld-elf.so.1: /lib/libgc...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL: http://package23.nyi.freebsd.org/data...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-31 10:16 UTC by Lorenzo Salvadore
Modified: 2022-11-25 23:28 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (probono)


Attachments
fluxengine - remove dependency on gcc (1.06 KB, patch)
2022-06-07 00:28 UTC, Lorenzo Salvadore
salvadore: maintainer-approval? (probono)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Salvadore freebsd_committer freebsd_triage 2022-05-31 10:16:34 UTC
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.
Comment 1 Lorenzo Salvadore freebsd_committer freebsd_triage 2022-06-07 00:28:35 UTC
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.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-06-22 09:40:16 UTC
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(-)
Comment 3 Lorenzo Salvadore freebsd_committer freebsd_triage 2022-06-22 09:42:59 UTC
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.