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

packit: replace EPEL 9 with centos-stream+epel-next-9 and c9s-build #399

Merged
merged 1 commit into from
May 28, 2024

Conversation

michel-slm
Copy link
Contributor

drgn no longer builds in EPEL 9 because libkdumpfile-devel is in RHEL 9 but not pushed out to CRB: https://issues.redhat.com/browse/RHEL-38224

Instead, let's make sure it still builds on CentOS Stream 9 + EPEL Next 9, with the c9s-build repo enabled, since that repo is accessible from COPR.

Fixes: #395

Copy link

Based on your Packit configuration the settings of the @meta/drgn Copr project would need to be updated as follows:

field old value new value
chroots ['epel-8-ppc64le', 'fedora-eln-x86_64', 'fedora-rawhide-aarch64', 'fedora-40-ppc64le', 'fedora-rawhide-x86_64', 'fedora-rawhide-s390x', 'fedora-40-i386', 'fedora-40-s390x', 'fedora-39-ppc64le', 'epel-8-s390x', 'fedora-eln-s390x', 'fedora-39-s390x', 'fedora-eln-aarch64', 'fedora-39-x86_64', 'epel-9-x86_64', 'fedora-eln-i386', 'fedora-rawhide-i386', 'epel-8-x86_64', 'fedora-39-aarch64', 'fedora-39-i386', 'fedora-40-x86_64', 'fedora-40-aarch64', 'epel-8-aarch64', 'fedora-rawhide-ppc64le', 'epel-9-aarch64', 'epel-9-s390x', 'epel-9-ppc64le', 'fedora-eln-ppc64le'] ['centos-stream+epel-next-9-aarch64', 'centos-stream+epel-next-9-ppc64le', 'centos-stream+epel-next-9-s390x', 'centos-stream+epel-next-9-x86_64', 'epel-8-aarch64', 'epel-8-ppc64le', 'epel-8-s390x', 'epel-8-x86_64', 'epel-9-aarch64', 'epel-9-ppc64le', 'epel-9-s390x', 'epel-9-x86_64', 'fedora-39-aarch64', 'fedora-39-i386', 'fedora-39-ppc64le', 'fedora-39-s390x', 'fedora-39-x86_64', 'fedora-40-aarch64', 'fedora-40-i386', 'fedora-40-ppc64le', 'fedora-40-s390x', 'fedora-40-x86_64', 'fedora-eln-aarch64', 'fedora-eln-i386', 'fedora-eln-ppc64le', 'fedora-eln-s390x', 'fedora-eln-x86_64', 'fedora-rawhide-aarch64', 'fedora-rawhide-i386', 'fedora-rawhide-ppc64le', 'fedora-rawhide-s390x', 'fedora-rawhide-x86_64']

Diff of chroots:

+centos-stream+epel-next-9-aarch64
+centos-stream+epel-next-9-s390x
+centos-stream+epel-next-9-ppc64le
+centos-stream+epel-next-9-x86_64

Packit was unable to update the settings above as it is missing admin permissions on the @meta/drgn Copr project.

To fix this you can do one of the following:

  • Grant Packit admin permissions on the @meta/drgn Copr project on the permissions page.
  • Change the above Copr project settings manually on the settings page to match the Packit configuration.
  • Update the Packit configuration to match the Copr project settings.

Please retrigger the build, once the issue above is fixed.

Copy link

Based on your Packit configuration the settings of the @meta/drgn Copr project would need to be updated as follows:

field old value new value
centos-stream+epel-next-9-aarch64: additional_repos [] ['https://kojihub.stream.centos.org/kojifiles/repos/c9s-build/latest/aarch64/']
centos-stream+epel-next-9-aarch64: additional_modules []
centos-stream+epel-next-9-ppc64le: additional_repos [] ['https://kojihub.stream.centos.org/kojifiles/repos/c9s-build/latest/ppc64le/']
centos-stream+epel-next-9-ppc64le: additional_modules []
centos-stream+epel-next-9-s390x: additional_repos [] ['https://kojihub.stream.centos.org/kojifiles/repos/c9s-build/latest/s390x/']
centos-stream+epel-next-9-s390x: additional_modules []
centos-stream+epel-next-9-x86_64: additional_repos [] ['https://kojihub.stream.centos.org/kojifiles/repos/c9s-build/latest/x86_64/']
centos-stream+epel-next-9-x86_64: additional_modules []

Packit was unable to update the settings above as it is missing admin permissions on the @meta/drgn Copr project.

To fix this you can do one of the following:

  • Grant Packit admin permissions on the @meta/drgn Copr project on the permissions page.
  • Change the above Copr project settings manually on the settings page to match the Packit configuration.
  • Update the Packit configuration to match the Copr project settings.

Please retrigger the build, once the issue above is fixed.

`drgn` no longer builds in EPEL 9 because `libkdumpfile-devel` is in
RHEL 9 but not pushed out to CRB: https://issues.redhat.com/browse/RHEL-38224

Instead, let's make sure it still builds on CentOS Stream 9 + EPEL Next
9, with the `c9s-build` repo enabled, since that repo is accessible from
COPR.

Fixes: osandov#395

Signed-off-by: Michel Lind <[email protected]>
@osandov osandov merged commit ace7a05 into osandov:main May 28, 2024
33 checks passed
@michel-slm michel-slm deleted the packit-c9s-build branch May 28, 2024 19:38
osandov added a commit that referenced this pull request Jan 31, 2025
For live kernel debugging, you usually have a properly installed kernel
that has run depmod. However, for core dumps, it's common to get an
archive containing all of the kernel module files and no depmod
metadata. Peter Collingbourne also reported that the depmod situation on
Android is complicated: Android doesn't have a modules.dep.bin file, and
modules are split among different images.

Let's add support for walking kernel module directories if
modules.dep.bin isn't found and a debug info option for controlling
whether depmod, walking, or both are tried. We default to using depmod
if it is available and walking if not.

Closes #399.

Signed-off-by: Omar Sandoval <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable RHEL 9 Packit builds
2 participants