[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#876131: qtbase-opensource-src FTCBFS: uses the build architecture toolchain



On 18 September 2017 at 16:57, Helmut Grohne <helmut@subdivi.de> wrote:
> Source: qtbase-opensource-src
> Version: 5.9.1+dfsg-9
> Severity: wishlist
> User: helmutg@debian.org
> Usertags: rebootstrap
>
> qtbase-opensource-src fails to cross build from source, because it uses
> the build architecture compiler and stuff.
>
> I looked a bit and it seems one should pass something else for -platform
> for cross compilation. It seems to search directories below mkspecs/ and
> for arm64 and armel there are particular directories available. We only
> need to come up with the right platform_arg (see patch attached).
>
> After doing so, the build fails to run its own qmake. That's kinda
> expected. It seems that the remedy is passing -external-hostbindir and
> it expects to find a qmake binary in that directory. With a
> self-dependency, we can use the build architecture qmake and the build
> goes a lot further until it bumps into #794103:

The only way I could accept that if we could build-depend on a
specific version (the same version we are trying to compile).

Helmut told me that's not possible, and I know from experience that
having a window opened to build qt with an oder qmake it's calling for
big troubles.

Another possible way to do it is by bootstrapping qmake if build != host.


Reply to: