Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo test failed on Debian Buster #9

Closed
kimw opened this issue Jan 4, 2022 · 2 comments
Closed

cargo test failed on Debian Buster #9

kimw opened this issue Jan 4, 2022 · 2 comments

Comments

@kimw
Copy link

kimw commented Jan 4, 2022

The cargo test works fine on Debian Bullseye, but not on Buster. The test reports:

...
test manifest::tests::add_systemd_assets_with_no_config_does_nothing ... ok
test manifest::tests::add_systemd_assets_with_config_adds_unit_assets ... ok
test dependencies::resolve_test ... FAILED

failures:

---- dependencies::resolve_test stdout ----
thread 'dependencies::resolve_test' panicked at 'assertion failed: !deps.iter().any(|d| d.starts_with(\"libgcc\"))', src/dependencies.rs:53:5


failures:
    dependencies::resolve_test

test result: FAILED. 108 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.02s

error: test failed, to rerun pass '--lib'
@kimw
Copy link
Author

kimw commented Jan 5, 2022

The binary build on Bullseye (which the test works fine) depends on,

["libc6 (>= 2.29)", "liblzma5 (>= 5.1.1alpha+20110809)"]

The binary build on Buster (which the test DO NOT work) depends on,

["libc6 (>= 2.18)", "libgcc1 (>= 1:4.2)", "liblzma5 (>= 5.1.1alpha+20110809)"]

The libgcc1 (>= 1:4.2) breaks the test.

@stappersg
Copy link
Contributor

please consider to close this issue @kimw

@kornelski kornelski closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2023
@kornelski kornelski reopened this Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants