Your message dated Thu, 19 Nov 2009 22:48:38 +0000
with message-id <[email protected]>
and subject line Bug#552582: fixed in kdbg 2.2.0-2
has caused the Debian Bug report #552582,
regarding kdbg: FTBFS with GCC 4.4 and eglibc 2.10
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.)


-- 
552582: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552582
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kdbg
Version: 2.2.0-1
Severity: important
Tags: patch
Justification: fails to build from source
User: [email protected]
Usertags: origin-ubuntu karmic ubuntu-patch



*** /tmp/tmpJWNnxV
In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/patches/10_fix-ftbfs-gcc44-eglibc210.diff:
    Fix FTBFS with GCC 4.4 and eglibc 2.10 (LP: #461338).

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 
'karmic-proposed'), (500, 'karmic-backports'), (500, 'karmic')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-14-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru kdbg-2.2.0/debian/patches/10_fix-ftbfs-gcc44-eglibc210.diff kdbg-2.1.1/debian/patches/10_fix-ftbfs-gcc44-eglibc210.diff
--- kdbg-2.2.0/debian/patches/10_fix-ftbfs-gcc44-eglibc210.diff	1970-01-01 01:00:00.000000000 +0100
+++ kdbg-2.1.1/debian/patches/10_fix-ftbfs-gcc44-eglibc210.diff	2009-10-27 19:39:33.000000000 +0100
@@ -0,0 +1,141 @@
+#
+# Ubuntu: https://bugs.launchpad.net/ubuntu/+source/kdbg/+bug/461338
+# Description: Fix FTBFS with GCC 4.4 and eglibc 2.10.
+#
+Index: kdbg/kdbg/gdbdriver.cpp
+===================================================================
+--- kdbg.orig/kdbg/gdbdriver.cpp	2009-10-26 19:40:15.339030946 +0100
++++ kdbg/kdbg/gdbdriver.cpp	2009-10-26 19:40:25.831227480 +0100
+@@ -146,40 +146,40 @@
+ 	    assert(strchr(cmds[i].fmt, '%') == 0);
+ 	    break;
+ 	case GdbCmdInfo::argString:
+-	    perc = strchr(cmds[i].fmt, '%');
++	    perc = (char *) strchr(cmds[i].fmt, '%');
+ 	    assert(perc != 0 && perc[1] == 's');
+ 	    assert(strchr(perc+2, '%') == 0);
+ 	    break;
+ 	case GdbCmdInfo::argNum:
+-	    perc = strchr(cmds[i].fmt, '%');
++	    perc = (char *) strchr(cmds[i].fmt, '%');
+ 	    assert(perc != 0 && perc[1] == 'd');
+ 	    assert(strchr(perc+2, '%') == 0);
+ 	    break;
+ 	case GdbCmdInfo::argStringNum:
+-	    perc = strchr(cmds[i].fmt, '%');
++	    perc = (char *) strchr(cmds[i].fmt, '%');
+ 	    assert(perc != 0 && perc[1] == 's');
+-	    perc = strchr(perc+2, '%');
++	    perc = (char *) strchr(perc+2, '%');
+ 	    assert(perc != 0 && perc[1] == 'd');
+ 	    assert(strchr(perc+2, '%') == 0);
+ 	    break;
+ 	case GdbCmdInfo::argNumString:
+-	    perc = strchr(cmds[i].fmt, '%');
++	    perc = (char *) strchr(cmds[i].fmt, '%');
+ 	    assert(perc != 0 && perc[1] == 'd');
+-	    perc = strchr(perc+2, '%');
++	    perc = (char *) strchr(perc+2, '%');
+ 	    assert(perc != 0 && perc[1] == 's');
+ 	    assert(strchr(perc+2, '%') == 0);
+ 	    break;
+ 	case GdbCmdInfo::argString2:
+-	    perc = strchr(cmds[i].fmt, '%');
++	    perc = (char *) strchr(cmds[i].fmt, '%');
+ 	    assert(perc != 0 && perc[1] == 's');
+-	    perc = strchr(perc+2, '%');
++	    perc = (char *) strchr(perc+2, '%');
+ 	    assert(perc != 0 && perc[1] == 's');
+ 	    assert(strchr(perc+2, '%') == 0);
+ 	    break;
+ 	case GdbCmdInfo::argNum2:
+-	    perc = strchr(cmds[i].fmt, '%');
++	    perc = (char *) strchr(cmds[i].fmt, '%');
+ 	    assert(perc != 0 && perc[1] == 'd');
+-	    perc = strchr(perc+2, '%');
++	    perc = (char *) strchr(perc+2, '%');
+ 	    assert(perc != 0 && perc[1] == 'd');
+ 	    assert(strchr(perc+2, '%') == 0);
+ 	    break;
+@@ -669,7 +669,7 @@
+     // skip warnings
+     while (strncmp(output, "warning:", 8) == 0)
+     {
+-	char* end = strchr(output+8, '\n');
++	const char* end = strchr(output+8, '\n');
+ 	if (end == 0)
+ 	    output += strlen(output);
+ 	else
+@@ -1895,7 +1895,7 @@
+ 	/*
+ 	 * Now follows the thread's SYSTAG. It is terminated by two blanks.
+ 	 */
+-	end = strstr(p, "  ");
++	end = (char *) strstr(p, "  ");
+ 	if (end == 0) {
+ 	    // syntax error; bail out
+ 	    return true;
+Index: kdbg/kdbg/xsldbgdriver.cpp
+===================================================================
+--- kdbg.orig/kdbg/xsldbgdriver.cpp	2009-10-26 19:40:43.048959873 +0100
++++ kdbg/kdbg/xsldbgdriver.cpp	2009-10-26 19:40:52.191798688 +0100
+@@ -128,40 +128,40 @@
+                 assert(strchr(cmds[i].fmt, '%') == 0);
+                 break;
+             case XsldbgCmdInfo::argString:
+-                perc = strchr(cmds[i].fmt, '%');
++                perc = (char *) strchr(cmds[i].fmt, '%');
+                 assert(perc != 0 && perc[1] == 's');
+                 assert(strchr(perc + 2, '%') == 0);
+                 break;
+             case XsldbgCmdInfo::argNum:
+-                perc = strchr(cmds[i].fmt, '%');
++                perc = (char *) strchr(cmds[i].fmt, '%');
+                 assert(perc != 0 && perc[1] == 'd');
+                 assert(strchr(perc + 2, '%') == 0);
+                 break;
+             case XsldbgCmdInfo::argStringNum:
+-                perc = strchr(cmds[i].fmt, '%');
++                perc = (char *) strchr(cmds[i].fmt, '%');
+                 assert(perc != 0 && perc[1] == 's');
+-                perc = strchr(perc + 2, '%');
++                perc = (char *) strchr(perc + 2, '%');
+                 assert(perc != 0 && perc[1] == 'd');
+                 assert(strchr(perc + 2, '%') == 0);
+                 break;
+             case XsldbgCmdInfo::argNumString:
+-                perc = strchr(cmds[i].fmt, '%');
++                perc = (char *) strchr(cmds[i].fmt, '%');
+                 assert(perc != 0 && perc[1] == 'd');
+-                perc = strchr(perc + 2, '%');
++                perc = (char *) strchr(perc + 2, '%');
+                 assert(perc != 0 && perc[1] == 's');
+                 assert(strchr(perc + 2, '%') == 0);
+                 break;
+             case XsldbgCmdInfo::argString2:
+-                perc = strchr(cmds[i].fmt, '%');
++                perc = (char *) strchr(cmds[i].fmt, '%');
+                 assert(perc != 0 && perc[1] == 's');
+-                perc = strchr(perc + 2, '%');
++                perc = (char *) strchr(perc + 2, '%');
+                 assert(perc != 0 && perc[1] == 's');
+                 assert(strchr(perc + 2, '%') == 0);
+                 break;
+             case XsldbgCmdInfo::argNum2:
+-                perc = strchr(cmds[i].fmt, '%');
++                perc = (char *) strchr(cmds[i].fmt, '%');
+                 assert(perc != 0 && perc[1] == 'd');
+-                perc = strchr(perc + 2, '%');
++                perc = (char *) strchr(perc + 2, '%');
+                 assert(perc != 0 && perc[1] == 'd');
+                 assert(strchr(perc + 2, '%') == 0);
+                 break;
+@@ -768,7 +768,7 @@
+     } else if (strncmp(p, "= ", 2) == 0) {
+         /* we're processing the result of a "print command" */
+         /* find next line */
+-        char *nextLine = strchr(p, '\n');
++        const char *nextLine = strchr(p, '\n');
+ 
+ 	TRACE("Found print expr");
+         if (nextLine) {
diff -Nru kdbg-2.2.0/debian/patches/series kdbg-2.1.1/debian/patches/series
--- kdbg-2.2.0/debian/patches/series	2009-10-27 19:39:32.000000000 +0100
+++ kdbg-2.1.1/debian/patches/series	2009-10-27 19:39:33.000000000 +0100
@@ -1,2 +1,3 @@
 02_libtool_update.diff
 buildprep.diff
+10_fix-ftbfs-gcc44-eglibc210.diff

--- End Message ---
--- Begin Message ---
Source: kdbg
Source-Version: 2.2.0-2

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

kdbg_2.2.0-2.diff.gz
  to main/k/kdbg/kdbg_2.2.0-2.diff.gz
kdbg_2.2.0-2.dsc
  to main/k/kdbg/kdbg_2.2.0-2.dsc
kdbg_2.2.0-2_amd64.deb
  to main/k/kdbg/kdbg_2.2.0-2_amd64.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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ana Beatriz Guerrero Lopez <[email protected]> (supplier of updated kdbg 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 [email protected])


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

Format: 1.8
Date: Thu, 19 Nov 2009 23:06:37 +0100
Source: kdbg
Binary: kdbg
Architecture: source amd64
Version: 2.2.0-2
Distribution: unstable
Urgency: low
Maintainer: Ana Beatriz Guerrero Lopez <[email protected]>
Changed-By: Ana Beatriz Guerrero Lopez <[email protected]>
Description: 
 kdbg       - graphical debugger interface
Closes: 552582
Changes: 
 kdbg (2.2.0-2) unstable; urgency=low
 .
   * Add patch taken from upstrem to fix FTBFS with newer glibc 2.10 and gcc 
4.4.
    (Closes: #552582)
   * Minor updates in the copyright file.
Checksums-Sha1: 
 a1df22161c6c93ad652a9f08ec1d4d268646c9a6 1033 kdbg_2.2.0-2.dsc
 4e1e74f513f3506b84dc326a547f138777231f72 704501 kdbg_2.2.0-2.diff.gz
 0a28e713cf88b6d67db97428e26428b174636690 406102 kdbg_2.2.0-2_amd64.deb
Checksums-Sha256: 
 1491a11eace9330805685813072b0c1e6c7400c6f5fc3926899b31d76f6778b8 1033 
kdbg_2.2.0-2.dsc
 b430c8a9407cd55d6a44efabbf43c74b4ad442134618c400b2e0780709412a45 704501 
kdbg_2.2.0-2.diff.gz
 582f518be443bed7adfa2395bfd8517f3670036c3f66cc5d07605acbe2c76031 406102 
kdbg_2.2.0-2_amd64.deb
Files: 
 3e6f4c4124c783f4171464fd3198f23e 1033 devel optional kdbg_2.2.0-2.dsc
 980483c6a1b3f026c24ba81d1c2bd45b 704501 devel optional kdbg_2.2.0-2.diff.gz
 f97528807c6d65e041413fe94ef890cf 406102 devel optional kdbg_2.2.0-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Signed by Ana Guerrero

iEYEARECAAYFAksFxdMACgkQn3j4POjENGGcGgCdHtaXXXubv+mZmic/kDptEfDM
H0gAn0tyfwMxa2BGnxY+9y80FZK5OSDU
=kMlm
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to