svn-buildpackage fails when upstream tar is downloaded by uscan

Bug #1549569 reported by Chris Orser
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
svn-buildpackage (Ubuntu)
New
Undecided
Unassigned

Bug Description

Description: Ubuntu 14.04.4 LTS
Release: 14.04

svn-buildpackage:
  Installed: 0.8.5
  Candidate: 0.8.5
  Version table:
 *** 0.8.5 0
        500 http://ubuntu.mirror.iweb.ca/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

Expected:

When building a package that needs to use uscan to fetch the upstream tar building a source package would complete with Success

What happened:

dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../<upstream_tar>

I've tracked down the issue:

The default behaviour of uscan is to create a symbolic link for *.orig.tar.gz pointing to the upstream tar file. The code that assigns the path for later use, uses abs_path to stripping the symbolic link out. I just changed the behaviour so a real path would be generated and the correct file would end up in the build area for dpkg-source.

I used --rename in my patch but --no-symlink works just as well if having the original upstream tar is important.

Tags: patch
Revision history for this message
Chris Orser (chris-orser) wrote :
description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "uscan_fix.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
summary: - svn-buildpackage fails when upstream tar is downloaded by scan
+ svn-buildpackage fails when upstream tar is downloaded by uscan
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.