Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250320 - net-dialup/capisuite-0.4.5-r4 and media-sound/sox-14.1.0 don't work together: ERROR occured while converting file: Error while calling sox. Not installed? Please talk to your friendly administrator.
Summary: net-dialup/capisuite-0.4.5-r4 and media-sound/sox-14.1.0 don't work together:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-08 21:28 UTC by Thorsten Kreidl
Modified: 2009-05-12 18:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Kreidl 2008-12-08 21:28:41 UTC
After emerge --update world capisuite has problems converting recorded .la to .wav

Mails sent from capisuite for new calls has the following text: 
ERROR occured while converting file: Error while calling sox. Not installed?
Please talk to your friendly administrator.

I have installed capisuite-0.4.5-r5 (unstable masked), but the problem was not fixed.

Manually call of sox works.

Downgrade from sox-14.1.0 to 14.0.1 has fixed the problem (emerge =media-sound/sox-14.0.1).

Can somebody tell me what is the problem?

emerge --info:

Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r3 i686)
=================================================================
System uname: 2.6.26-gentoo-r3 i686 Pentium III (Coppermine)
Timestamp of tree: Mon, 08 Dec 2008 19:09:02 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ "
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" FRITZCAPI_CARDS="fcpci" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" MISDN_CARDS="hfcpci" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Reproducible: Always

Steps to Reproduce:
Comment 1 Alexis Ballier gentoo-dev 2008-12-19 12:19:24 UTC
capisuite has probably not been updated and relied on stuff that has changed in this version of sox
Comment 2 Markus Preis 2008-12-23 12:02:51 UTC
I have found this in sox Changelog:
Change History
--------------

This file contains a list of all changes starting after the release of
sox-11gamma.

sox-13.0.0
----------

  File formats:

 ...
  o Rename -b to -1, -w to -2, -l to -4, -d to -8, and mask to dither.
    (robs)
 ....

So I tried to change the cs_helper.py in 
/usr/lib/python2.5/site-packages/

# la -> wav
# don't use stdout as sox needs a file to be able to seek in it otherwise the header will be incomplete
- ret = os.spawnlp(os.P_WAIT,"sox","sox",attachment,"-w",basename+"wav")
+ ret = os.spawnlp(os.P_WAIT,"sox","sox",attachment,"-2",basename+"wav")

For me it works. 
Markus
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2008-12-23 12:30:44 UTC
net-dialup: I can confirm it's the correct fix, we are using similar patch in media-video/tovid-0.31-r1.
Comment 4 Chris Paras 2009-01-30 03:07:25 UTC
(In reply to comment #3)
> net-dialup: I can confirm it's the correct fix, we are using similar patch in
> media-video/tovid-0.31-r1.
> 

Will this fix go into portage soon ?
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-05-12 18:01:39 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > net-dialup: I can confirm it's the correct fix, we are using similar patch in
> > media-video/tovid-0.31-r1.
> > 
> 
> Will this fix go into portage soon ?
> 

I'm not really maintainer of capisuite, but here goes..

+*capisuite-0.4.5-r6 (12 May 2009)
+
+  12 May 2009; Samuli Suominen <ssuominen@gentoo.org>
+  +capisuite-0.4.5-r6.ebuild, +files/capisuite-0.4.5-sox.patch:
+  Fix from friendly administrator, use -2 instead of -w in SOX parameters
+  wrt #250320.