Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /usr/local/bundle/gems/blurrily-1.0.0/ext/blurrily
/usr/local/bin/ruby -r ./siteconf20180416-8-angrk6.rb extconf.rb
creating Makefile
current directory: /usr/local/bundle/gems/blurrily-1.0.0/ext/blurrily
make "DESTDIR=" clean
current directory: /usr/local/bundle/gems/blurrily-1.0.0/ext/blurrily
make "DESTDIR="
compiling search_tree.c
compiling storage.c
In file included from storage.c:7:0:
/usr/include/sys/errno.h:1:2: error: #warning redirecting incorrect #include
<sys/errno.h> to <errno.h> [-Werror=cpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^
cc1: all warnings being treated as errors
Makefile:224: recipe for target 'storage.o' failed
make: *** [storage.o] Error 1
make failed, exit code 2
Gem files will remain installed in /usr/local/bundle/gems/blurrily-1.0.0 for
inspection.
Results logged to
/usr/local/bundle/extensions/x86_64-linux/2.1.0/blurrily-1.0.0/gem_make.out
An error occurred while installing blurrily (1.0.0), and Bundler cannot
continue.
Make sure that `gem install blurrily -v '1.0.0'` succeeds before bundling.
In Gemfile:
blurrily
Alpine uses musl libc.
This is the error when installing blurrily 1.0.0:
Is it possible that this include is wrong? https://github.com/mezis/blurrily/blob/master/ext/blurrily/storage.c#L7
The error is coming from here: https://github.com/esmil/musl/blob/master/include/sys/errno.h