tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: false alert on new pkg_add shlibs check?



On Thu, Oct 17, 2024 at 10:14:46AM -0400, Greg Troxel wrote:
> It seems that
> 
>   it's a bug in the gcc10 package to both REQUIRES and  PROVIDES the
>   same file

I cannot reproduce this. I just built the gcc10 package (on NetBSD
10.99.12/amd64) and PROVIDES/REQUIRES look like this:

PROVIDES=/usr/pkg/gcc10/lib/gcc/x86_64--netbsd/10.5.0/plugin/libcc1plugin.so
PROVIDES=/usr/pkg/gcc10/lib/gcc/x86_64--netbsd/10.5.0/plugin/libcc1plugin.so.0
PROVIDES=/usr/pkg/gcc10/lib/gcc/x86_64--netbsd/10.5.0/plugin/libcc1plugin.so.0.0
PROVIDES=/usr/pkg/gcc10/lib/gcc/x86_64--netbsd/10.5.0/plugin/libcp1plugin.so
PROVIDES=/usr/pkg/gcc10/lib/gcc/x86_64--netbsd/10.5.0/plugin/libcp1plugin.so.0
PROVIDES=/usr/pkg/gcc10/lib/gcc/x86_64--netbsd/10.5.0/plugin/libcp1plugin.so.0.0
PROVIDES=/usr/pkg/gcc10/lib/libatomic.so
PROVIDES=/usr/pkg/gcc10/lib/libatomic.so.3
PROVIDES=/usr/pkg/gcc10/lib/libatomic.so.3.0
PROVIDES=/usr/pkg/gcc10/lib/libcc1.so
PROVIDES=/usr/pkg/gcc10/lib/libcc1.so.0
PROVIDES=/usr/pkg/gcc10/lib/libcc1.so.0.0
PROVIDES=/usr/pkg/gcc10/lib/libgcc_s.so
PROVIDES=/usr/pkg/gcc10/lib/libgcc_s.so.1
PROVIDES=/usr/pkg/gcc10/lib/libgfortran.so
PROVIDES=/usr/pkg/gcc10/lib/libgfortran.so.5
PROVIDES=/usr/pkg/gcc10/lib/libgfortran.so.5.0
PROVIDES=/usr/pkg/gcc10/lib/libgomp.so
PROVIDES=/usr/pkg/gcc10/lib/libgomp.so.1
PROVIDES=/usr/pkg/gcc10/lib/libgomp.so.1.0
PROVIDES=/usr/pkg/gcc10/lib/libitm.so
PROVIDES=/usr/pkg/gcc10/lib/libitm.so.1
PROVIDES=/usr/pkg/gcc10/lib/libitm.so.1.0
PROVIDES=/usr/pkg/gcc10/lib/libobjc.so
PROVIDES=/usr/pkg/gcc10/lib/libobjc.so.4
PROVIDES=/usr/pkg/gcc10/lib/libobjc.so.4.0
PROVIDES=/usr/pkg/gcc10/lib/libquadmath.so
PROVIDES=/usr/pkg/gcc10/lib/libquadmath.so.0
PROVIDES=/usr/pkg/gcc10/lib/libquadmath.so.0.0
PROVIDES=/usr/pkg/gcc10/lib/libstdc++.so
PROVIDES=/usr/pkg/gcc10/lib/libstdc++.so.7
PROVIDES=/usr/pkg/gcc10/lib/libstdc++.so.7.28
PROVIDES=/usr/pkg/gcc10/libexec/gcc/x86_64--netbsd/10.5.0/liblto_plugin.so
PROVIDES=/usr/pkg/gcc10/libexec/gcc/x86_64--netbsd/10.5.0/liblto_plugin.so.0
PROVIDES=/usr/pkg/gcc10/libexec/gcc/x86_64--netbsd/10.5.0/liblto_plugin.so.0.0

REQUIRES=/usr/lib/libc.so.12
REQUIRES=/usr/lib/libgcc_s.so.1
REQUIRES=/usr/lib/libm.so.0
REQUIRES=/usr/lib/libpthread.so.1
REQUIRES=/usr/lib/libz.so.1


>   it's a bug in the gcc10 package to have non-canonical paths in
>   REQUIRES
> 
>   it's a bug in pkg_add to not document the check
>
>   it's a bug in pkg_add to not document the check

This entry is listed twice?

Please document it if you feel it should be.

I think most checks are not documented and that's fine.
 Thomas


Home | Main Index | Thread Index | Old Index