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

minimp3-sys: compile error in fedora copr #35

Open
ghost opened this issue Jun 26, 2021 · 4 comments
Open

minimp3-sys: compile error in fedora copr #35

ghost opened this issue Jun 26, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented Jun 26, 2021

https://download.copr.fedorainfracloud.org/results/remilauzier/zemeroth/fedora-rawhide-x86_64/02304837-rust-minimp3-sys/builder-live.log.gz

error: couldn't read examples/../minimp3/vectors/M2L3_bitrate_24_all.bit: No such file or directory (os error 2)
--> examples/example.rs:31:15
|
31 | let mp3 = include_bytes!("../minimp3/vectors/M2L3_bitrate_24_all.bit");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

@germangb
Copy link
Owner

germangb commented Aug 18, 2021

Is the minimp3 original C repo (defined here as a submodule) being cloned as well?

@ghost
Copy link
Author

ghost commented Aug 18, 2021

Fedora take it's source from crates.io so i don't think so. maybe the examples is not include in the publish crates.

@germangb
Copy link
Owner

germangb commented Aug 18, 2021

That file lives in the minimp3 submodule. Is it possible to do a deep clone? I would prefer not to duplicate them.

@germangb
Copy link
Owner

germangb commented Aug 18, 2021

Actually on second thought, if the submodule is to be made optional (#37), I will bundle the test file.

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

1 participant