Issue #8972 has been reported by vo.x (Vit Ondruch).

----------------------------------------
Bug #8972: TestMkmf::TestConfig#test_dir_config fails on x86_64
https://bugs.ruby-lang.org/issues/8972

Author: vo.x (Vit Ondruch)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.1.0dev (2013-09-22 trunk 43011) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
It might be due to my configuration options, but I observe following test failure:

 TestMkmf::TestConfig#test_dir_config [/builddir/build/BUILD/ruby-2.1.0-preview1/test/mkmf/test_config.rb:13]:
 [Bug #8074].
 <["/test/foo/include", "/test/foo/lib"]> expected but was
 <["/test/foo/include", "/test/foo/lib64"]>.

There are relevant entries in RbConfig:

 $ LD_LIBRARY_PATH=. RUBYOPT=-I.:lib:.ext/x86_64-linux ./ruby -rrbconfig -e "RbConfig::CONFIG.each {|c| p c}" | grep libdir
 ["configure_args", " '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-rubylibprefix=/usr/share/ruby' '--with-archlibdir=/usr/lib64' '--with-sitedir=/usr/local/share/ruby/site_ruby' '--with-sitearchdir=/usr/local/lib64/ruby/site_ruby' '--with-vendordir=/usr/share/ruby/vendor_ruby' '--with-vendorarchdir=/usr/lib64/ruby/vendor_ruby' '--with-rubyhdrdir=/usr/include' '--with-rubyarchhdrdir=/usr/include' '--with-sitearchhdrdir=$(sitehdrdir)/$(arch)' '--with-vendorarchhdrdir=$(vendorhdrdir)/$(arch)' '--with-rubygemsdir=/usr/share/rubygems' '--with-ruby-pc=ruby.pc' '--disable-rpath' '--enable-shared' '--wit
 h-ruby-version=' '--enable-multiarch' '--with-prelude=./abrt_prelude.rb' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic' 'LDFLAGS=-Wl,-z,relro ' 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic'"]
 ["vendorlibdir", "/usr/share/ruby/vendor_ruby/"]
 ["sitelibdir", "/usr/local/share/ruby/site_ruby/"]
 ["rubylibdir", "/usr/share/ruby/"]
 ["sitearchlibdir", "/usr/lib64/x86_64-linux"]
 ["archlibdir", "/usr/lib64"]
 ["libdirname", "archlibdir"]
 ["libdir", "/usr/lib64"]
 
 

=end



-- 
http://bugs.ruby-lang.org/