Package: pristine-tar
Version: 1.44
Severity: normal

Hi,

the systemd Debian package repo uses pristine-tar.

Today I wanted to import the new upstream version v239, which failed
with the following error message:

pristine-tar: git archive --format=tar 94b74f04796e0da187092db7c2487aaf30f0faf1 
| (cd '/tmp/pristine-tar.Cr2O5cRTsV' && tar x)
pristine-tar: mkdir /tmp/pristine-tar.kzgpmVhxjE/workdir
pristine-tar: mv /tmp/pristine-tar.Cr2O5cRTsV 
/tmp/pristine-tar.kzgpmVhxjE/workdir/systemd-239
pristine-tar: tar cf /tmp/pristine-tar.kzgpmVhxjE/recreatetarball --owner 0 
--group 0 --numeric-owner -C /tmp/pristine-tar.kzgpmVhxjE/workdir 
--no-recursion --mode 0644 --verbatim-files-from --files-from 
/tmp/pristine-tar.kzgpmVhxjE/manifest
tar: 
systemd-239/test/fuzz-corpus/unit-file/dev-mapper-fedora_krowka\\\\x2dswap.swap:
 Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
pristine-tar: command failed: tar cf 
/tmp/pristine-tar.kzgpmVhxjE/recreatetarball --owner 0 --group 0 
--numeric-owner -C /tmp/pristine-tar.kzgpmVhxjE/workdir --no-recursion --mode 
0644 --verbatim-files-from --files-from /tmp/pristine-tar.kzgpmVhxjE/manifest


Looking at that directory, I have a file named
/tmp/pristine-tar.kzgpmVhxjE/workdir/systemd-239/test/fuzz-corpus/unit-file/dev-mapper-fedora_krowka\x2dswap.swap

The manifest file /tmp/pristine-tar.kzgpmVhxjE/manifest contains
systemd-239/test/fuzz-corpus/unit-file/dev-mapper-fedora_krowka\\x2dswap.swap

Fixing that manifest file manually and removing the duplicated '\', tar
is successfully creating the tarball.

If you want to reproduce the issue, run

$ apt install git-buildpackage
$ gbp clone systemd
$ gbp import-orig --uscan

Regards,
Michael



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pristine-tar depends on:
ii  libbz2-1.0  1.0.6-8.1
ii  libc6       2.27-3
ii  perl        5.26.2-6
ii  tar         1.30+dfsg-2
ii  xdelta      1.1.3-9.2
ii  xdelta3     3.0.11-dfsg-1+b1
ii  zlib1g      1:1.2.11.dfsg-1

Versions of packages pristine-tar recommends:
ii  bzip2     1.0.6-8.1
ii  pbzip2    1.1.9-1+b1
ii  xz-utils  5.2.2-1.3

pristine-tar suggests no packages.

-- no debconf information

Reply via email to