Bug#739775: root-system: Please support building with Ruby 2.0

Christian Hofstaedtler zeha at debian.org
Sat Feb 22 12:57:22 UTC 2014


Source: root-system
Version: 5.34.14-1
Severity: normal

Dear Maintainer,

A new ruby-defaults, switching the default Ruby version to 2.0, will be
uploaded soon. (It is available in experimental for testing.)

During a test rebuild of rdepends with the new package, your package
failed to build.

If possible, please change your package in advance to support building
for Ruby 2.0, so when ruby-defaults is uploaded, only a binNMU is
needed.

Hopefully relevant log parts:
----------------------------------------------------------------------
bin/rmkdepend -R -fbindings/ruby/src/TRuby.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -pthread -I/usr/include/ruby-2.0.0 -Iinclude/cint -D__cplusplus -- /«PKGBUILDDIR»/bindings/ruby/src/TRuby.cxx
g++ -O2 -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -pthread -I/usr/include/ruby-2.0.0 -Iinclude/cint -o bindings/ruby/src/TRuby.o -c /«PKGBUILDDIR»/bindings/ruby/src/TRuby.cxx
In file included from /usr/include/ruby-2.0.0/ruby.h:33:0,
                 from /«PKGBUILDDIR»/bindings/ruby/src/TRuby.cxx:15:
/usr/include/ruby-2.0.0/ruby/ruby.h:24:25: fatal error: ruby/config.h: No such file or directory
 #include "ruby/config.h"
                         ^
compilation terminated.
make[1]: *** [bindings/ruby/src/TRuby.o] Error 1
----------------------------------------------------------------------

The full build log is available at:
http://aws-logs.debian.net/ftbfs-logs/ruby-defaults/failed-logs/root-system_5.34.14-1_unstable.log.gz

Important changes from 1.9 to 2.0:
- location of ruby/config.h has changed; it's location is now available
  from:
  ruby -r rbconfig -e "print RbConfig::CONFIG['rubyarchhdrdir']"
- path for binary extensions has changed; it's location is now available
  from:
  ruby -r rbconfig -e "print RbConfig::CONFIG['vendorarchdir']"


Thank you,
Christian

-- 
 ,''`.  Christian Hofstaedtler <zeha at debian.org>
: :' :  Debian Developer
`. `'   7D1A CFFA D9E0 806C 9C4C  D392 5C13 D6DB 9305 2E03
  `-

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20140222/bafcd8e5/attachment.sig>


More information about the debian-science-maintainers mailing list