Package: ofono-dev Version: 1.21-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap Control: affects -1 + src:modem-manager-gui
modem-manager-gui cannot satisfy its cross Build-Depends, because its dependency on ofono-dev is not satisfiable. In general, Architecture: all packages can never satisfy cross build dependencies unless marked Multi-Arch: foreign. In this case, such a dependency is not quite correct for two reasons: * ofono-dev depends on a libc and thus needs to transfer the architecture constraint. If it wants to keep the dependency, it must be turned Architecture: any. I argue that for actually using it, you'd also need a compiler, so it is probably a lot easier to just drop the dependency and assume that anyone who uses ofono-dev will have a working toolchain installed rather than adding gcc or like that to Depends. * ofono.pc is in /usr/lib/pkgconfig and a foreign pkg-config will not search that directory. Moving the file to /usr/share/pkgconfig will do. Then we can mark it Multi-Arch: foreign. Please consider applying the attached patch. Helmut
diff --minimal -Nru ofono-1.21/debian/changelog ofono-1.21/debian/changelog --- ofono-1.21/debian/changelog 2017-11-10 17:32:26.000000000 +0100 +++ ofono-1.21/debian/changelog 2018-03-24 06:54:29.000000000 +0100 @@ -1,3 +1,12 @@ +ofono (1.21-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Drop libc*-dev from ofono-dev Depends. + * Move ofono.pc to /usr/share/pkgconfig. + * Mark ofono-dev Multi-Arch: foreign. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 24 Mar 2018 06:54:29 +0100 + ofono (1.21-1) unstable; urgency=medium * Team upload diff --minimal -Nru ofono-1.21/debian/control ofono-1.21/debian/control --- ofono-1.21/debian/control 2017-11-10 17:32:26.000000000 +0100 +++ ofono-1.21/debian/control 2018-03-24 06:54:07.000000000 +0100 @@ -33,7 +33,8 @@ Package: ofono-dev Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, libc6-dev | libc-dev +Multi-Arch: foreign +Depends: ${shlibs:Depends}, ${misc:Depends} Description: Mobile telephony stack (development files) oFono is a stack for mobile telephony devices on Linux. oFono supports speaking to telephony devices through specific drivers, or with generic diff --minimal -Nru ofono-1.21/debian/ofono-dev.install ofono-1.21/debian/ofono-dev.install --- ofono-1.21/debian/ofono-dev.install 2017-11-10 17:32:26.000000000 +0100 +++ ofono-1.21/debian/ofono-dev.install 2018-03-24 06:54:26.000000000 +0100 @@ -1,2 +1,2 @@ debian/tmp/usr/include/* -debian/tmp/usr/lib/pkgconfig/* +debian/tmp/usr/lib/pkgconfig/* usr/share/pkgconfig/