- Package:
- ruby-build
- Source:
- ruby-build
- Submitter:
- Alex Young
- Date:
- 2024-08-14 07:24:06 UTC
- Severity:
- normal
- Tags:
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.
severity 1022164 wishlist severity 701918 wishlist merge 701918 1022164 tag 701918 upstream thanks I don't necessarily think we should remove non-buildable rubies. Upstream keeps them around, so I don't know why we'd go through the trouble of removing them in the Debian package. Marking as wishlist since this is a design flaw (of sorts) in ruby-build. Also merging in a similar bug. Apologies for the necro, just trying to clear through the bugs for this package. You probably haven't thought about this issue in over a decade (ᵕ—ᴗ—)