-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
gnuradio3_8: fix build #348477
gnuradio3_8: fix build #348477
Conversation
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.
Hello and thanks for making an effort to fix this :). Due to the qwt
passthru inherit, ofborg evaluation failed and I wasn't called for a review by ofborg. I will fix these issues in #349079 which already triggers a rebuild of gnuradio.
@@ -268,7 +268,7 @@ stdenv.mkDerivation (finalAttrs: (shared // { | |||
} // lib.optionalAttrs (hasFeature "gr-uhd") { | |||
inherit uhd; | |||
} // lib.optionalAttrs (hasFeature "gr-qtgui") { | |||
inherit (libsForQt5) qwt; | |||
inherit (libsForQt5) qwt6_1; |
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.
inherit (libsForQt5) qwt6_1; | |
qwt = qwt6_1; |
swig3 = ((swig.overrideAttrs (old: rec { | ||
version = "3.0.12"; | ||
src = fetchFromGitHub { | ||
owner = "swig"; | ||
repo = "swig"; | ||
rev = "rel-${version}"; | ||
sha256 = "1wyffskbkzj5zyhjnnpip80xzsjcr3p0q5486z3wdwabnysnhn8n"; | ||
}; | ||
})).override | ||
{ pcre2 = pcre; }); |
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.
Aish, swig3 was just dropped in bfab6b0f8386 (#341384) . How did you conclude that swig3 is needed? I just built it locally without this swig3 commit.
@@ -83,7 +95,7 @@ let | |||
python-support = { | |||
pythonRuntime = [ python.pkgs.six ]; | |||
native = [ | |||
swig | |||
swig3 |
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.
This also requires changing the swig
that is passed to the gnuradio3_8Packages
...
Closed in favor of #349079 . |
The gnuradio3_8 package currently fails to build because of an incompatible qwt version:
This change introduced the issue: #312289
Using qwt6_1 instead fixes this Problem
A recent upgrade of the swig package from swig3 to swig4 (#337624) also introduced issues resulting in the package tests not running correctly.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.