tech-pkg archive

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

lang/rust on aarch64eb



Hi, all,

Rust used to work on NetBSD 10/aarch64eb, but now, from pkgsrc-2024Q3, it fails.

Any ideas on what to do to fix this?

Thanks,
John


       Fresh crossbeam-utils v0.8.18
   Compiling aho-corasick v1.1.2
Running `/tmp/pkgbuild/lang/rust/work.aarch64eb/rust-bootstrap/bin/rustc --crate-name aho_corasick --edition=2021 /tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/vendor/aho-corasick-1.1.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=96 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="perf-literal"' --cfg 'feature="std"' -C metadata=fdae76976492b3ec -C extra-filename=-fdae76976492b3ec --out-dir /tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/build/bootstrap/debug/deps -C strip=debuginfo -L dependency=/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/build/bootstrap/debug/deps --extern memchr=/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/build/bootstrap/debug/deps/libmemchr-10f605e4eeef9369.rmeta --cap-lints allow -Zallow-features= -Wrust_2018_idioms -Wunused_lifetimes -Dwarnings`
error[E0425]: cannot find function `vqtbl1q_u8` in this scope
--> /tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/vendor/aho-corasick-1.1.2/src/packed/vector.rs:665:13
    |
665 |             vqtbl1q_u8(self, indices)
    |             ^^^^^^^^^^---------------
    |             |
| help: try calling `vqtbl1q_u8` as a method: `self.vqtbl1q_u8(indices)`

For more information about this error, try `rustc --explain E0425`.
error: could not compile `aho-corasick` (lib) due to 1 previous error

Caused by:
process didn't exit successfully: `/tmp/pkgbuild/lang/rust/work.aarch64eb/rust-bootstrap/bin/rustc --crate-name aho_corasick --edition=2021 /tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/vendor/aho-corasick-1.1.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=96 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="perf-literal"' --cfg 'feature="std"' -C metadata=fdae76976492b3ec -C extra-filename=-fdae76976492b3ec --out-dir /tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/build/bootstrap/debug/deps -C strip=debuginfo -L dependency=/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/build/bootstrap/debug/deps --extern memchr=/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/build/bootstrap/debug/deps/libmemchr-10f605e4eeef9369.rmeta --cap-lints allow -Zallow-features= -Wrust_2018_idioms -Wunused_lifetimes -Dwarnings` (exit status: 1)
Traceback (most recent call last):
File "/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/./x.py", line 50, in <module>
    bootstrap.main()
File "/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/src/bootstrap/bootstrap.py", line 1176, in main
    bootstrap(args)
File "/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/src/bootstrap/bootstrap.py", line 1143, in bootstrap
    build.build_bootstrap()
File "/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/src/bootstrap/bootstrap.py", line 899, in build_bootstrap
    run(args, env=env, verbose=self.verbose, cwd=self.rust_root)
File "/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/src/bootstrap/bootstrap.py", line 187, in run
    raise RuntimeError(err)
RuntimeError: failed to run: /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 code 1



Home | Main Index | Thread Index | Old Index