Public bug reported:

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.

** Affects: svn-buildpackage (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "uscan_fix.patch"
   
https://bugs.launchpad.net/bugs/1549569/+attachment/4580513/+files/uscan_fix.patch

** Description changed:

  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
+   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 that a building a source package would complete with Success
+ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549569

Title:
  svn-buildpackage fails when upstream tar is downloaded by scan

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/svn-buildpackage/+bug/1549569/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to