pkg-static: gcc12-devel-12.0.0.s20210627 conflicts with gcc11-11.1.0 (installs files into the same place). Problematic file: /usr/local/include/libgccjit++.h
I am not sure if it is an expected behevior. Previous versions of gcc ports don't conflict as long as they have different major version numbers.
Yeah, just a "me too" here:
===> Installing for gcc12-devel-12.0.0.s20210711
===> Checking if gcc12-devel is already installed
===> Registering installation for gcc12-devel-12.0.0.s20210711
pkg-static: gcc12-devel-12.0.0.s20210711 conflicts with gcc11-11.1.0 (installs files into the same place). Problematic file: /usr/local/include/libgccjit++.h
*** Error code 1
I regularly install most of the gcc ports, and gcc11 can't coexist with gcc12. :)
Hm at first sight these two headers are new for gcc 11 and 12. But they seem to be a slightly different case than other gcc 'internal' headers, such as in:
Maybe these should be put in something like /usr/local/include/gcc11 instead, like the gcc11 specific libraries are now put in /usr/local/lib/gcc11 ?
I filed this upstream at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101491
Let's see what comes out of that before we add a local hack.
(Should we add CONFLICTS among these ports for now? lang/gcc12-devel is very
early still, not meant for regular users, so maybe that's okay-ish?)