Bug#305731: marked as done (zaptel command ztcfg freezes on PowerPC causing boot failure)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 19 Jun 2005 07:48:46 -0700

Your message dated Sun, 19 Jun 2005 10:32:08 -0400
with message-id <E1Dk0qG-0005GQ-00@newraff.debian.org>
and subject line Bug#305731: fixed in zaptel 1:1.0.7-5
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 21 Apr 2005 20:12:02 +0000
>From grantma@anathoth.gen.nz Thu Apr 21 13:12:02 2005
Return-path: <grantma@anathoth.gen.nz>
Received: from master.debian.org [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DOi1q-00044W-00; Thu, 21 Apr 2005 13:12:02 -0700
Received: from 203-96-158-18.paradise.net.nz ([]) [] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DOi1p-00077D-00; Thu, 21 Apr 2005 15:12:01 -0500
Content-Type: multipart/mixed; boundary="===============0485485594=="
MIME-Version: 1.0
From: Matthew Grant <grantma@anathoth.gen.nz>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: zaptel command ztcfg freezes on PowerPC causing boot failure
X-Mailer: reportbug 3.8
Date: Fri, 22 Apr 2005 07:34:58 +1200
X-Debbugs-Cc: grantma@anathoth.gen.nz
Message-Id: <E1DOi1p-00077D-00@master.debian.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-9.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	OUR_MTA_MSGID,X_DEBBUGS_CC autolearn=ham 

This is a multi-part MIME message sent by reportbug.

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: zaptel
Version: 2:1.0.7-1.mag.1
Severity: critical
Tags: patch
Justification: breaks the whole system

ztcfg command freezes on zaptel module loads, halting boot process when
hotplug does its boot time stuff.

Same old Makefile/compiler flags problem as before - you forgot to put the 
double quotes around the arguments to grep!!!

Basically as same for fix for asterisk on PPC going potty when someone hangs
up on the voicenmail!

Matthew Grant

-- 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 zaptel depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libnewt0.51                 0.51.6-20    Not Erik's Windowing Toolkit - tex

-- no debconf information

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="zaptel-makefile-ppc.patch"

--- zaptel-1.0.7/debian/patches/Makefile.dpatch	2005-04-22 07:26:26.000000000 +1200
+++ zaptel-1.0.7-mine/debian/patches/Makefile.dpatch	2005-04-22 07:25:02.000000000 +1200
@@ -27,7 +27,7 @@
 -CFLAGS+=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi)
 -CFLAGS+=$(shell if uname -m | grep -q x86_64; then echo "-m64"; fi)
-+CFLAGS+=$(shell if echo $(UNAME_M) | grep -q ppc\|powerpc\|arm\|s390; then echo "-fsigned-char"; fi)
++CFLAGS+=$(shell if echo $(UNAME_M) | grep -q "ppc\|powerpc\|arm\|s390"; then echo "-fsigned-char"; fi)
 +CFLAGS+=$(shell if echo $(UNAME_M) | grep -q x86_64; then echo "-m64"; fi)
 -KFLAGS+=-I/usr/src/linux-2.4/include -O6


Received: (at 305731-close) by bugs.debian.org; 19 Jun 2005 14:38:20 +0000
>From katie@ftp-master.debian.org Sun Jun 19 07:38:20 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Dk0wG-0000CA-00; Sun, 19 Jun 2005 07:38:20 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Dk0qG-0005GQ-00; Sun, 19 Jun 2005 10:32:08 -0400
From: Kilian Krause <kk@verfaction.de>
To: 305731-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#305731: fixed in zaptel 1:1.0.7-5
Message-Id: <E1Dk0qG-0005GQ-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 19 Jun 2005 10:32:08 -0400
Delivered-To: 305731-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 3

Source: zaptel
Source-Version: 1:1.0.7-5

We believe that the bug you reported is fixed in the latest version of
zaptel, which is due to be installed in the Debian FTP archive:

  to pool/main/z/zaptel/libtonezone-dev_1.0.7-5_i386.deb
  to pool/main/z/zaptel/libtonezone1_1.0.7-5_i386.deb
  to pool/main/z/zaptel/zaptel-source_1.0.7-5_all.deb
  to pool/main/z/zaptel/zaptel_1.0.7-5.diff.gz
  to pool/main/z/zaptel/zaptel_1.0.7-5.dsc
  to pool/main/z/zaptel/zaptel_1.0.7-5_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 305731@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Kilian Krause <kk@verfaction.de> (supplier of updated zaptel package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Sun, 19 Jun 2005 15:38:25 +0200
Source: zaptel
Binary: libtonezone1 zaptel-source zaptel libtonezone-dev
Architecture: source all i386
Version: 1:1.0.7-5
Distribution: unstable
Urgency: low
Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
Changed-By: Kilian Krause <kk@verfaction.de>
 libtonezone-dev - tonezone library (development)
 libtonezone1 - tonezone library (runtime)
 zaptel     - zapata telephony utilities
 zaptel-source - Zapata telephony interface (source code for kernel driver)
Closes: 304648 305193 305731 309258 310150 310788 314549 314552
 zaptel (1:1.0.7-5) unstable; urgency=low
   * ACK NMUs. Thanks for helping with this. (Closes: #305731, #310150)
   * Actually doesn't fail if dpatch is not installed when building modules.
   * zaptel-modules.postinst: New. Run depmod -a on modules install
   * zaptel: should build-dep on debhelper (>= 4.0.4). (Closes: #310788)
   * zaptel: should build-dep on dpatch >= 2.0.9 (Closes: #314549)
   * zaptel: bashism in postinst (Closes: #314552)
   * zaptel-source: compilation error in zaphfc.c (Closes: #305193)
   * zaptel-source Build-Depends on dpatch, should Depend on
     it though. (Closes: #309258)
   * zaptel-source: Fails to enable RTAI support (Closes: #304648)
 ad2311d8352d2fde70ab5a2fd368dda0 891 sound optional zaptel_1.0.7-5.dsc
 0d9004e69b05c7a73ad46777b5a7e179 51974 sound optional zaptel_1.0.7-5.diff.gz
 cf6bd648d65b63860efdd1b02667b857 262826 devel optional zaptel-source_1.0.7-5_all.deb
 43ee59c2f30714b139d35d139a0d28d0 39884 sound optional zaptel_1.0.7-5_i386.deb
 4bf10bea405bb1d8b24c1ca1247ed525 11910 libs optional libtonezone1_1.0.7-5_i386.deb
 7b4a2530254d6a486052cde40a472c56 12784 libdevel optional libtonezone-dev_1.0.7-5_i386.deb

Version: GnuPG v1.4.1 (GNU/Linux)