Closed guss77 closed 6 years ago
I understand your frustration, but I'm pretty sure it's documented in the 20-odd line README file that you need the orig.gz:
https://github.com/ossobv/bcg729-deb/blame/master/README.rst#L9
I'm sorry, but instead of googling for 2 hours, following the README would've been quicker. There is no need to "fake the source file". Just give it the name debian wants, like dpkg-source says (an "upstream tarball", i.e. the original).
No excuses this time. Go sit in the RTFM-corner :stuck_out_tongue_winking_eye:
I see. I didn't understand why the README is downloading a tarball instead of cloning the repo or streaming it directly to the file system. Now I understand, thanks for the explanation.
After following the directions in the README on Ubuntu 18.04, I get this error from dpkg-buildpackage:
I workaround the problem by running
cd .. && tar -zcf bcg729_1.0.4.orig.tar.gz bcg729-1.0.4
I'm pretty sure there's a way to build deb package directly from a source directory without artificially faking an "upstream tarball", but in 2 hours of Google/StackExchange searching I didn't find a solution and the Debian packaging tutorials are horrible if you want something other than "download upstream tarball, 1, 2, 3, it is built".