[backportpackage] errors out on packages with no ubuntu revision
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
This worked last week, but now fails. I'm filing against ubuntu-dev-tools since I know that just got an update this week.
It also fails if I use -d unstable.
$ backportpackage -s quantal -d precise --suffix= -u ppa:texlive-
backportpackage: Downloading texlive-
backportpackage: Downloading texlive-
dpkg-source: info: extracting texlive-bin in texlive-bin-precise
dpkg-source: info: unpacking texlive-
dpkg-source: info: unpacking texlive-
dch warning: new version (2012.20120530-
the current version number (2012.20120530-2).
dpkg-buildpackage -rfakeroot -d -us -uc -S -nc -sd -v2009-11ubuntu2
dpkg-buildpackage: source package texlive-bin
dpkg-buildpackage: source version 2012.20120530-
dpkg-buildpackage: source changed by Jeremy Bicha <EMAIL HIDDEN>
dpkg-source --before-build texlive-bin-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 texlive-bin-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 texlive-bin-precise gave error exit status 255
debuild: fatal error at line 1350:
dpkg-buildpackage -rfakeroot -d -us -uc -S -nc -sd -v2009-11ubuntu2 failed
backportpackage: Error: debuild returned 29.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: ubuntu-dev-tools 0.142
ProcVersionSign
Uname: Linux 3.4.0-3-generic x86_64
ApportVersion: 2.1.1-0ubuntu1
Architecture: amd64
CheckboxSubmission: 201084ed41ea754
CheckboxSystem: c541d13ea4f205f
Date: Thu May 31 13:56:28 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
PackageArchitec
SourcePackage: ubuntu-dev-tools
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Evan Broder (community): Approve
- Stefano Rivera: Approve
-
Diff: 28 lines (+6/-1)2 files modifiedbackportpackage (+3/-1)
debian/changelog (+3/-0)
summary: |
- [backportpackage] fails but worked last week + [backportpackage] errors out on packages with no ubuntu revision |
Changed in ubuntu-dev-tools (Ubuntu): | |
importance: | Undecided → Medium |
Changed in ubuntu-dev-tools (Ubuntu): | |
status: | Confirmed → Fix Committed |
subscribe ubuntu-backporters
Hi Jeremy (2012.05. 31_20:04: 33_+0200)
> This worked last week, but now fails. I'm filing against ubuntu-dev-
> tools since I know that just got an update this week.
It's fallout from the backport version schema change.
The versions are now ~ubuntu12.04.1 instead of ~precise1 (as code names
are due to wrap in the foreseeable future)
That matches some code in the Ubuntu Vendor plugin to dpkg-source that
looks for "ubuntu" in the version without @ubuntu.com in the Maintainer.
This can be lowered from an error to a warning by un-exporting DEBEMAIL.
Or we could update the maintainer field of backports. But that's up to
the backporters.