Project

General

Profile

Actions

Bug #19751

closed

Ruby 3.2.2 Fails to Compile from Source

Added by martin_vahi (Martin Vahi) 11 months ago. Updated 10 months ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:114062]

Description

Details are at the attached file, but the build-crash-log seems to be:

compiling addr2line.c
compiling dmyenc.c
linking miniruby
/bin/sh ./tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp
rbconfig.rb updated
generating encdb.h
encdb.h updated
generating x86_64-linux-fake.rb
./template/fake.rb.in:19:in `eval': (eval):1: syntax error, unexpected backslash (SyntaxError)
\\# 71 "./version.c" 3         ...
^
	from ./template/fake.rb.in:19:in `value'
	from ./template/fake.rb.in:24:in `block (3 levels) in <main>'
	from ./template/fake.rb.in:23:in `scan'
	from ./template/fake.rb.in:23:in `block (2 levels) in <main>'
	from /home/mmmv/applications/Ruby/v_3_1_2/lib/ruby/3.1.0/erb.rb:905:in `eval'
	from /home/mmmv/applications/Ruby/v_3_1_2/lib/ruby/3.1.0/erb.rb:905:in `result'
	from ./tool/generic_erb.rb:36:in `block (2 levels) in <main>'
	from ./tool/generic_erb.rb:36:in `block in <main>'
	from ./tool/generic_erb.rb:29:in `map'
	from ./tool/generic_erb.rb:29:in `<main>'
make: *** [uncommon.mk:791: x86_64-linux-fake.rb] Error 1
mmmv@hoidla01:~/tmp_/kompil/2023_03_30_v_3_2_2/ruby-3.2.2$ uname -a
Linux hoidla01 4.19.0-22-amd64 #1 SMP Debian 4.19.260-1 (2022-09-29) x86_64 GNU/Linux
mmmv@hoidla01:~/tmp_/kompil/2023_03_30_v_3_2_2/ruby-3.2.2$

The source was the official one from the
https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.xz

Thank You for reading this bug report :-)


Files

Ruby_v_3_2_2_fails_to_compile.txt (31.6 KB) Ruby_v_3_2_2_fails_to_compile.txt martin_vahi (Martin Vahi), 07/01/2023 05:55 AM
version.i (647 KB) version.i Kagetsuki (零 影月), 07/04/2023 10:27 AM
version.i (620 KB) version.i martin_vahi (Martin Vahi), 07/07/2023 04:03 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like1Like1Like0Like0