[Pkg-mc-devel] Bug#494550: mc: vfs script depend on mawk, but mc doesn't even recommend it

Jiří Paleček jpalecek at web.de
Sun Aug 10 15:05:16 UTC 2008

Package: mc
Version: 2:4.6.2~git20080311-2+b1
Severity: normal


I get errors like "mawk not found" from mc vfs scripts (eg. when opening a  
rar archive in mc). Indeed:

jirka at debian:~$ fgrep mawk /usr/share/mc/extfs/*
/usr/share/mc/extfs/audio:        RESPONSE=`wget -q -T $CDDB_TIMEOUT -O -  
"$CDDB_SERVER/~cddb/cddb.cgi?cmd=cddb+query+$DISCID&$CDDB_HANDSHAKE" | tee  
"$3" | mawk '/^200/ { print $2,$3; }'`
/usr/share/mc/extfs/iso9660:$ISOINFO -l -i "$1" | mawk '
/usr/share/mc/extfs/ualz:       $UNALZ -l "$1" | mawk -v uid=`id -nu` -v  
gid=`id -ng` '
/usr/share/mc/extfs/uarj: $ARJ v "$1" | mawk -v uuid=${UID-0} '
/usr/share/mc/extfs/uha:    $HA lf "$1" 2>/dev/null | mawk -v uid=${UID-0}  
/usr/share/mc/extfs/urar:     $UNRAR v -c- "$1" | mawk -v uid=`id -u` -v  
gid=`id -g` '
/usr/share/mc/extfs/uzoo:    $ZOO lq "$ARCHIVE" | mawk -v uid=${UID-0} '

I think that if the scripts depend specifically on mawk, mc should at leas  
recommend it. Even better, if this dependency is not crucial (ie. the  
scripts work with gawk, too), they should be changed not to require mawk.

  Jiri Palecek

-- System Information:
Debian Release: lenny/sid
   APT prefers testing
   APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux (SMP w/1 CPU core; PREEMPT)
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2) (ignored: LC_ALL  
set to cs_CZ)
Shell: /bin/sh linked to /bin/dash

Versions of packages mc depends on:
ii  libc6                         2.7-3      GNU C Library: Shared  
ii  libglib2.0-0                  2.16.1-2   The GLib library of C routines
ii  libgpm2                       1.20.4-2   General Purpose Mouse -  
shared lib
ii  libslang2                     2.1.3-2    The S-Lang programming  
library - r

mc recommends no packages.

Versions of packages mc suggests:
pn  arj                          <none>      (no description available)
ii  bzip2                        1.0.5-0.1   high-quality block-sorting  
file co
pn  dbview                       <none>      (no description available)
ii  file                         4.21-1      Determines file type using  
ii  links                        2.1pre37-1  Web browser running in text  
ii  lynx-cur [lynx]              2.8.7dev9-1 Text-mode WWW Browser with  
NLS sup
ii  mime-support                 3.39-1      MIME files 'mime.types' &  
ii  perl                         5.10.0-11.1 Larry Wall's Practical  
ii  unzip                        5.52-9      De-archiver for .zip files
ii  xpdf                         3.02-1.3    Portable Document Format  
(PDF) sui
ii  zip                          2.32-1      Archiver for .zip files

-- no debconf information

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

More information about the Pkg-mc-devel mailing list