Bug#265057: marked as done (gnugk: FTBFS with gcc-3.4: `InstanceOf' is neither function nor member function; cannot be declared friend)
Debian Bug Tracking System
owner@bugs.debian.org
Mon, 08 Nov 2004 03:33:15 -0800
Your message dated Mon, 08 Nov 2004 06:02:03 -0500
with message-id <E1CR7Hf-0002z3-00@newraff.debian.org>
and subject line Bug#265057: fixed in gnugk 2:2.2.0-2
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; 11 Aug 2004 14:55:41 +0000
>From aj@andaco.de Wed Aug 11 07:55:41 2004
Return-path: <aj@andaco.de>
Received: from c156124.adsl.hansenet.de (localhost) [213.39.156.124]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BuuVx-0008BX-00; Wed, 11 Aug 2004 07:55:41 -0700
Received: from aj by localhost with local (Exim 4.34)
id 1BuuVw-0006KF-5A; Wed, 11 Aug 2004 16:55:40 +0200
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: gnugk: FTBFS with gcc-3.4: `InstanceOf' is neither function nor member function; cannot be declared friend
Message-Id: <E1BuuVw-0006KF-5A@localhost>
Date: Wed, 11 Aug 2004 16:55:40 +0200
Delivered-To: submit@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: gnugk
Severity: normal
Tags: patch
When building 'gnugk' with gcc-3.4 I get the following error:
from MulticastGRQ.cxx:38:
singleton.h:88: error: `InstanceOf' is neither function nor member function; cannot be declared friend
singleton.h:88: error: expected `;' before '<' token
singleton.h: In function `T* InstanceOf() [with T = Toolkit]':
Toolkit.h:308: instantiated from here
singleton.h:144: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:134: error: within this context
Toolkit.h:308: instantiated from here
singleton.h:145: error: `PMutex Singleton<Toolkit>::m_CreationLock' is private
singleton.h:135: error: within this context
Toolkit.h:308: instantiated from here
singleton.h:144: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:137: error: within this context
singleton.h:144: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:138: error: within this context
singleton.h:144: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:140: error: within this context
make[1]: *** [obj_linux_x86_64_r/MulticastGRQ.o] Error 1
make[1]: Leaving directory `/gnugk-2.0.8'
make: *** [build-stamp] Error 2
With the attached patch 'gnugk' can be compiled using gcc-3.4.
Regards
Andreas Jochens
Binary files ../tmp-orig/gnugk-2.0.8/obj_linux_x86_64_r/addpasswd and ./obj_linux_x86_64_r/addpasswd differ
Binary files ../tmp-orig/gnugk-2.0.8/obj_linux_x86_64_r/addpasswd.o and ./obj_linux_x86_64_r/addpasswd.o differ
diff -urN ../tmp-orig/gnugk-2.0.8/singleton.h ./singleton.h
--- ../tmp-orig/gnugk-2.0.8/singleton.h 2004-05-12 19:46:41.000000000 +0200
+++ ./singleton.h 2004-08-11 16:30:01.632778579 +0200
@@ -81,12 +81,7 @@
Singleton();
~Singleton();
-#ifdef WIN32
public:
-#else
- private:
- friend T *InstanceOf<T>();
-#endif
static SingletonBase *m_Instance;
static PMutex m_CreationLock;
};
---------------------------------------
Received: (at 265057-close) by bugs.debian.org; 8 Nov 2004 11:08:06 +0000
>From katie@ftp-master.debian.org Mon Nov 08 03:08:06 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CR7NV-0000jd-00; Mon, 08 Nov 2004 03:08:06 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1CR7Hf-0002z3-00; Mon, 08 Nov 2004 06:02:03 -0500
From: Mark Purcell <msp@debian.org>
To: 265057-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#265057: fixed in gnugk 2:2.2.0-2
Message-Id: <E1CR7Hf-0002z3-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 08 Nov 2004 06:02:03 -0500
Delivered-To: 265057-close@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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Source: gnugk
Source-Version: 2:2.2.0-2
We believe that the bug you reported is fixed in the latest version of
gnugk, which is due to be installed in the Debian FTP archive:
gnugk_2.2.0-2.diff.gz
to pool/main/g/gnugk/gnugk_2.2.0-2.diff.gz
gnugk_2.2.0-2.dsc
to pool/main/g/gnugk/gnugk_2.2.0-2.dsc
gnugk_2.2.0-2_i386.deb
to pool/main/g/gnugk/gnugk_2.2.0-2_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 265057@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 gnugk 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: Mon, 8 Nov 2004 21:13:53 +1100
Source: gnugk
Binary: gnugk
Architecture: source i386
Version: 2:2.2.0-2
Distribution: unstable
Urgency: low
Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
Changed-By: Mark Purcell <msp@debian.org>
Description:
gnugk - OpenH323 Gatekeeper - The GNU Gatekeeper
Closes: 265057 265770 272008 280117
Changes:
gnugk (2:2.2.0-2) unstable; urgency=low
.
* Superseed version in experimental (Closes: Bug#272008)
* New upstream clears FTBFS (Closes: Bug#265057)
ZZ
* Closes: #265770: gnugk should depend on libpt-1.6.3 (>> 1.6.6)
* Closes: #280117: adduser missing from gnugk
* Build-Depends: postgresql-dev
Files:
c597b4d0659168990b76f8bb185a29fe 1029 comm optional gnugk_2.2.0-2.dsc
18eb58f517d71f7512c7619962edf033 6800 comm optional gnugk_2.2.0-2.diff.gz
3656088db7ddd56828c9ce7c1590a782 653900 comm optional gnugk_2.2.0-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBj01QoCzanz0IthIRAiwTAJ9NwM25pQeC15uXnlm7GX4SRKU2UgCgmt/H
1nqVuKLpQ9HBsO/pKXn3gU4=
=Pis7
-----END PGP SIGNATURE-----