[Buildroot] [PATCH 2/2] python-psutil: fix build against musl C library

Peter Korsgaard peter at korsgaard.com
Tue Sep 20 13:04:12 UTC 2016


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

Hi,

 >> I don't see the point of that reasoning - The whole idea of the Linux
 >> uapi headers is to provide headers for the kernel API.

 > Correct. I've already discussed this with the musl developers, and they
 > say that the "kernel headers are not clean to be used in userspace".

 > Of course, everyone else but the musl people are using the uapi headers
 > in userspace, but apparently, there are some things in there that do
 > not please the musl people.

 > Maybe Rich can explain more precisely the issue. So far I've only been
 > able to get "kernel headers are not clean enough", but not concrete
 > example of the problem.

Rich, can you explain please?

 >> I'm not particulary interested in musl support for
 >> python-psutil. Alternatively we can just mark it as
 >> !BR2_TOOLCHAIN_USES_MUSL.
 >> 
 >> What do you suggest?

 > I don't care about python-psutil to be available with musl, so your
 > proposal is fine to me. Overall, I find the policy of musl developers
 > to be very annoying as:

 >  1/ It breaks many many many packages.

 >  2/ The only proposed solution is to duplicate code, which is not nice
 >     at all, and is difficult to get accepted by upstream project,
 >     living us with zillions of musl-related patches that we cannot
 >     upstream.

Agreed. I've send a patch to mark it (and its reverse dependencies) as
unavailable on musl.

-- 
Venlig hilsen,
Peter Korsgaard 



More information about the buildroot mailing list