Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107400 - skype: incorrect artsdsp -m command in /usr/bin/skype script
Summary: skype: incorrect artsdsp -m command in /usr/bin/skype script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
: 109135 (view as bug list)
Depends on: 130999
Blocks:
  Show dependency tree
 
Reported: 2005-09-27 08:25 UTC by Chris Kerr
Modified: 2006-07-02 16:08 UTC (History)
1 user (show)

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 Chris Kerr 2005-09-27 08:25:13 UTC
In skype (both static and non-static), there is a problem with the  
autodetection script in /usr/bin/skype (which is a symlink  
to /opt/skype/skype).  
  
It contains the line   
skypecmd="MALLOC_CHECK_=0 artsdsp -m ${skypecmd}"  
which is run if a running artsd is found.  
  
It then tries to execute this, and fails. In ~/.Skype/skype.log, the following  
lines are logged  
 

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge skype 
2. type "skype" at the console while artsd is running 
3. 
 
Actual Results:  
console output: 
$ skype 
Running artsd found 
Starting artsd wrapped skype 
========================================== 
Running wrapped Skype failed, trying not-wrapped mode... 
========================================== 
 
skype starts but because it is not wrapped, it cannot use the sound card 
 
contents of ~/.Skype/skype.log 
 
~/.Skype $ cat skype.log 
=====  Tue Sep 27 16:18:37 BST 2005  ===== 
Starting artsd wrapped skype 
MALLOC_CHECK_=0 artsdsp -m /opt/skype/skype.bin --resources-path /opt/skype/ 
/usr/bin/skype: line 52: MALLOC_CHECK_=0: command not found 
 

Expected Results:  
the script should have ensured that "MALLOC_CHECK_=0" was interpreted 
correctly. 

My solution to the problem --  
in /opt/skype/skype 
replace line 52: 
${skypecmd} ${progopts} >> ${logfile} 2>> ${logfile} 
with: 
echo "${skypecmd} ${progopts} >> ${logfile} 2>> ${logfile}" | /bin/bash 
 
 
$ emerge info 
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.5-r1, 
2.6.12-gentoo-r10 i686) 
================================================================= 
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz 
Gentoo Base System version 1.6.13 
dev-lang/python:     2.3.5-r2 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -msse2 -mtune=pentium4 -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -msse2 -mtune=pentium4 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" 
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://mirror.switch.ch/mirror/gentoo/ http://gentoo.mirror.solnet.ch 
http://ftp.heanet.ie/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/" 
LANG="en_GB.utf8" 
LC_ALL="en_GB.utf8" 
LINGUAS="en_GB en fr eo ja" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X X509 aac aalib acpi alsa apm arts audiofile avi bash-completion 
bidi bzip2 cdparanoia cdr chroot cjk crypt curl dar32 dar64 dga directfb 
divx4linux doc dv dvd dvdread eds emboss encode erandom extras fbsplash ffmpeg 
fftw flac foomaticdb fortran ftp fusion gcj gd gdbm ggi gif glibc-omitfp 
graphviz gstreamer gtk2 hal hpn imagemagick imap imlib immqt ipv6 jabber java 
jpeg jpeg2k kde kdeenablefinal kdexdeltas koffice-plugin latex lcms libclamav 
libg++ libvisual libwww linguas_en linguas_eo linuxthreads-tls lm_sensors 
logitech-mouse lzo m17n-lib mad maildir mikmod mime mmx motif mozdevelop 
mozilla mozsvg mp3 mpeg msn multitarget ncurses netboot nls no-old-linux nptl 
ogg oggvorbis openexr opengl oss pam pcre pdflib php pic pie png posix qmail 
qt quicktime readline real reiserfs rss rtc ruby samba savedconfig sdk sdl 
sftp slang spamassassin speex spell sse sse2 ssl subject-rewrite subversion 
svg svga sysfs tcpd tetex threads tidy tiff truetype truetype-fonts 
type1-fonts ucs2 ucs4 unicode vorbis win32codecs wmf xine xml2 xmms xv xvid 
yahoo zeroconf zlib video_cards_radeon linguas_en_GB linguas_fr linguas_ja 
userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Malte S. Stretz 2006-03-17 04:23:51 UTC
*** Bug 109135 has been marked as a duplicate of this bug. ***
Comment 2 Gustavo Felisberto (RETIRED) gentoo-dev 2006-07-02 16:08:44 UTC
Skype 1.3 and up now use ALSA so all these wrappers and stuff are no longer needed.