[backportpackage] backportpackage errors out on packages with no Ubuntu revision
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_
backportpackage: Downloading jqueryui_
dpkg-source: info: extracting jqueryui in jqueryui-precise
dpkg-source: info: unpacking jqueryui_
dpkg-source: info: unpacking jqueryui_
dch warning: new version (1.8.ooops.
the current version number (1.8.ooops.
dpkg-buildpackage -rfakeroot -d -us -uc -S -nc -sa -v1.8.ooops.
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=
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=
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-
dpkg-buildpackage: source package jqueryui
dpkg-buildpackage: source version 1.8.ooops.
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.
backportpackage: Error: debuild returned 29.
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.