[Pkg-pulseaudio-devel] Bug#497624: pulseaudio: FTBFS on GNU/kFreeBSD

2008-09-03 Thread Petr Salinger
Package: pulseaudio
Severity: important
Version: 0.9.10-2.1
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

The implementation of function pa_drop_caps() in caps.c
does not match prototype in caps.h.
Please use fix bellow.

It would also be nice if you can ask upstream
to include this change.

Thanks in advance

 Petr



--- src/daemon/caps.c~  2008-09-03 09:02:10.0 +
+++ src/daemon/caps.c   2008-09-03 09:02:10.0 +
@@ -131,9 +131,8 @@
  return 0;
  }

-int pa_drop_caps(void) {
+void pa_drop_caps(void) {
  pa_drop_root();
-return 0;
  }

  #endif





___
Pkg-pulseaudio-devel mailing list
Pkg-pulseaudio-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-pulseaudio-devel


[Pkg-pulseaudio-devel] Bug#486132: [pulseaudio] Pulseaudio: fails with dmix, idle devices and suspend-on-idle

2008-09-03 Thread Erich Schubert
Package: pulseaudio
Version: 0.9.10-2.1

I solved the 'famous'
E: source.c: Assertion 'PA_SOURCE_OPENED(s-thread_info.state)' failed at 
pulsecore/source.c:278, function pa_source_post(). Aborting.
problem for me by disabling the suspend-on-idle module.
Apparently the module was suspending devices in a moment that caused problems.

--- System information. ---
Architecture: i386
Kernel:   Linux 2.6.26-1-686

Debian Release: lenny/sid
  500 unstablewww.debian-multimedia.org 
  500 unstableftp.de.debian.org 
1 experimentalftp.de.debian.org 

--- Package information. ---
Depends   (Version) | Installed
===-+-=
libasound2  ( 1.0.16) | 1.0.16-2
libasyncns0 | 0.3-1
libc6(= 2.7-1) | 2.7-13
libcap1 | 1:1.10-14
libdbus-1-3  (= 1.0.2) | 1.2.1-3
libflac8| 1.2.1-1.2
libltdl3   (= 1.5.2-2) | 1.5.26-4
libogg0 (= 1.0rc3) | 1.1.3-4
liboil0.3(= 0.3.1) | 0.3.15-1
libpulsecore5   | 0.9.10-2.1
libsamplerate0  | 0.1.4-1
libsndfile1 | 1.0.17-4
libwrap0(= 7.6-4~) | 7.6.q-16
adduser | 3.110
lsb-base (= 3) | 3.2-20


best regards,
Erich Schubert
-- 
   erich@(vitavonni.de|debian.org)--GPG Key ID: 4B3A135C(o_
  To be trusted is a greater complement than to be loved.   //\
   Mathematik: Das Alphabet, mit dessen Hilfe Gott das UniversumV_/_
beschrieben hat. --- Galileo Galilei





___
Pkg-pulseaudio-devel mailing list
Pkg-pulseaudio-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-pulseaudio-devel


[Pkg-pulseaudio-devel] Bug#486132: marked as done (pulseaudio: Assertion 'PA_SOURCE_OPENED(s-thread_info.state)' failed)

2008-09-03 Thread Debian Bug Tracking System

Your message dated Wed, 3 Sep 2008 11:33:19 +0200
with message-id [EMAIL PROTECTED]
and subject line Re: Bug#486132: [pulseaudio] Pulseaudio: fails with dmix, idle 
devices and suspend-on-idle
has caused the Debian Bug report #486132,
regarding pulseaudio: Assertion 'PA_SOURCE_OPENED(s-thread_info.state)' failed
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.)


-- 
486132: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486132
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
---BeginMessage---

Package: pulseaudio
Version: 0.9.10-2
Severity: grave

lakeview ok % pulseaudio
W: pid.c: Stale PID file, overwriting.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
W: alsa-util.c: Device dmix:0 doesn't support 44100 Hz, changed to 48000 Hz.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL dmix:0
E: source.c: Assertion 'PA_SOURCE_OPENED(s-thread_info.state)' failed at 
pulsecore/source.c:278, function pa_source_post(). Aborting.
zsh: abort  pulseaudio

Attached are my config files.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-rc5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pulseaudio depends on:
ii  adduser   3.108  add and remove users and groups
ii  libasound21.0.16-2   ALSA library
ii  libasyncns0   0.3-1  Asyncronous name service query lib
ii  libc6 2.7-12 GNU C Library: Shared libraries
ii  libcap1   1:1.10-14  support for getting/setting POSIX.
ii  libdbus-1-3   1.2.1-2simple interprocess messaging syst
ii  libflac8  1.2.1-1.2  Free Lossless Audio Codec - runtim
ii  libltdl3  1.5.26-4   A system independent dlopen wrappe
ii  libogg0   1.1.3-4Ogg Bitstream Library
ii  liboil0.3 0.3.14-4   Library of Optimized Inner Loops
ii  libpulsecore5 0.9.10-2   PulseAudio sound server core
ii  libsamplerate00.1.3-1audio rate conversion library
ii  libsndfile1   1.0.17-4   Library for reading/writing audio 
ii  libwrap0  7.6.q-15   Wietse Venema's TCP wrappers libra

ii  lsb-base  3.2-12 Linux Standard Base 3.2 init scrip

Versions of packages pulseaudio recommends:
ii  gstreamer0.10-pulseaudio  0.9.7-2GStreamer plugin for PulseAudio
pn  libasound2-pluginsnone (no description available)
ii  padevchooser  0.9.3-2PulseAudio Device Chooser
ii  paprefs   0.9.6-2PulseAudio Preferences
ii  pulseaudio-esound-compat  0.9.10-2   PulseAudio ESD compatibility layer
ii  pulseaudio-module-hal 0.9.10-2   HAL device detection module for Pu
ii  pulseaudio-module-x11 0.9.10-2   X11 module for PulseAudio sound se

-- no debconf information

--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
troff on top of XML: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

.nofail

### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-access /usr/share/sounds/generic.wav

.fail

### 

[Pkg-pulseaudio-devel] [SCM] pulseaudio packaging branch, master, updated. debian/0.9.10-3-1-g5e70beb

2008-09-03 Thread neurocyte-guest
The branch, master has been updated
   via  5e70bebd56683aee3d23156eef24fb378eeed048 (commit)
  from  efa44acf8c131c64c5194a08e98a88e269f1fc72 (commit)


- Shortlog 
5e70beb debian/patches/0007-fix-FTBFS-on-GNU-kFreeBSD.patch

Summary of changes:
 debian/changelog   |7 +
 .../patches/0007-fix-FTBFS-on-GNU-kFreeBSD.patch   |   26 
 debian/patches/series  |1 +
 3 files changed, 34 insertions(+), 0 deletions(-)
---
Details of changes:

commit 5e70bebd56683aee3d23156eef24fb378eeed048
Author: CJ van den Berg [EMAIL PROTECTED]
Date:   Wed Sep 3 12:56:34 2008 +0200

debian/patches/0007-fix-FTBFS-on-GNU-kFreeBSD.patch

* debian/patches/0007-fix-FTBFS-on-GNU-kFreeBSD.patch
  - Added. Fix FTBTS on GNU/kFreeBSD. (Closes: #497624)

diff --git a/debian/changelog b/debian/changelog
index 5f42b5c..84e4090 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pulseaudio (0.9.10-4) UNRELEASED; urgency=low
+
+  * debian/patches/0007-fix-FTBFS-on-GNU-kFreeBSD.patch
+- Added. Fix FTBTS on GNU/kFreeBSD. (Closes: #497624)
+
+ -- CJ van den Berg [EMAIL PROTECTED]  Wed, 03 Sep 2008 12:53:23 +0200
+
 pulseaudio (0.9.10-3) unstable; urgency=low
 
   * debian/patches/0006-fix-iteration-over-random-devices.patch
diff --git a/debian/patches/0007-fix-FTBFS-on-GNU-kFreeBSD.patch 
b/debian/patches/0007-fix-FTBFS-on-GNU-kFreeBSD.patch
new file mode 100644
index 000..f03169a
--- /dev/null
+++ b/debian/patches/0007-fix-FTBFS-on-GNU-kFreeBSD.patch
@@ -0,0 +1,26 @@
+From 3cd2b7dc37de1ac6876e4cb0de8b73e8f81d844a Mon Sep 17 00:00:00 2001
+From: Petr Salinger [EMAIL PROTECTED]
+Date: Wed, 3 Sep 2008 09:28:20 +0200
+Subject: [PATCH] fix FTBFS on GNU/kFreeBSD
+
+The implementation of function pa_drop_caps() in caps.c does not match
+prototype in caps.h.
+---
+ src/daemon/caps.c |3 +--
+ 1 files changed, 1 insertions(+), 2 deletions(-)
+
+diff --git a/src/daemon/caps.c b/src/daemon/caps.c
+index 8b19838..fbe4471 100644
+--- a/src/daemon/caps.c
 b/src/daemon/caps.c
+@@ -131,9 +131,8 @@ int pa_limit_caps(void) {
+ return 0;
+ }
+ 
+-int pa_drop_caps(void) {
++void pa_drop_caps(void) {
+ pa_drop_root();
+-return 0;
+ }
+ 
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
index 2838e4b..c4a0bf5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 0004-load-module-gconf-earlier.patch
 0005-Reduce-RT-prio-logging-severity.patch
 0006-fix-iteration-over-random-devices.patch
+0007-fix-FTBFS-on-GNU-kFreeBSD.patch

-- 
pulseaudio packaging

___
Pkg-pulseaudio-devel mailing list
Pkg-pulseaudio-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-pulseaudio-devel