[#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:106774] [CommonRuby Feature#18423] Installing stable versions like 3.0.3 from source generates fatal error by make
From:
"xtkoba (Tee KOBAYASHI)" <noreply@...>
Date:
2021-12-23 01:03:29 UTC
List:
ruby-core #106774
Issue #18423 has been updated by xtkoba (Tee KOBAYASHI).
There are several potentially related changes in the master branch, of which the most significant are commit:93ddff48022 and commit:dbeddfb0b20.
----------------------------------------
Feature #18423: Installing stable versions like 3.0.3 from source generates fatal error by make
https://bugs.ruby-lang.org/issues/18423#change-95476
* Author: dklein (Dmitri Klein)
* Status: Open
* Priority: Normal
----------------------------------------
# make
BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false
CC = /opt/SUNWspro/bin/CC
LD = /usr/ccs/bin/ld
LDSHARED = /opt/SUNWspro/bin/CC -G
CFLAGS = -g
XCFLAGS = -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0
CPPFLAGS = -D_XOPEN_SOURCE=500
DLDFLAGS =
SOLIBS = -lz -lpthread -lrt -lrt -lrt -lsocket -ldl -lcrypt -lm
LANG =
LC_ALL =
LC_CTYPE =
MFLAGS =
CC: Sun C++ 5.12 SunOS_i386 2011/11/16
compiling vm.c
"./include/ruby/backward/cxxanyargs.hpp", line 207: Warning (Anachronism): Formal argument 1 of type extern "C" unsigned long(*)(unsigned long) in call to rb_iterate(extern "C" unsigned long(*)(unsigned long), unsigned long, extern "C" unsigned long(*)(unsigned long,unsigned long,int,const unsigned long*,unsigned long), unsigned long) is being passed unsigned long(*)(unsigned long).
...
"./include/ruby/backward/cxxanyargs.hpp", line 648: Error: Template parameter ruby::backward::cxxanyargs::define_method::F requires an expression of type void(*)(const char*,unsigned long(*)(...),int).
"./include/ruby/internal/fl_type.h", line 205: Warning: Identifier expected instead of "}".
"internal.h", line 16: Error: #error not for C++.
*** Error code 2
The following command caused the error:
/opt/SUNWspro/bin/CC -g -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0 -D_XOPEN_SOURCE=500 -o vm.o -c vm.c
make: Fatal error: Command failed for target `vm.o'
#
--
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>