Debian Bug report logs -
#811857
synaptic: FTBFS with GCC 6: no matching function for call to
Reported by: Martin Michlmayr <tbm@hpe.com>
Date: Wed, 20 Jan 2016 02:51:26 UTC
Severity: serious
Tags: patch
Found in version synaptic/0.83
Fixed in version synaptic/0.83+nmu1
Done: Olly Betts <olly@survex.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Michael Vogt <mvo@debian.org>:
Bug#811857; Package synaptic.
(Wed, 20 Jan 2016 02:51:30 GMT) (full text, mbox, link).
Acknowledgement sent
to Martin Michlmayr <tbm@hpe.com>:
New Bug report received and forwarded. Copy sent to Michael Vogt <mvo@debian.org>.
(Wed, 20 Jan 2016 02:51:30 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: synaptic
Version: 0.83
Severity: important
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-no-match
This package fails to build with GCC 6. GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.
Note that only the first error is reported; there might be more. You
can find a snapshot of GCC 6 in experimental. To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.
You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html
> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++ -DHAVE_CONFIG_H -I. -I.. -I../common -I../pixmaps -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DSYNAPTIC_GTKBUILDERDIR=\""/usr/share/synaptic/gtkbuilder/"\" -DSYNAPTIC_PIXMAPDIR=\""/usr/share/synaptic/pixmaps/"\" -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/in
> clude/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/p11-kit-1 -g -O2 -c -o rgpkgtreeview.o rgpkgtreeview.cc
> rglogview.cc: In member function 'void RGLogView::readLogs()':
> rglogview.cc:89:71: error: no matching function for call to 'make_pair(int&, GtkTreeIter&)'
> history_map.insert(make_pair<int,GtkTreeIter>(history_key,month_iter));
> ^
>
> In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0,
> from /usr/include/c++/6/bits/stl_tree.h:63,
> from /usr/include/c++/6/map:60,
> from rglogview.cc:25:
> /usr/include/c++/6/bits/stl_pair.h:406:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
> make_pair(_T1&& __x, _T2&& __y)
> ^~~~~~~~~
>
> /usr/include/c++/6/bits/stl_pair.h:406:5: note: template argument deduction/substitution failed:
> rglogview.cc:89:71: note: cannot convert 'history_key' (type 'int') to type 'int&&'
> history_map.insert(make_pair<int,GtkTreeIter>(history_key,month_iter));
> ^
>
> Makefile:593: recipe for target 'rglogview.o' failed
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#811857; Package synaptic.
(Thu, 21 Jan 2016 16:06:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Vogt <mvo@debian.org>:
Extra info received and forwarded to list.
(Thu, 21 Jan 2016 16:06:07 GMT) (full text, mbox, link).
Message #10 received at 811857@bugs.debian.org (full text, mbox, reply):
On Tue, Jan 19, 2016 at 06:47:08PM -0800, Martin Michlmayr wrote:
> Package: synaptic
> Version: 0.83
> Severity: important
> User: debian-gcc@lists.debian.org
> Usertags: ftbfs-gcc-6 gcc-6-no-match
Thanks for your bugreport.
> This package fails to build with GCC 6. GCC 6 has not been released
> yet, but it's expected that GCC 6 will become the default compiler for
> stretch.
>
> Note that only the first error is reported; there might be more. You
> can find a snapshot of GCC 6 in experimental. To build with GCC 6,
> you can set CC=gcc-6 CXX=g++-6 explicitly.
[..]
I fixed this in git and it will be part of the next upload.
Cheers,
Michael
Severity set to 'serious' from 'important'
Request was from Matthias Klose <doko@debian.org>
to control@bugs.debian.org.
(Wed, 29 Jun 2016 13:11:48 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Michael Vogt <mvo@debian.org>:
Bug#811857; Package synaptic.
(Sat, 01 Oct 2016 22:21:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Olly Betts <olly@survex.com>:
Extra info received and forwarded to list. Copy sent to Michael Vogt <mvo@debian.org>.
(Sat, 01 Oct 2016 22:21:05 GMT) (full text, mbox, link).
Message #17 received at 811857@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags 811857 + patch
Dear maintainer,
I've prepared an NMU for synaptic (versioned as 0.83+nmu1) and
uploaded it under the zero-day NMU rules as this FTBFS was blocking
the auto-xapian-core transition.
The patch applied was cherry-picked from your git repo.
Cheers,
Olly
[synaptic-0.83+nmu1-nmu.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]
Added tag(s) patch.
Request was from Olly Betts <olly@survex.com>
to 811857-submit@bugs.debian.org.
(Sat, 01 Oct 2016 22:21:05 GMT) (full text, mbox, link).
Reply sent
to Olly Betts <olly@survex.com>:
You have taken responsibility.
(Sat, 01 Oct 2016 22:45:05 GMT) (full text, mbox, link).
Notification sent
to Martin Michlmayr <tbm@hpe.com>:
Bug acknowledged by developer.
(Sat, 01 Oct 2016 22:45:05 GMT) (full text, mbox, link).
Message #24 received at 811857-close@bugs.debian.org (full text, mbox, reply):
Source: synaptic
Source-Version: 0.83+nmu1
We believe that the bug you reported is fixed in the latest version of
synaptic, 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 811857@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Olly Betts <olly@survex.com> (supplier of updated synaptic 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: SHA256
Format: 1.8
Date: Sun, 02 Oct 2016 09:50:57 +1300
Source: synaptic
Binary: synaptic
Architecture: source
Version: 0.83+nmu1
Distribution: unstable
Urgency: medium
Maintainer: Michael Vogt <mvo@debian.org>
Changed-By: Olly Betts <olly@survex.com>
Description:
synaptic - Graphical package manager
Closes: 811857
Changes:
synaptic (0.83+nmu1) unstable; urgency=medium
.
* Non-maintainer upload.
* Fix FTBFS with GCC6 (Closes: #811857)
+ New patch 99_fix_build_with_gcc6, cherry-picked from git.
Checksums-Sha1:
b80ff3b53dc5cdb5fbbe31e3bcfa31b705c78a64 1698 synaptic_0.83+nmu1.dsc
fee1901bd3cd3d77c08999736ecb3f117d73a38c 1755396 synaptic_0.83+nmu1.tar.xz
Checksums-Sha256:
f6fa722cdcfdae5d6872925811fddb279ef8317e0a6b58e59520caf9773a5f94 1698 synaptic_0.83+nmu1.dsc
c9e8d08503c4bf529b51c66e775076f95d2536821758975cddedf3a84155e711 1755396 synaptic_0.83+nmu1.tar.xz
Files:
ddc65c5f9c32bb8a59dacade8cb1abbd 1698 admin optional synaptic_0.83+nmu1.dsc
64dc39aefa1f184386b7d624615989ca 1755396 admin optional synaptic_0.83+nmu1.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCAAGBQJX8CXNAAoJEBgUewc7rSsHdKsP/j+/3hgVsG7egOfqAHaJmgRn
KYk2Kde7irD8XqPqMVFTjLOqi6KMBeHm1+aeiJQ4CVfEkowq6uHNYd55otPvzGar
fGvON3JsjkYympEu6apVWrohCe8+SDzTBsegow+cnJSfrqDhzuSp1fdMv+alEd26
MEruR/pTZHF3qTQXOaeVi5NUlXpVMyMmZTo2IggEyOm8QU7aOvzVcjZEl6/j6rh7
sgIaMqVthLhtjqJ/lFKzyW9q+9C8bsPSxwnvpFSuRD5LfoeVgRELw/xhEUEwjZT8
w4PA4zYV7YkQJp0/a8PuhktppYfl3S2vXfXhd5kd/DoReA/5+8I4O1Zknyr6UCuw
okmo5qHVDApcb16YmUmFfJJzDtButrEgsqytf57EX7iJubGfolU/2Sq6FpC/ASsh
UAbvdHxRBxgB4iav15RUieo5wzbugZXtD6toxSqS4Bc6fCGNSz4yc4O9yyUcGK+z
omFmPHHASjeWdvHes2e5Y4Bvb369akyKuuM618yjsBZnmqVmnr8wj3fEeio2yejE
ByHkISR8gm2ohqjxsFC6qB7F5x4NIpo02E//EOQI0GjS9EYXfORCsZoF/Eb1tmXD
1UZRV/C2D2bHy8CqslN7R2MAVA8OZOj/xSh0//rctujOYBmFSAaB0neKociV1RLu
dRAfX64WQXLZ3wbXrn/j
=aTVT
-----END PGP SIGNATURE-----
Information forwarded
to debian-bugs-dist@lists.debian.org, Michael Vogt <mvo@debian.org>:
Bug#811857; Package synaptic.
(Sun, 02 Oct 2016 04:39:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Jeremy Bicha <jbicha@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Michael Vogt <mvo@debian.org>.
(Sun, 02 Oct 2016 04:39:03 GMT) (full text, mbox, link).
Message #29 received at 811857@bugs.debian.org (full text, mbox, reply):
Olly, thanks for fixing this bug.
Since Ubuntu 16.10 has gcc 6 too, the patch should also be added to
00list.Ubuntu like this:
=== modified file 'debian/patches/00list.Ubuntu'
--- debian/patches/00list.Ubuntu 2016-10-02 04:10:59 +0000
+++ debian/patches/00list.Ubuntu 2016-10-02 04:14:11 +0000
@@ -1,3 +1,3 @@
01_ubuntu_changelog
#10_ubuntu_maintenance_gui
-
+99_fix_build_with_gcc6
Thanks,
Jeremy Bicha
Information forwarded
to debian-bugs-dist@lists.debian.org, Michael Vogt <mvo@debian.org>:
Bug#811857; Package synaptic.
(Sun, 02 Oct 2016 08:00:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Olly Betts <olly@survex.com>:
Extra info received and forwarded to list. Copy sent to Michael Vogt <mvo@debian.org>.
(Sun, 02 Oct 2016 08:00:02 GMT) (full text, mbox, link).
Message #34 received at 811857@bugs.debian.org (full text, mbox, reply):
On Sun, Oct 02, 2016 at 12:33:42AM -0400, Jeremy Bicha wrote:
> Olly, thanks for fixing this bug.
>
> Since Ubuntu 16.10 has gcc 6 too, the patch should also be added to
> 00list.Ubuntu like this:
I think that's a job for the package's maintainer (mvo) - AFAICS the NMU
rules don't allow me to upload a change to fix something which isn't even a
bug in Debian.
Also, I NMUed it to unblock a transition, so now isn't the time for another
NMU even if I could, as it would delay that transition completing.
Cheers,
Olly
Information forwarded
to debian-bugs-dist@lists.debian.org, Michael Vogt <mvo@debian.org>:
Bug#811857; Package synaptic.
(Sun, 02 Oct 2016 08:51:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Jeremy Bicha <jbicha@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Michael Vogt <mvo@debian.org>.
(Sun, 02 Oct 2016 08:51:03 GMT) (full text, mbox, link).
Message #39 received at 811857@bugs.debian.org (full text, mbox, reply):
On Sun, Oct 2, 2016 at 3:56 AM, Olly Betts <olly@survex.com> wrote:
> Also, I NMUed it to unblock a transition, so now isn't the time for another
> NMU even if I could, as it would delay that transition completing.
Makes sense. I went ahead and uploaded to Ubuntu then since Ubuntu's
final freeze is only a few days away.
Jeremy
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 04 Nov 2016 07:29:40 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 6 14:16:42 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.