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

Mixxx 2.4 AArch64 flatpak builds fail since PR #12664 #12802

Closed
djantti opened this issue Feb 12, 2024 · 2 comments
Closed

Mixxx 2.4 AArch64 flatpak builds fail since PR #12664 #12802

djantti opened this issue Feb 12, 2024 · 2 comments
Labels

Comments

@djantti
Copy link
Contributor

djantti commented Feb 12, 2024

Bug Description

Hi all! Mixxx 2.4 flatpak builds currently do not succeed on AArch64. On x86_64 everything builds just fine. The problem appeared with Mixxx PR #12664 from a couple of weeks ago and reverting the PR makes AArch64 flatpak builds work again.

The compilation fails with errors like this:

In file included from /run/build/mixxx/src/waveform/renderers/glwaveformrenderersignal.h:3,
                 from /run/build/mixxx/src/waveform/renderers/glvsynctestrenderer.h:3,
                 from /run/build/mixxx/src/waveform/renderers/glvsynctestrenderer.cpp:1:
/run/build/mixxx/src/waveform/renderers/glwaveformrenderer.h:7:59: error: expected class-name before ‘{’ token
    7 | class GLWaveformRenderer : protected QOpenGLFunctions_2_1 {
      |                                                           ^
/run/build/mixxx/src/waveform/renderers/glwaveformrenderer.h: In member function ‘virtual void GLWaveformRenderer::initializeGL()’:
/run/build/mixxx/src/waveform/renderers/glwaveformrenderer.h:10:9: error: ‘initializeOpenGLFunctions’ was not declared in this scope
   10 |         initializeOpenGLFunctions();
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~

This might be related to the fact that Flathub AArch64 org.kde.SDK is built using OpenGL ES2 for Qt Base (-opengl es2), but that's how far the investigation has progressed. Here's a link to the Flathub buildbot log and I've also attached a build log from my local AArch64 build.

https://buildbot.flathub.org/#/builders/9/builds/9015/steps/7/logs/stdio
mixxx_flatpak_aarch64_build.txt

Version

2.4.0

OS

Fedora 39

@djantti djantti added the bug label Feb 12, 2024
Be-ing added a commit to Be-ing/mixxx that referenced this issue Feb 12, 2024
Currently the aarch64 KDE Flatpak runtime is built with
`-opengl es` passed to Qt's configure script. It's questionable
whether that's necessary, but regardless, Mixxx can support Qt
built with that option.
https://invent.kde.org/packaging/flatpak-kde-runtime/-/issues/19

Fixes mixxxdj#12802
Be-ing added a commit to Be-ing/mixxx that referenced this issue Feb 12, 2024
Currently the aarch64 KDE Flatpak runtime is built with
`-opengl es` passed to Qt's configure script. It's questionable
whether that's necessary, but regardless, Mixxx can support Qt
built with that option.
https://invent.kde.org/packaging/flatpak-kde-runtime/-/issues/19

Fixes mixxxdj#12802
@daschuer
Copy link
Member

Pleas check if #12804 fixes the build.

Be-ing added a commit to Be-ing/mixxx that referenced this issue Feb 12, 2024
Currently the aarch64 KDE Flatpak runtime is built with
`-opengl es` passed to Qt's configure script. It's questionable
whether that's necessary, but regardless, Mixxx can support Qt
built with that option.
https://invent.kde.org/packaging/flatpak-kde-runtime/-/issues/19

Fixes mixxxdj#12802
@Be-ing
Copy link
Contributor

Be-ing commented Feb 13, 2024

Fixed by #12804, though that doesn't mean #12803 shouldn't be considered too.

@Be-ing Be-ing closed this as completed Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants