On cross-compiling qml extensions, qt packaging needs changing

Timo Jyrinki timo.jyrinki at canonical.com
Sat Sep 7 06:25:24 UTC 2013


On Wed, Sep 4, 2013 at 1:34 PM, Dmitrijs Ledkovs
<dmitrij.ledkov at ubuntu.com> wrote:
> Even a more simple case of:
> $ apt-get install qtbase5-dev qtbase5-dev:armhf
>
> Doesn't install because of GL somewhere down the stack:
>  qtbase5-dev : Depends: libgl1-mesa-dev but it is not going to be installed or
>                         libgl-dev
>                Depends: libglu1-mesa-dev but it is not going to be installed or
>                         libglu-dev
> E: Unable to correct problems, you have h

It's actually worse, since we shouldn't have qtbase5-dev multi-arch:d
either, and Debian doesn't accept it. The contents of the dev packages
differ from architecture to another, so it's a policy violation. I
haven't removed the multi-arching of it yet since it wasn't added by
me, and I'm not sure if it was required for the arm64 support added at
the same time or just something nice to have.

Currently I don't see it possible to have all of Qt (or ubuntu-sdk) to
be multi-arch:d, or at least I wouldn't know how to go forward. I also
agree we shouldn't deviate from Debian. But if there's a policy
compliant way forward it should be good enough for them too.

So in the short term (Ubuntu 13.10) I think your 'ugly but works'
solution you've started upon is needed. In the longer term it's a goal
worth having to improving the multi-arching of Qt.

-Timo



More information about the ubuntu-devel mailing list