Bug#305734: asterisk: On PowerPC, hanging up on voicemail causes non-stop log messages
Matthew Grant
Matthew Grant <grantma@anathoth.gen.nz>, 305734@bugs.debian.org
Fri, 22 Apr 2005 07:48:12 +1200
This is a multi-part MIME message sent by reportbug.
--===============1945025661==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: asterisk
Version: 1:1.0.7.dfsg.1-2
Severity: normal
Tags: patch
Getting the compiler flags wrong (missing -fsigned-char) causes the following
log message several times a second:
WARNING[7261]: Failed to write frame
Log grew fast giving possiblity of file system filling up.
This was caused by hanging up on the Voicemail.
Putting in missing double quotes aroung the grep on the machine type output
to make sure the '-fsigned-char' was added to gcc command line fixed this.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.11-pmac-2.6
Locale: LANG=en_NZ, LC_CTYPE=en_NZ (charmap=ISO-8859-1)
Versions of packages asterisk depends on:
ii asterisk-config 1:1.0.7.dfsg.1-2 config files for asterisk
ii asterisk-sounds-main 1:1.0.5-2 sound files for asterisk
ii libasound2 1.0.8-3 ALSA library
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libgsm1 1.0.10-13 Shared libraries for GSM speech co
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libnewt0.51 0.51.6-20 Not Erik's Windowing Toolkit - tex
ii libpq3 7.4.7-2 PostgreSQL C client library
ii libpri1 1.0.7-1 Primary Rate ISDN specification li
ii libspeex1 1.1.6-2 The Speex Speech Codec
ii libsqlite0 2.8.16-1 SQLite shared library
ii libssl0.9.7 0.9.7e-2 SSL shared libraries
ii libtonezone1 1:1.0.7-3 tonezone library (runtime)
ii unixodbc 2.2.4-11 ODBC tools libraries
ii zlib1g 1:1.2.2-3 compression library - runtime
-- no debconf information
--===============1945025661==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="asterisk-makefile-ppc.patch"
--- asterisk-1.0.7.dfsg.1/debian/patches/20_Makefile.dpatch 2005-04-22 07:12:51.000000000 +1200
+++ asterisk-1.0.7.dfsg.1-mine/debian/patches/20_Makefile.dpatch 2005-04-16 21:04:08.000000000 +1200
@@ -80,7 +80,7 @@
endif
-CFLAGS+=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi)
-+CFLAGS+=$(shell if uname -m | grep -q ppc\|arm\|s390\|s390x; then echo "-fsigned-char"; fi)
++CFLAGS+=$(shell if uname -m | grep -q "ppc\|arm\|s390\|s390x"; then echo "-fsigned-char"; fi)
CFLAGS+=$(shell if [ -f /usr/include/osp/osp.h ]; then echo "-DOSP_SUPPORT -I/usr/include/osp" ; fi)
ifeq (${OSARCH},FreeBSD)
--===============1945025661==--