Package: dgit
Version: 9.6
Severity: important

Dear Maintainer,

"dgit fetch" in my salsa checkout of findlib fails with:
> canonical suite name for unstable is sid
> last upload to archive: NO git hash
> using existing findlib_1.7.3.orig.tar.gz
> using existing findlib_1.7.3-2.debian.tar.xz
> dpkg-source: info: extraction de findlib dans findlib-1.7.3
> dpkg-source: info: extraction de findlib_1.7.3.orig.tar.gz
> dpkg-source: info: extraction de findlib_1.7.3-2.debian.tar.xz
> synthesised git commit from .dsc 1.7.3-2
> cannot remove directory for 
> /home/steph/debian/dom/packages/findlib/.git/dgit/unpack/findlib-1.7.3/debian/source:
>  Directory not empty at /usr/bin/dgit line 2721.
>  at /usr/share/perl5/Debian/Dgit.pm line 153.
>       Debian::Dgit::__ANON__("cannot remove directory for 
> /home/steph/debian/dom/packages/f"...) called at /usr/share/perl/5.28/Carp.pm 
> line 291
>       Carp::carp("cannot remove directory for 
> /home/steph/debian/dom/packages/f"...) called at 
> /usr/share/perl/5.28/File/Path.pm line 65
>       File::Path::_error(HASH(0x555ce7f2c790), "cannot remove directory", 
> "/home/steph/debian/dom/packages/findlib/.git/dgit/unpack/find"...) called at 
> /usr/share/perl/5.28/File/Path.pm line 549
>       File::Path::_rmtree(HASH(0x555ce7f2c790), ARRAY(0x555ce7dbb2e8)) called 
> at /usr/share/perl/5.28/File/Path.pm line 500
>       File::Path::_rmtree(HASH(0x555ce7f46d80), ARRAY(0x555ce7d48ee0)) called 
> at /usr/share/perl/5.28/File/Path.pm line 500
>       File::Path::_rmtree(HASH(0x555ce7f46cc0), ARRAY(0x555ce72911f8)) called 
> at /usr/share/perl/5.28/File/Path.pm line 500
>       File::Path::_rmtree(HASH(0x555ce7dbb480), ARRAY(0x555ce7d63580)) called 
> at /usr/share/perl/5.28/File/Path.pm line 366
>       
> File::Path::rmtree("/home/steph/debian/dom/packages/findlib/.git/dgit/unpack")
>  called at /usr/bin/dgit line 2721
>       main::generate_commits_from_dsc() called at /usr/bin/dgit line 3329
>       main::fetch_from_archive() called at /usr/bin/dgit line 3898
>       main::fetch_one() called at /usr/bin/dgit line 3918
>       main::dofetch() called at /usr/bin/dgit line 4886
>       main::cmd_fetch() called at /usr/bin/dgit line 7798

It might be relevant to know that /home/steph is on NFS.

Indeed, /home/.../findlib-1.7.3/debian/source is empty after the
command exists. I suspect dgit tries to remove it while having files
of this directory open. This does not work on NFS, and I see no good
reason to need this feature in dgit.

Why doesn't dgit unpack somewhere in /tmp?


Cheers,

-- 
Stéphane

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dgit depends on:
ii  apt                     1.8.2
ii  ca-certificates         20190110
ii  coreutils               8.30-3
ii  curl                    7.65.1-1
ii  devscripts              2.19.6
ii  dpkg-dev                1.19.7
ii  dput-ng [dput]          1.28
ii  git [git-core]          1:2.20.1-2
ii  git-buildpackage        0.9.14
pn  libdigest-sha-perl      <none>
ii  libdpkg-perl            1.19.7
ii  libjson-perl            4.02000-1
ii  liblist-moreutils-perl  0.416-1+b4
ii  liblocale-gettext-perl  1.07-3+b4
ii  libtext-glob-perl       0.10-1
ii  libtext-iconv-perl      1.7-6
ii  libwww-curl-perl        4.17-5
ii  perl                    5.28.1-6

Versions of packages dgit recommends:
ii  openssh-client [ssh-client]  1:8.0p1-3

Versions of packages dgit suggests:
ii  pbuilder  0.230.4

-- no debconf information

Reply via email to