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

Qt5/5.15.5-GCCcore-11.3.0 fails to build on Ubuntu 22.04 #17059

Closed
bedroge opened this issue Jan 6, 2023 · 2 comments · Fixed by #17165
Closed

Qt5/5.15.5-GCCcore-11.3.0 fails to build on Ubuntu 22.04 #17059

bedroge opened this issue Jan 6, 2023 · 2 comments · Fixed by #17165
Milestone

Comments

@bedroge
Copy link
Contributor

bedroge commented Jan 6, 2023

During the build of Qt5/5.15.5-GCCcore-11.3.0 on my Ubuntu 22.04 system, I got the following error:

/failure_signal_handler.cc: In function 'bool absl::SetupAlternateStackOnce()':
../../../../git/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc:138:32: error: no matching function for call to 'max(long int, int)'

Apparently, it's related to the glibc version:
https://bugs.gentoo.org/811312
That bug report also contains two patches, and they solved the issue for me. I don't know if it makes sense to always include them in the easyconfig, but at least I wanted to report the issue here in case other people run into the same issue.

@boegel boegel added this to the next release (4.7.1?) milestone Jan 18, 2023
@boegel
Copy link
Member

boegel commented Jan 18, 2023

@bedroge Do you mind opening a PR to add those patches, so we can test on other operating systems too?

As long as the patches don't cause trouble with older glibc version, we can always include them (cfr. #13730)

@bedroge
Copy link
Contributor Author

bedroge commented Jan 20, 2023

@bedroge Do you mind opening a PR to add those patches, so we can test on other operating systems too?

As long as the patches don't cause trouble with older glibc version, we can always include them (cfr. #13730)

@boegel: done in #17165.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants