Package: src:rust-libheif-sys Version: 5.0.0-2 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202601/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:rust-libheif-sys, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem cargo dh_auto_clean -O--buildsystem=cargo debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto = debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True} Removed 0 files dh_autoreconf_clean -O--buildsystem=cargo dh_clean -XCargo.toml.orig -O--buildsystem=cargo debian/rules binary dh binary --buildsystem cargo dh_update_autotools_config -O--buildsystem=cargo dh_autoreconf -O--buildsystem=cargo dh_auto_configure -O--buildsystem=cargo debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto = [... snipped ...] 40 | if #[cfg(feature = "rustc-dep-of-std")] { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `align`, `const-extern-fn`, `default`, `extra_traits`, `std`, and `use_std` = help: consider adding `rustc-dep-of-std` 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: `rustc-dep-of-std` --> /usr/share/cargo/registry/libc-0.2.178/src/unix/mod.rs:425:9 | 425 | feature = "rustc-dep-of-std" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `align`, `const-extern-fn`, `default`, `extra_traits`, `std`, and `use_std` = help: consider adding `rustc-dep-of-std` 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: `rustc-dep-of-std` --> /usr/share/cargo/registry/libc-0.2.178/src/unix/mod.rs:506:48 | 506 | } else if #[cfg(all(target_os = "android", feature = "rustc-dep-of-std"))] { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `align`, `const-extern-fn`, `default`, `extra_traits`, `std`, and `use_std` = help: consider adding `rustc-dep-of-std` 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 libheif-sys v5.0.0+1.20.2 (/<<PKGBUILDDIR>>) Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_sc [too-long-redacted] tem_deps-e210ca50cc9ae6e6.rlib` warning: unexpected `cfg` condition value: `embedded-libheif` --> build.rs:47:7 | 47 | #[cfg(feature = "embedded-libheif")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `latest`, and `v1_20` = help: consider adding `embedded-libheif` 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 = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `use-bindgen` --> build.rs:184:7 | 184 | #[cfg(feature = "use-bindgen")] | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `latest`, and `v1_20` = help: consider adding `use-bindgen` 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: `use-bindgen` --> build.rs:25:11 | 25 | #[cfg(feature = "use-bindgen")] | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `latest`, and `v1_20` = help: consider adding `use-bindgen` 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: `embedded-libheif` --> build.rs:136:11 | 136 | #[cfg(feature = "embedded-libheif")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `latest`, and `v1_20` = help: consider adding `embedded-libheif` 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: `libheif-sys` (build script) generated 4 warnings Running `CARGO=/usr/bin/cargo CARGO_CFG_FEATURE=default [too-long-redacted] 3cf3c4c9c70/build-script-build` [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-changed=build.rs [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-changed=wrapper.h [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-changed=/<<PKGBUILDDIR>>/Cargo.toml [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=LIBHEIF_NO_PKG_CONFIG [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=HOST_PKG_CONFIG [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=DEB_HOST_GNU_TYPE [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=SYSROOT [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=HOST_PKG_CONFIG [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=DEB_HOST_GNU_TYPE [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [libheif-sys 5.0.0+1.20.2] cargo:rustc-link-lib=heif [libheif-sys 5.0.0+1.20.2] cargo:include=/usr/include/x86_64-linux-gnu:/usr/include/webp:/usr/include [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=SYSTEM_DEPS_BUILD_INTERNAL [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=SYSTEM_DEPS_LINK [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=SYSTEM_DEPS_LIBHEIF_LIB [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=SYSTEM_DEPS_LIBHEIF_LIB_FRAMEWORK [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=SYSTEM_DEPS_LIBHEIF_SEARCH_NATIVE [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=SYSTEM_DEPS_LIBHEIF_SEARCH_FRAMEWORK [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=SYSTEM_DEPS_LIBHEIF_INCLUDE [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=SYSTEM_DEPS_LIBHEIF_LDFLAGS [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=SYSTEM_DEPS_LIBHEIF_NO_PKG_CONFIG [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=SYSTEM_DEPS_LIBHEIF_BUILD_INTERNAL [libheif-sys 5.0.0+1.20.2] cargo:rerun-if-env-changed=SYSTEM_DEPS_LIBHEIF_LINK [libheif-sys 5.0.0+1.20.2] [libheif-sys 5.0.0+1.20.2] cargo:rustc-cfg=system_deps_have_libheif Compiling cfg-if v1.0.4 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=cfg_if CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/cfg-if-1.0.4 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/cfg-if-1.0.4/Cargo.toml CARGO_PKG_AUTHORS='Alex Crichton <[email protected]>' CARGO_PKG_DESCRIPTION='A macro to ergonomically define an item depending on a large number of #[cfg] parameters. Structured like an if-else chain, the first matching branch is the item that gets emitted. ' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0 [too-long-redacted] stry=/usr/share/cargo/registry` Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=libheif_ [too-long-redacted] --cfg system_deps_have_libheif` warning: `libc` (lib) generated 8 warnings Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=libheif_ [too-long-redacted] --cfg system_deps_have_libheif` warning: unexpected `cfg` condition value: `use-bindgen` --> src/lib.rs:6:11 | 6 | #[cfg(all(feature = "use-bindgen", not(docsrs)))] | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `latest`, and `v1_20` = help: consider adding `use-bindgen` 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 = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `use-bindgen` --> src/lib.rs:16:17 | 16 | #[cfg(all(test, feature = "use-bindgen", not(docsrs)))] | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `latest`, and `v1_20` = help: consider adding `use-bindgen` 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: `use-bindgen` --> src/lib.rs:10:22 | 10 | if #[cfg(any(not(feature = "use-bindgen"), docsrs))] { | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `latest`, and `v1_20` = help: consider adding `use-bindgen` 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: `v1_19` --> src/bindings/mod.rs:6:14 | 6 | if #[cfg(feature = "v1_19")] { | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `latest`, and `v1_20` = help: consider adding `v1_19` 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: `v1_18` --> src/bindings/mod.rs:9:21 | 9 | } else if #[cfg(feature = "v1_18")] { | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `latest`, and `v1_20` = help: consider adding `v1_18` 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: `v1_17` --> src/bindings/mod.rs:12:21 | 12 | } else if #[cfg(feature = "v1_17")] { | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `latest`, and `v1_20` = help: consider adding `v1_17` 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: `libheif-sys` (lib) generated 6 warnings Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=integrat [too-long-redacted] --cfg system_deps_have_libheif` warning: unexpected `cfg` condition value: `v1_19` --> tests/integration_test.rs:25:20 | 25 | } else if cfg!(feature = "v1_19") { | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `latest`, and `v1_20` = help: consider adding `v1_19` 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 = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `v1_18` --> tests/integration_test.rs:27:20 | 27 | } else if cfg!(feature = "v1_18") { | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `latest`, and `v1_20` = help: consider adding `v1_18` 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: `v1_17` --> tests/integration_test.rs:29:20 | 29 | } else if cfg!(feature = "v1_17") { | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `latest`, and `v1_20` = help: consider adding `v1_17` 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: `libheif-sys` (lib test) generated 6 warnings (6 duplicates) warning: `libheif-sys` (test "integration_test") generated 3 warnings Finished `test` profile [unoptimized + debuginfo] target(s) in 4.97s Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKG [too-long-redacted] s/libheif_sys-4afac9ca29df1152` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKG [too-long-redacted] egration_test-57813ea66bd45f83` running 1 test test create_heic_context ... FAILED failures: ---- create_heic_context stdout ---- thread 'create_heic_context' (385) panicked at tests/integration_test.rs:12:9: assertion failed: version.starts_with(&expected_version) stack backtrace: 0: __rustc::rust_begin_unwind at /usr/src/rustc-1.91.1/library/std/src/panicking.rs:698:5 1: core::panicking::panic_fmt at /usr/src/rustc-1.91.1/library/core/src/panicking.rs:75:14 2: core::panicking::panic at /usr/src/rustc-1.91.1/library/core/src/panicking.rs:145:5 3: integration_test::create_heic_context at /usr/share/cargo/registry/libheif-sys-5.0.0/tests/integration_test.rs:12:9 4: integration_test::create_heic_context::{{closure}} at /usr/share/cargo/registry/libheif-sys-5.0.0/tests/integration_test.rs:7:25 5: core::ops::function::FnOnce::call_once at /usr/src/rustc-1.91.1/library/core/src/ops/function.rs:250:5 6: core::ops::function::FnOnce::call_once at /usr/src/rustc-1.91.1/library/core/src/ops/function.rs:250:5 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. failures: create_heic_context test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s error: test failed, to rerun pass `--test integration_test` dh_auto_test: error: /usr/share/cargo/bin/cargo test --features v1_20 returned exit code 101 make[1]: *** [debian/rules:11: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:3: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

