[Pkg-lyx-devel] Bug#261364: marked as done (lyx doesn't compile with gcc 3.4.1)

Debian Bug Tracking System owner at bugs.debian.org
Sun Sep 25 07:03:07 UTC 2005


Your message dated Sat, 24 Sep 2005 23:47:07 -0700
with message-id <E1EJQHz-0005oV-00 at spohr.debian.org>
and subject line Bug#261364: fixed in lyx 1.3.6-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; 25 Jul 2004 15:02:54 +0000
>From riesebie at lxtec.de Sun Jul 25 08:02:54 2004
Return-path: <riesebie at lxtec.de>
Received: from www.hostsharing.net (pima.hostsharing.net) [212.42.230.151] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BokWb-0005Ob-00; Sun, 25 Jul 2004 08:02:53 -0700
Received: from mail.home.lxtec.de (pD9ECEE22.dip.t-dialin.net [217.236.238.34])
	(using TLSv1 with cipher RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pima.hostsharing.net (Postfix) with ESMTP
	id 8FDFBB003979; Sun, 25 Jul 2004 16:59:35 +0200 (CEST)
Received: from localhost ([127.0.0.1])
	by mail.home.lxtec.de with esmtp (Exim 4.41 1 (Debian))
	id 1BokTM-0000Ci-Gz; Sun, 25 Jul 2004 16:59:32 +0200
Received: from mail.home.lxtec.de ([127.0.0.1])
	by localhost (baumbart [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 32748-10; Sun, 25 Jul 2004 16:59:31 +0200 (CEST)
Received: from frodo.home.lxtec.de ([192.168.200.202])
	by mail.home.lxtec.de with esmtp (Exim 4.41 1 (Debian))
	id 1BokTL-0000Cb-0Z; Sun, 25 Jul 2004 16:59:31 +0200
Received: from riesebie by frodo.home.lxtec.de with local (Exim 4.41)
	id 1BokTK-0007Cr-DV; Sun, 25 Jul 2004 16:59:30 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Elimar Riesebieter <riesebie at lxtec.de>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: lyx doesn't compile with gcc 3.4.1
X-Mailer: reportbug 2.63
Date: Sun, 25 Jul 2004 16:59:30 +0200
Message-Id: <E1BokTK-0007Cr-DV at frodo.home.lxtec.de>
Sender: Elimar Riesebieter <riesebie at lxtec.de>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at home.lxtec.de
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(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_2004_03_25
X-Spam-Level: 

Package: lyx
Version: 1.3.4-2lxtec1
Severity: important
Tags: patch



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-rc2-frodo
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro

Versions of packages lyx depends on:
ii  debconf                1.4.29            Debian configuration management sy
ii  groff                  1.18.1.1-1        GNU troff text-formatting system
ii  imagemagick            5:6.0.3.4-0lxtec1 Image manipulation programs
ii  libtiff-tools          3.5.7-2           TIFF manipulation and conversion t
ii  lyx-common             1.3.4-2lxtec1     High Level Word Processor - common
ii  lyx-xforms             1.3.4-2lxtec1     High Level Word Processor - XForms
ii  mime-support           3.26-1            MIME files 'mime.types' & 'mailcap
ii  preview-latex-style    0.8.1+0-2         LaTeX style files for editor embed
ii  tetex-bin              2.0.2-15          The teTeX binary files
ii  tetex-extra            2.0.2-9           Additional library files of teTeX

-- debconf information:
  lyx/upgrade-notice:

I tried to compile the lyx-package 1.3.4-2 today. gcc 3.3.4 went well on both
i386 and ppc. gcc 3.4.1-3 only worked with the applied patch. The patch is
worked out according to

http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=25695

The patch isn't tested by me with 3.3.4 'cause of the marathonbuildtime uff ;)


--- src/BoostFormat.h.orig	2004-07-25 12:31:02.000000000 +0200
+++ src/BoostFormat.h	2004-07-25 12:44:19.000000000 +0200
@@ -15,7 +15,7 @@
 {
 
 extern
-template basic_format<char>;
+template class basic_format<char>;
 
 extern template
 std::ostream &
--- src/frontends/controllers/ControlDialog.tmpl.orig	2004-07-25 12:46:28.000000000 +0200
+++ src/frontends/controllers/ControlDialog.tmpl	2004-07-25 12:54:29.000000000 +0200
@@ -14,7 +14,7 @@
 
 #include "ControlDialog.h"
 
-#include "ButtonControllerBase.h"
+#include "ButtonController.h"
 #include "ViewBase.h"
 
 
@@ -27,54 +27,54 @@
 template <class Base>
 void ControlDialog<Base>::show()
 {
-	if (isBufferDependent() && !bufferIsAvailable())
+	if (this->isBufferDependent() && !this->bufferIsAvailable())
 		return;
 
-	connect();
+	this->connect();
 
 	if (!dialog_built_) {
-		view().build();
+		this->view().build();
 		dialog_built_ = true;
 	}
 
 	setParams();
-	if (emergency_exit_) {
+	if (this->emergency_exit_) {
 		hide();
 		return;
 	}
 
-	bc().readOnly(bufferIsReadonly());
-	view().show();
+	this->bc().readOnly(this->bufferIsReadonly());
+	this->view().show();
 
 	// The widgets may not be valid, so refresh the button controller
-	bc().refresh();
+	this->bc().refresh();
 }
 
 template <class Base>
 void ControlDialog<Base>::update()
 {
-	if (isBufferDependent() && !bufferIsAvailable())
+	if (this->isBufferDependent() && !this->bufferIsAvailable())
 		return;
 
 	setParams();
-	if (emergency_exit_) {
+	if (this->emergency_exit_) {
 		hide();
 		return;
 	}
 
-	bc().readOnly(bufferIsReadonly());
-	view().update();
+	this->bc().readOnly(this->bufferIsReadonly());
+	this->view().update();
 
 	// The widgets may not be valid, so refresh the button controller
-	bc().refresh();
+	this->bc().refresh();
 }
 
 template <class Base>
 void ControlDialog<Base>::hide()
 {
-	emergency_exit_ = false;
+	this->emergency_exit_ = false;
 	clearParams();
 
-	disconnect();
-	view().hide();
+	this->disconnect();
+	this->view().hide();
 }
--- src/frontends/xforms/FormBase.h.orig	2004-07-25 12:56:18.000000000 +0200
+++ src/frontends/xforms/FormBase.h	2004-07-25 12:57:52.000000000 +0200
@@ -188,14 +188,14 @@
 template <class Controller, class Base>
 Controller & FormCB<Controller, Base>::controller()
 {
-	return static_cast<Controller &>(getController());
+	return static_cast<Controller &>(this->getController());
 }
 
 
 template <class Controller, class Base>
 Controller const & FormCB<Controller, Base>::controller() const
 {
-	return static_cast<Controller const &>(getController());
+	return static_cast<Controller const &>(this->getController());
 }
 
 
--- src/frontends/qt2/Qt2Base.h.orig	2004-07-25 12:58:44.000000000 +0200
+++ src/frontends/qt2/Qt2Base.h	2004-07-25 12:59:43.000000000 +0200
@@ -174,14 +174,14 @@
 template <class Controller, class Base>
 Controller & Qt2CB<Controller, Base>::controller()
 {
-	return static_cast<Controller &>(getController());
+	return static_cast<Controller &>(this->getController());
 }
 
 
 template <class Controller, class Base>
 Controller const & Qt2CB<Controller, Base>::controller() const
 {
-	return static_cast<Controller const &>(getController());
+	return static_cast<Controller const &>(this->getController());
 }
 
 
--- boost/boost/format/feed_args.hpp.orig	2004-07-25 13:01:06.000000000 +0200
+++ boost/boost/format/feed_args.hpp	2004-07-25 13:02:01.000000000 +0200
@@ -34,7 +34,7 @@
 
   template<class Tr, class Ch> inline
   void empty_buf(BOOST_IO_STD basic_ostringstream<Ch,Tr> & os) {
-    static const std::basic_string<Ch, Tr> emptyStr; // avoids 2 cases ( "" and  L"" )
+  const std::basic_string<Ch, Tr> emptyStr; // avoids 2 cases ( "" and  L"" )
     os.str(emptyStr);
   }
 
--- boost/boost/format/format_implementation.hpp.orig	2004-07-25 13:02:36.000000000 +0200
+++ boost/boost/format/format_implementation.hpp	2004-07-25 13:03:47.000000000 +0200
@@ -151,7 +151,7 @@
 {
     if(argN<1 || argN > num_args_ || bound_.size()==0 || !bound_[argN-1] )
       {
-	if( exceptions() & out_of_range_bit )
+	if( exceptions() & io::out_of_range_bit )
 	  boost::throw_exception(io::out_of_range()); // arg not in range.
 	else return *this;
       }
--- boost/boost/config/compiler/gcc.hpp.orig	2004-07-25 13:04:47.000000000 +0200
+++ boost/boost/config/compiler/gcc.hpp	2004-07-25 13:13:29.000000000 +0200
@@ -1,8 +1,13 @@
-//  (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
-//  distribute this software is granted provided this copyright notice appears
-//  in all copies. This software is provided "as is" without express or implied
-//  warranty, and with no claim as to its suitability for any purpose.
-
+//  (C) Copyright John Maddock 2001 - 2003.
+//  (C) Copyright Darin Adler 2001 - 2002.
+//  (C) Copyright Jens Maurer 2001 - 2002.
+//  (C) Copyright Beman Dawes 2001 - 2003.
+//  (C) Copyright Douglas Gregor 2002.
+//  (C) Copyright David Abrahams 2002 - 2003.
+//  (C) Copyright Synge Todo 2003.
+//  Use, modification and distribution are subject to the
+//  Boost Software License, Version 1.0. (See accompanying file
+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 //  See http://www.boost.org for most recent version.
 
 //  GNU C++ compiler setup:
@@ -23,24 +28,49 @@
 #     endif
 #   endif
 
+#   if __GNUC__ == 2 && __GNUC_MINOR__ < 96
+#     define BOOST_NO_SFINAE
+#   endif
+
 #   if __GNUC__ == 2 && __GNUC_MINOR__ <= 97
 #     define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
 #     define BOOST_NO_OPERATORS_IN_NAMESPACE
 #   endif
 
+#   if __GNUC__ < 3
+#      define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
+#      define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
+#   endif
+
+//
+// Bug specific to gcc 3.1 and 3.2:
+//
+#if (__GNUC__ == 3) && ((__GNUC_MINOR__ == 1) || (__GNUC_MINOR__ == 2))
+#  define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
+#endif
+
 //
-// Threading support:
-// Turn this on unconditionally here, it will get turned off again later
-// if no threading API is detected.
+// Threading support: Turn this on unconditionally here (except for
+// those platforms where we can know for sure). It will get turned off again
+// later if no threading API is detected.
 //
-#define BOOST_HAS_THREADS
+#if !defined(__MINGW32__) && !defined(linux) && !defined(__linux) && !defined(__linux__)
+# define BOOST_HAS_THREADS
+#endif
 
 //
 // gcc has "long long"
 //
 #define BOOST_HAS_LONG_LONG
 
-#define BOOST_COMPILER "GNU C++ version " BOOST_STRINGIZE(__GNUC__) "." BOOST_STRINGIZE(__GNUC_MINOR__)
+//
+// gcc implements the named return value optimization since version 3.1
+//
+#if __GNUC__ > 3 || ( __GNUC__ == 3 && __GNUC_MINOR__ >= 1 )
+#define BOOST_HAS_NRVO
+#endif
+
+#define BOOST_COMPILER "GNU C++ version " __VERSION__
 
 //
 // versions check:
@@ -50,7 +80,7 @@
 #endif
 //
 // last known and checked version is 3.2:
-#if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 3))
+#if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 4))
 #  if defined(BOOST_ASSERT_CONFIG)
 #     error "Unknown compiler version - please run the configure tests and report the results"
 #  else

---------------------------------------
Received: (at 261364-close) by bugs.debian.org; 25 Sep 2005 06:48:41 +0000
>From katie at spohr.debian.org Sat Sep 24 23:48:41 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EJQHz-0005oV-00; Sat, 24 Sep 2005 23:47:07 -0700
From: Rob Weir <rweir at ertius.org>
To: 261364-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#261364: fixed in lyx 1.3.6-1
Message-Id: <E1EJQHz-0005oV-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Sat, 24 Sep 2005 23:47:07 -0700
Delivered-To: 261364-close at 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-Level: 
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: lyx
Source-Version: 1.3.6-1

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

lyx-common_1.3.6-1_all.deb
  to pool/main/l/lyx/lyx-common_1.3.6-1_all.deb
lyx-qt_1.3.6-1_i386.deb
  to pool/main/l/lyx/lyx-qt_1.3.6-1_i386.deb
lyx-xforms_1.3.6-1_i386.deb
  to pool/main/l/lyx/lyx-xforms_1.3.6-1_i386.deb
lyx_1.3.6-1.diff.gz
  to pool/main/l/lyx/lyx_1.3.6-1.diff.gz
lyx_1.3.6-1.dsc
  to pool/main/l/lyx/lyx_1.3.6-1.dsc
lyx_1.3.6-1_all.deb
  to pool/main/l/lyx/lyx_1.3.6-1_all.deb
lyx_1.3.6.orig.tar.gz
  to pool/main/l/lyx/lyx_1.3.6.orig.tar.gz



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 261364 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rob Weir <rweir at ertius.org> (supplier of updated lyx 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 at debian.org)


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

Format: 1.7
Date: Thu,  1 Sep 2005 18:11:31 +1000
Source: lyx
Binary: lyx-qt lyx-common lyx-xforms lyx
Architecture: source i386 all
Version: 1.3.6-1
Distribution: unstable
Urgency: low
Maintainer: Debian LyX Maintainers <pkg-lyx-devel at lists.alioth.debian.org>
Changed-By: Rob Weir <rweir at ertius.org>
Description: 
 lyx        - High Level Word Processor
 lyx-common - High Level Word Processor - common files
 lyx-qt     - High Level Word Processor - Qt frontend
 lyx-xforms - High Level Word Processor - XForms frontend
Closes: 193645 255368 261364 275008 275325 279130 315459 321308 323439 327988
Changes: 
 lyx (1.3.6-1) unstable; urgency=low
 .
   * New upstream release (Closes: #275325).
     + It compiles fine with modern gcc, too (Closes: #261364).
     + And that weird "Mutex destroy failure: Device or resource busy"
       message (Closes: #193645).
     + Builds on sid again now (Closes: #323439).
     + Build against new Qt (Closes: #327988).
     + Fix to not crash on autosave in Russian locales (Closes: #275008).
   * Converted packaging to use debhelper, with a surprisingly small gain in
     comprehensibility.  Thanks to Peter Samuelson, Daniel Stone, Adam Conrad,
     Tollef Fog Heen, Pascal Hakim and Erinn Clark for help along the way.
   * Use dpatch to apply patches to the upstream source.
   * Build against C++-transitioned Aiksaurus (Closes: #321308).
   * Use new texmf.cnf location in lyx-common postinst (Closes: #279130).
     Thanks to Antonio Biasio, Javier Fernández-Sanguino Peña, Alban
     Browaeys and Peter Samuelson.
   * Remove debconf note about the lyx-qt/lyx-xforms split; thanks again for
     the translation work, especially: Basilius (ru), Clytie Siddall (vi),
     Hideki Yamane (ja) and Jan Outrata (cs).
   * Make lyx-common Depend on tetex-bin (Closes: #255368).
   * Include patch from Joe Pfeiffer to add counters for the latex8 article
     class (Closes: #315459).  Thanks, Joe!
   * Update lyx manpage to use the correct minus character.
   * Include convert'd 32x32 icon for use in menus.
   * Add versioned build-dep on g++-4.0 to avoid hitting #328684.
Files: 
 18a93ca4b4bcf134bd165c7b97e68360 1541 editors optional lyx_1.3.6-1.dsc
 20fd8515cc025129d97232dd2583f35f 7782849 editors optional lyx_1.3.6.orig.tar.gz
 a81dfd673da732484d01906f27514f53 21524 editors optional lyx_1.3.6-1.diff.gz
 7917d6675fca37b915f3fcc9b62d86a5 2071904 editors optional lyx-qt_1.3.6-1_i386.deb
 34ca3663290b5ca8f1c2c72943cef785 1978446 editors optional lyx-xforms_1.3.6-1_i386.deb
 67aef98f6f22aba7c80c5b7e25602a2e 17004 editors optional lyx_1.3.6-1_all.deb
 f25f43caf99a8acf3fc2812eaa9889b4 3813734 editors optional lyx-common_1.3.6-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: http://triplehelix.org/~joshk/pubkey_gpg.asc

iQIVAwUBQzZEu6OILr94RG8mAQJg1hAA0MhWWbX5Hz1dEad99IjF7Tz066E3bHAN
zyKBUkfk7Kll7W11k1dZHTmaB9ePiBcxetgK4OcLEijWbBfWMToSCtVPmXGkpdDh
mqu/s3aHRj1GtIuj42+xiaEvzH4ar7md7pYhjt2+fnOhV5sabwKk8LY7JWL3OfWH
lvJ97lgswQZX3SW0eJaeXHO/O85Q1fuLkmG6CCDcJA6qBr5sFgDPRiduKuiwD9UM
BIepIT3Th8yFAinU1NphdooTXZDNVR7JJqe1ZarTeniZ0dzy5q71I96TjakANhzp
9zVjP82Tzgt06VBfy70PXJgT08+eCchTJdwSq5WQ5/jWC327xd8ydy5wUCpzUN4z
NtEKfCS8gTCZp8/D929J66Q8ipHAQNJh/vz1/1TJ1rNxJyAbNumFq/5La0aX5HNN
uNYLFjIFl9o+gV/IoOuUdQ6rKGUhcDwVWIZqXO6vsYHvqW1jJYufzYTPg9CgsSYB
rF3jjGfTI7ojTyFKo7I8NRzvTNEJvReoFPz6yOe5vkJTaU3yAJ4MxN8CkILOR78S
HdFSlsOXY/onnDtKYz4MMT348RI7fR7qBEn+VHTPfHv1NxkCleZ5g9zJOKI275OQ
yjzkDP5K0kt3f5EsJCYxb1xVOlzjO6XaHFohfPdLXtcPihj/5FrZzEJ1+6fmjoKN
2nuHNQ1DVBY=
=9An7
-----END PGP SIGNATURE-----




More information about the Pkg-lyx-devel mailing list