[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#307241: marked as done (gcc-3.4: FTBFS: doxygen segfault processing libstdc++v3 headers)



Your message dated Fri, 6 May 2005 11:12:58 +0200
with message-id <17019.13594.959518.690363@gargle.gargle.HOWL>
and subject line fixed in gcc-3.4 3.4.3-12.1
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; 2 May 2005 01:16:34 +0000
>From vorlon@debian.org Sun May 01 18:16:34 2005
Return-path: <vorlon@debian.org>
Received: from dsl093-039-086.pdx1.dsl.speakeasy.net (localhost.localdomain) [66.93.39.86] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DSPY1-0003IS-00; Sun, 01 May 2005 18:16:33 -0700
Received: by localhost.localdomain (Postfix, from userid 1000)
	id 07313172843; Sun,  1 May 2005 18:16:32 -0700 (PDT)
Content-Type: multipart/mixed; boundary="===============1998852044=="
MIME-Version: 1.0
From: Steve Langasek <vorlon@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gcc-3.4: FTBFS: doxygen segfault processing libstdc++v3 headers
X-Mailer: reportbug 3.8
Date: Sun, 01 May 2005 18:16:32 -0700
Message-Id: <[🔎] 20050502011632.07313172843@localhost.localdomain>
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

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

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

Package: gcc-3.4
Version: 3.4.3-12
Severity: serious
Tags: patch

Hi Matthias,

This bug is the mirror of bug #304659, doxygen segfaulting during the build
of gcc-3.4_3.4.3-12.  There appears to be an invalid use of '@var' without a
corresponding variable declaration in libstdc++v3/include/bits/basic_string.h.
Fixing this reference allows gcc-3.4 to build from source again with current
doxygen.  Patch attached.

This patch will be included in my upcoming NMU for bug #302995.

Thanks,
-- 
Steve Langasek
postmodern programmer

--===============1998852044==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="gcc-3.4-doxygen.patch"

diff -uNr gcc-3.4-3.4.3.orig/debian/README.Debian gcc-3.4-3.4.3/debian/README.Debian
--- gcc-3.4-3.4.3.orig/debian/README.Debian	2005-05-01 18:03:06.000000000 -0700
+++ gcc-3.4-3.4.3/debian/README.Debian	2005-05-01 18:02:19.000000000 -0700
@@ -68,7 +68,7 @@
 Patches that Debian applied in this version:
 
 cvs-updates:
-  CVS updates from the 3.4 branch upto 20050305
+  CVS updates from the 3.4 branch upto 20050314
 
 gcc-version:
   Add "(Debian <package version>)" to the gcc version string
@@ -86,6 +86,10 @@
 libstdc++-doclink:
   adjust hrefs to point to the local documentation
 
+libstdc++-doxygen-syntax:
+  fix doxygen syntax error in header that causes segfaults with some
+  versions
+
 amd64-specs:
   On x86-64 use 64bits mode assembly except with -m32.
 
@@ -123,9 +127,6 @@
   library (i.e. gij looks for .so.5 for loading additional libraries
   like the GTK based AWT peers.
 
-pr19311:
-  Proposed patch to fix PR19311
-
 m68k-update:
   Add two m68k specfic patches backported from 4.0 concerning wrong code
   generation (Richard Zidlicky).
diff -uNr gcc-3.4-3.4.3.orig/debian/patches/libstdc++-doxygen-syntax.dpatch gcc-3.4-3.4.3/debian/patches/libstdc++-doxygen-syntax.dpatch
--- gcc-3.4-3.4.3.orig/debian/patches/libstdc++-doxygen-syntax.dpatch	1969-12-31 16:00:00.000000000 -0800
+++ gcc-3.4-3.4.3/debian/patches/libstdc++-doxygen-syntax.dpatch	2005-05-01 17:56:05.000000000 -0700
@@ -0,0 +1,39 @@
+#! /bin/sh -e
+
+# DP: fix doxygen syntax error in header that causes segfaults with some
+# DP: versions
+
+dir=
+if [ $# -eq 3 -a "$2" = '-d' ]; then
+    pdir="-d $3"
+    dir="$3/"
+elif [ $# -ne 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+    -patch)
+        patch $pdir -f --no-backup-if-mismatch -p1 < $0
+        ;;
+    -unpatch)
+        patch $pdir -f --no-backup-if-mismatch -R -p1 < $0
+        ;;
+    *)
+        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+        exit 1
+esac
+exit 0
+
+@DPATCH@
+diff -uNr src.orig/libstdc++-v3/include/bits/basic_string.h src/libstdc++-v3/include/bits/basic_string.h
+--- src.orig/libstdc++-v3/include/bits/basic_string.h	2004-10-28 14:52:40.000000000 -0700
++++ src/libstdc++-v3/include/bits/basic_string.h	2005-05-01 14:31:48.000000000 -0700
+@@ -248,7 +248,7 @@
+       // Data Members (public):
+       // NB: This is an unsigned type, and thus represents the maximum
+       // size that the allocator can hold.
+-      /// @var
++      /// @var  static const size_type npos
+       /// Value returned by various member functions when they fail.
+       static const size_type	npos = static_cast<size_type>(-1);
+ 
diff -uNr gcc-3.4-3.4.3.orig/debian/rules.patch gcc-3.4-3.4.3/debian/rules.patch
--- gcc-3.4-3.4.3.orig/debian/rules.patch	2005-05-01 18:03:06.000000000 -0700
+++ gcc-3.4-3.4.3/debian/rules.patch	2005-05-01 15:55:41.000000000 -0700
@@ -17,6 +17,7 @@
 	rename-info-files \
 	libstdc++-pic \
 	libstdc++-doclink \
+	libstdc++-doxygen-syntax \
 	amd64-specs \
 	gccbug \
 	gccbug-posix \

--===============1998852044==--

---------------------------------------
Received: (at 307241-done) by bugs.debian.org; 6 May 2005 09:13:02 +0000
>From doko@cs.tu-berlin.de Fri May 06 02:13:02 2005
Return-path: <doko@cs.tu-berlin.de>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DTytK-0002yA-00; Fri, 06 May 2005 02:13:02 -0700
Received: from mailhost.cs.tu-berlin.de (postfix@mail.cs.tu-berlin.de [130.149.17.13])
	by mail.cs.tu-berlin.de (8.9.3p2/8.9.3) with ESMTP id LAA25708
	for <307241-done@bugs.debian.org>; Fri, 6 May 2005 11:13:00 +0200 (MEST)
Received: from localhost (localhost [127.0.0.1])
	by mailhost.cs.tu-berlin.de (Postfix) with ESMTP id 8C1ACF2CB
	for <307241-done@bugs.debian.org>; Fri,  6 May 2005 11:12:59 +0200 (MEST)
Received: from mailhost.cs.tu-berlin.de ([127.0.0.1])
 by localhost (bueno [127.0.0.1]) (amavisd-new, port 10224) with ESMTP
 id 14619-14 for <307241-done@bugs.debian.org>;
 Fri,  6 May 2005 11:12:59 +0200 (MEST) 14032
Received: from bolero.cs.tu-berlin.de (bolero.cs.tu-berlin.de [130.149.19.1])
	by mailhost.cs.tu-berlin.de (Postfix) with ESMTP
	for <307241-done@bugs.debian.org>; Fri,  6 May 2005 11:12:59 +0200 (MEST)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.12.10+Sun/8.12.8/Submit) id j469CxXE007138;
	Fri, 6 May 2005 11:12:59 +0200 (MEST)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <17019.13594.959518.690363@gargle.gargle.HOWL>
Date: Fri, 6 May 2005 11:12:58 +0200
To: 307241-done@bugs.debian.org
Subject: fixed in gcc-3.4 3.4.3-12.1
X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid
X-Virus-Scanned: by amavisd-new at cs.tu-berlin.de
Delivered-To: 307241-done@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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

fixed in gcc-3.4 3.4.3-12.1



Reply to: