foreman-packaging icon indicating copy to clipboard operation
foreman-packaging copied to clipboard

Build core packages with EL10

Open ekohl opened this issue 1 month ago • 2 comments

This includes:

  • https://github.com/theforeman/foreman-packaging/pull/12768
  • https://github.com/theforeman/foreman-packaging/pull/12770
  • https://github.com/theforeman/foreman-packaging/pull/11562
  • https://github.com/theforeman/foreman-packaging/pull/12871
  • https://github.com/theforeman/foreman-packaging/pull/12873
  • https://github.com/theforeman/foreman-packaging/pull/12874
  • https://github.com/theforeman/foreman-packaging/pull/12875
  • https://github.com/theforeman/foreman-packaging/pull/12880
  • https://github.com/theforeman/foreman-packaging/pull/12881
  • https://github.com/theforeman/foreman-packaging/pull/12882

Currently known failing packages when building ruby_core_packages_tier1:

  • rubygem-safemode incompatible with Ruby >= 3.2. This is maintained by Foreman and needs work (https://github.com/theforeman/safemode/issues/54). Currently hacked around
  • ~~rubygem-sqlite3 fails to compile on EL10. We're on 1.4.4 which is 3 years old. Might be sufficient to upgrade to 3.x~~

Currently known failing packages when building ruby_core_packages_tier2:

  • rubygem-rkerberos fails to compile on EL10 (https://github.com/domcleal/rkerberos/issues/27). This gem is unmaintained so needs attention. Currently patched out of foreman-proxy to allow skipping it.

What does work:

  • rails_core_packages
  • hammer_core_packages
  • other_core_packages

What doesn't work:

  • foreman_nodejs_packages has various issues and I haven't tried to figure out why. Some need their cache rebuilt for NPM 6, others complain about missing files
  • foreman needs at least rubygem-safemode and nodejs packages
  • foreman-installer is in the same group as its dependencies and needs to be split. It does build after you build all its dependencies.

I've built everything in https://copr.fedorainfracloud.org/coprs/ekohl/foreman-nightly-staging/ so there's where you can also find the build logs.

More background: https://community.theforeman.org/t/bootstrapping-foreman-rpm-packaging/45290.

ekohl avatar Dec 19 '25 15:12 ekohl