Your message dated Sat, 31 Dec 2011 00:03:40 +0000
with message-id <[email protected]>
and subject line Bug#653727: fixed in wicd-kde 0.3.0-2
has caused the Debian Bug report #653727,
regarding wicd-kde FTBFS on armel and armhf, calls qMax with a mixture of qreal
and double
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
653727: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653727
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
package: wicd-kde
severity: serious
tags: patch
wicd-kde FTBFS on armel and armhf with the following error
/build/buildd-wicd-kde_0.3.0-1-armel-LmYmpy/wicd-kde-0.3.0/applet/networkplotter.cpp:
In member function 'void NetworkPlotter::dataUpdated(const QString&, const
Data&)':
/build/buildd-wicd-kde_0.3.0-1-armel-LmYmpy/wicd-kde-0.3.0/applet/networkplotter.cpp:92:62:
error: no matching function for call to 'qMax(qreal, double)'
/build/buildd-wicd-kde_0.3.0-1-armel-LmYmpy/wicd-kde-0.3.0/applet/networkplotter.cpp:92:62:
note: candidate is:
/usr/include/qt4/QtCore/qglobal.h:1116:17: note: template<class T> const T& qMax(const
T&, const T&)
On most architectures qreal is equivilent to double but on arm
architectures qreal is equivilent to float. Because qMax is a template
both of it's parameters must be the same type.
The attatched patch solves the build failure by removing a typecast so
qMax is called with two parameters of type double. Just fill in the bug
number and add it to the quilt series.
Description: fix qreal vs double in qMax
qMax is a template that must be called with two parameters of the same
type. On most architectures qreal and double are the same type but on
arm architectures qreal is equivilent to float. So attempting to call
qMax with one argument of type double and one of type qreal fails on
arm architectures.
This patch removes a typecast so qMax is called with two arguments of
Type double.
Author: Peter Green <[email protected]>
Bug-debian: http://bugs.debian.org/????????
--- wicd-kde-0.3.0.orig/applet/networkplotter.cpp
+++ wicd-kde-0.3.0/applet/networkplotter.cpp
@@ -89,7 +89,7 @@ void NetworkPlotter::dataUpdated(const Q
//are we getting received or transmitted data?
int index = (split[3] == "receiver") ? 0 : 1;
//fill m_data accordingly
- m_data[index] = qMax(qreal(0.0), data["value"].toDouble());
+ m_data[index] = qMax(0.0, data["value"].toDouble());
//update plotter only when the 2 values are filled
if (!m_data.contains(-1)) {
addSample(m_data);
--- End Message ---
--- Begin Message ---
Source: wicd-kde
Source-Version: 0.3.0-2
We believe that the bug you reported is fixed in the latest version of
wicd-kde, which is due to be installed in the Debian FTP archive:
wicd-kde_0.3.0-2.debian.tar.gz
to main/w/wicd-kde/wicd-kde_0.3.0-2.debian.tar.gz
wicd-kde_0.3.0-2.dsc
to main/w/wicd-kde/wicd-kde_0.3.0-2.dsc
wicd-kde_0.3.0-2_i386.deb
to main/w/wicd-kde/wicd-kde_0.3.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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Iker Salmón San Millán (shaola) <[email protected]> (supplier of updated
wicd-kde 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.8
Date: Fri, 30 Dec 2011 22:38:18 +0000
Source: wicd-kde
Binary: wicd-kde
Architecture: source i386
Version: 0.3.0-2
Distribution: unstable
Urgency: low
Maintainer: Iker Salmón San Millán (shaola) <[email protected]>
Changed-By: Iker Salmón San Millán (shaola) <[email protected]>
Description:
wicd-kde - Wired and wireless network manager - plasmoid
Closes: 653727
Changes:
wicd-kde (0.3.0-2) unstable; urgency=low
.
* Added fix-qmax-call.patch to fix arm build (Closes: #653727)
Checksums-Sha1:
45831e4583de4737e89f84eec011f1861dc779a6 1184 wicd-kde_0.3.0-2.dsc
557a0424dcea00fa41dc54bc025fbade640fe403 11739 wicd-kde_0.3.0-2.debian.tar.gz
93429705b72411e560ac935015ff69e51e2bf15d 226842 wicd-kde_0.3.0-2_i386.deb
Checksums-Sha256:
5a43b57ca7c13c2cf5377a38216c6d08f3abe442d3b1c51428b5c30f36d4cad9 1184
wicd-kde_0.3.0-2.dsc
5788faf036ef23d7ec20529c85b2332158adaf6c4440dc957407745b10ae2683 11739
wicd-kde_0.3.0-2.debian.tar.gz
1232f273577a379507adb8e6d5d19234661afbd6f097326c19068dd395224eb7 226842
wicd-kde_0.3.0-2_i386.deb
Files:
0ea6e9d70ad06417768f88f7e4807bf3 1184 kde optional wicd-kde_0.3.0-2.dsc
4b563dc733f432aa5b58f610b091290b 11739 kde optional
wicd-kde_0.3.0-2.debian.tar.gz
8d6884291f3338517f5b4ef05da7c23c 226842 kde optional wicd-kde_0.3.0-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk7+ThcACgkQ5qqQFxOSsXQrNACgtC4vg11g9eclAqk75MTQqtWW
LTMAoLI45SvwZOA6ktrTuqtWJxZmNics
=w5i9
-----END PGP SIGNATURE-----
--- End Message ---