Call to bzr builddeb fails with "Unknown sequence get-orig-source" if --split isn't passed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jenkins-launchpad-plugin |
New
|
Undecided
|
Unassigned |
Bug Description
The bzr builddeb subprocess call in dputrunner.py fails with the errors pasted below, unless the additional "--split" command line option is passed, which tells bzr builddeb to create the tarball from the bzr tree.
I'm not sure how this functionality is supposed to work without a tarball (I noticed that the BzrRecipe class has createTarball method, but it's hasn't any call site in the code).
DEBUG: UpstreamVersion parsed: 0.1.0-1
DEBUG: PackageVersion parsed: 0.1.0-1
DEBUG: SourceName parsed: canonical-
INFO: Going to dput version: 0.1.0-1+
DEBUG: Calling: ['dch', '-b', '-v', '0.1.0-
DEBUG: Calling: ['bzr', 'builddeb', '-S']
Building using working tree
Building package in normal mode
Looking for a way to retrieve the upstream tarball
Using apt to look for the upstream tarball.
apt could not find the needed tarball.
Trying to use get-packaged-
dh get-packaged-
dh: Unknown sequence get-packaged-
debian/rules:8: recipe for target 'get-packaged-
make: *** [get-packaged-
Trying to run get-packaged-
Trying to use get-orig-source to retrieve needed tarball (deprecated).
dh get-orig-source --with=python3 --buildsystem=
dh: Unknown sequence get-orig-source (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)
debian/rules:8: recipe for target 'get-orig-source' failed
make: *** [get-orig-source] Error 255
Trying to run get-orig-source rule failed
Using uscan to look for the upstream tarball.
No watch file to use to retrieve upstream tarball.
bzr: ERROR: Unable to find the needed upstream tarball for package canonical-
ERROR: Command ['bzr', 'builddeb', '-S'] returned non-zero exit status 3
DEBUG: Dput failed
Build step 'Execute shell' marked build as failure
Finished: FAILURE
Thank you, I spent days trying to understand how to build a package directly from my Bazaar local repository. It made no sense to me to prepare a tarball when the source code is already here. All tutorials I found did not mention the --split option. Your bug report really helped me. Thanks again :)