You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The
ondemand
snap cannot migrate tocore24
due to httpd build errors. These errors cause theapache
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 theapu-1-config
andapr-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
andlibapr1-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.The text was updated successfully, but these errors were encountered: