-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
How can I build from source? #12
Comments
First I'd just try unpacking everything in The RPMs have been built to be relocatable, so just try passing the In terms of building, those patches should be part of the source RPMs, which should unpack when you do |
Thanks for the quick response!
This worked surprisingly well, but I had problems with GdkPixbuf complaining about being broken -- which led me down this rabbit hole.
Oh, awesome. I was trying to do that in
I'll check it again and share my Dockerfile if I can reproduce the problem, thanks! |
Here's a Dockerfile that's showing the failure I'm seeing:
|
In your example, rpmbuild has no source files to build from. You can either pull the source RPMs from yumda, or from the original source. Technically you should get them from yumda in case there are modified source files – but with most packages I only needed to modify the spec, so this should work:
|
Hi! I'd like to use a slightly different
.rpmacros
file, but when I try to build from source from the info inNOTES.md
I'm seeing failures because the patches don't exist. Example:I'd like to build a zip that can be uploaded to a lambda without its own layer, so I need to change the prefix from
/opt/
to/var/task
. Are there any docs on how to do that, or does the above error look familiar? Thanks!The text was updated successfully, but these errors were encountered: