-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
Describe the bug, including details regarding any error messages, version, and platform.
It happens when Apache Arrow GLib isn't installed.
For example: https://github.com/groonga/groonga/actions/runs/15411076634/job/43363006227#step:11:116
ERROR: Error installing red-arrow:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/3.2.0/gems/red-arrow-20.0.0/ext/arrow
/usr/bin/ruby3.2 -I/usr/lib/ruby/vendor_ruby extconf.rb
checking --enable-debug-build option... no
checking C++ compiler... x86_64-linux-gnu-g++
checking g++ version... 13.3 (gnu++17)
checking for --enable-debug-build option... no
checking for -Wall option to compiler... yes
checking for -Wcast-align option to compiler... yes
checking for -Wextra option to compiler... no
checking for -Wformat=2 option to compiler... yes
checking for -Winit-self option to compiler... yes
checking for -Wlarger-than-65500 option to compiler... yes
checking for -Wmissing-declarations option to compiler... yes
checking for -Wmissing-format-attribute option to compiler... yes
checking for -Wmissing-include-dirs option to compiler... yes
checking for -Wmissing-noreturn option to compiler... yes
checking for -Wmissing-prototypes option to compiler... yes
checking for -Wnested-externs option to compiler... yes
checking for -Wold-style-definition option to compiler... yes
checking for -Wpacked option to compiler... yes
checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... no
checking for -Wpointer-arith option to compiler... yes
checking for -Wundef option to compiler... yes
checking for -Wout-of-line-declaration option to compiler... no
checking for -Wunsafe-loop-optimizations option to compiler... yes
checking for -Wwrite-strings option to compiler... yes
checking for Homebrew... no
checking for Homebrew... no
checking for arrow version (>= 20.0.0)... yes (20.0.0)
checking for arrow-glib version (>= 20.0.0)... no (nonexistent)
*** 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.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)3.2
--enable-debug-build
--disable-debug-build
--enable-debug-build
--disable-debug-build
--with-pkg-config
--without-pkg-config
--with-pkg-config-path
--without-pkg-config-path
--with-override-variables
--without-override-variables
extconf.rb:59:in `<main>': undefined local variable or method `version' for main:Object (NameError)
Apache Arrow GLib >= #{version} isn't found.
^^^^^^^
Did you mean? verison
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/var/lib/gems/3.2.0/extensions/x86_64-linux-gnu/3.2.0/red-arrow-20.0.0/mkmf.log
extconf failed, exit code 1
Component(s)
Ruby