Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Just build the dpkg and ignore supposed changes to the source

Extra note

Happy new year!

Main content

My normal, local dpkg build process includes debuild -us -uc. I push my finished work up to the Devuan build server through a gitea issue on the relevant project repository.

Sometimes, when I'm still in the process of preparing the software (in this case, freeipa 4.9.8), I will do a local build to make sure it still compiles. And sometimes I get a ridiculous error from debuild:

The solution is to skip debuild and use the lower-level command:

dpkg-buildpackage -b -us -uc

The answerer on Ask Ubuntu described this step as "avoid[ing] the Debian bureaucracy," which is an incredibly apt phrase.

References

  1. compiling - How to solve dpkg-source source problem when building a package? - Ask Ubuntu

Comments