Claudio Jeker <[email protected]> writes:

> On Thu, Nov 26, 2026 at 02:45:48PM +0000, Stuart Henderson wrote:
>> > https://cranky.work/sparc64/2026-11-23/lang/rust.log
>> 
>> if rust isn't getting fixed we probably need to look into removing
>> sparc64 from RUST_ARCHS so that at least some of the things which
>> depend on librsvg can be built.. (that will need an librsvg EPOCH
>> bump too)
>
> This is not a sparc64 issue, it affects all archs but amd64 (and arm64 but
> there the lib is useless). In short the cpufeatures creat fucks up
> everything. Someone who knows python can probably hack that horrible
> rehash.py script and add an execption for libcpufeatures.
> E.g. move it to the end of that rename horror show so that
> libcpufeatures can be moved to amd64 and arm64 specific PLISTs.

*if* I understand the issue, libcpufeatures isn't present on sparc64 ?
if so, rehash.py script doesn't affect the same number for all libs
across ARCHS, which is a mess...

I agree that rehash.py is fucking workaround, but if you have a better
idea to deal with the 306 rust filenames with random hashes...

rehash.py is generating the "stable" hash by using a fixed part,
and append the number of order for the library name. Several libraries
with same name could exist with different hashes.

It has been changed with -dev addition, as the number of filenames
explosed (from 54 to 306). libcpufeatures is part of the new libs.

we could revert by removing -dev subpackage, but it will break chromium
at some point (unsure if it is the current version or some next new
versions).
-- 
Sebastien Marie

Reply via email to