Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874747 - dev-util/maturin-0.13.5 - error[E0432]: unresolved import `std::sync::atomic::AtomicU64` --> /var/tmp/portage/dev-util/maturin-0.13.5/work/cargo_home/gentoo/indicatif-0.17.1/src/state.rs:2:25
Summary: dev-util/maturin-0.13.5 - error[E0432]: unresolved import `std::sync::atomic:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal
Assignee: Gentoo Rust Project
URL: https://github.com/PyO3/maturin/issue...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-03 19:13 UTC by ernsteiswuerfel
Modified: 2022-10-08 06:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (ppc, 0.13.5) (maturin-0.13.5:20221003-185436.log,190.40 KB, text/plain)
2022-10-03 19:13 UTC, ernsteiswuerfel
Details
emerge --info (file_874747.txt,6.33 KB, text/plain)
2022-10-03 19:13 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2022-10-03 19:13:01 UTC
Created attachment 818299 [details]
build.log (ppc, 0.13.5)

[...]
     Running `rustc --crate-name indicatif --edition=2018 /var/tmp/portage/dev-util/maturin-0.13.5/work/cargo_home/gentoo/indicatif-0.17.1/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 --cfg 'feature="default"' --cfg 'feature="unicode-width"' -C metadata=950b70440d877d95 -C extra-filename=-950b70440d877d95 --out-dir /var/tmp/portage/dev-util/maturin-0.13.5/work/maturin-0.13.5/target/release/deps -L dependency=/var/tmp/portage/dev-util/maturin-0.13.5/work/maturin-0.13.5/target/release/deps --extern console=/var/tmp/portage/dev-util/maturin-0.13.5/work/maturin-0.13.5/target/release/deps/libconsole-ced9f6131912628e.rmeta --extern number_prefix=/var/tmp/portage/dev-util/maturin-0.13.5/work/maturin-0.13.5/target/release/deps/libnumber_prefix-1fa2a1ef222c6bf4.rmeta --extern unicode_width=/var/tmp/portage/dev-util/maturin-0.13.5/work/maturin-0.13.5/target/release/deps/libunicode_width-4fb7c7af4ffa0b5d.rmeta --cap-lints allow -C target-cpu=7450`
error[E0432]: unresolved import `std::sync::atomic::AtomicU64`
 --> /var/tmp/portage/dev-util/maturin-0.13.5/work/cargo_home/gentoo/indicatif-0.17.1/src/state.rs:2:25
  |
2 | use std::sync::atomic::{AtomicU64, AtomicU8, Ordering};
  |                         ^^^^^^^^^
  |                         |
  |                         no `AtomicU64` in `sync::atomic`
  |                         help: a similar name exists in the module: `AtomicU8`

For more information about this error, try `rustc --explain E0432`.
error: could not compile `indicatif` due to previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name indicatif --edition=2018 /var/tmp/portage/dev-util/maturin-0.13.5/work/cargo_home/gentoo/indicatif-0.17.1/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 --cfg 'feature="default"' --cfg 'feature="unicode-width"' -C metadata=950b70440d877d95 -C extra-filename=-950b70440d877d95 --out-dir /var/tmp/portage/dev-util/maturin-0.13.5/work/maturin-0.13.5/target/release/deps -L dependency=/var/tmp/portage/dev-util/maturin-0.13.5/work/maturin-0.13.5/target/release/deps --extern console=/var/tmp/portage/dev-util/maturin-0.13.5/work/maturin-0.13.5/target/release/deps/libconsole-ced9f6131912628e.rmeta --extern number_prefix=/var/tmp/portage/dev-util/maturin-0.13.5/work/maturin-0.13.5/target/release/deps/libnumber_prefix-1fa2a1ef222c6bf4.rmeta --extern unicode_width=/var/tmp/portage/dev-util/maturin-0.13.5/work/maturin-0.13.5/target/release/deps/libunicode_width-4fb7c7af4ffa0b5d.rmeta --cap-lints allow -C target-cpu=7450` (exit status: 1)
error: `cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --no-default-features --features=upload,log,human-panic` failed with code 101
 * ERROR: dev-util/maturin-0.13.5::gentoo failed (compile phase):
 *   Wheel build failed
Comment 1 ernsteiswuerfel archtester 2022-10-03 19:13:34 UTC
Created attachment 818302 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-10-03 19:27:25 UTC
The bug has been referenced in the following commit(s):

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

commit f91367ac3fa0ef4a6d6242eb456f362604230e7c
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-03 19:22:42 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-03 19:22:42 +0000

    Revert "dev-util/maturin: drop 0.13.2"
    
    This reverts commit f972c30073490da0ef37134d6fba61ae0b1591bf.
    
    Still not keyworded for it, but potentially last version working
    with ppc32 due to changes in indicatiff crate.
    
    Bug: https://bugs.gentoo.org/874747
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-util/maturin/Manifest                          |  61 +++
 .../maturin/files/maturin-0.12.8-zig-tests.patch   |  18 +
 dev-util/maturin/maturin-0.13.2.ebuild             | 434 +++++++++++++++++++++
 3 files changed, 513 insertions(+)
Comment 3 Ionen Wolkens gentoo-dev 2022-10-03 22:20:47 UTC
Sounds like should be broken for at least ~arm as well.
Comment 4 Larry the Git Cow gentoo-dev 2022-10-03 22:35:32 UTC
The bug has been referenced in the following commit(s):

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

commit d3e842994a1bd4d3fb69759c6d2728632e636f92
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-03 22:21:58 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-03 22:34:01 +0000

    dev-util/maturin: drop ~arm from >=0.13.3
    
    Possible other arches are affected, feel free to drop if run
    into this.
    
    Will get a restore request going when indicatif crate issues
    are resolved.
    
    Bug: https://bugs.gentoo.org/874747
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-util/maturin/maturin-0.13.3.ebuild | 2 +-
 dev-util/maturin/maturin-0.13.5.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2022-10-08 06:02:48 UTC
The bug has been closed via the following commit(s):

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

commit a91980711694799229e39999b514c3accf99fd44
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-08 05:32:11 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-08 05:58:35 +0000

    dev-util/maturin: add 0.13.6
    
    reverted to previous known-working indicatif crate wrt #874747
    
    Closes: https://bugs.gentoo.org/874747
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-util/maturin/Manifest              |  31 +++
 dev-util/maturin/maturin-0.13.6.ebuild | 444 +++++++++++++++++++++++++++++++++
 2 files changed, 475 insertions(+)