ourdelta-developers team mailing list archive
-
ourdelta-developers team
-
Mailing list archive
-
Message #00402
[Bug 459195] [NEW] deb package fails with dpkg-buildpackage: warning: Failed to sign .dsc and .changes file
Public bug reported:
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_{number}
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
** Affects: maria
Importance: Undecided
Status: New
** Affects: ourdelta
Importance: Undecided
Status: New
** Also affects: maria
Importance: Undecided
Status: New
--
deb package fails with dpkg-buildpackage: warning: Failed to sign .dsc and .changes file
https://bugs.launchpad.net/bugs/459195
You received this bug notification because you are a member of OurDelta-
developers, which is the registrant for OurDelta.
Status in Maria: New
Status in OurDelta - Builds for MySQL,MariaDB: New
Bug 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_{number}
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
Follow ups
References