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

Bug#831070: marked as done (qink: FTBFS with GCC 6: icontheme.cpp:423:39: error: call of overloaded 'abs(unsigned int)' is ambiguous)



Your message dated Sun, 07 Aug 2016 22:50:20 +0000
with message-id <E1bWWtg-00074p-9v@franck.debian.org>
and subject line Bug#831070: fixed in qink 0.3.5-7
has caused the Debian Bug report #831070,
regarding qink: FTBFS with GCC 6: icontheme.cpp:423:39: error: call of overloaded 'abs(unsigned int)' is ambiguous
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 owner@bugs.debian.org
immediately.)


-- 
831070: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831070
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: qink
Version: 0.3.5-6
Severity: serious
Tags: stretch sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> g++ -c -m64 -pipe -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -o icontheme.o icontheme.cpp
> icontheme.cpp: In member function 'unsigned int IconTheme::dirSizeDistance(const IconDirData&, unsigned int) const':
> icontheme.cpp:423:39: error: call of overloaded 'abs(unsigned int)' is ambiguous
>              return abs(dir.size - size);
>                                        ^
> In file included from /usr/include/c++/6/cstdlib:75:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:59,
>                  from /usr/include/c++/6/algorithm:62,
>                  from /usr/include/qt4/QtCore/qglobal.h:68,
>                  from /usr/include/qt4/QtCore/qnamespace.h:45,
>                  from /usr/include/qt4/QtCore/qobjectdefs.h:45,
>                  from /usr/include/qt4/QtCore/qobject.h:47,
>                  from /usr/include/qt4/QtCore/QObject:1,
>                  from envmap.h:23,
>                  from icontheme.h:23,
>                  from icontheme.cpp:20:
> /usr/include/stdlib.h:774:12: note: candidate: int abs(int)
>  extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
>             ^~~
> In file included from /usr/include/c++/6/bits/stl_algo.h:59:0,
>                  from /usr/include/c++/6/algorithm:62,
>                  from /usr/include/qt4/QtCore/qglobal.h:68,
>                  from /usr/include/qt4/QtCore/qnamespace.h:45,
>                  from /usr/include/qt4/QtCore/qobjectdefs.h:45,
>                  from /usr/include/qt4/QtCore/qobject.h:47,
>                  from /usr/include/qt4/QtCore/QObject:1,
>                  from envmap.h:23,
>                  from icontheme.h:23,
>                  from icontheme.cpp:20:
> /usr/include/c++/6/cstdlib:185:3: note: candidate: __int128 std::abs(__int128)
>    abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
>    ^~~
> /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
>    abs(long long __x) { return __builtin_llabs (__x); }
>    ^~~
> /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
>    abs(long __i) { return __builtin_labs(__i); }
>    ^~~
> make[2]: *** [icontheme.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/13/qink_0.3.5-6_unstable_gcc6.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
Source: qink
Source-Version: 0.3.5-7

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

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

Debian distribution maintenance software
pp.
Paulo Roberto Alves de Oliveira (aka kretcheu) <kretcheu@gmail.com> (supplier of updated qink 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@ftp-master.debian.org)


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

Format: 1.8
Date: Thu, 04 Aug 2016 12:13:00 -0300
Source: qink
Binary: qink
Architecture: source
Version: 0.3.5-7
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Paulo Roberto Alves de Oliveira (aka kretcheu) <kretcheu@gmail.com>
Description:
 qink       - Simple printer ink level monitor based on libinklevel and Qt4
Closes: 831070
Changes:
 qink (0.3.5-7) unstable; urgency=medium
 .
   * QA upload.
   * debian/control:
       - Bumped Standards-Version to 3.9.8.
   * debian/patches:
       - Added patch 005-fix-overloaded-ambiguous.patch to fix call of
         overloaded function ambiguous (Closes: #831070).
   * debian/watch: updated to version 4.
Checksums-Sha1:
 446b05d044ada85b5fdaf8849d27f5ab38f848a8 1698 qink_0.3.5-7.dsc
 ab3435ac8c019e553e04ad3d4dd5adf4d0c084b3 7156 qink_0.3.5-7.debian.tar.xz
Checksums-Sha256:
 6559a8f6ffbce487c9001b093e7814712d4367f9c957d67ca8b989f1b59caadf 1698 qink_0.3.5-7.dsc
 93b291ab54dc35581da3a0d721c08b9b26569cc09e76ce46186241f96cd6e293 7156 qink_0.3.5-7.debian.tar.xz
Files:
 20eb36851e30feb407e8a7095ec95bab 1698 admin extra qink_0.3.5-7.dsc
 3838b4006ec1eb0a9b0f27ab6b80bcbf 7156 admin extra qink_0.3.5-7.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJXp5YqAAoJEN5juccE6+nvvR8P/iJcCr3oK7ClQGwo1OARDJd6
rfakG0l+76ZRqVbAGWxOrllsVDTpV5FY7rj/5/eXShPlhqb9/WxEJvPgp+EDuGrW
aGEQFAE/5nfkXRupMXNoc9fYqSurzG3KabHwGiFmmDxJj/oCMaXRVQdVv27WqXpv
PMUgjYISLL0hF33+mU8Mk3WOh77JRoTmHdrbI/CNdQGi7lZCx7/AmOMONQOoDesn
YwXxiW/9Wn9vF4fUUdILD2tIDIxA+2pU64LvcLXQ/6ukltWTlMOkQLEV4TD4wKP5
AAkuuDzeXgeC0sCgz9W2EUmzJg+91zOXHZM0WLfBsFMcXFvR1IKvfGE7X7IhBS6r
fl8+ZyjbuZXMKms9CpqlYinNfTb2Ozf148nlGgWT4gNAhv6gIyrlKFRXt/Kbvok7
QLSBPlpPXtqd/xaA8IUf0V4QYTm5Kk+FKY0PRqzQAD1zm/AmZxmF5S/I7oW0k/jd
lQhRU4IvFbMW23VmxgNS2r7LI2VF0NQRy+H3cd0RNvw3ev2TqQ0KcUFtYmZnQX5v
L2WlsRSrFwNauqrlC5/j19/U4AotGoorXQicitdiAK68QtnC8uS6qmNfniqD7Yme
RHW6oTXaSS+dJ7TbteWbiJPa1/2P169vLrgSZC/IOIVO8az0bZOYmf6PLdr2rRUv
PSgu7OmwxpuRPO6fmAzN
=lY7a
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: