Your message dated Mon, 02 Apr 2007 23:32:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#417490: fixed in powersave 0.14.0-7
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)
--- Begin Message ---
Package: powersave
Version: 0.14.0-6
Usertags: ftbfs-gcc-4.3
Tags: patch
Your package fails to build with GCC 4.3. Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning. In GCC 4.3, the C++ header
dependencies have been cleaned up. The advantage of this is that
programs will compile faster. The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC). Some background of this can be found at
http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot (20070326-1 or higher)
from unstable.
> Automatic build of powersave_0.14.0-6 on coconut0 by sbuild/ia64 0.49
...
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libpower -I/usr/include/dbus-1.0
> -I/usr/lib/dbus-1.0/include -I/usr/include/dbus-1.0
> -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -Wall -DPOWERSAVE_DEBUG -DUSE_SYSLOG -g
> -Wall -O2 -c -o cpufreq_interface.o cpufreq_interface.cpp
> cpufreq_interface.cpp: In static member function 'static unsigned int
> CPUFreq_Interface::read_value(const char*)':
> cpufreq_interface.cpp:180: error: 'atoi' was not declared in this scope
> make[3]: *** [cpufreq_interface.o] Error 1
--- daemon/cpufreq_interface.cpp~ 2007-04-02 21:11:22.000000000 +0000
+++ daemon/cpufreq_interface.cpp 2007-04-02 21:11:29.000000000 +0000
@@ -22,6 +22,7 @@
* *
***************************************************************************/
+#include <cstdlib>
#include <sstream>
#include "powerlib.h"
--- daemon/cpu.cpp~ 2007-04-02 21:14:06.000000000 +0000
+++ daemon/cpu.cpp 2007-04-02 21:14:12.000000000 +0000
@@ -1,6 +1,7 @@
#include "cpu.h"
#include "cpufreq_interface.h"
+#include <cstdlib>
#include <sstream>
CPU::CPU(int id) : _cpu_base(id)
--- daemon/event.cpp~ 2007-04-02 21:15:03.000000000 +0000
+++ daemon/event.cpp 2007-04-02 21:15:27.000000000 +0000
@@ -22,6 +22,7 @@
* *
***************************************************************************/
+#include <algorithm>
#include <sys/wait.h>
#include <sys/time.h>
--- daemon/powersaved.cpp~ 2007-04-02 21:15:44.000000000 +0000
+++ daemon/powersaved.cpp 2007-04-02 21:15:50.000000000 +0000
@@ -26,6 +26,7 @@
#include <getopt.h>
#include <sys/wait.h>
#include <sys/fcntl.h>
+#include <cstdlib>
#include <fstream>
#include "config_pm.h"
--- daemon/event_management.h~ 2007-04-02 21:16:41.000000000 +0000
+++ daemon/event_management.h 2007-04-02 21:16:49.000000000 +0000
@@ -24,6 +24,7 @@
#define EVENT_MANAGEMENT_H
#include <list>
+#include <string>
class Event;
--- daemon/pm_interface.cpp~ 2007-04-02 21:17:37.000000000 +0000
+++ daemon/pm_interface.cpp 2007-04-02 21:17:52.000000000 +0000
@@ -25,6 +25,7 @@
#include "config.h"
#include <sys/wait.h>
#include <sys/time.h>
+#include <cstdlib>
#include "event_management.h"
#include "main_loop.h"
--- daemon/main_loop.cpp~ 2007-04-02 21:18:03.000000000 +0000
+++ daemon/main_loop.cpp 2007-04-02 21:18:10.000000000 +0000
@@ -22,6 +22,7 @@
* *
***************************************************************************/
+#include <cstdlib>
#include <signal.h>
#include <sched.h>
#include <errno.h>
--- daemon/device_management.cpp~ 2007-04-02 21:18:19.000000000 +0000
+++ daemon/device_management.cpp 2007-04-02 21:18:24.000000000 +0000
@@ -26,6 +26,7 @@
#include "device_management.h"
#include "pm_interface.h"
#include "globals.h"
+#include <algorithm>
using namespace std;
--- daemon/cpufreq_management.cpp~ 2007-04-02 21:18:32.000000000 +0000
+++ daemon/cpufreq_management.cpp 2007-04-02 21:18:40.000000000 +0000
@@ -27,6 +27,7 @@
#include "globals.h"
#include "event_management.h"
#include "cpu.h"
+#include <algorithm>
#include <cpufreq.h>
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---
--- Begin Message ---
Source: powersave
Source-Version: 0.14.0-7
We believe that the bug you reported is fixed in the latest version of
powersave, which is due to be installed in the Debian FTP archive:
libpowersave-dev_0.14.0-7_i386.deb
to pool/main/p/powersave/libpowersave-dev_0.14.0-7_i386.deb
libpowersave10_0.14.0-7_i386.deb
to pool/main/p/powersave/libpowersave10_0.14.0-7_i386.deb
powersave_0.14.0-7.diff.gz
to pool/main/p/powersave/powersave_0.14.0-7.diff.gz
powersave_0.14.0-7.dsc
to pool/main/p/powersave/powersave_0.14.0-7.dsc
powersaved_0.14.0-7_i386.deb
to pool/main/p/powersave/powersaved_0.14.0-7_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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Biebl <[EMAIL PROTECTED]> (supplier of updated powersave 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.7
Date: Tue, 03 Apr 2007 01:00:38 +0200
Source: powersave
Binary: libpowersave-dev libpowersave10 powersaved
Architecture: source i386
Version: 0.14.0-7
Distribution: unstable
Urgency: low
Maintainer: Michael Biebl <[EMAIL PROTECTED]>
Changed-By: Michael Biebl <[EMAIL PROTECTED]>
Description:
libpowersave-dev - power management daemon - development files
libpowersave10 - power management daemon - shared library
powersaved - power management daemon
Closes: 404594 412702 417490
Changes:
powersave (0.14.0-7) unstable; urgency=low
.
* debian/patches/14-gcc4.3_missing_includes.patch
- Add missing includes for building with gcc 4.3. Closes: #417490
Thanks to Martin Michlmayr for the patch.
* debian/patches/15-restart_anancron_on_resume.patch
- Restart anacron on resume. Closes: #412702
* debian/patches/16-description_acpid_dependency.patch
- In Debian, the powersave daemon is configured to use acpid by default.
Update the documentation in the configuration file accordingly.
Closes: #404594
Files:
466791fa1ceb7d243134d75225fb9ab7 778 admin optional powersave_0.14.0-7.dsc
ba80227a2679c7ef4f463c522817592d 14682 admin optional
powersave_0.14.0-7.diff.gz
fd02499dcb717136a39ca4ab12a92ca9 446126 admin optional
powersaved_0.14.0-7_i386.deb
a73bf54eb0d54daa70a85aabf68a2cb9 45416 libs optional
libpowersave10_0.14.0-7_i386.deb
d50b22554ee00678b847f151c7627bc1 56812 libdevel optional
libpowersave-dev_0.14.0-7_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD4DBQFGEY8fh7PER70FhVQRAnjPAJY7sXORUOJCMvkCdORU4yrQ5gzPAKCishJk
bornjX69XS6APdXUYjUHPA==
=8tHq
-----END PGP SIGNATURE-----
--- End Message ---