-
-
Notifications
You must be signed in to change notification settings - Fork 14k
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
pkgsi686Linux.qt5.qtbase fails to build #63829
Comments
Got the same error when rebuilding my system on nixos-unstable channel relevant log: https://hydra.nixos.org/build/95394915/nixlog/1 |
I think previously this was fixed by using gcc6 instead of gcc7. Something like this for qtbase:
|
I am also having this problem. I have bisected it to 1a6e572 |
I attempted to apply @matthewbauer 's suggestion to only qt packages. The failure is the same. Perhaps a dependency also needs to compile with gcc6? Is there a way to default the i686 packages to gcc6? |
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -7241,7 +7241,7 @@ in
gerbil-unstable = callPackage ../development/compilers/gerbil/unstable.nix { stdenv = gccStdenv; };
gccFun = callPackage ../development/compilers/gcc/7;
- gcc = gcc7;
+ gcc = if stdenv.isi686 then gcc6 else gcc7;
gcc-unwrapped = gcc.cc;
gccStdenv = if stdenv.cc.isGNU then stdenv else stdenv.override { Maybe that would be a usable workaround. EDIT: at least it does make In any case, more in-depth discussion of this was in #36947 |
@vcunat that worked for almost everything. Except packages using
I've overrideAttr the dhcp to confirm. There are ~10 other derivations using that warning. Is it necessary to override each individually? |
@tadeokondrak FWIW, |
@Shados gstreamerSupport in wine cause more problems than solve (concretely -- wrapper with gstreamer specific variables for wine64), but it completely unrelated for this case |
@avnik it is unrelated to the ultimate cause, yes. It is still a useful workaround for the symptom that tadeokondrak was dealing with (being unable to build wine). I mis-judged whether or not that would be clear from context... |
qtbase still fails to build on latest unstable and latest unstable-small. |
@vcunat Perhaps we can use that fix for now? Otherwise I'm not sure how to handle it without breaking something else. |
That might solve on symptom of the problem but not the root cause. |
I was able to compile (almost) the full plasma 5 desktop with:
To get everything to build required some application of: However, while that passes the plasma5 test on my branch I can't actually get plasma to run on my desktop. Nor can I get many QT apps to run. Those issues may be regressions from #64720 until that's verified I'm reluctant to open a PR with those workarounds. Tho compiling and failing is better than not compiling for dev I suppose... |
Issue description
Seems to be related to #36946/#36947. Makes it so I can't use
wine
, which depends on it for some reasonSteps to reproduce
nix-build '<nixpkgs>' -A pkgsi686Linux.qt5.qtbase
Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste theresults.
"x86_64-linux"
Linux 5.1.15, NixOS, 19.09.git.5500538 (Loris)
yes
yes
nix-env (Nix) 2.2.2
/etc/nixos/nixpkgs
The text was updated successfully, but these errors were encountered: