Skip to content
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

libsForQt514.qt5.qtwebengine fails to build on master #169996

Closed
gador opened this issue Apr 23, 2022 · 2 comments
Closed

libsForQt514.qt5.qtwebengine fails to build on master #169996

gador opened this issue Apr 23, 2022 · 2 comments
Labels
0.kind: bug Something is broken 0.kind: build failure A package fails to build 6.topic: qt/kde

Comments

@gador
Copy link
Member

gador commented Apr 23, 2022

Describe the bug

libsForQt514.qt5.qtwebengine currently fails to build locally and on hydra.
Build log on hydra

The interessting line seems to be:

/nix/store/m2vh2ny7bqpwij1gpmvl5gxj7y4dgr4f-binutils-2.38/bin/ld: /nix/store/ggj5c9a57qs8i83rxwv34hiz7jgm8hml-x265-3.5/lib/libx265.so.199: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
collect2: error: ld returned 1 exit status

The last successful build on hydra was linked to e111881. After that it seems to fail (starting with ba88a5a)

Bisecting takes forever. I would hazard a guess that it has to do with 95af224 and PR #168737 which broke some other packages as well.

EDIT:

# git bisect --first-parent
95af2245a32f8e1310ad4e3bf50b76d86ddbbc0a is the first bad commit
commit 95af2245a32f8e1310ad4e3bf50b76d86ddbbc0a
Merge: 212dde2609b 70d726c2a51
Author: Martin Weinelt <mweinelt@users.noreply.github.com>
Date:   Sun Apr 17 20:38:16 2022 +0200

EDIT2:
The error seems to stem from the c++ upgrade. The error message is referenced e.g. here JuliaLang/julia#40703.

Steps To Reproduce

Steps to reproduce the behavior:

  1. checkout nixpkgs master
  2. nix-build -A libsForQt514.qt5.qtwebengine .

Expected behavior

Build should succeed.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Notify maintainers

@matthewbauer

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
 - host os: `Linux 5.15.34, NixOS, 22.05 (Quokka), 22.05.20220417.862c63f`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.7.0`
 - channels(root): `"nixos, nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@gador gador added 0.kind: bug Something is broken 0.kind: build failure A package fails to build labels Apr 23, 2022
gador added a commit to gador/nixpkgs that referenced this issue Apr 24, 2022
use qt5.15 LTS instead of 5.14 for packages currently
not building due to broken qtwebengine 5.14
(see NixOS#169996)

packages were checked on hydra and if broken, tried to build
with qt 5.15. If this succeeded, they were upgraded here.

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
@vcunat
Copy link
Member

vcunat commented Apr 24, 2022

It's most likely due to mixing gcc versions, as that's not 100% compatible in C++. qt514 (and qt512) get overridden to gcc10, whereas the default is gcc11. (For x86_64-linux; some others have other combinations.)

@wegank
Copy link
Member

wegank commented Jan 15, 2023

Closing since libsForQt514 was removed from master.

@wegank wegank closed this as completed Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 0.kind: build failure A package fails to build 6.topic: qt/kde
Projects
None yet
Development

No branches or pull requests

4 participants