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

mesa package and sub packages version 24.2.0-r0 causing failing builds in libreoffice #27295

Open
philroche opened this issue Aug 29, 2024 · 4 comments
Labels
help wanted Extra attention is needed squad:foundations

Comments

@philroche
Copy link
Contributor

See libreoffice package update PR @ #26543 with failing builds with error

2024/08/28 15:39:50 INFO checking for eglMakeCurrent in -lEGL... no
2024/08/28 15:39:50 WARN configure: error: libEGL required.
2024/08/28 15:39:50 WARN Error running configure at ./autogen.sh line 321.

I note there was an update to mesa 5 days ago

24.1.5-r0 (4 weeks ago - 2024-07-31 23:42:46 +0000 UTC) in wolfi os repository
24.2.0-r0 (6 days ago - 2024-08-23 02:42:21 +0000 UTC) in wolfi os repository

That update was part of mesa version bump PR #26346

If I revert mesa build time dependencies in the LibreOffice to version 24.1.5-r0 then build does succeed.

diff --git a/libreoffice-24.2.yaml b/libreoffice-24.2.yaml
index 3ef039444..fe57ec5cd 100644
--- a/libreoffice-24.2.yaml
+++ b/libreoffice-24.2.yaml
@@ -91,9 +91,11 @@ environment:
       - libxt-dev
       - libxtst-dev
       - m4
-      - mesa-dev
-      - mesa-egl
-      - mesa-gl
+      - mesa-dev=24.1.5-r0
+      - mesa-egl=24.1.5-r0
+      - mesa-gbm=24.1.5-r0
+      - mesa-gl=24.1.5-r0
+      - mesa-glapi=24.1.5-r0
       - nasm
       - openjdk-17
       - openjdk-17-default-jvm

Is there further changes required when depending on mesa, and subpackages, version 24.2.0-r0 or is this an issue in the new 24.2.0-r0 version? Was there a change in the ABI?

@philroche philroche added squad:foundations help wanted Extra attention is needed labels Aug 29, 2024
@philroche
Copy link
Contributor Author

philroche commented Aug 29, 2024

Related PR #27255 but not a duplicate

@mamccorm
Copy link
Contributor

Also looks like 24.0.1 was cut and automerged a few minutes ago:

Might be worth re-testing libreoffice against 24.0.1

@philroche
Copy link
Contributor Author

Assuming you meant 24.2.1. The same build error with 24.2.1-r0

2024/08/29 12:15:17 WARN configure: error: libEGL required.
2024/08/29 12:15:17 WARN Error running configure at ./autogen.sh line 321.
2024/08/29 12:15:17 ERRO ERROR: failed to build package. the build environment has been preserved:

@philroche
Copy link
Contributor Author

Superseding libreoffice version bump PR #27736 build is failing due to the patch not being able to be applied cleanly but once patch is removed it fails in the same manner as previous version bump PR #26543

2024/09/06 17:04:38 INFO checking for gtk+-3.0 >= 3.20 gtk+-unix-print-3.0 gmodule-no-export-2.0 glib-2.0 >= 2.38 atk >= 2.28.1 cairo... yes
2024/09/06 17:04:38 INFO checking for eglMakeCurrent in -lEGL... no
2024/09/06 17:04:38 WARN configure: error: libEGL required.
2024/09/06 17:04:38 WARN Error running configure at ./autogen.sh line 321.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed squad:foundations
Projects
None yet
Development

No branches or pull requests

2 participants