Control: retitle -1 patchage FTBFS: error: conversion from 
‘iterator_base<Ganv::Port,_GanvPort>’ to non-scalar type ‘iterator_base<const 
Ganv::Port,const _GanvPort>’ requested

On Mon, Aug 16, 2021 at 01:41:44PM +0300, Adrian Bunk wrote:
> Source: patchage
> Version: 1.0.0~dfsg0-0.2
> Severity: serious
> Tags: ftbfs bookworm sid
> 
> https://buildd.debian.org/status/package.php?p=patchage&suite=sid
> 
> ...
> In file included from /usr/include/glib-2.0/glib/galloca.h:32,
>                  from /usr/include/glib-2.0/glib.h:30,
>                  from /usr/include/glibmm-2.4/glibmm/unicode.h:23,
>                  from /usr/include/glibmm-2.4/glibmm/ustring.h:21,
>                  from /usr/include/gtkmm-2.4/gtkmm/aboutdialog.h:9,
>                  from ../src/Patchage.hpp:25,
>                  from ../src/PatchageModule.cpp:17:
> /usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
>   545 | typedef struct _GTimeVal GTimeVal 
> GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
>       |                          ^~~~~~~~
> ../src/PatchageModule.cpp: In member function ‘void 
> PatchageModule::update_menu()’:
> ../src/PatchageModule.cpp:56:32: error: conversion from 
> ‘iterator_base<Ganv::Port,_GanvPort>’ to non-scalar type ‘iterator_base<const 
> Ganv::Port,const _GanvPort>’ requested
>    56 |   for (const_iterator p = begin(); p != end(); ++p) {
>       |                           ~~~~~^~
> ../src/PatchageModule.cpp:56:38: error: no match for ‘operator!=’ (operand 
> types are ‘Ganv::Module::const_iterator’ {aka 
> ‘Ganv::Module::iterator_base<const Ganv::Port, const _GanvPort>’} and 
> ‘Ganv::Module::iterator’ {aka ‘Ganv::Module::iterator_base<Ganv::Port, 
> _GanvPort>’})
>    56 |   for (const_iterator p = begin(); p != end(); ++p) {
>       |                                    ~ ^~ ~~~~~
>       |                                    |       |
>       |                                    |       
> iterator_base<Ganv::Port,_GanvPort>
>       |                                    iterator_base<const 
> Ganv::Port,const _GanvPort>
> ...

This bug is actually older than the 2.68.3, whatever broke it seems to 
have happened in late January or early February:
https://tests.reproducible-builds.org/debian/history/patchage.html

cu
Adrian

Reply via email to