Package: couchdb Version: 0.8.0-2+b1 Severity: serious Tags: patch Justification: Policy 3.5
Invoking /etc/init.d/couchdb start renders the following output: Starting database server: couchdb/usr/bin/couchdb: line 100: gawk: command not found failed! I expect it to just start. Further investigation shows that /usr/bin/couchdb uses gawk at lines 100 and 104. The option -F is readily available in awk so there should be no problem replacing gawk with awk in this case. Patch below. --- couchdb.orig 2009-03-31 12:26:28.000000000 +0100 +++ couchdb 2009-03-31 12:29:03.000000000 +0100 @@ -97,11 +97,11 @@ } _load_configuration () { - dbrootdir_ini_value=`gawk -F = "/^DbRootDir=/{print \\$2}" < $INI_FILE` + dbrootdir_ini_value=`awk -F = "/^DbRootDir=/{print \\$2}" < $INI_FILE` if test -n "$dbrootdir_ini_value"; then LIB_DIRECTORY=$dbrootdir_ini_value fi - logfile_ini_value=`gawk -F = "/^LogFile=/{print \\$2}" < $INI_FILE` + logfile_ini_value=`awk -F = "/^LogFile=/{print \\$2}" < $INI_FILE` if test -n "$logfile_ini_value"; then LOG_DIRECTORY=`dirname $logfile_ini_value` fi If gawk is necessary for couchdb please add it to the dependency field. Best regards, Per -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages couchdb depends on: ii adduser 3.110 add and remove users and groups ii erlang-base [erlang-abi- 1:12.b.5-dfsg-2 Concurrent, real-time, distributed ii erlang-nox 1:12.b.5-dfsg-2 Concurrent, real-time, distributed ii libc6 2.9-4 GNU C Library: Shared libraries ii libicu40 4.0.1-2 International Components for Unico ii libmozjs1d 1.9.0.7-1 The Mozilla SpiderMonkey JavaScrip ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip ii mime-support 3.44-1 MIME files 'mime.types' & 'mailcap couchdb recommends no packages. couchdb suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org