Skip to content

Conversation

@ehelms
Copy link
Member

@ehelms ehelms commented May 6, 2025

I am testing if these fix things or not. I noticed Packit switched to Fedora 42 w/ Ruby 3.4 which is where the base64 requirement came from in the Gemfile.

@ekohl
Copy link
Member

ekohl commented May 6, 2025

Argh, now puppet-puppetserver_foreman requires a newer version. You just can't win with this. https://github.com/theforeman/puppet-puppetserver_foreman/pull/52/files#r2075602218 and I'll check if we can lower that bound.

@ehelms
Copy link
Member Author

ehelms commented May 6, 2025

Argh, now puppet-puppetserver_foreman requires a newer version. You just can't win with this. https://github.com/theforeman/puppet-puppetserver_foreman/pull/52/files#r2075602218 and I'll check if we can lower that bound.

Oh yes... I should have called this out more specifically as this was the one I saw in the logs that led me to open the PR.

@ehelms ehelms changed the title Fix build Require base64 for Ruby 3.4 May 6, 2025
gem 'rake'

if RUBY_VERSION >= '3.4'
gem 'base64'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is likely puppetlabs/forge-ruby#129


if RUBY_VERSION >= '3.4'
gem 'base64'
gem 'getoptlong'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you figure out why we need this? We should make sure that dependency pulls it in.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That already lists and we list puppet so why do we need to list it again?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I linked to the wrong version, 7.34.0 is used in SRPM build and you will note this is missing there:

https://github.com/puppetlabs/puppet/blob/7.34.0/puppet.gemspec

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we move to using Puppet 8 instead of trying to fix it with Puppet 7? I'm a bit worried about other dragons hiding in there.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That thought crossed my mind. I thought maybe we should get builds back on track with 7 and then investigate puppet 8 / openvox.

@ekohl ekohl merged commit 2109b6b into theforeman:develop May 8, 2025
7 checks passed
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.

2 participants