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

Bug#126770: marked as done (linuxconf: Build failure with g++ 3.0 (hppa/unstable))



Your message dated Mon, 31 Dec 2001 15:08:29 -0500
with message-id <E16L8jV-000084-00@auric.debian.org>
and subject line Bug#123109: fixed in linuxconf 1.26r4-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; 28 Dec 2001 18:39:43 +0000
>From lamont@smallone.fc.hp.com Fri Dec 28 12:39:43 2001
Return-path: <lamont@smallone.fc.hp.com>
Received: from atlrel6.hp.com [156.153.255.205] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16K1uw-0000Pi-00; Fri, 28 Dec 2001 12:39:42 -0600
Received: from security.hp.com (cranston.fc.hp.com [15.1.44.224])
	by atlrel6.hp.com (Postfix) with ESMTP id 6E90C6002DA
	for <submit@bugs.debian.org>; Fri, 28 Dec 2001 13:39:12 -0500 (EST)
Received: from smallone.fc.hp.com (smallone.fc.hp.com [15.1.44.235])
	by security.hp.com (Postfix) with ESMTP id 3C9B71872C
	for <submit@bugs.debian.org>; Fri, 28 Dec 2001 11:39:10 -0700 (MST)
Received: by smallone.fc.hp.com (Postfix, from userid 1000)
	id 496A71C63A; Fri, 28 Dec 2001 11:39:37 -0700 (MST)
From: LaMont Jones <lamont@smallone.fc.hp.com>
Subject: linuxconf: Build failure with g++ 3.0 (hppa/unstable)
To: submit@bugs.debian.org
X-Mailer: bug 3.3.10
Message-Id: <20011228183937.496A71C63A@smallone.fc.hp.com>
Date: Fri, 28 Dec 2001 11:39:37 -0700 (MST)
Delivered-To: submit@bugs.debian.org

Package: linuxconf
Version: 1.26r4-1
Severity: important
Tags: patch

Filing important because hppa is in woody (and requires gcc 3.0)
The following patch allows linuxconf to build with g++ 3.0.

lamont
====================================================================
diff -ur t/linuxconf-1.26r4/libmodules/parsers/viewedit.cc linuxconf-1.26r4/libmodules/parsers/viewedit.cc
--- t/linuxconf-1.26r4/libmodules/parsers/viewedit.cc	Sat Dec 30 10:21:24 2000
+++ linuxconf-1.26r4/libmodules/parsers/viewedit.cc	Fri Dec 28 11:01:15 2001
@@ -5,7 +5,7 @@
 };
 
 class VIEWEDIT_FIELD: public ARRAY_OBJ{
-	friend VIEWEDIT;
+	friend class VIEWEDIT;
 	const char *keyword;
 	VIEWITEM *it;
 	SSTRING val;
diff -ur t/linuxconf-1.26r4/modules/Xkbdconf/devicelist.cc linuxconf-1.26r4/modules/Xkbdconf/devicelist.cc
--- t/linuxconf-1.26r4/modules/Xkbdconf/devicelist.cc	Tue Dec 12 12:19:34 2000
+++ linuxconf-1.26r4/modules/Xkbdconf/devicelist.cc	Fri Dec 28 09:50:02 2001
@@ -4,6 +4,7 @@
 #include <map>
 #include <string>
 #include "devicelist.h"
+using namespace std;
 
 DEVICE::DEVICE()
 {
diff -ur t/linuxconf-1.26r4/modules/Xkbdconf/devicelist.h linuxconf-1.26r4/modules/Xkbdconf/devicelist.h
--- t/linuxconf-1.26r4/modules/Xkbdconf/devicelist.h	Tue Nov 28 13:52:28 2000
+++ linuxconf-1.26r4/modules/Xkbdconf/devicelist.h	Fri Dec 28 09:49:47 2001
@@ -10,7 +10,7 @@
 class DEVICE: public ARRAY_OBJ
 {
 	private:
-		map<string,string> options;
+		std::map<std::string,std::string> options;
 	public:
 		DEVICE();
 		~DEVICE();
diff -ur t/linuxconf-1.26r4/modules/apache/viewedit.cc linuxconf-1.26r4/modules/apache/viewedit.cc
--- t/linuxconf-1.26r4/modules/apache/viewedit.cc	Tue Oct  9 22:47:38 2001
+++ linuxconf-1.26r4/modules/apache/viewedit.cc	Fri Dec 28 01:58:20 2001
@@ -5,7 +5,7 @@
 };
 
 class VIEWEDIT_FIELD: public ARRAY_OBJ{
-	friend VIEWEDIT;
+	friend class VIEWEDIT;
 	const char *keyword;
 	VIEWITEM *it;
 	SSTRING val;
diff -ur t/linuxconf-1.26r4/modules/kbdconf/devicelist.cc linuxconf-1.26r4/modules/kbdconf/devicelist.cc
--- t/linuxconf-1.26r4/modules/kbdconf/devicelist.cc	Mon Dec 11 13:36:09 2000
+++ linuxconf-1.26r4/modules/kbdconf/devicelist.cc	Fri Dec 28 09:19:14 2001
@@ -19,7 +19,7 @@
 
 const char *DEVICE::get_option(const char *name)
 {
-	 map<string,string>::iterator i = options.find(name);
+	 std::map<std::string,std::string>::iterator i = options.find(name);
 	 if (i != options.end())
 		return i->second.c_str();
 	 return NULL;
diff -ur t/linuxconf-1.26r4/modules/kbdconf/devicelist.h linuxconf-1.26r4/modules/kbdconf/devicelist.h
--- t/linuxconf-1.26r4/modules/kbdconf/devicelist.h	Mon Dec  4 17:52:51 2000
+++ linuxconf-1.26r4/modules/kbdconf/devicelist.h	Fri Dec 28 09:18:31 2001
@@ -10,7 +10,7 @@
 class DEVICE: public ARRAY_OBJ
 {
 	private:
-		map<string,string> options;
+		std::map<std::string,std::string> options;
 	public:
 		DEVICE();
 		~DEVICE();
diff -ur t/linuxconf-1.26r4/modules/modemconf/wv/wvlog.h linuxconf-1.26r4/modules/modemconf/wv/wvlog.h
--- t/linuxconf-1.26r4/modules/modemconf/wv/wvlog.h	Tue May  9 07:59:38 2000
+++ linuxconf-1.26r4/modules/modemconf/wv/wvlog.h	Fri Dec 28 08:55:15 2001
@@ -25,7 +25,7 @@
 // or transmits log messages.
 class WvLogRcvBase
 {
-    friend WvLog;
+    friend class WvLog;
 protected:
     const char *appname(const WvLog *log) const;
     virtual void log(const WvLog *source, int loglevel,
@@ -43,7 +43,7 @@
 // to all registered WvLogRcv's.
 class WvLog : public WvStream
 {
-    friend WvLogRcvBase;
+    friend class WvLogRcvBase;
 public:
     enum LogLevel {
 	Critical = 0,
diff -ur t/linuxconf-1.26r4/modules/modemconf/wv/wvmodemscan.h linuxconf-1.26r4/modules/modemconf/wv/wvmodemscan.h
--- t/linuxconf-1.26r4/modules/modemconf/wv/wvmodemscan.h	Tue Sep 19 13:53:06 2000
+++ linuxconf-1.26r4/modules/modemconf/wv/wvmodemscan.h	Fri Dec 28 08:55:36 2001
@@ -61,7 +61,7 @@
         { return baud; }
     WvString initstr() const;
 
-    friend WvModemScanList;
+    friend class WvModemScanList;
     
 };
 
diff -ur t/linuxconf-1.26r4/modules/module_apis/devconf_api.h linuxconf-1.26r4/modules/module_apis/devconf_api.h
--- t/linuxconf-1.26r4/modules/module_apis/devconf_api.h	Thu Sep  7 21:41:31 2000
+++ linuxconf-1.26r4/modules/module_apis/devconf_api.h	Fri Dec 28 08:42:11 2001
@@ -15,12 +15,12 @@
 	DEVCONF_API *tb[])
 {
 	return module_get_apis (DEVCONF_API_KEY,DEVCONF_API_REV
-		,client,(void*[])tb);
+		,client,(void**)tb);
 }
 
 inline void devconf_apis_end(DEVCONF_API *apis[], int nbapis)
 {
-	module_release_apis (DEVCONF_API_KEY,(void*[])apis,nbapis);
+	module_release_apis (DEVCONF_API_KEY,(void**)apis,nbapis);
 }
 
 inline bool devconf_api_available(const char *client)
diff -ur t/linuxconf-1.26r4/modules/module_apis/fwinfo_api.h linuxconf-1.26r4/modules/module_apis/fwinfo_api.h
--- t/linuxconf-1.26r4/modules/module_apis/fwinfo_api.h	Tue Dec 19 20:16:03 2000
+++ linuxconf-1.26r4/modules/module_apis/fwinfo_api.h	Fri Dec 28 08:39:47 2001
@@ -15,12 +15,12 @@
 	FWINFO_API *tb[])
 {
 	return module_get_apis (FWINFO_API_KEY,FWINFO_API_REV
-		,client,(void*[])tb);
+		,client,(void**)tb);
 }
 
 inline void fwinfo_apis_end(FWINFO_API *apis[], int nbapis)
 {
-	module_release_apis (FWINFO_API_KEY,(void*[])apis,nbapis);
+	module_release_apis (FWINFO_API_KEY,(void**)apis,nbapis);
 }
 
 inline bool fwinfo_api_available(const char *client)
diff -ur t/linuxconf-1.26r4/modules/module_apis/servicectl_api.h linuxconf-1.26r4/modules/module_apis/servicectl_api.h
--- t/linuxconf-1.26r4/modules/module_apis/servicectl_api.h	Sun Sep 10 20:44:05 2000
+++ linuxconf-1.26r4/modules/module_apis/servicectl_api.h	Fri Dec 28 01:45:03 2001
@@ -15,12 +15,12 @@
 	SERVICECTL_API *tb[])
 {
 	return module_get_apis (SERVICECTL_API_KEY,SERVICECTL_API_REV
-		,client,(void*[])tb);
+		,client,(void**)tb);
 }
 
 inline void servicectl_apis_end(SERVICECTL_API *apis[], int nbapis)
 {
-	module_release_apis (SERVICECTL_API_KEY,(void*[])apis,nbapis);
+	module_release_apis (SERVICECTL_API_KEY,(void**)apis,nbapis);
 }
 
 inline bool servicectl_api_available(const char *client)
diff -ur t/linuxconf-1.26r4/modules/mouseconf/devicelist.h linuxconf-1.26r4/modules/mouseconf/devicelist.h
--- t/linuxconf-1.26r4/modules/mouseconf/devicelist.h	Tue Nov 28 21:15:43 2000
+++ linuxconf-1.26r4/modules/mouseconf/devicelist.h	Fri Dec 28 10:25:08 2001
@@ -11,7 +11,7 @@
 class DEVICE: public ARRAY_OBJ
 {
 	private:
-		map<string,string> options;
+		std::map<std::string,std::string> options;
 	public:
 		DEVICE();
 		~DEVICE();
diff -ur t/linuxconf-1.26r4/userconf/userconf.h linuxconf-1.26r4/userconf/userconf.h
--- t/linuxconf-1.26r4/userconf/userconf.h	Fri Sep 14 14:33:55 2001
+++ linuxconf-1.26r4/userconf/userconf.h	Fri Dec 28 00:39:04 2001
@@ -120,7 +120,7 @@
 // Use to associate a help for the privilege section of the user account
 // dialog.
 class REGISTER_PRIVI_HELP{
-	friend USERPRIVI_COMNG;
+	friend class USERPRIVI_COMNG;
 	REGISTER_PRIVI_HELP *next;
 	TRANS_NOTLOAD *title;
 	HELP_FILE &help;
@@ -395,7 +395,7 @@
 
 
 class GROUP: public ARRAY_OBJ{
-	friend GROUPS;
+	friend class GROUPS;
 	SSTRING name;
 	SSTRING passwd;
 	int gid;
====================================================================

-- System Information
Debian Release: 3.0
Kernel Version: Linux smallone 2.4.9-pa79 #2 Thu Nov 8 18:18:02 MST 2001 parisc64 unknown


---------------------------------------
Received: (at 123109-close) by bugs.debian.org; 31 Dec 2001 20:23:56 +0000
>From troup@auric.debian.org Mon Dec 31 14:23:56 2001
Return-path: <troup@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16L8yS-0008Rz-00; Mon, 31 Dec 2001 14:23:56 -0600
Received: from troup by auric.debian.org with local (Exim 3.12 1 (Debian))
	id 16L8jV-000084-00; Mon, 31 Dec 2001 15:08:29 -0500
From: Colin Watson <cjwatson@debian.org>
To: 123109-close@bugs.debian.org
X-Katie: $Revision: 1.66 $
Subject: Bug#123109: fixed in linuxconf 1.26r4-2
Message-Id: <E16L8jV-000084-00@auric.debian.org>
Sender: James Troup <troup@auric.debian.org>
Date: Mon, 31 Dec 2001 15:08:29 -0500
Delivered-To: 123109-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
linuxconf, which has been installed in the Debian FTP archive:

linuxconf-dev_1.26r4-2_i386.deb
  to pool/main/l/linuxconf/linuxconf-dev_1.26r4-2_i386.deb
linuxconf-i18n_1.26r4-2_all.deb
  to pool/main/l/linuxconf/linuxconf-i18n_1.26r4-2_all.deb
linuxconf_1.26r4-2.diff.gz
  to pool/main/l/linuxconf/linuxconf_1.26r4-2.diff.gz
linuxconf_1.26r4-2.dsc
  to pool/main/l/linuxconf/linuxconf_1.26r4-2.dsc
linuxconf_1.26r4-2_i386.deb
  to pool/main/l/linuxconf/linuxconf_1.26r4-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 123109@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated linuxconf 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, 30 Dec 2001 19:15:05 +0000
Source: linuxconf
Binary: linuxconf-i18n linuxconf-dev linuxconf
Architecture: source all i386
Version: 1.26r4-2
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description: 
 linuxconf  - a powerful Linux administration kit
 linuxconf-dev - Development files for Linuxconf
 linuxconf-i18n - international language files for Linuxconf
Closes: 123109 126770
Changes: 
 linuxconf (1.26r4-2) unstable; urgency=low
 .
   * QA upload.
   * Fix build on hppa (thanks, LaMont Jones; closes: #123109, #126770).
   * Install man pages only in the linuxconf package, as otherwise
     linuxconf-dev is uninstallable.
   * Similarly, install undocumented(7) symlinks for tlcc and tlproto only in
     the linuxconf-dev package.
   * Add appropriate Replaces: to sort out upgrades for all this.
Files: 
 1bfd3cb320f3d59cb0e20cb172656ccc 767 admin optional linuxconf_1.26r4-2.dsc
 87ace0913ea10d9cf4e10e7b77d8c2bb 14738 admin optional linuxconf_1.26r4-2.diff.gz
 0f34c6ae28e7a4aa4c1a26dc05bff440 3478220 admin optional linuxconf-i18n_1.26r4-2_all.deb
 2dbf17bb2dd01419d4a3258215874506 3340194 admin optional linuxconf_1.26r4-2_i386.deb
 369f1a8f49db00d13b079fdea88db479 459364 devel optional linuxconf-dev_1.26r4-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8L3MZ9t0zAhD6TNERAkMgAJ9Ojrfx+9Yg7D9hojCTsd5tzmEpUwCeITQZ
lfi3kmDEi5z9oFZoFnI1l+I=
=p7lk
-----END PGP SIGNATURE-----



Reply to: