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

[Bug]: Cannot migrate to core24 because of httpd build errors #2

Open
NucciTheBoss opened this issue May 29, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@NucciTheBoss
Copy link
Member

The ondemand snap cannot migrate to core24 due to httpd build errors. These errors cause the apache part to fail which borks the snap build.

Looking through the logs produced by make, it looks like the problem is caused by a mismatch with the Apache Portable Runtime library and the httpd source code. This webpage has more information on the issue. The TL;DR is that the apu-1-config and apr-1-config binaries mismatch with the httpd source code version - 2.4.58.orig.tar.gz - that I am pulling from the Ubuntu package archive.

Oddly enough, if I run the apache part's override-build scriptlet on a regular 24.04 VM, I do not see the mismatch issue, but when I run the build with snapcraft, I do see the mismatch issue. The issue is present both when building with the core24 LXD builder image and destructive building on a 24.04 VM.

Potential resolution

The potential resolution for this, if I cannot get the libaprutil1-dev and libapr1-dev build-packages to work, is that I can build the Apache Portable Runtime library from source within the snap package. I would just need to use the same approach that I do in the apache part, where I pull the relevant source code from the Ubuntu package archive. Luckily the snap can stay on core22 until 2032.

@NucciTheBoss NucciTheBoss self-assigned this May 29, 2024
@NucciTheBoss NucciTheBoss added the bug Something isn't working label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant