This message was deleted.
# bolt
s
This message was deleted.
e
I would like to build a package like
puppet-bolt_3.27.4-1focal_amd64.deb
but for ARM64
i may just need the process of building and packaging that
s
Sorry, source builds are outside my area of expertise, so I likely won't be able to answer any additional questions.
e
will try that
can u reference someone who has that expertise?
thanks 🙏
I would like to know the process you follow to build those .DEB packages so i can build my own for arm64
or.... can u build and update .DEB packages for ARM64 aswell ??
because in this documentation: https://github.com/puppetlabs/bolt/blob/main/documentation/bolt_installing.md#install-bolt-on-ubuntu we can think that would work for any architecture, but it just works for amd64
So i miss • either a documentation to build my own arm64 .deb package • or arm64 packages in the apt repository
y
Just out of my curiosity.. what is your arm64 machine?
e
right now i am testing this in a AWS EC2 machine with an AMI of Ubuntu focal
i don't know if that's the details you were looking for
y
that’s exactly what I was asking for 🙂
actually, gem/bundle install should work even for arm64 I guess
e
yeah... not working straight forward
y
but you’ll need to install modules from this Puppetfile also: https://github.com/puppetlabs/bolt/blob/main/Puppetfile
e
yeah... that's why i was asking for a documentation of the whole process, not to proceed step by step figuring out the missing pieces
y
any particular errors with gem/bundle?
e
yes, will write it here
Copy code
Building native extensions. This could take a while...
ERROR:  Error installing bolt:
	ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.7.0/gems/ffi-1.16.3/ext/ffi_c
/usr/bin/ruby2.7 -I /usr/lib/ruby/2.7.0 -r ./siteconf20231113-21231-1qqzoh7.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
oh i just miss the ruby-dev package i think
trying it....now i get a diff error
this was the error
Copy code
Building native extensions. This could take a while...
ERROR:  Error installing bolt:
	ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.7.0/gems/ffi-1.16.3/ext/ffi_c
/usr/bin/ruby2.7 -I /usr/lib/ruby/2.7.0 -r ./siteconf20231113-21382-1n1uqgq.rb extconf.rb
checking for ffi.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.
troubleshooting it...
y
ffi-dev or so
e
installed it but still nothing
looking at this...
An error occurred while installing nio4r (2.5.9), and Bundler cannot continue.