Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 913711

Summary: sys-block/thin-provisioning-tools: rekeywording
Product: Gentoo Linux Reporter: Sam James <sam>
Component: KeywordingAssignee: Robin Johnson <robbat2>
Status: IN_PROGRESS ---    
Severity: normal CC: base-system, matoro_gentoo, ppc
Priority: Normal Keywords: CC-ARCHES
Version: unspecifiedFlags: nattka: sanity-check+
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
sys-block/thin-provisioning-tools arm loong ppc s390 sparc sys-fs/lvm2 arm loong ppc s390 sparc
Runtime testing required: ---
Bug Depends on: 922236    
Bug Blocks:    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-06 08:40:38 UTC
We can rekeyword for ppc/sparc at least as they have rust on some profiles.
Comment 1 NATTkA bot gentoo-dev 2023-09-06 08:44:14 UTC Comment hidden (obsolete)
Comment 2 Larry the Git Cow gentoo-dev 2023-09-06 08:47:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98ef422b30a9670786280a452b2cf1263b484b9d

commit 98ef422b30a9670786280a452b2cf1263b484b9d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-09-06 08:44:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-09-06 08:46:35 +0000

    sys-fs/lvm2: require newer thin-provisioning-tools in new revision
    
    This gives us a slightly easier transition for wd40 arches where people might
    rely on thin provisioning (which now requires Rust).
    
    Bug: https://bugs.gentoo.org/913711
    Signed-off-by: Sam James <sam@gentoo.org>

 ...{lvm2-2.03.21.ebuild => lvm2-2.03.21-r1.ebuild} |   2 +-
 ...{lvm2-2.03.22.ebuild => lvm2-2.03.22-r1.ebuild} |   2 +-
 sys-fs/lvm2/lvm2-2.03.22-r2.ebuild                 | 303 +++++++++++++++++++++
 3 files changed, 305 insertions(+), 2 deletions(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-06 09:19:29 UTC
arm done
Comment 4 WANG Xuerui gentoo-dev 2023-09-06 18:57:16 UTC
loong done
Comment 5 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2023-12-02 11:13:30 UTC
sparc done
Comment 6 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2023-12-08 20:54:07 UTC
s390 done
Comment 7 matoro archtester 2023-12-09 20:56:09 UTC
Stuck on ppc due to missing 64-bit atomics.

   Compiling thinp v1.0.6 (/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6)
     Running `rustc --crate-name thinp --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=2 -C metadata=4681ff03c4fb01c5 -C extra-filename=-4681ff03c4fb01c5 --out-dir /var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps -L dependency=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps --extern anyhow=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libanyhow-48bbafa7e624c290.rmeta --extern atty=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libatty-9697d8603643b963.rmeta --extern base64=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libbase64-8c45c89785ab3d5f.rmeta --extern byteorder=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libbyteorder-1bfc3752158346ae.rmeta --extern clap=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libclap-c9b5b261b3fa7779.rmeta --extern crc32c=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libcrc32c-c6933ab405b0fbd7.rmeta --extern data_encoding=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libdata_encoding-a144e695c4e271a0.rmeta --extern exitcode=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libexitcode-c5619e6e9bf96fda.rmeta --extern fixedbitset=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libfixedbitset-19daaf161ed97b72.rmeta --extern flate2=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libflate2-11cd9cc30fd48bb4.rmeta --extern indicatif=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libindicatif-33c46c417ac839a3.rmeta --extern iovec=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libiovec-171e816dcfacad8e.rmeta --extern libc=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/liblibc-9b4bd0b940c83574.rmeta --extern nom=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libnom-d30cd6d3b0bf9d2e.rmeta --extern num_derive=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libnum_derive-b858594d44acfb59.so --extern num_traits=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libnum_traits-26eba4e32b3a25de.rmeta --extern num_cpus=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libnum_cpus-ffb34ea961e5df34.rmeta --extern quick_xml=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libquick_xml-ae5d02146852c318.rmeta --extern rand=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/librand-9eae9807d1c5be52.rmeta --extern rangemap=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/librangemap-70f885847fa03e5f.rmeta --extern roaring=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libroaring-8afc982ced14df82.rmeta --extern safemem=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libsafemem-d1b61b0c1cb10a9f.rmeta --extern thiserror=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libthiserror-a23c246119216caa.rmeta --extern threadpool=/var/tmp/portage/sys-block/thin-provisioning-tools-1.0.6/work/thin-provisioning-tools-1.0.6/target/release/deps/libthreadpool-4e53aa2c1ff16579.rmeta`
error[E0432]: unresolved import `std::sync::atomic::AtomicU64`
 --> src/cache/writeback.rs:6:25
  |
6 | use std::sync::atomic::{AtomicU64, Ordering};
  |                         ^^^^^^^^^
  |                         |
  |                         no `AtomicU64` in `sync::atomic`
  |                         help: a similar name exists in the module: `AtomicU32`
 
For more information about this error, try `rustc --explain E0432`.
error: could not compile `thinp` (lib) due to previous error
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-14 03:38:11 UTC
(In reply to matoro from comment #7)
> Stuck on ppc due to missing 64-bit atomics.
> 

Please file a bug for it.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-14 03:39:03 UTC
... or maybe will just mask it there too