ppa upload fails cause of missing orig.tar.gz

Asked by BeowulfOF

Hi,

I'm desperately trying to upload a new package to my PPA and after some problems, that I could solve with a bit of a headache, now I have a problem I can't solve.

I created a new repo with bzr dh-make fossil-src-stable.tar.gz and edited the needed debian/* files, checked everything in and gave it the version 1.32-ppa2.

The I used bzr-builddeb -S to create a dsc-file, so far so good.

using pbuilder-dist utopic build fossil-1.32-ppa2.dsc for building works fine as well.

But when i upload with dput lp:~id/ppa fossil-1.32-ppa2.changes, launchpad now claims:

Rejected:
Unable to find fossil_1.32.orig.tar.gz in upload or distribution.
Files specified in DSC are broken or missing, skipping package unpack verification.

How do I get dput to upload that file as well? It is mentioned in the dsc-file next to the deb file. dput seems not to have a parameter to append that file manually.

Any help welcome.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
BeowulfOF
Solved:
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

It needs to be in the .changes (which is essentially a machine-readable upload instruction), not just the .dsc. To achieve this, you need to build the source package with the -sa option passed to dpkg-buildpackage. For bzr builddeb, you'd do that like this:

  bzr builddeb -S -- -sa

(This is only necessary when the target archive doesn't have the .orig yet.)

Revision history for this message
BeowulfOF (beowulfof) said :
#2

Thanks Colin!

The learning curve is a bit like driving against a wall, but ok, I got my first PPA and package! Yay!