Bug#618982: jackd1 will not start on kfreebsd-amd64, expects /dev/shm

Steven McDonald steven.mcdonald at libremail.me
Sun Mar 20 05:09:25 UTC 2011


Package: jackd1
Version: 1:0.120.1+svn4142-1
Severity: important
Tags: patch


When trying to start jackd1 on Debian GNU/kFreeBSD, the following output is
produced:

-----

steven at luke:~$ jackd -r -doss -r44100 -p1024 -n2 -w16 -P/dev/dsp -i0
jackd 0.120.2
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with System V SHM support.
cannot stat() /dev/shm (No such file or directory)

cannot create server sockets
cannot create engine

-----

Some investigation reveals that /dev/shm doesn't exist in the FreeBSD kernel.
I have included a patch to use /tmp instead of /dev/shm in debian/rules on
kfreebsd-* architectures; thanks to Peter Nelson <http://s.fuzzle.org/petern>
for suggesting the use of the --with-default-tmp=/tmp flag.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (700, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 8.2-1-amd64
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages jackd1 depends on:
ii  coreutils            8.5-1               GNU core utilities
ii  debconf [debconf-2.0 1.5.38              Debian configuration management sy
ii  libc0.1              2.11.2-13           Embedded GNU C Library: Shared lib
ii  libcelt0-0           0.7.1-1             The CELT codec runtime library
ii  libjack0             1:0.120.1+svn4142-1 JACK Audio Connection Kit (librari
ii  libreadline6         6.1-3               GNU readline and history libraries
ii  libsamplerate0       0.1.7-3             Audio sample rate conversion libra
ii  libsndfile1          1.0.23-1            Library for reading/writing audio 

Versions of packages jackd1 recommends:
ii  libpam-modules                1.1.2-2    Pluggable Authentication Modules f
pn  qjackctl                      <none>     (no description available)

Versions of packages jackd1 suggests:
pn  jack-tools                    <none>     (no description available)
pn  meterbridge                   <none>     (no description available)

-- debconf information excluded
-------------- next part --------------
>From d4bfc8fb41cb2a558a0f7231fa664121e8620558 Mon Sep 17 00:00:00 2001
From: Steven McDonald <steven.mcdonald at libremail.me>
Date: Sun, 20 Mar 2011 15:38:24 +1100
Subject: [PATCH] set default tmpdir to /tmp on kfreebsd (/dev/shm only exists on linux)

---
 debian/rules |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/debian/rules b/debian/rules
index f900bf8..881ab84 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,6 +50,8 @@ endif
 
 ifeq (linux-gnu,$(DEB_HOST_GNU_SYSTEM))
   DEB_CONFIGURE_EXTRA_FLAGS += --with-default-tmpdir=/dev/shm 
+else
+  DEB_CONFIGURE_EXTRA_FLAGS += --with-default-tmpdir=/tmp 
 endif
 
 ifneq (,$(filter doopt,$(DEB_BUILD_OPTIONS)))
-- 
1.7.4.1



More information about the pkg-multimedia-maintainers mailing list