-
Notifications
You must be signed in to change notification settings - Fork 85
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
Build problem: cannot find -lc++ #772
Comments
@0-wiz-0 can you try adding |
Thanks for the suggestion, but no, this doesn't help. |
Worth a try 😞 |
Could it be To validate, can you run If the build script for |
Yes, that test with unrar fails too. So I guess I'll have to report it there. Thanks. |
Nice, @0-wiz-0 even if that's fixed, would you need me to make a new assets release, or are you packaging "from source"? EDIT: based on the name, I assume pkgsrc builds from source. |
pkgsrc builds from source, but we like to package releases, so a new release would be nice. |
I submitted a patch upstream, and it was merged, and there are new releases of The tests are another matter though, I'll attach the log - quite a bit of failures. |
Tests are OK locally for me. Similar to the previous case, now this is looking like a problem with the Can you try the examples at https://github.com/sstadick/gzp/blob/main/examples Or this example here: use std::{fs::File, io::Write};
use gzp::{deflate::Gzip, par::compress::ParCompress};
fn main() {
let path = "/tmp/data.gz";
let mut xorshift: u32 = 1;
// 1MB of "random" data
let buf: Vec<u8> = (0..1024 * 1024)
.map(|_| {
// Marsaglia, "Xorshift RNGs"
xorshift ^= xorshift << 13;
xorshift ^= xorshift >> 17;
xorshift ^= xorshift << 5;
xorshift as u8
})
.collect();
let file = File::create(path).unwrap();
let mut writer = ParCompress::<Gzip>::builder().from_writer(file);
writer.write_all(&buf).unwrap();
writer.flush().unwrap();
println!("ok, file is at {path}");
} With this
(You can change the path I picked for the file before running.) If I got this right, it should fail again. |
There was a problem in core_affinity_rs, which is now fixed, and both it and gzp have a new release.
Please run |
Thanks for taking this journey, did the |
Thank you, and thanks for the help! |
Version
0.5.1, but also ecc05cd
Description
I've tried packaging this for pkgsrc. My test system is a NetBSD-10.99.12/x86_64.
The build seems to mostly work fine, but at the end, linking fails with:
My system does not provide a
libc++
library, but it has alibstdc++
one. I think that is quite common, so I wonder if there's some code that checks for this and just doesn't trigger correctly on my system.Current Behavior
Linking fails, see above.
Expected Behavior
Linking succeeds.
Additional Information
No response
The text was updated successfully, but these errors were encountered: