tech-pkg archive

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

Re: mozjs78 is required by polkit and forces clang/llvm

On Fri, May 21, 2021 at 07:03:21AM +0200, Martin Husemann wrote:
> Hi folks,
> I have a build timing issue with pkgsrc-current:
>  - anything requiring polkit on netbsd-current will force a local build
>    of clang/llvm from pkgsrc
>  - this takes several days (!!) on the only aarch64 box I can use for
>    pkgbuilds right now (I need to fix that, but don't have time to
>    do the "local" fix required right now nor the money to throw some
>    real beefy hardware at it)
> Besides the "polkit should die" rant (deleted) there is no good excuse for
> forcing clang/llvm here (AFAIU), and of course no toolchain component should
> take days to build on semi reasonable modern hardware (rant deleted).
> But what can we do practically to improve the situation? This is not about
> poor sparc64 machines that noone besides me uses for building things like
> Xfce4.
> Martin

mozjs78 (and recent firefox) need clang. They don't need to compile
with clang, but they need _something_ from the clang binary, that much
is clear by removing clang or looking at packages from other

Many linux distributions _are_ dropping polkit (because in their
mind it has been replaced by systemd), and it should be possible
to make optional in most cases.

I'd like to see this situation looking better, too much gets
taken out in a bulk build on "lesser" architectures when mozjs
fails (and it usually will).

Home | Main Index | Thread Index | Old Index