.changes from dpkg-genchanges 1.19.3 are rejected
Bug #1813037 reported by
Mattia Rizzolo
This bug affects 9 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Colin Watson |
Bug Description
Today I tried uploading a package to launchpad, and it was rejected with:
Rejected:
Unable to find mandatory field 'Binary' in the changes file.
Further error processing not possible because of a critical previous error.
This is due to this change in dpkg:
* dpkg-genchanges: Only reference binary packages being uploaded, which
means that for a source-only upload, the Binary and Description fields
should be empty. Closes: #818618
http://
Related branches
lp:~cjwatson/launchpad/allow-missing-changes-binary
- William Grant (community): Approve (code)
-
Diff: 123 lines (+79/-2)4 files modifiedlib/lp/archiveuploader/changesfile.py (+2/-2)
lib/lp/archiveuploader/tests/data/suite/bar_1.0-1_no_binary_field/bar_1.0-1.dsc (+21/-0)
lib/lp/archiveuploader/tests/data/suite/bar_1.0-1_no_binary_field/bar_1.0-1_source.changes (+27/-0)
lib/lp/archiveuploader/tests/test_uploadprocessor.py (+29/-0)
Changed in launchpad: | |
status: | New → Confirmed |
Changed in launchpad: | |
importance: | Undecided → Critical |
Changed in launchpad: | |
status: | Confirmed → In Progress |
assignee: | nobody → Colin Watson (cjwatson) |
tags: |
added: lp-soyuz qa-ok soyuz-upload removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I just hit this too.
It'd be good to address this in launchpad, but meanwhile I found a simple (though nasty) way to work around this PPA upload check when using dpkg 1.19.3 or newer. Passing -DBinary=dummy to dpkg-genchanges (or --changes- option= -DBinary= dummy to dpkg-buildpackage) results in a *_source.changes containing "Binary: dummy" which passes the PPA upload check and the package then builds successfully, giving the binary packages it should (the contents of this header doesn't seem to need to match the packages which actually get built).