Am 18.03.2014 15:24, schrieb Marius Kotsbak: > Yes, that is what I got. I would if I was sure that this is not a packaging > issue (as the qmi-proxy is a multi-arch binary).
So, I had a quick look at [0]. Putting qmi-proxy in the library package seems wrong and wasteful to me, since apparently you can only ever start one instance of qmi-proxy. What happens, if you have, say the i386 and amd64 version of libqmi-glib1 installed? Which proxy is then started? Can a i386 libqmi-glib1 talk to an amd64 qmi-proxy, i.e. is the interface architecture independent? If so, the qmi-proxy belongs into a separate package marked Multi-Arch: foreign and libqmi-glib1 needs to depend on it. This way both the i386 and amd64 version would use the same version of the proxy. If the interface between libqmi-glib1 and the proxy is stable, you don't need a strictly versioned dependency (which would simplify library transitions a bit). If the qmi-proxy does not provide an architecture independent interface but the library requires the proxy, I'd argue that the library itself is not really multi-arch capable and the library itself shouldn't be marked M-A: same. If only ever one qmi-proxy can run, I also don't think naming the proxy package libqmi-glib1-qmiproxy makes sense, i.e. making the proxy packages co-installable. A future libqmi-glib2-qmiproxy would have to conflict with libqmi-glib1-qmiproxy if they can't run at the same time. Assuming the interface and data provided by qmi-proxy is aritecture independent, my proposal would be: - Install qmi-proxy into a non-ma path, e.g. /usr/lib/libqmi/qmi-proxy so all library versions can find it (the library seems to use g_spawn to run the proxy). - Install the qmi-proxy in a separate binary package, e.g. libqmi-proxy. Marked Multi-Arch: foreign. - Make libnm-glib1 depend on libqmi-proxy. If libnm-glib1 needs a specific version of the proxy, make the dependency strictly verioned like Depend: libqmi-proxy (= ${binary:Version}) Steve, I took the liberty to CC since you have a good grasp on the M-A stuff. Please have a look at [0]. Your input would be most welcome. Please let me know if the suggestions above make sense, are complete non-sense or if there is a better way to handle this. [0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737572 -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature