Compare the Provides and Requires of a flatpak /app build with dola, e.g.: https://koji.fedoraproject.org/koji/rpminfo?rpmID=44601293 to that of a regular /usr build: https://koji.fedoraproject.org/koji/rpminfo?rpmID=43810033 The apparent reason would be that search paths are hard-coded in the dola sources, and only /usr paths are included. This is breaking all flatpak builds of Java libraries which have been converted to dola, where this was working just fine with javapackages-tools. Either /app paths corresponding to the supported /usr paths need to be added to each hard-coded search path, or some way to configure this (e.g. through the installation of a config file) specifically for flatpak builds. Reproducible: Always
Thank you for raising this issue. Our team is currently focused on other planned work and cannot take on new requests right away. If you believe this is urgent, please contact Lukas Nykryn (CC’d here), as he is responsible for deciding priorities. Otherwise, the request will be reviewed alongside others in the future, but there’s no set timeline for when it might be addressed.
Hi, what about the installed files, like `/usr/share/maven-metadata/apache-commons-cli.xml`? Should they also be prefixed with `/app` in the flatpak build?
They don't need to unless it will make things easier, which it didn't in previous versions. We don't need the files to be included in the flatpak, but we *do* need the proper provides/requires to be generated as they are in regular builds.
I am not familiar with building flatpaks. Could you please provide build commands reproducing the build?
More specifically, this is regarding building Java-based RPMs to include in flatpaks. So, in the dist-git directory of such a package (e.g. apache-commons-cli), run: fedpkg scratch-build --target f43-flatpak-app [--srpm]
Posted a PR upstream, this is needed urgently for at least F44+.
Upstream PR merged: https://github.com/mizdebsk/dola/pull/53
Shall I make a pre-release release of this package?
I guess that's up to you? For now, I've posted a backport to f44 (and possibly f43) at https://src.fedoraproject.org/rpms/dola/pull-request/1. rawhide/f45 has the lua-5.5 patch which cannot go back to f44, so either way f44 needed a backport.
FEDORA-2026-bcdc3c61f0 (dola-1.3.2-7.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2026-bcdc3c61f0
FEDORA-2026-1ef7ef8c33 (dola-1.3.2-10.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-1ef7ef8c33
FEDORA-2026-1ef7ef8c33 has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-1ef7ef8c33` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-1ef7ef8c33 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2026-bcdc3c61f0 has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-bcdc3c61f0` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-bcdc3c61f0 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2026-1ef7ef8c33 (dola-1.3.2-10.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2026-bcdc3c61f0 (dola-1.3.2-7.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.