Overlord1310 Well, gcc12-libs
is a very strange package: it both provides, and depends on, the same library files:
$ mkdir gcc12-libs; tar -C gcc12-libs -xf gcc12-libs-12.4.0nb1.tgz
$ cat gcc12-libs/+BUILD_INFO
[...]
PROVIDES=/usr/pkg/gcc12/x86_64--netbsd/lib/libgcc_s.so.1
PROVIDES=/usr/pkg/gcc12/x86_64--netbsd/lib/libquadmath.so.0
PROVIDES=/usr/pkg/gcc12/x86_64--netbsd/lib/libstdc++.so.7.30
[...]
REQUIRES=/usr/pkg/gcc12//lib/./libgcc_s.so.1
REQUIRES=/usr/pkg/gcc12//lib/./libquadmath.so.0
REQUIRES=/usr/pkg/gcc12//lib/./libstdc++.so.7
[...]
but, at 2 different paths. This ought to be reported.
Anyway, this should work-around for now:
pkgin -y in gcc12
(If you say, "What! Another GCC? Surely you jest, RVP!", I respond, "Why not? libreoffice
is already bringing in Bash, GCC 10, Perl, Python and Java! Don't worry; be happy!")