Your message dated Mon, 26 Aug 2013 05:17:58 +0000 with message-id <[email protected]> and subject line Bug#719776: fixed in alien 8.89 has caused the Debian Bug report #719776, regarding alien: Alien cannot convert RPMS if there are whitespaces in their path 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 [email protected] immediately.) -- 719776: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719776 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: alien Version: 8.89 Severity: normal Tags: patch Hi, alien cannot cope with RPMs whem their path contains whitespace due to missing quotes in the invoced shell commands. I think I fixed all invocations (cf. patch) and then alien runs without producing error messages. This problem my apply to other package formats as well, but I was only interessted in RPMs for now. Cheers, Christopher -- System Information: Debian Release: 7.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages alien depends on: ii cpio 2.11+dfsg-0.1 ii debhelper 9.20120909 ii dpkg-dev 1.16.10 ii make 3.81-8.2 ii perl 5.14.2-21 ii rpm 4.10.0-5+deb7u1 ii rpm2cpio 4.10.0-5+deb7u1 alien recommends no packages. Versions of packages alien suggests: ii bzip2 1.0.6-4 ii lintian 2.5.10.4 pn lsb-rpm <none> ii patch 2.6.1-3 ii xz-utils [lzma] 5.1.1alpha+20120614-2 -- no debconf information>From c51017904c32666ebbfcaef7be1c9c5f63d7ad87 Mon Sep 17 00:00:00 2001 From: Christopher Huhn <[email protected]> Date: Thu, 15 Aug 2013 10:32:20 +0200 Subject: [PATCH] Correctly handle RPMs with whitespace in their path --- Alien/Package/Rpm.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Alien/Package/Rpm.pm b/Alien/Package/Rpm.pm index 97af9e0..2c02e6f 100644 --- a/Alien/Package/Rpm.pm +++ b/Alien/Package/Rpm.pm @@ -161,11 +161,11 @@ sub unpack { # Check if we need to use lzma to uncompress the cpio archive my $decomp=''; - if ($this->do("rpm2cpio ".$this->filename." | lzma -t -q > /dev/null 2>&1")) { + if ($this->do("rpm2cpio '".$this->filename."' | lzma -t -q > /dev/null 2>&1")) { $decomp = 'lzma -d -q |'; } - $this->do("rpm2cpio ".$this->filename." | (cd $workdir; $decomp cpio --extract --make-directories --no-absolute-filenames --preserve-modification-time) 2>&1") + $this->do("rpm2cpio '".$this->filename."' | (cd $workdir; $decomp cpio --extract --make-directories --no-absolute-filenames --preserve-modification-time) 2>&1") or die "Unpacking of '".$this->filename."' failed"; # cpio does not necessarily store all parent directories in an @@ -174,7 +174,7 @@ sub unpack { # Find those directories and make them mode 755, which is more # reasonable. my %seenfiles; - open (RPMLIST, "rpm2cpio ".$this->filename." | $decomp cpio -it --quiet |") + open (RPMLIST, "rpm2cpio '".$this->filename."' | $decomp cpio -it --quiet |") or die "File list of '".$this->filename."' failed"; while (<RPMLIST>) { chomp; @@ -184,7 +184,7 @@ sub unpack { foreach my $file (`cd $workdir; find ./`) { chomp $file; if (! $seenfiles{$file} && -d "$workdir/$file" && ! -l "$workdir/$file") { - $this->do("chmod 755 $workdir/$file"); + $this->do("chmod 755 '$workdir/$file'"); } } @@ -248,7 +248,7 @@ sub unpack { # postinst. my %owninfo = (); my %modeinfo = (); - open (GETPERMS, 'rpm --queryformat \'[%{FILEMODES} %{FILEUSERNAME} %{FILEGROUPNAME} %{FILENAMES}\n]\' -qp '.$this->filename.' |'); + open (GETPERMS, 'rpm --queryformat \'[%{FILEMODES} %{FILEUSERNAME} %{FILEGROUPNAME} %{FILENAMES}\n]\' -qp \''.$this->filename.'\' |'); while (<GETPERMS>) { chomp; my ($mode, $owner, $group, $file) = split(/ /, $_, 4); -- 1.7.10.4
--- End Message ---
--- Begin Message ---Source: alien Source-Version: 8.89 We believe that the bug you reported is fixed in the latest version of alien, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Joey Hess <[email protected]> (supplier of updated alien 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Thu, 22 Aug 2013 21:53:44 -0400 Source: alien Binary: alien Architecture: source all Version: 8.89 Distribution: unstable Urgency: low Maintainer: Joey Hess <[email protected]> Changed-By: Joey Hess <[email protected]> Description: alien - convert and install rpm and other packages Closes: 701106 719776 Changes: alien (8.89) unstable; urgency=low . * Correct man page to say RPMBUILDOPT (not RPMBUILDOPTS). Closes: #701106 * Handle whitespace in path to RPMs. Closes: #719776 (Thanks, Christopher Huhn) Checksums-Sha1: 85db929dc21c896b17f0423845b1cb6d0a7c86fc 1483 alien_8.89.dsc e49ebd8e6d51f91858b8f9b76cc44f6aef41ef06 64478 alien_8.89.tar.gz d7c44cccf30f9f6ba249e81dd6fb69b5b0d15c84 80316 alien_8.89_all.deb Checksums-Sha256: 892ea6267aa9d779013bda0a06aa833848aa7eed543959fd422d1f8d53b6b97e 1483 alien_8.89.dsc 35d237e3a08fb86ae83b1b6d941aa696e1dff5b5c8eb83fa818995f15527e4d8 64478 alien_8.89.tar.gz d03cd4a3e4d369603ff999ba531571f7675464ae4674e470ad6317c4fe3569b8 80316 alien_8.89_all.deb Files: 9e02ab480f4705468540a189677024bf 1483 admin optional alien_8.89.dsc 0521fb8e1df9449cdfd367b49827490d 64478 admin optional alien_8.89.tar.gz a0658c83171be5567346ed7b23f0005d 80316 admin optional alien_8.89_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIVAwUBUhrjqckQ2SIlEuPHAQg9VQ/+LNj64ff7t1MORG7nQzMCpwo7lj3oIcdt KluMLjRB5kQVKuzHhdJ4wfja2ZNAWg1JESmDCHXP7V8B9RVPsaXg2ki24ZDRCxyl keEIz+ZrSPXzlfX96cv0YxLdogYWg+/5je2xyjAIG7rdyCjCupwFVy7mDtubQ3IL gCQwiQgacGxm2Q9S+bUet1uOi261HbxqEAsR1363CV0yydp5RwJQHy2YD6R7sJgo uY/Dq4IxeBRukLOjiAf7YaJQY163LnIe/EU4/+gR101PbEVbXOUrYjuOII1h7uvu N+oOU4X95VJ6G4V1Bu20und7pIpY1FqWwXecKM+87aKEAEvcrSmD3qvr0Gm7R1Gq sTbv9jAmcq0vcaNNYCmzpopmv4uYitIuPLcVZIQtS0iJ1DVhL5DkTYYScsu/7YwF oAlErqJyiNjw3AazF65YzDF5uDrDWV9m2W6u/ycwbOqtSkS1BO4e8zC4aVakPJO6 u6TtuhJUyVaFo2tIhmYrFMfTxroAMLGAf6JWSL6LQ5JX0r4doNB9DPb8YUSs0JAf OUNs4JZmz3jWMLblLieAG7Bm15VErXDRPnObmMql5h2BGAgs5Wh8uNIcQQ1p+Vho exp8uBfFhPWGIx2QJXoQq439I21ynF+OdYJAh1BC+EWeRpp7YMBGUGbIodEhaGpu shxs3I4+HpQ= =rMm3 -----END PGP SIGNATURE-----
--- End Message ---

