Comment #16 is misleading:

There is only a "problem" if the app dynamically links against Mir-0.16
and attempts to run against a Mir-0.17 server. This should not happen as
either:

    /1/ the matching server and client libraries are installed as part of the 
system (desktop, phone); or,
    /2/ the matching server and client libraries are installed as part of a 
snap (kiosk).

In both cases the client library matches the server and everything
works.

The protocol range checking in r2893 correctly detects that the version
of libmirclient.so.9 that is trying to connect supports that are not
supported by the server and that the system is misconfigured. This is
not something that App developers need to be concerned with.

~~~~

For the avoidance of doubt, Apps built with the libmirclient.so.9 from
Mir-0.17 and installed on a phone configured with Mir-0.16 will
dynamically link and run correctly (case 1 above) unless they refer to
the new functions introduced in 0.17. Vis:

MIR_CLIENT_9v17 {
    mir_blob_from_display_configuration;
    mir_blob_size;
    mir_blob_data;
    mir_blob_release;
    mir_blob_onto_buffer;
    mir_blob_to_display_configuration;
    mir_blob_release;
    mir_buffer_stream_set_scale;
    mir_buffer_stream_set_scale_sync;
    mir_event_get_surface_output_event;
    mir_surface_output_event_get_dpi;
    mir_surface_output_event_get_form_factor;
    mir_surface_output_event_get_scale;
} MIR_CLIENT_9.2;

If the app requires these functions then it obviously can't use a
libmirclient.so.9 from Mir-0.16 and will fail to run even before
connecting to the server.

Similar arguments apply running on a phone configured with or Mir-0.15
or Mir-0.14.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1507982

Title:
  [regression] OTA7 broke previously working app

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to