[backportpackage] backportpackage errors out on packages with no Ubuntu revision

Bug #1008021 reported by Micah Gersten
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

backportpackage should either clear the DEBEMAIL env variable or run update-maintainer on packages that currently have no Ubuntu version as the new backport versioning scheme triggers the update-maintainer error for people with ubuntu.com E-Mail addresses

I think clearing the env variable for the debuild call is the better option as we don't generally run update-maintainer on no change rebuilds AFAIK

backportpackage -s quantal -d precise jqueryui -u ubuntu
backportpackage: Downloading jqueryui_1.8.ooops.20+dfsg.orig.tar.gz from archive.ubuntu.com (0.578 MiB)
backportpackage: Downloading jqueryui_1.8.ooops.20+dfsg-1.debian.tar.gz from archive.ubuntu.com (0.005 MiB)
dpkg-source: info: extracting jqueryui in jqueryui-precise
dpkg-source: info: unpacking jqueryui_1.8.ooops.20+dfsg.orig.tar.gz
dpkg-source: info: unpacking jqueryui_1.8.ooops.20+dfsg-1.debian.tar.gz
dch warning: new version (1.8.ooops.20+dfsg-1~ubuntu12.04.1) is less than
the current version number (1.8.ooops.20+dfsg-1).
 dpkg-buildpackage -rfakeroot -d -us -uc -S -nc -sa -v1.8.ooops.18+dfsg-1
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package jqueryui
dpkg-buildpackage: source version 1.8.ooops.20+dfsg-1~ubuntu12.04.1
dpkg-buildpackage: source changed by Micah Gersten <email address hidden>
 dpkg-source --before-build jqueryui-precise
dpkg-buildpackage: warning: it is a bad idea to generate a source package without cleaning up first, it might contain undesired files.
 dpkg-source -b jqueryui-precise
dpkg-source: error: Version number suggests Ubuntu changes, but Maintainer: does not have Ubuntu address
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-buildpackage: error: dpkg-source -b jqueryui-precise gave error exit status 255
debuild: fatal error at line 1350:
dpkg-buildpackage -rfakeroot -d -us -uc -S -nc -sa -v1.8.ooops.18+dfsg-1 failed
backportpackage: Error: debuild returned 29.

Revision history for this message
Micah Gersten (micahg) wrote :

Hrm, clearing DEBEMAIL makes the changelog entry not DTRT when I do it on the backportpackage line, so this would only have to be for the step of creating the source package, not the dch part.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.