tech-pkg archive

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

Re: lang/rust on aarch64eb



-------- Ursprungligt meddelande --------
Den 2024-11-06 21:24, John Klos <john%klos.com@localhost> skrev:

>  > I don't have an aarch64eb system to test at the moment, but is it possible to
>  > use these patches from -current?
>  >
>  > lang/rust/patches/patch-vendor_aho-corasick-1.1.2_src_packed_vector.rs
>  > lang/rust/patches/patch-vendor_aho-corasick-1.1.2_src_packed_teddy_builder.rs
>  
>  I added those patches, but got:
>  
>  ===> Building for rust-1.79.0
>  Building bootstrap
>  running: /tmp/pkgbuild/lang/rust/work.aarch64eb/rust-bootstrap/bin/cargo
>  build --manifest-path
>  /tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/src/bootstrap/Cargo.toml
>  --verbose --frozen
>  error: the listed checksum of
>  `/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/vendor/aho-corasick-1.1.2/src/packed/teddy/builder.rs`
>  has changed:
>  expected: 720735ea6c7ff92b081426513e6e82feed24a922849297bb538d28f7b8129f81
>  actual:   f41fe38e3a4860e6c8adee4852ab7f5cf683bcb0849c6a02f00f7701ad25af89
>  
>  directory sources are not intended to be edited, if modifications are
>  required then it is recommended that `[patch]` is used with a forked copy
>  of the source
>  
>  Do you know where I add this "[patch]"?
>  
>  Thanks!
>  John
>  

You need to add the new checksum to the Makefile.
Look in the Makefile, there're already others there which, should make it clear what you are supposed to do.

/Pedro


Home | Main Index | Thread Index | Old Index