Bug#853674: synfig: ftbfs with GCC-7

Philip Chung philipchung1995 at yahoo.com
Mon Sep 4 19:27:16 UTC 2017


Control: tags -1 fixed-upstream
Control: forwarded https://github.com/synfig/synfig/issues/396

On Thu, 17 Aug 2017 17:59:11 +0300 Adrian Bunk <bunk at debian.org> wrote:
> The actual error message is:
> 
> ...
> In file included from /usr/include/ETL/surface:32:0,
>                  from surface.h:34,
>                  from context.h:34,
>                  from target_cairo_tile.cpp:37:
> /usr/include/ETL/_surface.h: In member function 'void etl::surface<T, AT, VP>::swap(const etl::surface<T, AT, VP>&)':
> /usr/include/ETL/_surface.h:95:20: error: no matching function for call to 'swap(int&, const int&)'
>    std::swap(w_,x.w_);
>                     ^
> ...
> 
> 
> This is a bug in etl-dev that is also visible during src:etl build [1].
> 
> cu
> Adrian
> 
> [1] https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/etl_0.04.19-1.rbuild.log
> 
This is has been fixed upstream [1]. The patch [2] simply removes the
(erroneous, I assume) "const" qualifier on the argument to
"etl::surface::swap()" (in ETL/_surface.h).

Philip Chung

[1] https://github.com/synfig/synfig/issues/396
[2]
https://github.com/synfig/synfig/commit/b256ca29cc986a20266c40a47d031b8de90dcb8b



More information about the pkg-multimedia-maintainers mailing list