-
Notifications
You must be signed in to change notification settings - Fork 352
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
[Bug Report] BLAKE3 Fails To Compile On Linux For No Apparent Reason #427
Comments
I'm not able to reproduce the error you're describing from the files you shared in the Google Drive folder. (I see errors like "cannot find type You included the command that failed above, but you didn't include the error output of that command. Can you repeat the build and see if you can spot the error output? If not, can you include a complete capture of all the build output, so that I can see if I can spot it. Other things that we might need to know:
|
Another point to clarify: Is there anything specific about your own code that's related to the build failure? Or can you trigger the failure purely by building
When I do those steps on my machine, it takes quite a long time to build :) but I don't see any errors. |
Is that not what's in the codeblock I provided? — There wasn't any information proceeding that chunk ov text. The preceding information, with
(You probably already could tell, but no,
Neither
No. — Why would there be?
Yes. |
If any further information is needed, please let me know. This is a very perplexing bug. |
Those int main() {
return 0;
} And then try to compile it like this:
Do you see any output? For me that command succeeds with no output (and creates |
This, for some reason, still causes permission errors... with no apparent explanation.
(I ran this test with both I am able to run it with [Note: the compiled file is owned by root (and has the lock symbol on it), but users with normal privileges can still run it normally.] While I am not quite sure what's causing this behavior, it seems to me that this is more likely a bug with CC/GCC than with BLAKE3. |
Yeah this is definitely a "can't compile C for some reason" issue and not really a BLAKE3 issue, but now you've got me curious what the heck's going on :) It looks like you might've installed some sort of custom compiler, presumably not through your system package manager, but maybe through a |
No(?). The problem with this is... I have no recollection ov installing such a custom compiler — I only ever remember installing Ubuntu, Cargo, and the rest ov the Rust toolchain, which is immensely confusing if I did install a custom version ov CC/GCC.
Weird, My
(I'm not quite sure why Another oddity is that the only item in
It seems like
Should |
the permissions looks good on your directories. its supposed to be owned by root, but since its 755 you can still read all the libraries and file in it, but weirdly the compiler get a permission denied. youll have better change searching for this problem on internet or starting a forum post for your distro. as a quick trick, you can probably pass the problem of permission denied with running |
So, I've been using the Bevy game-engine to work on some fun game ideas I've had – but, after coming back from a long break ov not programming with Bevy, I found out that I could not compile it due to the following error:
I have not experienced this issue before, and the last project I, successfully, built with Bevy was in the version that introduced BLAKE3. — Someone recommended running
cargo clean
then rebuilding, but that did not work.I am using Ubuntu 22.04.4 with Wayland, natively, and I am compiling for the same system.
Here is a shared Google Drive folder sharing the very primitive code I have, to try and replicate the bug: https://drive.google.com/drive/folders/1zx6BmUN7HQKXIgMKCH_F84uPCbJoVpmD.
Please let me know if anymore information is needed.
The text was updated successfully, but these errors were encountered: