Details
-
Bug
-
Status: Closed (View Workflow)
-
Resolution: Not a Bug
-
None
-
None
-
None
Description
Trying to build a deb package fails with a warning and gives a return code != 0. This makes automating the packaging difficult.
How to repeat:
cd $PACKAGING_WORK
bakery/preheat.sh
cd bakery_
bakery/tarbake51.sh last:1 $MARIA_WORK
bakery/autobake-deb.sh mariadb-{version_num}-maria-beta-ourdelta{number}
.tar.gz
...
...
...
dpkg-genchanges >../mariadb-5.1_5.1.38-ourdelta83_amd64.changes
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload; Debian-native package (full source is included)
dpkg-buildpackage: warning: Failed to sign .dsc and .changes file
real 15m56.539s
user 12m17.670s
sys 2m1.516s
hakan@lu0012:~/work/monty_program/ourdelta-mariadb51-2/bakery-83$ echo $?
1
Details about the build procedure can be found here:
http://askmonty.org/wiki/index.php/BuildingMariaDB#Ubuntu_.deb_packages
Suggested fix:
hakan@lu0012:~/work/monty_program/ourdelta-mariadb51-2/bakery-83$ bzr diff
=== modified file 'bakery/autobake-deb.sh'
— bakery/autobake-deb.sh 2009-10-18 09:07:53 +0000
+++ bakery/autobake-deb.sh 2009-10-23 15:12:47 +0000
@@ -139,7 +139,9 @@
- Build the package.
#
-fakeroot dpkg-buildpackage
+# -us Do not sign the source package.
+# -uc Do not sign the .changes file.
+fakeroot dpkg-buildpackage -us -uc
- Check if the local mirror deb-pool exists and move the results there.
- we have ourdelta, ourdelta-sail, and mariadb-ourdelta