[#106355] [Ruby master Bug#18373] RBS build failure: '/include/x86_64-linux/ruby/config.h', needed by 'constants.o'. — "vo.x (Vit Ondruch)" <noreply@...>
Issue #18373 has been reported by vo.x (Vit Ondruch).
28 messages
2021/12/01
[ruby-core:106823] [Ruby master Bug#18430] Raspberry Pi 3.0.3 Compile Issue
From:
"daBee (da Bee)" <noreply@...>
Date:
2021-12-25 18:05:55 UTC
List:
ruby-core #106823
Issue #18430 has been updated by daBee (da Bee).
nobu (Nobuyoshi Nakada) wrote in #note-1:
> How did you configure?
Straight out.
```
$ ./configure --prefix=/usr
...
Configuration summary for ruby version 3.0.3
* Installation prefix: /usr
* exec prefix: ${prefix}
* arch: armv7l-linux-eabihf
* site arch: ${arch}
* RUBY_BASE_NAME: ruby
* ruby lib prefix: ${libdir}/${RUBY_BASE_NAME}
* site libraries path: ${rubylibprefix}/${sitearch}
* vendor path: ${rubylibprefix}/vendor_ruby
* target OS: linux-eabihf
* compiler: gcc
* with pthread: yes
* with coroutine: arm32
* enable shared libs: no
* dynamic library ext: so
* CFLAGS: ${optflags} ${debugflags} ${warnflags}
* LDFLAGS: -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic
* DLDFLAGS: -Wl,--compress-debug-sections=zlib
* optflags: -O3
* debugflags: -ggdb3
* warnflags: -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration \
-Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 \
-Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long \
-Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat \
-Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter \
-Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable
* strip command: strip -S -x
* install doc: rdoc
* JIT support: yes
* man page type: doc
* BASERUBY -v: ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [armv7l-linux-eabihf]
```
----------------------------------------
Bug #18430: Raspberry Pi 3.0.3 Compile Issue
https://bugs.ruby-lang.org/issues/18430#change-95633
* Author: daBee (da Bee)
* Status: Open
* Priority: Normal
* ruby -v: 3.0.3
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
Seems like a missing gem. I am assuming the maintainer will see this here.
```
$ sudo make install
...
installing default gems from lib: /var/lib/gems/3.0.0
abbrev 0.1.0
./tool/rbinstall.rb:288:in `initialize': No such file or directory @ rb_sysopen - /usr/lib/ruby/gems/3.0.0/specifications/default/abbrev-0.1.0.gemspec (Errno::ENOENT)
from ./tool/rbinstall.rb:288:in `open'
from ./tool/rbinstall.rb:288:in `open_for_install'
from ./tool/rbinstall.rb:930:in `block in install_default_gem'
from ./tool/rbinstall.rb:920:in `each'
from ./tool/rbinstall.rb:920:in `install_default_gem'
from ./tool/rbinstall.rb:873:in `block in <main>'
from ./tool/rbinstall.rb:1049:in `block in <main>'
from ./tool/rbinstall.rb:1046:in `each'
from ./tool/rbinstall.rb:1046:in `<main>'
make: *** [uncommon.mk:378: do-install-all] Error 1
```
This was the same error as my first attempt.
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>