Package: multistrap
Version: 2.2.9
Severity: normal
Tags: patch
Dear Maintainer,
After settings "tarballname" option, tar creation fails with following
error:
Compressing multistrap system in '/tmp/trutututu/' to a tarball called:
'mrymry.tar.gz'.
tar: Cowardly refusing to create an empty archive
Try 'tar --help' or 'tar --usage' for more information.
Patch below seems to fix this issue - i've moved "." outside of shellescape(),
it's not needed there anyway i think.
--- /usr/sbin/multistrap 2017-01-24 00:53:49.000000000 +0000
+++ multistrap.patched 2018-03-23 13:23:36.742791056 +0000
@@ -474,7 +474,7 @@
printf (_g("\nCompressing multistrap system in '%s' to a tarball
called: '%s'.\n"), $dir, $tgzname);
chdir ("$dir");
unlink $tgzname if (-f $tgzname);
- my $retval = system ("tar -czf " . shellescape("../$tgzname ."));
+ my $retval = system ("tar -czf " . shellescape("../$tgzname") . " .");
$retval >>= 8;
if ($retval == 0) {
printf (_g("\nRemoving build directory: '%s'\n"), $dir);
-- System Information:
Debian Release: 9.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-5-amd64 (SMP w/32 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8),
LANGUAGE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages multistrap depends on:
ii apt 1.4.8
ii libconfig-auto-perl 0.44-1
ii liblocale-gettext-perl 1.07-3+b1
ii libparse-debian-packages-perl 0.03-2
ii perl 5.24.1-3+deb9u2
multistrap recommends no packages.
Versions of packages multistrap suggests:
pn fakeroot <none>
-- no debconf information