Mir is built assuming armhf is always android

Bug #1205389 reported by Stephen M. Webb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Triaged
Wishlist
Unassigned
mir (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

The Mir packaging for Ubuntu is configured to build only for an Android-based runtime. It should instead be built to detect the runtime at runtime.

This problem causes the tests run during packaging to fail, since the packaging is built on a non-Android runtime (see bug #1195265 and bug #1203004).

Stephen M. Webb (bregma)
tags: added: entering-saucy
Changed in mir:
assignee: nobody → Alexandros Frantzis (afrantzis)
description: updated
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

The production code and packaging have been fixed to remove this assumption with the help of dpkg-alternatives for the platform libraries. The tests are still built for a specific platform decided at build time.

Changed in mir:
assignee: Alexandros Frantzis (afrantzis) → nobody
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Does that mean this bug is adequately resolved already?

Revision history for this message
kevin gunn (kgunn72) wrote :

well, as kdub so succinctly its sufficiently addressed except for "detecting the runtime at runtime" part is not resolved.
eg, we can't have both platforms installed and rely on some mir smarts to select the right one at runtime.
but, this becomes more of a nice to have/wishlist in that regard.

Changed in mir:
importance: High → Wishlist
Revision history for this message
Alberto Aguirre (albaguirre) wrote :

We have platform probing now.

Changed in mir:
status: Triaged → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I'm not so sure that's relevant.

The tests we build for the armhf platform still build for Android only, don't they? We'd need a Mesa-based (or headless) armhf system to check if this has been resolved and that our armhf tests successfully run on a non-Android system.

It may get resolved in the same way as mir_unit_tests_mesa-kms vs mir_unit_tests_mesa-x11 with an explicit mir_unit_tests_mesa-android. I don't know...

Changed in mir:
status: Fix Released → Triaged
Revision history for this message
Michał Sawicz (saviq) wrote :

Syncing task from Mir.

Changed in mir (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.