[DRE-maint] Bug#893501: ruby2.5 FTCBFS: configures for the build architecture

Antonio Terceiro terceiro at softwarelivre.org
Sun Jul 22 18:33:09 BST 2018



Em 22 de julho de 2018 10:57:16 BRT, Chris Hofstaedtler <zeha at debian.org> escreveu:
>Hi Helmut,
>
>* Helmut Grohne <helmut at subdivi.de> [180722 13:55]:
>> ruby2.5 fails to cross build from source, because it fails passing
>> --host to ./configure. The simple solution to this problem is
>deferring
>> the task to dh_auto_configure. After doing so, one needs to pass
>> --libdir, because ruby uses a very non-standard approach to
>multiarch.
>> For performing an actual cross build, you also need --with-baseruby.
>> Please consider applying the attached patch.
>
>So I wanted to apply this, but it appears that non-cross builds now
>also need --with-baseruby, and that's not good - we don't want a
>cyclic (build-)depedency.
>
>Maybe you can have another look at the patch?

The way configure is called currently is a product of countless rounds of trial and error to get both multiarch and building without an existing ruby work.

If what's missing is --host, maybe just adding that does the trick?



More information about the Pkg-ruby-extras-maintainers mailing list