Package: dgit
Version: 7.10
Severity: important

o/

As a prelude, be aware that I have:
mattia@warren ~/devel/debian/QA/mason % grep -A1 dgit ~/.gitconfig
[dgit "default"]
        build-products-dir = /home/mattia/pbuilder/result/unstable/amd64

So, when I ran my `dgit clone` it would place the .orig.tar.gz in that
directory, instead of `..`.


Not, it seems that dpkg really wants that file to be in .. though, so I
ran also a `apt source -d mason` in my .. (tbh, I'm used to ran it
before running any other git clone command anyway, so it's not like I
would have noticed this earlier).
However, it seems that something eats that file at some point.  E.g.:

mattia@warren ~/devel/debian/QA/mason % ls
mason  mason_1.0.0-12.3.diff.gz  mason_1.0.0-12.3.dsc  
mason_1.0.0-12.4_amd64.build  mason_1.0.0-12.4.diff.gz  mason_1.0.0-12.4.dsc
mattia@warren ~/devel/debian/QA/mason % apt source -d mason
Reading package lists... Done
Skipping already downloaded file 'mason_1.0.0-12.4.dsc'
Skipping already downloaded file 'mason_1.0.0-12.4.diff.gz'
Need to get 507 kB of source archives.
Get:1 http://debian.anycast-test.mirrors.debian.org/debian unstable/main mason 
1.0.0-12.4 (tar) [507 kB]
Fetched 507 kB in 1s (803 kB/s)
Download complete and in download only mode
mattia@warren ~/devel/debian/QA/mason % cd mason
mattia@warren ~/devel/debian/QA/mason/mason (git)-[dgit/sid] % dgit 
--include-dirty build-source
dpkg-buildpackage: info: source package mason
dpkg-buildpackage: info: source version 1.0.0-13
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Mattia Rizzolo <[email protected]>
 debian/rules clean
dh clean
   dh_auto_clean
   dh_clean
Format `3.0 (quilt)', need to check/update patch stack
examining quilt state (multiple patches, linear mode)
gzip: warning: GZIP environment variable is deprecated; use an alias or script
dgit: base trees orig=f9b7d6b38150329aa3a6 o+d/p=3762894aec0ec6fb63a1
dgit: quilt differences: src:  ## orig ##     gitignores:  == orig ==
dgit: quilt differences:      HEAD == o+d/p               HEAD == o+d/p
starting quiltify (multiple patches, linear mode)
quiltify linearisation planning successful, executing...
nothing quilty to commit, ok.
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building mason using existing ./mason_1.0.0.orig.tar.gz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building mason in mason_1.0.0-13.debian.tar.xz
dpkg-source: info: building mason in mason_1.0.0-13.dsc
package seems new, not specifying -v<version>
dpkg-genchanges: info: not including original source code in upload
dgit ok: source built, results in mason_1.0.0-13.dsc and 
mason_1.0.0-13_source.changes
mattia@warren ~/devel/debian/QA/mason/mason (git)-[dgit/sid] % ls ..
mason  mason_1.0.0-12.3.diff.gz  mason_1.0.0-12.3.dsc  
mason_1.0.0-12.4_amd64.build  mason_1.0.0-12.4.diff.gz  mason_1.0.0-12.4.dsc
mattia@warren ~/devel/debian/QA/mason/mason (git)-[dgit/sid] % dgit 
--include-dirty build-source
dpkg-buildpackage: info: source package mason
dpkg-buildpackage: info: source version 1.0.0-13
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Mattia Rizzolo <[email protected]>
 debian/rules clean
dh clean
   dh_auto_clean
   dh_clean
Format `3.0 (quilt)', need to check/update patch stack
examining quilt state (multiple patches, linear mode)
gzip: warning: GZIP environment variable is deprecated; use an alias or script
dgit: base trees orig=f9b7d6b38150329aa3a6 o+d/p=3762894aec0ec6fb63a1
dgit: quilt differences: src:  ## orig ##     gitignores:  == orig ==
dgit: quilt differences:      HEAD == o+d/p               HEAD == o+d/p
starting quiltify (multiple patches, linear mode)
quiltify linearisation planning successful, executing...
nothing quilty to commit, ok.
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream 
tarball found at ../mason_1.0.0.orig.tar.{bz2,gz,lzma,xz}
dgit: failed command: dpkg-source '-i(?:^|/)'\\'.git(?:/|$)' -I.git -b -- mason

dgit: error: subprocess failed with error exit status 255
255 mattia@warren ~/devel/debian/QA/mason/mason (git)-[dgit/sid] %              
                                                                                
                   :(


This is really puzzling for me :)

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

Reply via email to