OSC / ondemand-packaging

Used to build RPMs for OnDemand and OSC-specific BatchConnect applications
https://osc.github.io/Open-OnDemand/
2 stars 5 forks source link

package for amazon linux 2023 #242

Closed mrgum closed 1 year ago

mrgum commented 1 year ago

Hello

I'd like to run open ondemand on amazon linux 2023. it has httpd 2.4.56 but lacks epel or scl out of the box

I'm willing to do the work but I'm a bit stuck on how to build from source as ondemand seems to depend on things like ondemand-build that I don;t know where to get.

rpmbuild -ba ondemand.spec --define "package_version 3.0" setting SOURCE_DATE_EPOCH=1549584000 error: Failed build dependencies: ondemand-build = 3.0.0-1.amzn2023 is needed by ondemand-3.0-1.amzn2023.x86_64 ondemand-nodejs = 3.0.0-1.amzn2023 is needed by ondemand-3.0-1.amzn2023.x86_64 ondemand-ruby = 3.0.0-1.amzn2023 is needed by ondemand-3.0-1.amzn2023.x86_64 ondemand-runtime = 3.0.0-1.amzn2023 is needed by ondemand-3.0-1.amzn2023.x86_64 ondemand-scldevel = 3.0.0-1.amzn2023 is needed by ondemand-3.0-1.amzn2023.x86_64

Thanks,

┆Issue is synchronized with this Asana task by Unito

johrstrom commented 1 year ago

Hi, thanks for the ticket. I'm going to move this to our packaging repo as that's the repository we'd need to build support into.

johrstrom commented 1 year ago

And yea because of all the dependencies, we'd likely need to do some work on our side to make them available for that distribution.

treydock commented 1 year ago

@johrstrom Just FYI, Amazon Linux 2023 only has Ruby 3.2 and NodeJS 18, so we'd need to validate OnDemand against Ruby 3.2 and NodeJS 18.

treydock commented 1 year ago

Also EPEL isn't possible with Amazon Linux 2023: https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html#epel. So we are entirely dependent on what is in the OS repos.

treydock commented 1 year ago

Ah, Amazon Linux 2023 doesn't ship SCL utils. That's going to really complicate things.

johrstrom commented 1 year ago

@johrstrom Just FYI, Amazon Linux 2023 only has Ruby 3.2 and NodeJS 18, so we'd need to validate OnDemand against Ruby 3.2 and NodeJS 18.

That should be fine.

treydock commented 1 year ago

@mrgum Amazon Linux 2023 will be supported once OnDemand 3.1 is released.

mrgum commented 1 year ago

Excellent, Thank you