[#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:106873] [Ruby master Bug#18429] Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
From:
"dklein (Dmitri Klein)" <noreply@...>
Date:
2021-12-28 19:50:20 UTC
List:
ruby-core #106873
Issue #18429 has been updated by dklein (Dmitri Klein).
In our case:
# /usr/local/gcc4/bin/gcc --version
gcc (GCC) 4.5.1
# gmake
BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false
CC = /usr/local/gcc4/bin/gcc
LD = /usr/ccs/bin/ld
LDSHARED = /usr/local/gcc4/bin/gcc -G
CFLAGS = -g -erroff=E_STATEMENT_NOT_REACHED -erroff=E_INIT_SIGN_EXTEND -erroff=E_INIT_DOES_NOT_FIT -erroff=E_INITIALIZATION_TYPE_MISMATCH
XCFLAGS = -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0
CPPFLAGS = -D_XOPEN_SOURCE=600
DLDFLAGS =
SOLIBS = -lz -lpthread -lrt -lrt -lrt -lsocket -ldl -lcrypt -lm
LANG =
LC_ALL =
LC_CTYPE =
MFLAGS =
gcc: '-V' option must have argument
gmake: [showflags] Error 1 (ignored)
compiling ./main.c
ld.so.1: cc1: fatal: libmpc.so.2: open failed: No such file or directory
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [main.o] Error 1
#
====
# make
BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false
CC = /usr/local/gcc4/bin/gcc
LD = /usr/ccs/bin/ld
LDSHARED = /usr/local/gcc4/bin/gcc -G
CFLAGS = -g -erroff=E_STATEMENT_NOT_REACHED -erroff=E_INIT_SIGN_EXTEND -erroff=E_INIT_DOES_NOT_FIT -erroff=E_INITIALIZATION_TYPE_MISMATCH
XCFLAGS = -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0
CPPFLAGS = -D_XOPEN_SOURCE=600
DLDFLAGS =
SOLIBS = -lz -lpthread -lrt -lrt -lrt -lsocket -ldl -lcrypt -lm
LANG =
LC_ALL =
LC_CTYPE =
MFLAGS =
gcc: '-V' option must have argument
*** Error code 1 (ignored)
The following command caused the error:
/usr/local/gcc4/bin/gcc -V
compiling vm.c
ld.so.1: cc1: fatal: libmpc.so.2: open failed: No such file or directory
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1
The following command caused the error:
/usr/local/gcc4/bin/gcc -g -erroff=E_STATEMENT_NOT_REACHED -erroff=E_INIT_SIGN_EXTEND -erroff=E_INIT_DOES_NOT_FIT -erroff=E_INITIALIZATION_TYPE_MISMATCH -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0 -D_XOPEN_SOURCE=600 -o vm.o -c vm.c
make: Fatal error: Command failed for target `vm.o'
#
----------------------------------------
Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
https://bugs.ruby-lang.org/issues/18429#change-95683
* Author: dklein (Dmitri Klein)
* Status: Open
* Priority: Normal
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN
----------------------------------------
./configure
...
configure: ruby library version = 3.0.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ruby-3.0.pc
Unknown keyword 'URL' in './ruby.tmp.pc'
both doesn't work neither with cc=/usr/sfw/bin/gcc nor cc=/usr/bin/cc
Config log is attached FYI. Thanks!
---Files--------------------------------
config.log (1.63 MB)
config.log (1.59 MB)
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>