A lot of pkg ask to install compat6x-amd64 on current

Matthew Seaman matthew at FreeBSD.org
Mon Jul 31 13:34:25 UTC 2017


On 31/07/2017 14:17, Nikolai Lifanov wrote:
>> On 29/07/2017 11:50, Artyom Mirgorodsky wrote:
>>> Hi I see that a lot of pkg ask to install compat6x-amd64. But portmaster
>>> doesn't require compat6x-amd64. I think this is a bag and possible has
>>> security problem as this package is very old
>>
>> How are you invoking pkg(8) that you see this requirement for compat6x,
>> and what are you seeing that pulls in the compat6x dependency?
>>
>> By my count there are 4 ports that depend directly on misc/compat6x.
>> This does not count any ports that depend on these indirectly:
>>
>> % grep -R misc/compat6x *
>> devel/cscout/Makefile:LIB_DEPENDS+=	libc.so.6:misc/compat6x
>> devel/eiffelstudio/Makefile:LIB_DEPENDS=	libc.so.6:misc/compat6x
>> lang/cmucl/Makefile:LIB_DEPENDS=	libc.so.6:misc/compat6x
>> misc/compat6x/pkg-descr:LIB_DEPENDS+=	c.6:misc/compat6x
>> misc/compat6x/Makefile:# $FreeBSD: head/misc/compat6x/Makefile 444437
>> 2017-06-27 00:05:15Z linimon $
>> security/retranslator/Makefile:LIB_DEPENDS+=	libm.so:misc/compat6x
>>
>> Now, I wouldn't characterize four ports as "a lot", and I certainly
>> haven't see any ports myself that pull in compat6x on anything I've been
>> managing recently.
>>
>> Anything still requiring compat6x is probably pretty elderly and
>> unmaintained, but that's a question for ports at .
>>
>> 	Cheers,
>>
>> 	Matthew
>>
> 
> I can corroborate: I also have a system where pkg installs
> compat6x-amd64 on every update and then "pkg autoremove" removes it.
> 
> There is even a bug open for it:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220755

Hmmm... here's a wild idea.  Have either of you been experimenting with
base system packages?  Have you rebuilt pkg(8)'s idea of shlib
provides/requires to include base system libraries?

I'm wondering if it's somehow to do with the versioned shlibs introduced
in FreeBSD-7?

	Cheers,

	Matthew

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20170731/e1bf8990/attachment.sig>


More information about the freebsd-pkg mailing list