Your message dated Mon, 17 Oct 2011 17:17:17 +0000 with message-id <[email protected]> and subject line Bug#644396: fixed in alsa-tools 1.0.24.1-3 has caused the Debian Bug report #644396, regarding lintian error because of bashism (patch) 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.) -- 644396: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644396 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: alsa-tools Version: 1.0.24.1-2 Severity: normal Tags: patch While compiling this version for Debian "stable" I have found one more bashism which make problems while create packages: I got the lintian warning: E: ld10k1: shell-script-fails-syntax-check ./usr/share/ld10k1/init_live And here is the solution for file ld10k1/setup/init_live.in: dump_patches { - num=$1 + max=$(( ${1} - 1 )) + line=$(seq -s ' ' 0 $max) - for (( i=0; $i < $num; i=$i+1 )); do - p=$(( $i + 100)) - runlo10k1 --debug $p + for i in ${line}; do + p=$(( $i + 100)) + runlo10k1 --debug $p done exit } See the attachment for the updated patch file. -- System Information: Debian Release: squeeze Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash --- Have a nice day. Joachim (Germany)Description: Fixim bashism found by checkbashisms script Author: Elimar Riesebieter <[email protected]>, Joachim Wiedorn <[email protected]> Last-Update: 2010-10-05 diff -urN s04/ld10k1/setup/init_live.in s05/ld10k1/setup/init_live.in --- s04/ld10k1/setup/init_live.in 2011-01-28 16:13:36.000000000 +0100 +++ s05/ld10k1/setup/init_live.in 2011-10-05 15:08:05.207933133 +0200 @@ -46,7 +46,7 @@ std_capture=capture #std_capture=capture_noswitch -function log +log { local level=$1 @@ -57,7 +57,7 @@ fi } -function runlo10k1 +runlo10k1 { log 2 $LO10K1 "$@" @@ -71,7 +71,7 @@ fi } -function rename +rename { port=$1 name=$2 @@ -81,7 +81,7 @@ runlo10k1 --renam "$port=$name" } -function connect +connect { from=$1 op=$2 @@ -92,7 +92,7 @@ runlo10k1 --conadd "$from$op$to" } -function copy +copy { local name=$1 local port=$2 @@ -105,7 +105,7 @@ connect "PIN($name Copy)" '=' "$port" } -function volume +volume { local name=$1 local port=$2 @@ -120,7 +120,7 @@ connect "PIN($name Volume)" '=' "$port" } -function master_volume +master_volume { local name=$1 local port=$2 @@ -135,7 +135,7 @@ connect "$port" '=' "PIN($name Volume)" } -function switch +switch { local name=$1 local port=$2 @@ -150,7 +150,7 @@ connect "PIN($name Switch)" '>' "$port" } -function switch_2x2 +switch_2x2 { local name=$1 local port1=$2 @@ -166,7 +166,7 @@ connect "PIN($name Switch,2,3)" '>' "$port2" } -function switch_5x2 +switch_5x2 { local name=$1 local port1=$2 @@ -182,7 +182,7 @@ connect "PIN($name Switch,5,6,7,8,9)" '>' "$port2" } -function master_switch +master_switch { local name=$1 local port=$2 @@ -197,7 +197,7 @@ connect "PIN($name Switch)" '=' "$port" } -function playback +playback { name=$1 port=$2 @@ -211,7 +211,7 @@ add_output "POUT($name Playback Volume)" } -function playback_noswitch +playback_noswitch { name=$1 port=$2 @@ -224,7 +224,7 @@ add_output "POUT($name Playback Volume)" } -function capture +capture { name=$1 port=$2 @@ -238,7 +238,7 @@ connect "POUT($name Capture Volume)" '>' "OUT(OUT_PCM_Capture_Left,OUT_PCM_Capture_Right)" } -function capture_noswitch +capture_noswitch { name=$1 port=$2 @@ -251,7 +251,7 @@ connect "POUT($name Capture Volume)" '>' "OUT(OUT_PCM_Capture_Left,OUT_PCM_Capture_Right)" } -function master +master { local name=$1 local port=$2 @@ -264,48 +264,48 @@ master_switch "$name Playback" "POUT($name Playback Volume)" 1 $index } -function dump_patches +dump_patches { - num=$1 + max=$(( ${1} - 1 )) + line=$(seq -s ' ' 0 $max) - for (( i=0; $i < $num; i=$i+1 )); do - p=$(( $i + 100)) - runlo10k1 --debug $p + for i in ${line}; do + p=$(( $i + 100)) + runlo10k1 --debug $p done - exit } -function add_output +add_output { local port=$1 $add_output_func "$port" } -function add_output_tone_2 +add_output_tone_2 { local port=$1 connect "$port" '>' "PIN(Tone Control,0,1)" } -function add_output_simple_2 +add_output_simple_2 { local port=$1 connect "$port" '>' "PIN(Wave Simple Stereo To 51,0,1)" } -function add_output_prologic_2 +add_output_prologic_2 { local port=$1 connect "$port" '>' "PIN(Wave Prologic,0,1)" } -function add_output_switched_2 +add_output_switched_2 { local port=$1 @@ -314,7 +314,7 @@ } -function simple_stereo_to_51 +simple_stereo_to_51 { local name=$1 local control=$2 @@ -330,7 +330,7 @@ fi } -function prologic +prologic { local name=$1 local control=$2 @@ -351,7 +351,7 @@ connect "POUT($name Prologic)" '=' "PIN($name Multi Volume,0,1,2,3,4,5)" } -function tone +tone { local name=$1 local port=$2 @@ -364,7 +364,7 @@ runlo10k1 -n --ctrl "c-bass0,bass1,bass2,bass3,bass4:$name - Bass,t-$name - Bass:2,v-$name - Bass:1,c-treble0,treble1,treble2,treble3,treble4:$name - Treble,t-$name - Treble:3,v-$name - Treble:1,c-toneonoff:$name - Switch,t-$name - Switch:4" --patch_name "${name}" -a tone.emu10k1 } -function multi_playback +multi_playback { local name=$1 local port=$2 @@ -383,7 +383,7 @@ connect "POUT($name Multi Volume)" '>' "PIN(Tone Control)" } -function fxbus +fxbus { local name=$1 local enable_pcm_fx89=$2
--- End Message ---
--- Begin Message ---Source: alsa-tools Source-Version: 1.0.24.1-3 We believe that the bug you reported is fixed in the latest version of alsa-tools, which is due to be installed in the Debian FTP archive: alsa-firmware-loaders_1.0.24.1-3_amd64.deb to contrib/a/alsa-tools/alsa-firmware-loaders_1.0.24.1-3_amd64.deb alsa-tools-gui_1.0.24.1-3_amd64.deb to main/a/alsa-tools/alsa-tools-gui_1.0.24.1-3_amd64.deb alsa-tools_1.0.24.1-3.debian.tar.bz2 to main/a/alsa-tools/alsa-tools_1.0.24.1-3.debian.tar.bz2 alsa-tools_1.0.24.1-3.dsc to main/a/alsa-tools/alsa-tools_1.0.24.1-3.dsc alsa-tools_1.0.24.1-3_amd64.deb to main/a/alsa-tools/alsa-tools_1.0.24.1-3_amd64.deb ld10k1_1.0.24.1-3_amd64.deb to main/a/alsa-tools/ld10k1_1.0.24.1-3_amd64.deb liblo10k1-0_1.0.24.1-3_amd64.deb to main/a/alsa-tools/liblo10k1-0_1.0.24.1-3_amd64.deb liblo10k1-dev_1.0.24.1-3_amd64.deb to main/a/alsa-tools/liblo10k1-dev_1.0.24.1-3_amd64.deb qlo10k1_1.0.24.1-3_amd64.deb to main/a/alsa-tools/qlo10k1_1.0.24.1-3_amd64.deb 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. Jordi Mallach <[email protected]> (supplier of updated alsa-tools 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: SHA1 Format: 1.8 Date: Mon, 17 Oct 2011 17:21:42 +0200 Source: alsa-tools Binary: alsa-tools alsa-tools-gui alsa-firmware-loaders ld10k1 liblo10k1-0 liblo10k1-dev qlo10k1 Architecture: source amd64 Version: 1.0.24.1-3 Distribution: unstable Urgency: low Maintainer: Debian ALSA Maintainers <[email protected]> Changed-By: Jordi Mallach <[email protected]> Description: alsa-firmware-loaders - ALSA software loaders for specific hardware alsa-tools - Console based ALSA utilities for specific hardware alsa-tools-gui - GUI based ALSA utilities for specific hardware ld10k1 - ALSA emu10k1/2 patch loader liblo10k1-0 - ALSA emu10k1/2 patch-loader library liblo10k1-dev - ALSA emu10k1/2 patch-loader library development files qlo10k1 - ALSA ld10k1 utility Closes: 641352 644396 Changes: alsa-tools (1.0.24.1-3) unstable; urgency=low . [ Elimar Riesebieter ] * Applied hdspmixer_recognize_RME.patch from git. (closes: #641352) * Modified init_live_bashismfix.patch as told by Joachim Wiedorn, (closes: #644396). * Added build-indep to rules. . [ Jordi Mallach ] * Update Vcs-* fields to non-redirected URLs. Checksums-Sha1: ad34850ea2417d1dcd19f131c7e834afb9881e15 1789 alsa-tools_1.0.24.1-3.dsc 695d130297cbf3a7704076375ab632cedeb10fa5 29488 alsa-tools_1.0.24.1-3.debian.tar.bz2 087b6e5428945d53b6485a2454ba04bf413a37d5 89858 alsa-tools_1.0.24.1-3_amd64.deb 2bd7fc5cd49dad91f9032a630e9a59cf73fa2e4d 278902 alsa-tools-gui_1.0.24.1-3_amd64.deb 38c3363dd0e5900395be1adf7687d247436240b2 36310 alsa-firmware-loaders_1.0.24.1-3_amd64.deb d0310697b6edc80ecbcbc1c4c5a99a190f044108 114334 ld10k1_1.0.24.1-3_amd64.deb f662a9a637a5c3b7121a3d871139150337a0e2bf 35522 liblo10k1-0_1.0.24.1-3_amd64.deb c655e8f7c7fd0567fd3e77c1185d4ac00d6bbbef 42320 liblo10k1-dev_1.0.24.1-3_amd64.deb 846a387b70a47f39c8605b7b74291fffe863356c 144342 qlo10k1_1.0.24.1-3_amd64.deb Checksums-Sha256: 2ebe1aa474fdf89aeeec20f1b04e7339cebd962aedba77968b649503525eb191 1789 alsa-tools_1.0.24.1-3.dsc 52d1ea3a54879846711e09d4b3b26d313636b933c9e3777c02c1dde584370855 29488 alsa-tools_1.0.24.1-3.debian.tar.bz2 46943d8ca338398a13b2930a597bf0d4df8020fa074d1200515d60436529615e 89858 alsa-tools_1.0.24.1-3_amd64.deb 0b8985f5d8ce72a0c77cc4c6758959aa6ba50582ac1bb7869cbbb7aec4eaa009 278902 alsa-tools-gui_1.0.24.1-3_amd64.deb 396d679ac3ab8f1cee879e575b6f8ce85268217f54242d5f9541e124818bde4e 36310 alsa-firmware-loaders_1.0.24.1-3_amd64.deb b6f5547917e59697bbece8a6fd01fcc20b3f65effdbbcc870e9c3695b0d64a15 114334 ld10k1_1.0.24.1-3_amd64.deb f314a51fe532ca19224dac83730dc3a5400990c02c9549063ee71f1dc2b867a2 35522 liblo10k1-0_1.0.24.1-3_amd64.deb 02cb5f750fa2b64c43135a99db4223b66071c179f25fda43893530b6093a19e3 42320 liblo10k1-dev_1.0.24.1-3_amd64.deb 4ca2236542454f64325c990ca5e390c1c62227626425268e75ba0942a1dd3736 144342 qlo10k1_1.0.24.1-3_amd64.deb Files: bf702ad561392377c51d738edcb889ae 1789 sound extra alsa-tools_1.0.24.1-3.dsc 144a5a7a6aafaf6af18ce18274eece0b 29488 sound extra alsa-tools_1.0.24.1-3.debian.tar.bz2 0599ae0cfaeeb69af6c620f07196e5e4 89858 sound extra alsa-tools_1.0.24.1-3_amd64.deb a5637b7111af30c9a921e5af7ee1ec00 278902 sound extra alsa-tools-gui_1.0.24.1-3_amd64.deb 085d871b2351dbbe94993a32d9a29bbe 36310 contrib/sound extra alsa-firmware-loaders_1.0.24.1-3_amd64.deb 0b58f1fc6eb521827cb0fd74c100a465 114334 sound extra ld10k1_1.0.24.1-3_amd64.deb ca3e18105b390f0f5b59899790148c69 35522 libs extra liblo10k1-0_1.0.24.1-3_amd64.deb ce0af5e42088edc94f98912bc596d404 42320 libdevel extra liblo10k1-dev_1.0.24.1-3_amd64.deb e06ce0216f4f1ebb26e992cb2f71f1e6 144342 sound extra qlo10k1_1.0.24.1-3_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk6cSzEACgkQJYSUupF6Il7hhACfby8RekRRp8cQYpuKEi5mGch7 RJQAniWY1cElyc+sLNPfqcnROg8HQl7g =T09P -----END PGP SIGNATURE-----
--- End Message ---

