On Sun, Oct 10, 2010 at 11:15:42AM +0200, Josef Spillner wrote: > Package: nama > Version: 1.064-5 > Severity: normal > > This happens on a freshly installed, otherwise untouched nama on current > squeeze: > > $ nama [...] > Starting Ecasound server > sh: Syntax error: redirection unexpected > system ecasound -K -C --server --server-tcp-port=2868 failed: 512 > at /usr/bin/nama line 3 > Creating socket on port 2868. > Could not create socket: Verbindungsaufbau abgelehnt
Thank you for the report. I was able to reproduce and find this bug! It looks like an incompatibility between Dash, Debian's new default shell, and perl. In short, Dash doesn't accept certain shell redirection syntax via perl. $ cat 2>&1>/dev/null & [2] 3540 $ perl -e "system('cat 2>&1>/dev/null &')==0 or print qq(command failed: $?)" sh: Syntax error: redirection unexpected $ which sh /bin/sh $ ls -l /bin/sh lrwxrwxrwx 1 root root 4 Sep 30 23:02 /bin/sh -> dash I can suggest three solutions: 1. Manually start Ecasound in a *separate* terminal with the command line: ecasound -C -K --server Then start Nama as usual. 2. Install the Audio::Ecasound library, which provides a different interface to Ecasound. Either install the Debian package libaudio-ecasound-perl from 'sid', or use the Perl CPAN client: $ cpan Audio::Ecasound Start Nama as usual. Note that this becomes the default Ecasound interface. Start Nama with the -n flag to force the Net-ECI (socket) interface. 3. Replace dash with bash as the default system shell (the previous status-quo) Note that this is a major administrative change. $ apt-get install bash $ cd /bin $ ls -l sh lrwxrwxrwx 1 root root 4 Sep 30 23:02 /bin/sh -> dash $ rm sh $ ln -s /bin/bash sh > -- System Information: > Debian Release: squeeze/sid > APT prefers testing > APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 2.6.35-trunk-amd64 (SMP w/2 CPU cores) > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages nama depends on: > ii libanyevent-perl 5.271-2 Perl framework to handle multiple > ii libdata-section-perl 0.101620-1 module to read chunks of data > from > ii libevent-perl 1.12-1 generic Perl event loop module > ii libfile-copy-link-perl 0.112-1 Perl extension for replacing a > lin > ii libfile-find-rule-perl 0.32-1 module to search for files based > o > ii libfile-homedir-perl 0.86-1 Get the home directory for > yoursel > ii libgraph-perl 1:0.91-1 Perl module for graph data > structu > ii libio-all-perl 0.39-2 Perl module for unified IO > operati > ii libmodern-perl-perl 1.03-3 Enable all of the features of > Mode > ii libparse-recdescent-perl 1.965001+dfsg-1 Perl module to create and use > recu > ii libterm-readline-gnu-per 1.20-1 Perl extension for the GNU > ReadLin > ii libtext-format-perl 0.52-21 Perl module for formatting (text) > ii libyaml-tiny-perl 1.43-1 Read/Write YAML files with as > litt > ii perl 5.10.1-14 Larry Wall's Practical Extraction > > nama recommends no packages. > > Versions of packages nama suggests: > pn perl-tk <none> (no description available) > > -- no debconf information -- Joel Roth -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org