Building port with GCC 11 gives the following error message (full log in URL): [gfortran-9.2.0] ld: error: unable to find library -lc [gfortran-9.2.0] collect2: error: ld returned 1 exit status
Unfortunately, Sage is broken ATM (waiting for Python-3.9 to be the default Python to upgrade it to a newer release). Anyway, it seems that the reported failure is the same that devel/libds, and the workaround used in PR 226972 should do the trick: LLD_UNSAFE= yes
(In reply to Thierry Thomas from comment #1) Thanks Thierry. I remove the dependency block then: if sage gets fixed before GCC default version update is completed we shall put it back.
Of course, I mean we put back the block if sage gets fixed thanks to the Python update but it is still broken with respect to GCC.
I have seen that bug #261703 has just been closed, so I guess you might soon unbreak math/sage. I would like to warn you that the post-processing of GCC default version exp-run is finished, so GCC default version update will soon be committed. In case you see that you have problems with GCC 11, please set USE_GCC=10, at least as a temporary workaround. Thanks.
Closing this bug, in order to group the various problems of Sagemath in a unique PR: please see PR 257412.