Due to rustix-0.38.30, which is due to libc. Marked upstream as https://github.com/bytecodealliance/rustix/issues/1009 Compiling ahash v0.8.7 Running `rustc --crate-name build_script_build --edition=2018 /var/tmp/portage/dev-util/maturin-1.5.0/work/cargo_home/gentoo/ahash-0.8.7/./build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=d29c5ad186d5c3fc -C extra-filename=-d29c5ad186d5c3fc --out-dir /var/tmp/portage/dev-util/maturin-1.5.0/work/maturin-1.5.0/target/release/build/ahash-d29c5ad186d5c3fc -L dependency=/var/tmp/portage/dev-util/maturin-1.5.0/work/maturin-1.5.0/target/release/deps --extern version_check=/var/tmp/portage/dev-util/maturin-1.5.0/work/maturin-1.5.0/target/release/deps/libversion_check-ed0003bb26cbc4a7.rlib --cap-lints allow` error[E0425]: cannot find value `FS_IOC_SETFLAGS` in module `c` --> /var/tmp/portage/dev-util/maturin-1.5.0/work/cargo_home/gentoo/rustix-0.38.30/src/fs/ioctl.rs:161:57 | 161 | let ctl = ioctl::Setter::<ioctl::BadOpcode<{ c::FS_IOC_SETFLAGS }>, u32>::new(flags.bits()); | ^^^^^^^^^^^^^^^ | ::: /var/tmp/portage/dev-util/maturin-1.5.0/work/cargo_home/gentoo/libc-0.2.152/src/unix/linux_like/linux/mod.rs:2922:1 | 2922 | pub const SIOCSIFFLAGS: ::c_ulong = 0x00008914; | --------------------------------- similarly named constant `SIOCSIFFLAGS` defined here | help: a constant with a similar name exists | 161 | let ctl = ioctl::Setter::<ioctl::BadOpcode<{ c::SIOCSIFFLAGS }>, u32>::new(flags.bits()); | ~~~~~~~~~~~~ help: consider importing this constant | 5 + use linux_raw_sys::ioctl::FS_IOC_SETFLAGS; | help: if you import `FS_IOC_SETFLAGS`, refer to it directly | 161 - let ctl = ioctl::Setter::<ioctl::BadOpcode<{ c::FS_IOC_SETFLAGS }>, u32>::new(flags.bits()); 161 + let ctl = ioctl::Setter::<ioctl::BadOpcode<{ FS_IOC_SETFLAGS }>, u32>::new(flags.bits()); Reproducible: Always
Created attachment 886951 [details] build.log and emerge --info
Guess I'll just mask this version on ~loong in the interim (no urgency to update), and forward the report to maturin so that they can either upgrade or downgrade the crate as needed next bump (I say downgrade because [1] is not in a release yet as of the writing of this). Guess this is a problem that is going to affect every packages that use the crate again... thankfully not too many keyworded for ~loong. [1] https://github.com/bytecodealliance/rustix/commit/8edaecae
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94fc0eec5b65b38b50e895dd7d2c46905eb93c77 commit 94fc0eec5b65b38b50e895dd7d2c46905eb93c77 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2024-03-07 19:32:59 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2024-03-07 19:34:30 +0000 profiles/arch/loong: mask dev-util/maturin-1.5.0 Bug: https://bugs.gentoo.org/926407 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> profiles/arch/loong/package.mask | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5286f0d5011667c5088d267d95a046668fbc84e commit a5286f0d5011667c5088d267d95a046668fbc84e Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2024-03-21 14:24:52 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2024-03-21 14:40:55 +0000 dev-util/maturin: add 1.5.1 untested wrt bug #926407, but rustix and libc crates were bumped so the immediate issue should be fixed Closes: https://bugs.gentoo.org/926407 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-util/maturin/Manifest | 3 + dev-util/maturin/maturin-1.5.1.ebuild | 543 ++++++++++++++++++++++++++++++++++ 2 files changed, 546 insertions(+)