[regression] Binaries are no longer runnable on other machines (or in other directories)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Daniel van Vugt | ||
mir (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Binaries are no longer runnable when copied to other hosts:
# bin/mir_
Failed to execute real binary .mir_proving_
# ls -l bin/.mir_
-rwxrwxr-x 1 dan dan 3064944 Dec 28 16:36 bin/.mir_
and
# ./mir_proving_
Failed to execute real binary .mir_proving_
# ls -l .mir_proving_
-rwxrwxr-x 1 dan dan 3064944 Dec 28 16:36 .mir_proving_
and starting the hidden server directly works, but then clients can't find it:
# bin/.mir_
# bin/.mir_
Can't get connection
# bin/.mir_
Starting
.mir_demo_
Aborted (core dumped)
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Mir development team: Pending requested
-
Diff: 112 lines (+59/-17)3 files modifiedcmake/MirCommon.cmake (+4/-11)
src/CMakeLists.txt (+6/-0)
src/wrapper.c (+49/-6)
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 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
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. ------- ------- ------- ------- ------- ------- ------- ----
-------