Re: git: ca48c22e1c7a - main - lang/gcc12: add gcc 12

From: Piotr Kubaj <pkubaj_at_anongoth.pl>
Date: Tue, 10 May 2022 23:46:57 UTC
I fixed the first issue.

As for the second one, I'm not sure what would be the correct fix (we could move libgccjit++.h to a non-standard directory, but I'm not sure about the consequences).
Maybe Gerald could offer some insight about this issue.

On 22-05-07 14:59:18, Mark Millard wrote:
> [I ran into another issue for lang/gcc12 use.]
> 
> On 2022-May-7, at 12:14, Mark Millard <marklmi@yahoo.com> wrote:
> 
> > I do not know the intent at this point but:
> > 
> > /usr/ports/Mk/bsd.gcc.mk
> > 
> > still has the lines unchanged that translate lang/gcc12
> > references into lang/gcc12-devel :
> > 
> > # A concrete version has been selected. Set proper ports dependencies,
> > # CC, CXX, CPP, and flags.
> > V:=                     ${_USE_GCC:S/.//}
> > .  if ${V} == 12 || ${V} == 13
> > _GCC_PORT:=             gcc${V}-devel
> > .  else
> > _GCC_PORT:=             gcc${V}
> > .  endif
> > 
> > So, for example, listing lang/gcc12 to poudriere will actually
> > build lang/gcc12-devel instead.
> 
> Note: I'm exploring what happens with the above no longer
> causing lang/gcc12-devel to be used. No claim that you
> expect such to be working at this point.
> 
> In attempting to install lang/gcc12 I get:
> 
> Checking integrity... done (2 conflicting)
>   - gcc12-12.1.0 conflicts with gcc11-11.3.0 on /usr/local/include/libgccjit++.h
>   - gcc12-12.1.0 conflicts with gcc11-11.3.0 on /usr/local/include/libgccjit++.h
> 
> So I end up with:
> 
> Installed packages to be REMOVED:
> 	gcc11: 11.3.0
> 
> New packages to be INSTALLED:
> 	gcc12: 12.1.0
> 
> Because I already had lang/gcc11 installed.
> 
> 
> ===
> Mark Millard
> marklmi at yahoo.com
>