Package: rar
Version: 2:4.0.b3-1
Severity: grave
Tags: l10n
Justification: renders package unusable
Dear Maintainer,
There is a bug in RAR 4.00 beta 3 that may result to ignoring some files whose
names contain international characters when adding these files to the archive.
This bug has already been fixed in newer versions of RAR (for example, version
from jessie repository - 4.20).
The way to reproduce the bug:
1. Create directory structure with file names that contain international
characters:
mkdir -p test/{01..03}
for i in test/* ; do echo "$RANDOM" > "${i}/${RANDOM}.txt" ; done
for i in test/* ; do echo "$RANDOM" > "${i}/日本語.${RANDOM}.txt" ; done
for i in test/* ; do echo "$RANDOM" > "${i}/Кириллица.${RANDOM}.txt" ;
done
for i in test/* ; do echo "$RANDOM" > "${i}/абырвалг.${RANDOM}.txt" ;
done
Here's the result:
> $ find test -type f | sort
> test/01/Eng.7300.txt
> test/01/абырвалг.19779.txt
> test/01/Кириллица.17866.txt
> test/01/日本語.9967.txt
> test/02/Eng.15108.txt
> test/02/абырвалг.16704.txt
> test/02/Кириллица.12278.txt
> test/02/日本語.2989.txt
> test/03/Eng.6225.txt
> test/03/абырвалг.1869.txt
> test/03/Кириллица.13163.txt
> test/03/日本語.24880.txt
2. Add mentioned directory structure to archive:
rar a -r0 test.rar test
or
find test -type f | rar a -r0 -n@ test.rar
3. List archive contents:
> $ rar l test.rar
>
> RAR 4.00 beta 3 Copyright (c) 1993-2010 Alexander Roshal 17 Dec 2010
> Shareware version Type RAR -? for help
>
> Archive test.rar
>
> Name Size Packed Ratio Date Time Attr CRC Meth
Ver
>
-------------------------------------------------------------------------------
> Кириллица.12278.txt 5 15 300% 11-08-14 11:57 -rw-r--
r-- 913BED04 m3b 2.9
> Eng.15108.txt 6 15 250% 11-08-14 11:57 -rw-r--r-- 45FFB283 m3b
2.9
> Кириллица.17866.txt 6 16 266% 11-08-14 11:57 -rw-r--
r-- BB604F49 m3b 2.9
> Eng.7300.txt 6 16 266% 11-08-14 11:57 -rw-r--r-- 6043F5DF m3b
2.9
> Кириллица.13163.txt 5 15 300% 11-08-14 11:57 -rw-r--
r-- 263081ED m3b 2.9
> Eng.6225.txt 5 15 300% 11-08-14 11:57 -rw-r--r-- FB57E094 m3b
2.9
>
-------------------------------------------------------------------------------
> 6 33 92 278%
As we see, not all the files have been added to the archive.
And the main question: who came up with to put the beta version in the stable
repository?
-- System Information:
Debian Release: 7.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_UA.UTF-8, LC_CTYPE=ru_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
rar depends on no packages.
rar recommends no packages.
Versions of packages rar suggests:
ii unrar 1:4.1.4-1
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]