Bug#875932: cjk FTCBFS: uses the build architecture toolchain
Much obliged, Helmut. I keep learning.
Patch coming up.
Warm regards, Danai
On 16 September 2017 at 17:05, Helmut Grohne <helmut@subdivi.de> wrote:
> Source: cjk
> Version: 4.8.4+git20170127-1
> Tags: patch
> User: helmutg@debian.org
> Usertags: rebootstrap
>
> cjk fails to cross build from source, because it generally uses build
> architecture tools. It fails to pass --host to ./configure and it fails
> to use cross compilers with make.
>
> The debian packaging patches the Makefile to call ./configure there and
> that makes cross building hard, because the parameter for --host is
> unknown there. Thus my attached patch moves the relevant build
> instructions into debian/rules and indirects them through
> dh_auto_configure and dh_auto_build to let debhelper pass the cross
> toolchains. After doing so, cjk cross builds. Please consider applying
> the attached patch or a variant of it that ensures --host is passed to
> ./configure and CC is passed to make.
>
> Helmut
Reply to: