Skip to content

add patch for Qt6 6.7.2 to fix issue with gperf>3.1, add build dependency on libglvnd (for KHR/khrplatform.h), add configure option to disable sysroot for CMake#24356

Merged
Micket merged 5 commits intoeasybuilders:developfrom
ocaisa:20251023195220_new_pr_Qt6672
Oct 27, 2025
Merged

add patch for Qt6 6.7.2 to fix issue with gperf>3.1, add build dependency on libglvnd (for KHR/khrplatform.h), add configure option to disable sysroot for CMake#24356
Micket merged 5 commits intoeasybuilders:developfrom
ocaisa:20251023195220_new_pr_Qt6672

Conversation

@ocaisa
Copy link
Copy Markdown
Member

@ocaisa ocaisa commented Oct 23, 2025

This dependency can be seen under certain conditions:

-- Configuring submodule 'qtwebengine'
[QtWebEngine] -- Checking 'ulimit -n'
[QtWebEngine]  -- Open files limit 131072
[QtWebEngine] -- Support check for QtWebEngine failed: Build requires Khronos development headers for build - see mesa/libegl1-mesa-dev
[QtWebEngine] -- Support check for QtPdf failed: Build requires Khronos development headers for build - see mesa/libegl1-mesa-dev

If using CPATH for include paths it can silently succeed as libglvnd is an implicit dependency.

@Thyre Thyre added bug fix 2024a issues & PRs related to 2024a common toolchains and removed change labels Oct 23, 2025
Micket
Micket previously approved these changes Oct 24, 2025
Copy link
Copy Markdown
Contributor

@Micket Micket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

I'm surprised Qt just doesn't straight up have a Mesa/OpenGL dep...

@Micket Micket added this to the next release (5.2.0?) milestone Oct 24, 2025
@ocaisa
Copy link
Copy Markdown
Member Author

ocaisa commented Oct 24, 2025

It does in the latest toolchain, the missing header is pulled in as a component of OpenGL

@ocaisa ocaisa marked this pull request as draft October 25, 2025 05:37
@ocaisa
Copy link
Copy Markdown
Member Author

ocaisa commented Oct 25, 2025

I don't want to have this merged until I get a confirmed successful build in EESSI/software-layer#1261

@ocaisa
Copy link
Copy Markdown
Member Author

ocaisa commented Oct 25, 2025

@boegelbot please test @ jsc-zen3

@ocaisa ocaisa changed the title Qt6 6.7.2 has (at least) a build dependency on libglvnd for KHR/khrplatform.h Qt6 6.7.2 has (at least) a build dependency on libglvnd for KHR/khrplatform.h, requires a patch for gperf>3.1, shouldn't set sysroot for CMake Oct 25, 2025
@boegelbot
Copy link
Copy Markdown
Collaborator

@ocaisa: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=24356 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_24356 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 8543

Test results coming soon (I hope)...

Details

- notification for comment with ID 3445981188 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
FAILED
Build succeeded for 1 out of 3 (3 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.6, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/e5e0b4e2877293c56773f251bb95c7c1 for a full test report.

@ocaisa ocaisa marked this pull request as ready for review October 25, 2025 13:15
@ocaisa
Copy link
Copy Markdown
Member Author

ocaisa commented Oct 25, 2025

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Copy Markdown
Collaborator

@ocaisa: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=24356 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_24356 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 8547

Test results coming soon (I hope)...

Details

- notification for comment with ID 3446700341 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 3 out of 3 (3 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.6, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/a70c348e9ca36e984afba3906035dabf for a full test report.

Copy link
Copy Markdown
Contributor

@Micket Micket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Micket Micket merged commit c057c32 into easybuilders:develop Oct 27, 2025
8 checks passed
@boegel boegel changed the title Qt6 6.7.2 has (at least) a build dependency on libglvnd for KHR/khrplatform.h, requires a patch for gperf>3.1, shouldn't set sysroot for CMake add patch for Qt6 6.7.2 to fix issue with gperf>3.1, add build dependency on libglvnd (for KHR/khrplatform.h), add configure option to disable sysroot for CMake Dec 19, 2025
@boegel boegel removed the change label Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2024a issues & PRs related to 2024a common toolchains bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants