Package: ruby-build Version: 20120524-1 Severity: normal Dear Maintainer,
On a stock wheezy vm, I ran: $ apt-get install ruby-build $ apt-get build-dep ruby1.8 $ mkdir ~/.rubies $ ruby-build 1.8.7-p302 ~/.rubies/1.8.7-p302 This failed with the following output: Downloading http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p302.tar.gz... Installing ruby-1.8.7-p302... BUILD FAILED Inspect or clean up the working tree at /tmp/ruby-build.20130228181619.418 Results logged to /tmp/ruby-build.20130228181619.418.log Last 10 log lines: ossl_ssl.c:111:5: warning: initialization from incompatible pointer type [enabled by default] ossl_ssl.c:111:5: warning: (near initialization for ‘ossl_ssl_method_tab[10].func’) [enabled by default] ossl_ssl.c:112:5: warning: initialization from incompatible pointer type [enabled by default] ossl_ssl.c:112:5: warning: (near initialization for ‘ossl_ssl_method_tab[11].func’) [enabled by default] ossl_ssl.c: In function ‘ossl_ssl_get_cipher’: ossl_ssl.c:1224:12: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] make[1]: *** [ossl_ssl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/tmp/ruby-build.20130228181619.418/ruby-1.8.7-p302/ext/openssl' make: *** [all] Error 1 This is due to a known problem with wheezy's SSL, which has no SSL2 support: http://bugs.ruby-lang.org/issues/4860 I would suggest that ruby definitions which are known not to be buildable on wheezy be removed from /usr/share/ruby-build/. However I would also suggest that a way be found to support this specific version of MRI, since it's the version in squeeze. -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE= (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ruby-build depends on: ii build-essential 11.5 ii curl 7.26.0-1+wheezy1 ii libreadline6-dev 6.2+dfsg-0.1 ii zlib1g-dev 1:1.2.7.dfsg-13 Versions of packages ruby-build recommends: ii libsqlite3-dev 3.7.13-1 ii libssl-dev 1.0.1e-1 ii libxml2-dev 2.8.0+dfsg1-7 ii libxslt1-dev [libxslt-dev] 1.1.26-14 ii rbenv 0.3.0-1 Versions of packages ruby-build suggests: ii autoconf 2.69-1 ii automake 1:1.11.6-1 ii bison 1:2.5.dfsg-2.1 ii git [git-core] 1:1.7.10.4-1+wheezy1 ii git-core 1:1.7.10.4-1+wheezy1 ii libtool 2.4.2-1.1 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org