Closed kwk closed 1 month ago
@tuliom jumped in an created the chroots for RHEL in the @fedora-llvm-team/llvm-compat-packages copr repo. I changed the fedora-
prefix to $distname-
as documented in copr.
NOTE: We don't have compat packages for RHEL, just an empty repo.
Current behaviour
Now that #513 is fixed and we can indeed enable the RHEL snapshot repo in testing-farm we're facing another error (see tmt-run.log):
Analysis
The URL
suggests we're assuming that we're only building for fedora and not RHEL. Here is the proof for this assumption:
The
fedora
infedora-9-x86_64
should be replace withrhel
and even then the URL points to a non existing location. That is becausehttps://copr.fedorainfracloud.org/coprs/g/fedora-llvm-team/llvm-compat-packages/monitor/
shows only fedora compat packages.Options
Let's circle back to why we have this situation with compat packages in the first place. On Fedora, there can be applications that link to the LLVM that we ship with the Fedora version. Once we install a newer version of LLVM, namely the snapshots, we need to fill the gap and provide a replacement of the LLVM library that the application demands. This is where the compatibility packages come into play.
Originally the compatibility (or compat) packages of LLVM are shipped because we need to give developers enough time to adapt to a new LLVM version.
fedora-
with a dynamic placeholder ($distname
) as seen above.If and how we ship or build compat packages for RHEL is a different topic.