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
libbladeRF: unbreak the build #108595
libbladeRF: unbreak the build #108595
Conversation
Result of 4 packages failed to build:
12 packages built:
|
Failed packages are due to python2.7-cffi failing to build. Looking at the patch, it should not break anything that is not yet broken. |
fae433e
to
ca2e418
Compare
# The default of libbladeRF, -Werror, is meant for development where there is | ||
# control over the compiler, but in nixpkgs we want to update gcc without | ||
# breaking half the packages due to warnings. | ||
NIX_CFLAGS_COMPILE = [ "-Wno-error" ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this if we have the patch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should do one of the things: the patch or removing -Werror.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. Please you or somebody else make the call, I'm not experienced enough with our conventions. :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because the patch is upstream I would prefer it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, thanks, I'll force-push accordingly in a second. :-)
This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch) Result of 4 packages failed to build and are new build failures:
12 packages built:
build failures are unrelated and due to python 2.7 cffi not building which is fixed on staging next IIRC. |
This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch) Result of 4 packages marked as broken and skipped:
1 package built:
|
ca2e418
to
101e907
Compare
Motivation for this change
In current master, libbladeRF is broken because of a (well-justified) compiler warning which breaks the build because we compile with
-Werror
. The problem has already been fixed in the upstream repository, this pull request cherrypicks the relevant commit.Be aware that while I tested compilation, I didn't test functionality of libbladeRF. In fact, I don't even know whtat libbladeRF is about.
Closes #108585
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)