Closed DeeDeeG closed 4 months ago
The Cirrus run for this commit shows "failed" status due to the manually cancelled macOS task, which I cancelled to save credits and since this is an ARM Linux-specific fix that didn't really need a macOS task running, as I've seen a passing macOS Cirrus task from just the last hour or so.
So, feel free to disregard the "failed" Cirrus build and note that the Arm Linux task specifically has gotten further with this fix than the ARM Linux task from just earlier today without the fix. Thanks.
EDIT: A re-run of the ARM Linux task finally passed in Cirrus CI! Woo!
With passing Cirrus CI and an Approve, I'm merging this! Thanks!
Issue
Arm Linux CI builds are failing on Cirrus. See this failing CI run: https://cirrus-ci.com/task/6219208260845568?logs=prepare#L2634-L2639
Issue Details
From the error message :
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
And from this StackOverflow answer: https://stackoverflow.com/questions/20559255/error-while-installing-json-gem-mkmf-rb-cant-find-header-files-for-ruby
I think we just need to install
ruby-dev
package in the Debian container.Solution
Apparently we need
ruby-dev
(development headers) package to build fpm gem's native extensions now?!Well, it's an easy fix. Not sure why we didn't need this up until now, but oh, well.
Verification process
Test run in Cirrus: https://cirrus-ci.com/task/5547408132669440Re-run of the test run in Cirrus: https://cirrus-ci.com/task/4548855918755840