Your message dated Mon, 25 Mar 2019 15:04:16 +0000
with message-id <e1h8r96-000f2n...@fasolo.debian.org>
and subject line Bug#910737: fixed in dpkg 1.19.6
has caused the Debian Bug report #910737,
regarding dpkg-source -b /path/to/somewhere should not delete somewhere.orig
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
910737: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910737
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dpkg-dev
Version: 1.18.25
Severity: important

This seems like a potential data loss bug.
Transcript of repro follows.

I think this is related to #865426.  Note that the orig seems to be
correctly picked up from dpkg-source's cwd.

Ian.

zealot:910725> pwd
/home/ian/things/Dgit/Bugs/910725
zealot:910725> rm -rf abspath
zealot:910725> mkdir abspath
zealot:910725> cd abspath/
zealot:abspath> mkdir bpd
zealot:abspath> dgit clone --build-products-dir=../bpd mason
canonical suite name for unstable is sid
fetching existing git history
>From https://git.dgit.debian.org/mason
 * [new branch]      master     -> origin/master
downloading 
http://ftp.debian.org/debian//pool/main/m/mason/mason_1.0.0-13.dsc...
downloading 
http://ftp.debian.org/debian//pool/main/m/mason/mason_1.0.0-12.4.dsc...
last upload to archive: NO git hash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  495k  100  495k    0     0  2812k      0 --:--:-- --:--:-- --:--:-- 2828k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 27602  100 27602    0     0   311k      0 --:--:-- --:--:-- --:--:--  313k
dpkg-source: info: extracting mason in mason-1.0.0
dpkg-source: info: unpacking mason_1.0.0.orig.tar.gz
dpkg-source: info: applying mason_1.0.0-12.4.diff.gz
dpkg-source: info: upstream files that have been modified: 
 mason-1.0.0/Makefile
 mason-1.0.0/baserules.sample
 mason-1.0.0/firewall
 mason-1.0.0/mason
 mason-1.0.0/mason-decide
 mason-1.0.0/mason-gui-text
 mason-1.0.0/mason-gui-text.1
 mason-1.0.0/mason.1
 mason-1.0.0/masonlib
 mason-1.0.0/masonrc
 mason-1.0.0/samlib
 mason-1.0.0/ttt
synthesised git commit from .dsc 1.0.0-12.4

Version actually in archive:   1.0.0-12.4 (older)
Last version pushed with dgit: 1.0.0-13 (newer or same)
Perhaps the upload is stuck in incoming.  Using the version from git.

HEAD is now at 0df2780 Changelog for 1.0.0-13
dgit ok: ready for work in mason
zealot:abspath> cd mason
zealot:mason> git reset --hard 45a228dbf27ec8b05b19f6b899d797b67d2d4726
HEAD is now at 45a228d mason (1.0.0-12.4) unstable; urgency=medium
zealot:mason> cd ..
zealot:abspath> mkdir mason.orig
zealot:abspath> echo hi >mason.orig/ho
zealot:abspath> cd bpd
zealot:bpd> ls
mason_1.0.0-12.4.diff.gz  mason_1.0.0.orig.tar.gz
zealot:bpd> ls ..
bpd/  mason/  mason.orig/
zealot:bpd> dpkg-source '-i(?:^|/)'\\'.git(?:/|$)' -I.git -b 
~/things/Dgit/Bugs/910725/abspath/mason
dpkg-source: warning: no source format specified in debian/source/format, see 
dpkg-source(1)
dpkg-source: info: using source format '1.0'
dpkg-source: warning: source directory 
'/home/ian/things/Dgit/Bugs/910725/abspath/mason' is not 
<sourcepackage>-<upstreamversion> 'mason-1.0.0'
dpkg-source: warning: .orig directory name mason.orig is not 
<package>-<upstreamversion> (wanted mason-1.0.0.orig)
dpkg-source: info: building mason using existing mason_1.0.0.orig.tar.gz
dpkg-source: info: building mason in mason_1.0.0-12.4.diff.gz
dpkg-source: warning: the diff modifies the following upstream files: 
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/Makefile
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/baserules.sample
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/NEWS
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/README.Debian
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/changelog
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/compat
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/conffiles
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/config
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/control
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/copyright
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/POTFILES.in
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/cs.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/da.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/de.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/es.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/eu.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/fi.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/fr.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/gl.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/it.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/ja.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/nb.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/nl.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/pt.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/pt_BR.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/ru.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/sv.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/templates.pot
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/tr.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/vi.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/po/zh_CN.po
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/postinst
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/postrm
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/rules
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/templates
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/debian/watch
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/firewall
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/mason
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/mason-decide
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/mason-gui-text
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/mason-gui-text.1
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/mason.1
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/masonlib
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/masonrc
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/samlib
 /home/ian/things/Dgit/Bugs/910725/abspath/mason.orig/ttt
dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented 
changes to upstream files, see dpkg-source(1)
dpkg-source: info: building mason in mason_1.0.0-12.4.dsc
zealot:bpd> ls ../mason.orig
/bin/ls: cannot access '../mason.orig': No such file or directory
zealot:bpd> 




-- 
Ian Jackson <ijack...@chiark.greenend.org.uk>   These opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.

--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.19.6

We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 910...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover <guil...@debian.org> (supplier of updated dpkg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 25 Mar 2019 15:08:26 +0100
Source: dpkg
Architecture: source
Version: 1.19.6
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers <debian-d...@lists.debian.org>
Changed-By: Guillem Jover <guil...@debian.org>
Closes: 910737 923861 924776 924777
Changes:
 dpkg (1.19.6) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * libdpkg: Add a new TAR_FORMAT_UNKNOWN enum value.
   * libdpkg: Set tar_entry to zero on tar_entry_destroy(), to avoid double
     free()s and the subsequent crashes.
   * libdpkg: Handle non end-of-tape errors from tar_header_decode().
   * libdpkg: Use ERANGE instead of EINVAL for tar_atol8() out-of-range error.
   * dpkg-gencontrol: Check presence of package build dir before traversing it.
   * Perl modules:
     - Dpkg::Source::Package::V1: Change default build option style to -sa.
       Using -sA by default means the user might lose data on overwrite if
       there is already a directory with the same name laying around.
       Closes: #910737
     - Dpkg::Source::Package: Handle Format field being undefined. On source
       format 1.0, the default is for the debian/source/format file not being
       present, which means we'll start with an empty Format field name.
       Regression introduced in dpkg 1.19.3.
   * Packaging:
     - Update usertags.
     - Install a lintian profile for dpkg based on the debian profile, so that
       we can suppress Debian-specific tags, such as the controversial one on
       vendor-specific patch series files.
     - Add Breaks on lsb-base due to start-stop-daemon exposing breakage in
       the killproc function from /lib/lsb/init-functions. Closes: #923861
   * Test suite:
     - Stop requiring (pseudo-)root in the functional test suite.
     - Export and move TESTDATA definition close to the PATH definition.
     - Quote the 'yes' command to make a comment clearer.
 .
   [ Updated programs translations ]
   * Dutch (Frans Spiesschaert). Closes: #924776
 .
   [ Updated scripts translations ]
   * German (Helge Kreutzmann).
 .
   [ Updated man pages translations ]
   * Dutch (Frans Spiesschaert). Closes: #924777
   * German (Helge Kreutzmann).
Checksums-Sha1:
 e9a08ba4dc2cb57dd4be52008385ae61c1f3662c 2103 dpkg_1.19.6.dsc
 90f83d4f917439346eb4432a07a65fdbab90a77b 4802832 dpkg_1.19.6.tar.xz
 a3c77f34558e98f64b06c7e7c6e355d4b2b90924 7128 dpkg_1.19.6_amd64.buildinfo
Checksums-Sha256:
 c602dd234e810c066fb9c8ae265b4e3115b2f76dfe2c666a4f6b2fc3f036c472 2103 
dpkg_1.19.6.dsc
 4eb1a12d1f5bd55478d2eab530dd188733e425f301e3b8c030f645f48ef43768 4802832 
dpkg_1.19.6.tar.xz
 f3923fbe28fcfd1d21eaee3d1848cfb19795a061c915dcf4981f7e1a4a2b0518 7128 
dpkg_1.19.6_amd64.buildinfo
Files:
 d068cefa225ce6638b3c33a5392b2611 2103 admin required dpkg_1.19.6.dsc
 4422efb79f384fa04a59ecb825fcb5ef 4802832 admin required dpkg_1.19.6.tar.xz
 7b12a71c1bf053bbf190fa3f326b5b42 7128 admin required 
dpkg_1.19.6_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETz509DYFDBD1aWV0uXK/PqSuV6MFAlyY5OoACgkQuXK/PqSu
V6MIJBAA5UFwzM/8skbK4tbG1FcwJb978weNqPfy9js0oBBMIhc1ax1TvLUyUnNh
EZj8ltpsSIrakm0HXoCef4A7q5iiO/bHn/u188RqiQ8sjNHkpkHGZIiONSCreqpK
d6q8HLPrImq7D1AjbVN1BpxqSzHi/ibng7tcyiskXir/r4opV4gSzFdUJnqRv5IV
WEpEc93Du8vSX2/OjU2O55qIwgOXu1ZYDDXLswkV0DRmqX1i2Wgp4f1/ftW54lwH
MQq+aiT6trSAxXXympX5s7gw9QnF1QQSgQPaCrfz36MiHY0vmYMsWkxT+MWnKa16
lfHZ+S66BmaTKai/FHINynZxem0aqRYQCCQ4xCWxNbCuNDK/qKdpXQXDr0u/PlbS
7d5pHqHuN4Ypp6dfy9BdNDTdFiS+9JN+J0SEQeLqnrtmmhvgNOw+5HPALGc5cApo
FiLqvE3pIHYaANwV1FQthhr8ab8Weq8M+SLvuKd5ShacCU2qlNanEv5+dDSnqdQg
mqvdf5iZJSK0q2sjysVqIXrPaz5x+Ea3TWv/8UnJcusN/DsfqqAU8GV0VD+U75B1
bIy6dotJk7cOQkPEV5IY/8a8st/dDria8XL2RGmcMKbtGFiVH7QJp3dx1mKOIUFg
GVqAg7loAZEvFi+yTYPUxsV8s0OWbpLEoFMrk79+YM3xv7O4jIY=
=H5/q
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to