Open MatthiasGrandl opened 1 year ago
Same issue here.
failed to compile on ubuntu bionic too , here is the result with export RUST_BACKTRACE=full
root@jitstreamer:/JitStreamer# cargo build --release
Compiling plist_plus v0.2.0
Compiling rusty_libimobiledevice v0.1.2
error: failed to run custom build command for `rusty_libimobiledevice v0.1.2`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully: `/JitStreamer/target/release/build/rusty_libimobiledevice-dc77acfd9c51f8ec/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=wrapper.h
cargo:rerun-if-changed=build.rs
cargo:rustc-link-search=native=/JitStreamer/target/release/build/openssl-sys-197df2b98218c9d7/out/openssl-build/install/lib
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /root/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b/rusty_libimobiledevice-0.1.2/build.rs:271:78
stack backtrace:
0: rust_begin_unwind
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:593:5
1: core::panicking::panic_fmt
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/panicking.rs:67:14
2: core::result::unwrap_failed
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/result.rs:1651:5
3: core::result::Result<T,E>::unwrap
4: build_script_build::repo_setup
5: build_script_build::main
6: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `plist_plus v0.2.0`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully: `/JitStreamer/target/release/build/plist_plus-7c82960ab2f975a2/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=wrapper.h
cargo:rerun-if-changed=build.rs
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /root/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b/plist_plus-0.2.0/build.rs:90:78
stack backtrace:
0: rust_begin_unwind
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:593:5
1: core::panicking::panic_fmt
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/panicking.rs:67:14
2: core::result::unwrap_failed
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/result.rs:1651:5
3: core::result::Result<T,E>::unwrap
4: build_script_build::repo_setup
5: build_script_build::main
6: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
root@jitstreamer:/JitStreamer#
root@jitstreamer:/JitStreamer# export RUST_BACKTRACE=full
root@jitstreamer:/JitStreamer# cargo build --release
Compiling plist_plus v0.2.0
Compiling rusty_libimobiledevice v0.1.2
error: failed to run custom build command for `plist_plus v0.2.0`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully: `/JitStreamer/target/release/build/plist_plus-7c82960ab2f975a2/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=wrapper.h
cargo:rerun-if-changed=build.rs
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /root/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b/plist_plus-0.2.0/build.rs:90:78
stack backtrace:
0: 0x556939adc4 - std::backtrace_rs::backtrace::libunwind::trace::hf2b81fde5bdbe7de
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
1: 0x556939adc4 - std::backtrace_rs::backtrace::trace_unsynchronized::hf2809b18b8e81f9d
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x556939adc4 - std::sys_common::backtrace::_print_fmt::h4e525f0a2f5a5b2c
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:65:5
3: 0x556939adc4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hb7ef443bc4e0e4b8
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:44:22
4: 0x55693c0c88 - core::fmt::rt::Argument::fmt::h4efd4296d89c956c
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/fmt/rt.rs:138:9
5: 0x55693c0c88 - core::fmt::write::h9a75e03d2cac3df7
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/fmt/mod.rs:1094:21
6: 0x5569397b88 - std::io::Write::write_fmt::hded513b80ba29008
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/io/mod.rs:1714:15
7: 0x556939ac14 - std::sys_common::backtrace::_print::h51b00dd1670ce8c0
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:47:5
8: 0x556939ac14 - std::sys_common::backtrace::print::h0fea2855b100bc5e
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:34:9
9: 0x556939c35c - std::panicking::default_hook::{{closure}}::hb6a3d7b754bf52ca
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:269:22
10: 0x556939c0ec - std::panicking::default_hook::h6ab33e9430065616
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:288:9
11: 0x556939c900 - std::panicking::rust_panic_with_hook::h04d133cf1fa499b1
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:705:13
12: 0x556939c7c8 - std::panicking::begin_panic_handler::{{closure}}::h3ec13b7c3178f203
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:597:13
13: 0x556939b1f8 - std::sys_common::backtrace::__rust_end_short_backtrace::h613f787a17ce8cc2
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:151:18
14: 0x556939c524 - rust_begin_unwind
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:593:5
15: 0x556901b5e0 - core::panicking::panic_fmt::hd43af82998ccb8f5
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/panicking.rs:67:14
16: 0x556901b918 - core::result::unwrap_failed::h31e469183baa47a6
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/result.rs:1651:5
17: 0x5569043974 - core::result::Result<T,E>::unwrap::h5b52ed5a9d374bed
18: 0x556902269c - build_script_build::repo_setup::hcdc275235fe3803e
19: 0x5569021fb8 - build_script_build::main::h28cc6a9e275c2f96
20: 0x556901c928 - core::ops::function::FnOnce::call_once::h0c359861e849736e
21: 0x556901bd90 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3bfaabbc39ee98d1
22: 0x556901c440 - std::rt::lang_start::{{closure}}::h717ea0a12a04df7d
23: 0x556939315c - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h86deb213bbdfac1c
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/ops/function.rs:284:13
24: 0x556939315c - std::panicking::try::do_call::hca400a8356ac4b86
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:500:40
25: 0x556939315c - std::panicking::try::h235ac834df243de2
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:464:19
26: 0x556939315c - std::panic::catch_unwind::h96e528ccc69abeb7
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panic.rs:142:14
27: 0x556939315c - std::rt::lang_start_internal::{{closure}}::h52c093326ad5bf3c
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/rt.rs:148:48
28: 0x556939315c - std::panicking::try::do_call::h6d6226ec90a037bf
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:500:40
29: 0x556939315c - std::panicking::try::h8fdc180320aed621
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:464:19
30: 0x556939315c - std::panic::catch_unwind::he25b6c67680c54c7
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panic.rs:142:14
31: 0x556939315c - std::rt::lang_start_internal::hb28bd67335885b9b
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/rt.rs:148:20
32: 0x556901c41c - std::rt::lang_start::h215cadcf2831423e
33: 0x55690227b8 - main
34: 0x7f942177a0 - __libc_start_main
35: 0x556901bbac - <unknown>
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `rusty_libimobiledevice v0.1.2`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully: `/JitStreamer/target/release/build/rusty_libimobiledevice-dc77acfd9c51f8ec/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=wrapper.h
cargo:rerun-if-changed=build.rs
cargo:rustc-link-search=native=/JitStreamer/target/release/build/openssl-sys-197df2b98218c9d7/out/openssl-build/install/lib
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /root/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b/rusty_libimobiledevice-0.1.2/build.rs:271:78
stack backtrace:
0: 0x555fa7f0b0 - std::backtrace_rs::backtrace::libunwind::trace::hf2b81fde5bdbe7de
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
1: 0x555fa7f0b0 - std::backtrace_rs::backtrace::trace_unsynchronized::hf2809b18b8e81f9d
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x555fa7f0b0 - std::sys_common::backtrace::_print_fmt::h4e525f0a2f5a5b2c
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:65:5
3: 0x555fa7f0b0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hb7ef443bc4e0e4b8
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:44:22
4: 0x555faa5654 - core::fmt::rt::Argument::fmt::h4efd4296d89c956c
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/fmt/rt.rs:138:9
5: 0x555faa5654 - core::fmt::write::h9a75e03d2cac3df7
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/fmt/mod.rs:1094:21
6: 0x555fa7be74 - std::io::Write::write_fmt::hded513b80ba29008
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/io/mod.rs:1714:15
7: 0x555fa7ef00 - std::sys_common::backtrace::_print::h51b00dd1670ce8c0
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:47:5
8: 0x555fa7ef00 - std::sys_common::backtrace::print::h0fea2855b100bc5e
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:34:9
9: 0x555fa80648 - std::panicking::default_hook::{{closure}}::hb6a3d7b754bf52ca
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:269:22
10: 0x555fa803d8 - std::panicking::default_hook::h6ab33e9430065616
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:288:9
11: 0x555fa80bec - std::panicking::rust_panic_with_hook::h04d133cf1fa499b1
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:705:13
12: 0x555fa80ab4 - std::panicking::begin_panic_handler::{{closure}}::h3ec13b7c3178f203
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:597:13
13: 0x555fa7f4e4 - std::sys_common::backtrace::__rust_end_short_backtrace::h613f787a17ce8cc2
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:151:18
14: 0x555fa80810 - rust_begin_unwind
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:593:5
15: 0x555f6fbc30 - core::panicking::panic_fmt::hd43af82998ccb8f5
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/panicking.rs:67:14
16: 0x555f6fbf68 - core::result::unwrap_failed::h31e469183baa47a6
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/result.rs:1651:5
17: 0x555f7278d8 - core::result::Result<T,E>::unwrap::h5b52ed5a9d374bed
18: 0x555f7037ec - build_script_build::repo_setup::h5aa6812d10d560e8
19: 0x555f700f6c - build_script_build::main::h03430be21ff796a8
20: 0x555f6fd4a8 - core::ops::function::FnOnce::call_once::h91b7dce58fa7a63c
21: 0x555f6fc618 - std::sys_common::backtrace::__rust_begin_short_backtrace::he1de667d59b38ac9
22: 0x555f6fca30 - std::rt::lang_start::{{closure}}::ha638248604b4ceec
23: 0x555fa770c0 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h86deb213bbdfac1c
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/ops/function.rs:284:13
24: 0x555fa770c0 - std::panicking::try::do_call::hca400a8356ac4b86
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:500:40
25: 0x555fa770c0 - std::panicking::try::h235ac834df243de2
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:464:19
26: 0x555fa770c0 - std::panic::catch_unwind::h96e528ccc69abeb7
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panic.rs:142:14
27: 0x555fa770c0 - std::rt::lang_start_internal::{{closure}}::h52c093326ad5bf3c
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/rt.rs:148:48
28: 0x555fa770c0 - std::panicking::try::do_call::h6d6226ec90a037bf
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:500:40
29: 0x555fa770c0 - std::panicking::try::h8fdc180320aed621
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:464:19
30: 0x555fa770c0 - std::panic::catch_unwind::he25b6c67680c54c7
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panic.rs:142:14
31: 0x555fa770c0 - std::rt::lang_start_internal::hb28bd67335885b9b
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/rt.rs:148:20
32: 0x555f6fca0c - std::rt::lang_start::heeeb461983ed5b20
33: 0x555f703908 - main
34: 0x7f93ea77a0 - __libc_start_main
35: 0x555f6fc1fc - <unknown>
JitStreamer isn’t being worked on anymore. Have a look at my Docker image which builds from specific commits but I’m not updating that in the future either. It will break completely in the next version of iOS anyway.
Looks good,It complete complies on my raspberrypi
minimal reproduction in a docker container: