-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
qt5{9,11,12}: better pulseaudio 13 fix, unbreak qt59 #73773
Conversation
Thanks for attempting to fix the build, but it looks like a one digit hash mismatch has slipped through: % nix-build . -A qt59.qtwebengine
these derivations will be built:
/nix/store/0hd255r6i5mqg83wpdna2qkgyz9pw0f2-fix-build-with-pulseaudio-13.0-for-69-based.patch.drv
/nix/store/x58mhgdr9lasrdrkjyn1dhyz62lmfj1s-qtwebengine-5.9.7.drv
building '/nix/store/0hd255r6i5mqg83wpdna2qkgyz9pw0f2-fix-build-with-pulseaudio-13.0-for-69-based.patch.drv'...
trying https://codereview.qt-project.org/gitweb?p=qt/qtwebengine-chromium.git;a=patch;h=94055f1498dd132ba6c1abba782c5b47c07e5108
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4905 100 4905 0 0 24525 0 --:--:-- --:--:-- --:--:-- 24402
hash mismatch in fixed-output derivation '/nix/store/dgg5dcnzfdg688b9qsk4ag0j176zzfyd-fix-build-with-pulseaudio-13.0-for-69-based.patch':
wanted: sha256:0lmvf1v7y55k9q0qgzm5mhggp752ayyb7kxhdxjfxx9yqd3din90
got: sha256:0lmvf0v7y55k9q0qgzm5mhggp752ayyb7kxhdxjfxx9yqd3din90
cannot build derivation '/nix/store/x58mhgdr9lasrdrkjyn1dhyz62lmfj1s-qtwebengine-5.9.7.drv': 1 dependencies couldn't be built
error: build of '/nix/store/x58mhgdr9lasrdrkjyn1dhyz62lmfj1s-qtwebengine-5.9.7.drv' failed |
a928eb5
to
ad93b09
Compare
Whops, haha sorry about that. Should be fixed now :). |
Err, one sec. |
Besides unbreaking qt59.qtwebengine, "better" since this uses official upstream fix for the issue. May have implications about pulseaudio linked vs loaded, in the direction of allowing stub usage (I think). This restores behavior changed in the pulseaudio13 fix that this commit replaces. Fixes NixOS#72384.
ad93b09
to
7bf0903
Compare
Sorry about that, actually fixed now. Doh. Yes the hashes for 511 and 59 patches are the same, at least that's what I'm observing. |
@GrahamcOfBorg build qt512.qtwebengine |
Wouldn't that just make unnecessary conflicts with staging to fix 5.11 and 5.9 when they're removed? Note: I fetched the patch from archlinux when we updated to pulseaudio 13 |
Yes. I think we should just fix 5.12. |
The Qt 5.12 patch is merged upstream in Qt 5.12.6. Qt 5.9 has already been removed. I am going to remove Qt 5.11 because it is end-of-life. Therefore, I don't think this will be needed anymore. |
Motivation for this change
Besides unbreaking qt59.qtwebengine,
"better" since this uses official upstream fix for the issue.
May have implications about pulseaudio linked vs loaded,
in the direction of allowing stub usage (I think).
This restores behavior changed in the pulseaudio13 fix
that this commit replaces.
Fixes #72384.
On staging it appears we've dropped qt59 and qt511,
and actually qt511.qtwebengine.src 404's for me
(but I was able to test using cached copy).
Not sure what that means for these fixes or how/where
they should be sent..
Hence sending to master where the fix is needed.
Have not build-tested all of these, mostly ensured the patches applied
since the fix patch is different (but not functionally) depending
on what version the vendored chromium is 'based on'.
Luckily it looks like 511 can use a patch for a different 'base'
which is good since its base didn't receive this fix.
Anyway, hopefully this has all the pieces needed to address
the build breakage issue, however we choose to proceed.
Also, very sorry for not seeing this fixed sooner!
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)