Bug#860512: [DRE-maint] Bug#860512: ruby-ronn: fails on m68k (no fast_xs)

2017-04-19 Thread Aaron M. Ucko
Christian Hofstaedtler  writes:

> Looking at the m68k buildlogs for ruby-fast-xs ... the version of
> ruby-fast-xs installed as part of the telegram build was built for
> ruby2.2, but ruby itself was already ruby2.3. This just does not
> work.

Good point.  I'd missed that discrepancy because the binNMU changelog
messages threw me off.  I've now reported #860747 to request giving
extensions stricter dependencies on the ruby metapackage, which would
have allowed generic tools to catch this problem automatically, and
meanwhile submitted (off-BTS) a give-back request for telegram-server on
m68k.

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu



Bug#860512: [DRE-maint] Bug#860512: ruby-ronn: fails on m68k (no fast_xs)

2017-04-18 Thread Aaron M. Ucko
Christian Hofstaedtler  writes:

> This usually means the ruby-fast-xs package is missing or broken or
> the search paths are incorrect.

That makes sense.

>  - ruby -e 'puts RbConfig::CONFIG'

I don't have access to an m68k system, but am attaching a copy of the
rbconfig.rb that should have been in use.

>  - installed versions of ruby* (esp. ruby-hpricot, ruby-fast-xs,
>ronn)

Per 
https://buildd.debian.org/status/fetch.php?pkg=telegram-desktop=m68k=1.0.29-1=1491864475=0:

ruby 1:2.3.3
ruby-did-you-mean 1.0.0-2
ruby-fast-xs 0.8.0-3+b2
ruby-hpricot 0.8.6-6+b2
ruby-minitest 5.9.0-1
ruby-mustache 1.0.2-1
ruby-net-telnet 0.1.1-2
ruby-power-assert 0.3.0-1
ruby-rdiscount 2.1.8-1+b3
ruby-ronn 0.7.3-5
ruby-test-unit 3.1.7-2
ruby2.3 2.3.3-1
rubygems-integration 1.11

AFAICT, ruby-fast-xs installs into
/usr/lib/m68k-linux-gnu/ruby/vendor_ruby/2.3.0/, to which
CONFIG["vendorarchdir"] should expand.  Its only extra dependency is
libgmp10, which was installed, at version 2:6.1.2+dfsg-1.

> PS: ronn hasn't seen any development since 2013. It's advisable to
> migrate off it.

I've just filed #860595 accordingly.

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu



rbconfig.rb
Description: application/ruby


Bug#860512: [DRE-maint] Bug#860512: ruby-ronn: fails on m68k (no fast_xs)

2017-04-18 Thread Christian Hofstaedtler
Hi,

* Aaron M. Ucko  [170418 04:27]:
>   ronn --roff debian/telegram-desktop.1.md
>   /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': 
> cannot load such file -- fast_xs (LoadError)

This usually means the ruby-fast-xs package is missing or broken or
the search paths are incorrect.

Please provide:
 - ruby -e 'puts RbConfig::CONFIG'
 - strace -eopen ronn --roff debian/telegram-desktop.1.md
 - installed versions of ruby* (esp. ruby-hpricot, ruby-fast-xs,
   ronn)

PS: ronn hasn't seen any development since 2013. It's advisable to
migrate off it.

Cheers,
C.