[backportpackage] doesn't work if package isn't already in Ubuntu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I tried using backportpackage for a new package and the upload was rejected because backportpackage did not include the original source.
$ backportpackage --suffix= -s unstable -u ppa:jbicha/dev libmusicbrainz5
backportpackage: Downloading libmusicbrainz5
backportpackage: Downloading libmusicbrainz5
dpkg-source: info: extracting libmusicbrainz5 in libmusicbrainz5
dpkg-source: info: unpacking libmusicbrainz5
dpkg-source: info: applying libmusicbrainz5
dch warning: new version (5.0.1-
the current version number (5.0.1-1).
dpkg-buildpackage -rfakeroot -d -us -uc -S -nc -sd
dpkg-buildpackage: source package libmusicbrainz5
dpkg-buildpackage: source version 5.0.1-1~
dpkg-buildpackage: source changed by Jeremy Bicha <***@ubuntu.com>
dpkg-source --before-build libmusicbrainz5
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 libmusicbrainz5
dpkg-source: warning: Version number suggests Ubuntu changes, but there is no XSBC-Original-
dpkg-source: warning: source directory 'libmusicbrainz
dpkg-source: warning: .orig directory name libmusicbrainz5
dpkg-source: info: using source format `1.0'
dpkg-source: info: building libmusicbrainz5 using existing libmusicbrainz5
dpkg-source: info: building libmusicbrainz5 in libmusicbrainz5
dpkg-source: info: building libmusicbrainz5 in libmusicbrainz5
dpkg-genchanges -S -sd >../libmusicbra
dpkg-genchanges: warning: the current version (5.0.1-
dpkg-genchanges: not including original source code in upload
dpkg-source --after-build libmusicbrainz5
dpkg-buildpackage: source only, diff-only upload (original source NOT included)
signfile libmusicbrainz5
You need a passphrase to unlock the secret key for
user: "Jeremy Bicha <email address hidden>"
4096-bit RSA key, ID EBFE6C7D, created 2011-04-28
signfile libmusicbrainz5
You need a passphrase to unlock the secret key for
user: "Jeremy Bicha <***@***>"
4096-bit RSA key, ID EBFE6C7D, created 2011-04-28
Successfully signed dsc and changes files
Please check libmusicbrainz5 5.0.1-1~
Do you want to upload the package to ppa:jbicha/dev [Y|n]? y
Checking signature on .changes
gpg: Signature made Sat 02 Jun 2012 01:10:04 PM EDT using RSA key ID EBFE6C7D
gpg: Good signature from "Jeremy Bicha <***@***>"
gpg: aka "Jeremy Bicha <***@ubuntu.com>"
Good signature on /tmp/backportpa
Checking signature on .dsc
gpg: Signature made Sat 02 Jun 2012 01:10:04 PM EDT using RSA key ID EBFE6C7D
gpg: Good signature from "Jeremy Bicha <***@***>"
gpg: aka "Jeremy Bicha <***@ubuntu.com>"
Good signature on /tmp/backportpa
Uploading to ppa (via sftp to ppa.launchpad.net):
libmusicbrain
libmusicbrain
libmusicbrain
Successfully uploaded packages.
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-0ubuntu2
Architecture: amd64
CheckboxSubmission: 201084ed41ea754
CheckboxSystem: c541d13ea4f205f
Date: Sat Jun 2 14:32:15 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
- Stefano Rivera: Approve
- Evan Broder: Pending requested
-
Diff: 30 lines (+9/-3)2 files modifiedbackportpackage (+1/-3)
debian/changelog (+8/-0)
Changed in ubuntu-dev-tools (Ubuntu): | |
importance: | Undecided → Medium |
Laney's fix works for me. Thanks!