Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76152 - Skype doesn't start when ~/.Skype directory doesn't exist
Summary: Skype doesn't start when ~/.Skype directory doesn't exist
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-30 09:03 UTC by Alexander Skwar
Modified: 2004-12-31 04:52 UTC (History)
2 users (show)

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


Attachments
Patch for sDaemonWrapper which makes it create ~/.Skype (sDaemonWrapper.fix-non-existant-.Skype.patch,1.98 KB, patch)
2004-12-30 09:04 UTC, Alexander Skwar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2004-12-30 09:03:30 UTC
[17:50:37 alexander@server:~] $ LC_ALL=C LANG=C /usr/bin/skype
/usr/bin/skype: line 14: /home/alexander/.Skype/skype.log: No such file or directory
No running artsd or esd found
Starting skype without sound daemon
/usr/bin/skype: line 40: /home/alexander/.Skype/skype.log: No such file or directory
/usr/bin/skype: line 41: /home/alexander/.Skype/skype.log: No such file or directory


When I first "mkdir ~/.Skype", skype starts just fine.

The sDaemonWrapper as used in 0.93.0.3-r2 still has this problem. In there, in line 24 it has:

echo "Starting ${progname} without a sound wrapper" >> ${logfile}

However, "$logfile" which is "${HOME}/.Skype/skype.log" isn't checked to exist before using it.

Attached is a diff to sDaemonWrapper, which fixes this problem.








[17:48:24 alexander@server:~/tmp/skype-0.93.0.3] $ emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-ck1.ASN.no-devfs.async_ppp.lp-module.usb-ms-module i686)
=================================================================
System uname: 2.6.10-ck1.ASN.no-devfs.async_ppp.lp-module.usb-ms-module i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 10 2004, 20:47:21)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.4_p6, 1.7.9, 1.9.3, 1.6.3, 1.8.5-r2
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sandbox sfperms"
GENTOO_MIRRORS="http://localhost/~alexander/gentoo-files/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X acl adns alsa apache2 apm arts artswrappersuid async avi bluetooth bzlib cairo calendar cddb cdparanoia cdr cdrom codecs crypt cscope cups curl curlwrappers dga diet divx4linux djbfft encode esd ethereal evo exif fam fbcon fbdev ffmpeg fftw flac flash foomaticdb foreign-package foreign-sysvinit ftp fwdzone gd gdbm gif gimp gimpprint gmail gnokii gnome gphoto2 gpm gstreamer gtk gtk2 guile hal iconv imagemagick imap imlib immqt-bc java javascript jpeg junit kde libedit libwww lzo lzw lzw-tiff mad maildir mailwrapper matroska matrox mbox mime mmap mmx mng mozilla mp3 mpeg ncurses network nls no-old-linux no_wxgtk1 noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl offensive oggvorbis opengl oss pam parse-clocks pcntl pcre pdflib perl pic pie png posix ppds python qt quicktime quotes readline real recode samba sasl shared slang sockets spell sse ssl svg sysvipc tcltk tcpd tetex theora tiff truetype unicode usb videos vim-with-x wmf xchattext xfs xine xml xml2 xmms xv xvid zlib video_cards_matrox linguas_de"
Comment 1 Alexander Skwar 2004-12-30 09:04:35 UTC
Created attachment 47221 [details, diff]
Patch for sDaemonWrapper which makes it create ~/.Skype
Comment 2 Gustavo Felisberto (RETIRED) gentoo-dev 2004-12-31 04:52:04 UTC
Thanks for the changes Alexander. Will update it in a few minutes.