-
Notifications
You must be signed in to change notification settings - Fork 19
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
"cc1plus: some warnings being treated as errors" #134
Comments
Here's my build log: https://gist.github.com/rykugur/5624d7defeca2624e5e4bc76e3361191 |
For reference I also started a discussion in the nixOS forums here |
Good call... I was originally on the latest version, but that was when I first tried building this... I should have checked before making this post. 🤦 That got me further (at least no errors yet); probably need to tinker a bit more, but it's a definite improvement. Thanks! EDIT: Wanted to follow up quick: I was able to build manually. Just missing a few system libs before I can run, but that's no big deal. |
Sorry to close/reopen. I was getting a weird error, but was able to figure it out. For posterity, it was:
I didn't see I then ran into the p7zip couldn't be found issue. I was able to get around it temporarily by editing the conf.mdf file and hard-coding the path, but that "isn't really the nix way" and likely wouldn't work if I were try to import this into my nix config. I'll dig around and see if I can find a more permanent (declarative) solution. |
@rykugur did you find the solution for that? |
I eventually got it working in nixOS - here's my derivation. Hope that helps. |
Describe the bug
Trying to build on nixOS and getting numerous warnings in the logs, and eventual failure with error: "cc1plus: some warnings being treated as errors"
Error message
A lamp error message from the logs, or the one on screen.
"cc1plus: some warnings being treated as errors"
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Lampray to build without failure.
Screenshots
N/A
System Info (please complete the following information):
Additional context
I'm relatively new to nixOS. Lampray was working for me on endeavourOS (installed via the AUR), but I cannot for the life of me get it to build on nixOS. Somebody responded to another issue here (#117 (comment)) (hence the
cmakeFlags
I added to my derivation), but no joy.The text was updated successfully, but these errors were encountered: