Closed IguanaBob closed 3 months ago
This is something that I just haven't gotten around to describing.. So I might need some feedback.. Please tell me if you hit any issues:
I have created a bootstrap script.. use it if you will, or implement manually
https://github.com/MrMEEE/awx-rpm-v2/blob/main/docs/bootstrap-build.sh
from there, use the changeversion script to change into the version you want to build:
./changeversion 24.6.1
This uses the spec files that I have created..
From here, run getsources, to fetch the source code for the python packages:
./getsources
Now that you have the sources, build the source RPMS:
./buildsrc
Now you should be ready to build all the dependencies.. run the mockbuilds:
./mockbuild
This will take quite a while..
You can check status with:
./checkbuilds
and get hints to fixing errors with:
./geterrors
when you have all the dependencies built, you have to build receptor
./generate-and-build-receptor-source
I have had issues build 1.4.8.. so go with 1.4.7 (or find the issue)
When receptor is built, it's finally time for generate the AWX-RPM SRPM:
./generate-awx-source
and then build it with single-mockbuild
Hope it makes sense..
I would love some feedback, no matter if you get it to work or not... :)
I would love some feedback, no matter if you get it to work or not... :)
I did do a quick test and it showed the same errors about the logo svg as before, but I didn't follow the steps you provided 100% so I may have missed something important. When I have more time I'll try again following your instructions 100%. If you need to close the issue don't wait around for my slowness.
In any case, thank you very much for the help. Much appreciated.
Please reopen if you have any feedback or comments :)
@IguanaBob Did you ever get the chance to test this?
I am trying to build AWX-RPM from source. I could not find any official documentation on how to do this, so by reading various scripts in the repo I came up with the following basic steps which admittingly could be very wrong. What am I doing wrong and/or what is the correct method for building from source?
I set up a RockyLinux-9 instance in WSL2, fully updated with epel enabled to do this build.
This is as far as I could get. On the last step the logs show errors like this:
Any ideas?