** Description changed: + [ Impact ] + * Installing binary packages from llvm-toolchain-19 fails with an APT + dependency error: liboffload-19-dev declares + `Breaks: libomp-19-dev (< 1:20241205084449+66a0a081338d)` using a + snapshot version epoch. Because snapshot versions sort higher than any + published real release, APT refuses to install libomp-19-dev alongside + liboffload-19-dev on any Ubuntu release. + * Fix: replace the snapshot version with the correct real-release version + `1:19.1.7-11` in d/control.in. + * A second fix works around a cmake 4 FTBFS in the wasm compiler-rt build + stage by patching two generated cmake files at build time. + + [ Test Plan ] + 1. Download all binary debs from resolute-proposed for llvm-toolchain-19. + 2. Attempt to install them all: `apt-get install ./*.deb` + Before fix: APT error about liboffload-19-dev Breaks libomp-19-dev. + After fix: installation succeeds without dependency errors. + 3. Confirm `clang-19 --version` and `llvm-19 --version` return expected output. + 4. A source build with cmake 4 should complete without cmake policy errors. + + [ Where problems could occur ] + * Breaks/Replaces version fix: If `1:19.1.7-11` is set too conservatively, + an intermediate installed libomp-19-dev that is actually incompatible with + liboffload-19-dev might not be flagged by APT. Low risk, as resolute never + shipped intermediate snapshot builds to users. + * All changes are packaging-only; no compiled code or installed files changed. + + [ Other Info ] + * Due to Launchpad infrastructure issues, the autopkgtests haven't all succeeded. + However, I've seen successes on at least some platforms and so anticipate no problems. + * Both fixes are packaging-only (d/control.in, d/rules); no upstream changes. + * The cmake 4 workaround mirrors what is present in Debian and the devel release. + + [Original Description] + This concerns llvm-toolchain-19 1:19.1.7-20ubuntu1 from Ubuntu resolute. If I install all the binary packages produced from this source package, I get the following dependency error: - $ apt-get install ./*.deb - Reading package lists... - Building dependency tree... - Some packages could not be installed. This may mean that you have - requested an impossible situation or if you are using the unstable - distribution that some required packages have not yet been created - or been moved out of Incoming. - The following information may help to resolve the situation: + $ apt-get install ./*.deb + Reading package lists... + Building dependency tree... + Some packages could not be installed. This may mean that you have + requested an impossible situation or if you are using the unstable + distribution that some required packages have not yet been created + or been moved out of Incoming. + The following information may help to resolve the situation: - The following packages have unmet dependencies: - liboffload-19-dev : Breaks: libomp-19-dev (< 1:20241205084449+66a0a081338d) but 1:19.1.7-20ubuntu1 is to be installed - E: Unable to correct problems, you have held broken packages. + The following packages have unmet dependencies: + liboffload-19-dev : Breaks: libomp-19-dev (< 1:20241205084449+66a0a081338d) but 1:19.1.7-20ubuntu1 is to be installed + E: Unable to correct problems, you have held broken packages. I don't think the intent was to compare 20241205084449 vs. 19 ...
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2139024 Title: APT incompatibility between liboffload-19-dev and libomp-19-dev To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-19/+bug/2139024/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
