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

Debian Bug Tracking System owner@bugs.debian.org
Sun, 03 Apr 2005 13:03:25 -0700


Your message dated Sun, 03 Apr 2005 15:50:45 -0400
with message-id <E1DIB7N-000502-00@newraff.debian.org>
and subject line Bug#302847: fixed in zaptel 1:1.0.7-3
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; 3 Apr 2005 11:02:05 +0000
>From grantma@anathoth.gen.nz Sun Apr 03 04:02:05 2005
Return-path: <grantma@anathoth.gen.nz>
Received: from master.debian.org [146.82.138.7] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DI2rk-0003Jg-00; Sun, 03 Apr 2005 04:02:04 -0700
Received: from 203-96-158-18.paradise.net.nz ([127.0.0.1]) [203.96.158.18] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DI2rj-0004hM-00; Sun, 03 Apr 2005 06:02:03 -0500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Matthew Grant <grantma@anathoth.gen.nz>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: zaptel command ztcfg freezes on Debian PowerPC causing boot failure.
X-Mailer: reportbug 3.8
Date: Sun, 03 Apr 2005 22:25:42 +1200
X-Debbugs-Cc: grantma@anathoth.gen.nz
Message-Id: <E1DI2rj-0004hM-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 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

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

When ztcfg executes due to zaptel module load during hotplug initialisation,
ztcfg does not exit causing boot process to stop.  Ctrl-C on console
will not recover condition. Machine must be power cycled.

This is specific to Debian PPC architecture.

Problem due to missing "-fsigned-char" to gcc when binaries are compiled.  This
is due to a typo in the grep executed in the Debian patch to the zaptel Makefile.

Patch is included. 

Matthew Grant
  

--- zaptel-1.0.7/debian/patches/Makefile.dpatch	2005-04-03 22:13:06.000000000 +1200
+++ zaptel-1.0.7/debian/patches/Makefile.dpatch.orig	2005-04-03 22:13:24.000000000 +1200
@@ -27,7 +27,7 @@
  CFLAGS+=-I. -O4 -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER
 -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) | egrep -q "ppc|powerpc"; then echo "-fsigned-char"; fi)
++CFLAGS+=$(shell if echo $(UNAME_M) | grep -q ppc; then echo "-fsigned-char"; fi)
 +CFLAGS+=$(shell if echo $(UNAME_M) | grep -q x86_64; then echo "-m64"; fi)
  LCFLAGS=-fPIC $(CFLAGS) -DBUILDING_TONEZONE
 -KFLAGS+=-I/usr/src/linux-2.4/include -O6

-- 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

---------------------------------------
Received: (at 302847-close) by bugs.debian.org; 3 Apr 2005 19:54:02 +0000
>From katie@ftp-master.debian.org Sun Apr 03 12:54:02 2005
Return-path: <katie@ftp-master.debian.org>
Received: from gluck.debian.org [192.25.206.10] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DIBAY-0004eS-00; Sun, 03 Apr 2005 12:54:02 -0700
Received: from newraff.debian.org [208.185.25.31] (mail)
	by gluck.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DIBAX-0006nw-00; Sun, 03 Apr 2005 13:54:01 -0600
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DIB7N-000502-00; Sun, 03 Apr 2005 15:50:45 -0400
From: Mark Purcell <msp@debian.org>
To: 302847-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#302847: fixed in zaptel 1:1.0.7-3
Message-Id: <E1DIB7N-000502-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 03 Apr 2005 15:50:45 -0400
Delivered-To: 302847-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-Spam-Level: 

Source: zaptel
Source-Version: 1:1.0.7-3

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:

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



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

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

Debian distribution maintenance software
pp.
Mark Purcell <msp@debian.org> (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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun,  3 Apr 2005 19:44:25 +0100
Source: zaptel
Binary: libtonezone1 zaptel-source zaptel libtonezone-dev
Architecture: source all i386
Version: 1:1.0.7-3
Distribution: unstable
Urgency: medium
Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
Changed-By: Mark Purcell <msp@debian.org>
Description: 
 libtonezone-dev - tonezone library (development)
 libtonezone1 - tonezone library (runtime)
 zaptel     - zapata telephony utilities
 zaptel-source - Zapata telephony interface (source code for kernel driver)
Closes: 302833 302847 302903
Changes: 
 zaptel (1:1.0.7-3) unstable; urgency=medium
 .
   * Closes: #302903: libtonezone1 package is empty
   * Closes: #302833: binary files missing, e.g. /sbin/ztcfg
   * Move debian/*.files -> debian/*.install
   * Closes: #302847: zaptel command ztcfg freezes on Debian PowerPC
     causing boot failure.
Files: 
 d0640c69453fd61628f32fd12d6e360e 878 sound optional zaptel_1.0.7-3.dsc
 13082fa470d960e1afd8d5ca96a72e98 51133 sound optional zaptel_1.0.7-3.diff.gz
 cd15d862f7cb1a0851f9c11494ca16f7 261908 devel optional zaptel-source_1.0.7-3_all.deb
 6aef5d65de5d8ecb973a4b7408654a61 39280 sound optional zaptel_1.0.7-3_i386.deb
 b069c0bb2c376a7fc136816abbc358ef 11214 libs optional libtonezone1_1.0.7-3_i386.deb
 b537f60fe1e909ca6e3ee8cc55bbd57c 5844 libdevel optional libtonezone-dev_1.0.7-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCUDs3oCzanz0IthIRAjz+AJ9VLXu+CHKxo8eC0gRxOWhL9YwRkACdGL0R
IqfRvVg3WlALGHaQaHb9EMA=
=mC+U
-----END PGP SIGNATURE-----