From 8eec0d432bb304f1ae03ca1ceb4e2685c2f2e52b Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 3 Dec 2022 02:04:36 -0500 Subject: [PATCH] Add paragraph about failures and rerunning --- content/debian-packaging-101.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/debian-packaging-101.md b/content/debian-packaging-101.md index bae13ee..ef4010e 100644 --- a/content/debian-packaging-101.md +++ b/content/debian-packaging-101.md @@ -576,4 +576,6 @@ This will build the package for you. You should get 5 files out of the build, on You can then install your `.deb` or add it to a repository manager like `reprepro`. +If something went wrong, that's OK! It's common to have errors the first time you try to build a package. Either errors in `rules`, parts that don't build write, typos, etc. Luckily the `dpkg-buildpackage` command is very verbose and shows, in real-time, all the build steps that are occurring. Pay close attention to what failed and tweak your scripts or configuration to match, and try again. Once you're at this stage, and assuming that your `dh_auto_clean` is actually cleaning everything up properly, it's safe to re-run the build as many times as needed to get it working - and if it isn't, the command will complain and tell you about it, so you're getting plenty of feedback. + Happy building!