From: phasis@... Date: 2014-04-09T14:15:50+00:00 Subject: [ruby-core:61922] [ruby-trunk - Bug #9655] Build failure of Arch linux Issue #9655 has been updated by Heesob Park. It seems that this is a GCC version specific issue. I cannot reproduce this issue on archlinux with both 2.1.0 and 2.0.0-p353. ~~~ [root@arch ~]# uname -a Linux arch 3.13.8-1-ARCH #1 SMP PREEMPT Tue Apr 1 12:19:51 CEST 2014 x86_64 GNU/Linux [root@arch ~]# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /build/gcc/src/gcc-4.8-20140206/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl --disable-cloog-version-check --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --disable-multilib --disable-werror --enable-checking=release Thread model: posix gcc version 4.8.2 20140206 (prerelease) (GCC) ~~~ ---------------------------------------- Bug #9655: Build failure of Arch linux https://bugs.ruby-lang.org/issues/9655#change-46126 * Author: Hiroshi SHIBATA * Status: Open * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: 2.1.0 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- See. https://github.com/sstephenson/ruby-build/issues/500 ``` $ rbenv install --version ruby-build 20140204 $ uname -a Linux box 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET 2014 x86_64 GNU/Linux $ rbenv install -v 2.1.0 ................................ compiling iseq.c compiling vm.c In file included from vm.c:79:0: vm_insnhelper.c: In function ���vm_call_ivar���: vm_insnhelper.c:1568:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. See https://bugs.archlinux.org/ for instructions. Makefile:333: recipe for target 'vm.o' failed make: *** [vm.o] Error 1 make: *** Waiting for unfinished jobs.... $ rbenv install -v 2.0.0-p353 ................................ compiling dmyversion.c compiling array.c linking miniruby generating encdb.h ./tool/mkconfig.rb:180: syntax error, unexpected ' ', expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END arch_flag = ENV['ARCHFLAGS'] ... ^ ./tool/mkconfig.rb:179: unterminated string meets end of file uncommon.mk:528: recipe for target '.rbconfig.time' failed make: *** [.rbconfig.time] Error 1 make: *** Waiting for unfinished jobs.... ./tool/generic_erb.rb:3:in `require': /tmp/ruby-build.20140205212451.28425/ruby-2.0.0-p353/lib/optparse.rb:758: unterminated string meets end of file (SyntaxError) /tmp/ruby-build.20140205212451.28425/ruby-2.0.0-p353/lib/optparse.rb:758: syntax error, unexpected end-of-input, expecting keyword_end from ./tool/generic_erb.rb:3:in `
' uncommon.mk:886: recipe for target 'encdb.h' failed make: *** [encdb.h] Error 1 ``` -- https://bugs.ruby-lang.org/