Mir

[regression] Binaries are no longer runnable on other machines (or in other directories)

Bug #1406073 reported by Daniel van Vugt on 2014-12-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
High
Daniel van Vugt
mir (Ubuntu)
High
Unassigned

Bug Description

Binaries are no longer runnable when copied to other hosts:

# bin/mir_proving_server
Failed to execute real binary .mir_proving_server-uninstalled: No such file or directory
# ls -l bin/.mir_proving_server-uninstalled
-rwxrwxr-x 1 dan dan 3064944 Dec 28 16:36 bin/.mir_proving_server-uninstalled

and

# ./mir_proving_server
Failed to execute real binary .mir_proving_server-uninstalled: No such file or directory
# ls -l .mir_proving_server-uninstalled
-rwxrwxr-x 1 dan dan 3064944 Dec 28 16:36 .mir_proving_server-uninstalled

and starting the hidden server directly works, but then clients can't find it:

# bin/.mir_proving_server-uninstalled &
# bin/.mir_demo_client_egltriangle-uninstalled
Can't get connection
# bin/.mir_demo_client_flicker-uninstalled
Starting
.mir_demo_client_flicker-uninstalled: /home/dan/bzr/mir/dev/examples/flicker.c:134: main: Assertion `mir_connection_is_valid(connection)' failed.
Aborted (core dumped)

Related branches

description: updated
summary: - [regression] Failed to execute real binary .*-uninstalled: No such file
- or directory
+ [regression] Binaries are no longer portable to other machines
summary: - [regression] Binaries are no longer portable to other machines
+ [regression] Binaries are no longer runnable on other machines (or in
+ other directories)
Changed in mir:
assignee: nobody → Daniel van Vugt (vanvugt)
status: Triaged → In Progress
Daniel van Vugt (vanvugt) wrote :

The offending change was:

------------------------------------------------------------
revno: 2179 [merge]
author: Christopher James Halse Rogers <email address hidden>, Andreas Pokorny <email address hidden>
committer: Tarmac
branch nick: development-branch
timestamp: Fri 2014-12-19 14:10:18 +0000
message:
  Add probing for client platform modules.

  The client library now looks in MIR_CLIENT_PLATFORM_PATH (usually /usr/lib/*/mir/client-platform) and loads all the modules it finds in there. At connection time each of those modules are checked whether the MirPlatformPackage matches what they expect; the first one that matches is used.

  Approved by PS Jenkins bot, Alan Griffiths, Andreas Pokorny, Chris Halse Rogers, Robert Carr.
------------------------------------------------------------

PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.10.0

Changed in mir:
status: In Progress → Fix Committed
Changed in mir:
status: Fix Committed → Fix Released
Daniel van Vugt (vanvugt) wrote :

mir (0.10.0+15.04.20150107.2-0ubuntu1) vivid; urgency=medium

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

Other bug subscribers