Building Debs from Git

Aleksander Morgado aleksander at
Tue Feb 7 20:22:38 UTC 2017

On Tue, Feb 7, 2017 at 7:56 PM, Adam Sherman <adam at> wrote:
>> Just gave that a try using the libqmi Git repo[1] and your instructions.
>> The patch doesn't seem to apply cleanly, which I thought odd since you
>> are clearly building it yourself for the PPA?
>> Looks like I may need to stop taking shortcuts and actually learn how
>> these packages work. :|
> After writing the above, it occurred to me that the patch is probably a
> temporary file you were using and that it has likely been applied to the
> master branch. So I just removed it and built the package.
> Unfortunately, it gives me this error, which isn't very helpful:
> dh_makeshlibs: failing due to earlier errors
> debian/rules:5: recipe for target 'binary' failed
> make: *** [binary] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
> status 2
> debuild: fatal error at line 1376:
> dpkg-buildpackage -rfakeroot -D -us -uc failed
> Does it build for you?

Do you have fakeroot installed?


More information about the libqmi-devel mailing list