• Bug#1102986: rust-opendal: FTBFS on armel: error[E0432]: unresolved imp

    From Sebastian Ramacher@21:1/5 to All on Sun Apr 13 16:10:01 2025
    Source: rust-opendal
    Version: 0.52.0-1
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: [email protected]

    Dear maintainer,

    rust-opendal fails to build on armel:

    https://buildd.debian.org/status/fetch.php?pkg=rust-opendal&arch=armel&ver=0.52.0-1&stamp=1744541709&raw=0

    warning: unexpected `cfg` condition value: `http3`
    --> /usr/share/cargo/registry/reqwest-0.12.15/src/tls.rs:591:48
    |
    591 | #[cfg(all(feature = "default-tls", not(feature = "http3")))]
    | ^^^^^^^^^^-------
    | |
    | help: there is a expected value with a similar name: `"http2"`
    |
    = note: expected values for `feature` are: `__rustls`, `__rustls-ring`, `__tls`, `blocking`, `brotli`, `charset`, `cookies`, `default`, `default-tls`, `deflate`, `gzip`, `h2`, `hickory-dns`, `http2`, `json`, `multipart`, `native-tls`, `native-tls-
    alpn`, `rustls-tls`, `rustls-tls-manual-roots`, `rustls-tls-manual-roots-no-provider`, `rustls-tls-native-roots`, `rustls-tls-native-roots-no-provider`, `rustls-tls-no-provider`, `socks`, `stream`, `trust-dns`, and `zstd`
    = help: consider adding `http3` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

    warning: unexpected `cfg` condition value: `http3`
    --> /usr/share/cargo/registry/reqwest-0.12.15/src/tls.rs:598:13
    |
    598 | feature = "http3"
    | ^^^^^^^^^^-------
    | |
    | help: there is a expected value with a similar name: `"http2"`
    |
    = note: expected values for `feature` are: `__rustls`, `__rustls-ring`, `__tls`, `blocking`, `brotli`, `charset`, `cookies`, `default`, `default-tls`, `deflate`, `gzip`, `h2`, `hickory-dns`, `http2`, `json`, `multipart`, `native-tls`, `native-tls-
    alpn`, `rustls-tls`, `rustls-tls-manual-roots`, `rustls-tls-manual-roots-no-provider`, `rustls-tls-native-roots`, `rustls-tls-native-roots-no-provider`, `rustls-tls-no-provider`, `socks`, `stream`, `trust-dns`, and `zstd`
    = help: consider adding `http3` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

    Compiling opendal v0.52.0 (/build/reproducible-path/rust-opendal-0.52.0)
    Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=opendal CARGO_MANIFEST_DIR=/build/reproducible-path/rust-opendal-0.52.0 CARGO_MANIFEST_PATH=/build/reproducible-path/rust-opendal-0.52.0/Cargo.toml CARGO_PKG_AUTHORS='Apache OpenDAL <[email protected].
    ' CARGO_PKG_DESCRIPTION='Apache OpenDALâ„¢: One Layer, All Storage.' CARGO_PKG_HOMEPAGE='https://opendal.apache.org/' CARGO_PKG_LICENSE=Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=opendal CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https:
    //github.com/apache/opendal' CARGO_PKG_RUST_VERSION=1.75 CARGO_PKG_VERSION=0.52.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=52 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/build/reproducible-path/
    rust-opendal-0.52.0/target/debug/deps rustc --crate-name opendal --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 '--
    warn=clippy::unused_async' --cfg 'feature="default"' --cfg 'feature="executors-tokio"' --cfg 'feature="services-memory"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("async-tls", "default", "executors-tokio", "flume", "internal-tokio-
    rt", "layers-async-backtrace", "layers-blocking", "layers-chaos", "layers-dtrace", "layers-mime-guess", "layers-prometheus", "layers-prometheus-client", "layers-tracing", "openssh", "openssh-sftp-client", "services-aliyun-drive", "services-alluxio", "
    services-azblob", "services-azdls", "services-azfile", "services-b2", "services-cacache", "services-chainsafe", "services-cloudflare-kv", "services-cos", "services-d1", "services-dashmap", "services-dbfs", "services-dropbox", "services-fs", "services-gcs"
    , "services-github", "services-http", "services-huggingface", "services-ipfs", "services-ipmfs", "services-koofr", "services-lakefs", "services-memory", "services-mysql", "services-obs", "services-onedrive", "services-oss", "services-pcloud", "services-
    postgresql", "services-rocksdb", "services-s3", "services-seafile", "services-sqlite", "services-supabase", "services-swift", "services-upyun", "services-vercel-artifacts", "services-vercel-blob", "services-webdav", "services-webhdfs", "services-yandex-
    disk", "tests"))' -C metadata=0f5baffa07a23629 -C extra-filename=-52263b1ec78742f0 --out-dir /build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps --target armv5te-unknown-linux-gnueabi -C incremental=/build/
    reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/incremental -L dependency=/build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps -L dependency=/build/reproducible-path/rust-opendal-0.
    52.0/target/debug/deps --extern anyhow=/build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps/libanyhow-da6e76cb5dec2a1f.rmeta --extern async_trait=/build/reproducible-path/rust-opendal-0.52.0/target/debug/deps/
    libasync_trait-52e2e155543aa5d6.so --extern backon=/build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps/libbackon-33c761e21d964f27.rmeta --extern base64=/build/reproducible-path/rust-opendal-0.52.0/target/armv5te-
    unknown-linux-gnueabi/debug/deps/libbase64-8396a14893d639ec.rmeta --extern bytes=/build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps/libbytes-b0ba9b7c0ed6c6e7.rmeta --extern chrono=/build/reproducible-path/rust-
    opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps/libchrono-1320492b22e4822f.rmeta --extern futures=/build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps/libfutures-19fcd4337f1da9aa.rmeta --extern http=/
    build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps/libhttp-31ed6f46af15e15c.rmeta --extern log=/build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps/liblog-988b22fb80d38224.
    rmeta --extern md5=/build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps/libmd5-52202397d41e51c8.rmeta --extern once_cell=/build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps/
    libonce_cell-af7decb1594dacba.rmeta --extern percent_encoding=/build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps/libpercent_encoding-319cfa94461f704a.rmeta --extern quick_xml=/build/reproducible-path/rust-opendal-
    0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps/libquick_xml-ff3a05750c31383f.rmeta --extern reqwest=/build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps/libreqwest-c76a87417ecb96d6.rmeta --extern serde=/
    build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps/libserde-b7e7d62f65e3443e.rmeta --extern serde_json=/build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps/libserde_json-
    056c8d7a942ab7e3.rmeta --extern tokio=/build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/deps/libtokio-3c45c5d5f99c4deb.rmeta --extern uuid=/build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-
    gnueabi/debug/deps/libuuid-48ea594bb7e20d93.rmeta -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabi-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /build/reproducible-path/rust-opendal-0.52.0=/usr/share/cargo/registry/opendal-0.
    52.0 --remap-path-prefix /build/reproducible-path/rust-opendal-0.52.0/debian/cargo_registry=/usr/share/cargo/registry -L native=/build/reproducible-path/rust-opendal-0.52.0/target/armv5te-unknown-linux-gnueabi/debug/build/ring-c2272e25784d3edb/out`
    warning: `rustls` (lib) generated 24 warnings
    warning: `quick-xml` (lib) generated 2 warnings
    error[E0432]: unresolved import `std::sync::atomic::AtomicU64`
    --> src/raw/atomic_util.rs:18:5
    |
    18 | use std::sync::atomic::AtomicU64;
    | ^^^^^^^^^^^^^^^^^^^---------
    | | |
    | | help: a similar name exists in the module: `AtomicU32`
    | no `AtomicU64` in `sync::atomic`

    Cheers
    --
    Sebastian Ramacher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Fri Jul 4 08:00:02 2025
    This is a multi-part message in MIME format...

    Your message dated Fri, 04 Jul 2025 05:49:05 +0000
    with message-id <[email protected]>
    and subject line Bug#1102986: fixed in rust-opendal 0.52.0-2
    has caused the Debian Bug report #1102986,
    regarding rust-opendal: FTBFS on armel: error[E0432]: unresolved import `std::sync::atomic::AtomicU64`
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected]
    immediately.)


    --
    1102986: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102986
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 13 Apr 2025 14:04:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-105.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 118; hammy, 150; neutral, 224; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <[email protected]>
    Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]