Can't import packages with multiple upstream tarballs yet

Bug #653757 reported by James Westby
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Distributed Development
Fix Released
Medium
Jelmer Vernooij
bzr-builddeb
Fix Released
Medium
Jelmer Vernooij

Bug Description

AssertionError: Can't import packages with multiple upstream tarballs yet

http://package-import.ubuntu.com/status/dblatex.html
http://package-import.ubuntu.com/status/libtemplate-perl.html
http://package-import.ubuntu.com/status/lp-solve.html
http://package-import.ubuntu.com/status/openoffice.org.html
http://package-import.ubuntu.com/status/openoffice.org-l10n.html
http://package-import.ubuntu.com/status/openthesaurus.html
http://package-import.ubuntu.com/status/poppler-data.html
http://package-import.ubuntu.com/status/spamassassin.html
http://package-import.ubuntu.com/status/sqlite3.html
http://package-import.ubuntu.com/status/ttf-kacst.html
http://package-import.ubuntu.com/status/rar.html

New dpkg quilt v3 format allows you to have multiple upstream tarballs. You still have orig.tar.gz, but you may have others which will be named with a "suffix" (eg foo-doc.tar.gz) indicating what subdirectory that tarball should be extracted in.

We currently don't have a great way to represent this in the bzr import, because we don't have a simple revision to represent the upstream subdirectory tarball.

Pristine-tar also doesn't know how to put the information for that tarball.

Related branches

James Westby (james-w)
Changed in bzr-builddeb:
status: New → Triaged
importance: Undecided → Medium
tags: added: bzr-builddeb
James Westby (james-w)
description: updated
James Westby (james-w)
description: updated
James Westby (james-w)
description: updated
description: updated
description: updated
James Westby (james-w)
description: updated
James Westby (james-w)
description: updated
description: updated
John A Meinel (jameinel)
description: updated
John A Meinel (jameinel)
description: updated
description: updated
Revision history for this message
John A Meinel (jameinel) wrote :

Ideally this would be done with by-reference merging, but could also logically be done with by-value nesting.

We can import the alternate upstream tarballs as simple revision histories, which then gets merged into a subdirectory of the overall package import.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Perhaps they can be added as looms that merge in a single new directory?

Revision history for this message
Max Bowsher (maxb) wrote :

This particular UDD importer failure signature also encompasses other problems:

gpsman: .diff.gz only applies with fuzz
opustex, roxen-fonts-iso8859-1, roxen-fonts-iso8859-2, mason, tcpquota: missing critical source control field Format
libtrace3: none of the filenames in ---/+++ are relative in diff
ubiquity: jubany does not have xz-utils installed, so it cannot unpack .tar.xz files

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 653757] Re: Can't import packages with multiple upstream tarballs yet

I recall that libtrace3 failure from merge-o-matic operation; it was
fixed by using a newer version of dpkg-dev, though I don't recall
exactly which one.

xz-utils needs to get installed, as I expect a popularity spike in
.tar.xz once Debian gets round to finishing support for it in their
archive.

Jelmer Vernooij (jelmer)
Changed in udd:
assignee: nobody → Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
assignee: nobody → Jelmer Vernooij (jelmer)
Changed in udd:
status: Triaged → In Progress
Changed in bzr-builddeb:
status: Triaged → In Progress
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
status: In Progress → Fix Committed
Changed in udd:
status: In Progress → Fix Committed
Revision history for this message
Martin Pool (mbp) wrote :

On 9 October 2011 08:45, Jelmer Vernooij <email address hidden> wrote:
> ** Changed in: bzr-builddeb
>       Status: In Progress => Fix Committed

Hooray!

Jelmer Vernooij (jelmer)
Changed in udd:
status: Fix Committed → Fix Released
Changed in bzr-builddeb:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.