Issue #13200 has been updated by Martin Vahi.



For a quick glance the file MIGHT be also available from 

[http://temporary.softf1.com/2017/bugs/2017_02_09_bugs_ruby-lang_org_issues_13200_exts_mk.txt](http://temporary.softf1.com/2017/bugs/2017_02_09_bugs_ruby-lang_org_issues_13200_exts_mk.txt)

----------------------------------------
Bug #13200: Ruby 2.4.0 Stable Fails to Build from Source on openSUSE
https://bugs.ruby-lang.org/issues/13200#change-62938

* Author: Martin Vahi
* Status: Feedback
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.4.0
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------

An excerpt of a "make" console output 
from a LLVM/clang based build session of the 
https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.gz
that has the SHA256 sum of 
152fd0bd15a90b4a18213448f485d4b53e9f7662e1508190aa5b702446b29e3d
:


~~~
configuring socket
configuring stringio
configuring strscan
configuring syslog
configuring zlib
make[1]: Entering directory '/opt/2dot7TiB_k8vaketas/ts2/mittevarundatav/_home/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0'
exts.mk:1468: *** missing separator.  Stop.
make[1]: Leaving directory '/opt/2dot7TiB_k8vaketas/ts2/mittevarundatav/_home/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0'
uncommon.mk:220: recipe for target 'build-ext' failed
make: *** [build-ext] Error 2
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$ uname -a
Linux linux-0fiz 3.16.7-48-desktop #1 SMP PREEMPT Wed Oct 26 18:09:22 UTC 2016 (8c027f6) x86_64 x86_64 x86_64 GNU/Linux
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$ date
Wed Feb  8 01:33:08 EET 2017
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$ clang -v
clang version 3.8.0 (trunk 249969)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/ts2/m_local/bin_p/LLVM/vd_2015_10_11/vd_2015_10_11_installed/bin
Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/4.8
Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/4.9
Selected GCC installation: /usr/lib64/gcc/x86_64-suse-linux/4.9
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.8 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-suffix=-4.8 --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
gcc version 4.8.3 20140627 [gcc-4_8-branch revision 212064] (SUSE Linux) 
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$ echo $CFLAGS 
-mtune=native -ftree-vectorize
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$ echo $CXXFLAGS
-mtune=native -ftree-vectorize
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$ echo $CC
clang
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$ echo $CXX
clang++
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$

~~~


The configure parameters:


~~~
./configure --prefix=/home/ts2/m_local/bin_p/Ruby/paigaldatult/v_2_4_0 --enable-load-relative  --enable-multiarch

~~~


An excerpt of the "make" console output 
from a GCC based build session, where 

~~~
export CC="gcc"
export CXX="g++"

~~~


~~~
configuring sdbm
configuring socket
configuring stringio
configuring strscan
configuring syslog
configuring zlib
make[1]: Entering directory '/opt/2dot7TiB_k8vaketas/ts2/mittevarundatav/_home/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0'
exts.mk:1468: *** missing separator.  Stop.
make[1]: Leaving directory '/opt/2dot7TiB_k8vaketas/ts2/mittevarundatav/_home/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0'
uncommon.mk:220: recipe for target 'build-ext' failed
make: *** [build-ext] Error 2
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$ echo $CC
gcc
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$ echo $CXX
g++
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$ echo $CFLAGS
-mtune=native -ftree-vectorize
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$ echo $CXXFLAGS
-mtune=native -ftree-vectorize
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$ date
Wed Feb  8 01:46:37 EET 2017
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$ uname -a
Linux linux-0fiz 3.16.7-48-desktop #1 SMP PREEMPT Wed Oct 26 18:09:22 UTC 2016 (8c027f6) x86_64 x86_64 x86_64 GNU/Linux
ts2@linux-0fiz:~/m_local/bin_p/Ruby/kompileerimine/ruby-2.4.0$
~~~



---Files--------------------------------
2017_02_09_bugs_ruby-lang_org_issues_13200_exts_mk.txt (51.3 KB)


-- 
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>