Bug#1124980: synfigstudio: FTBFS: value_desc.h:238:26: error: cannot convert 'const synfig::Layer::Handle' {aka 'const etl::handle<synfig::Layer>'} to 'bool' in return
Package: src:synfigstudio
Version: 1.5.1-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202601/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:synfigstudio, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHA [too-long-redacted] /'`actions/valuedescconnect.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../s [too-long-redacted] bs/libsynfigapp_la-timegather.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../s [too-long-redacted] synfigapp_la-valuedescconnect.o
In file included from timegather.h:33,
from timegather.cpp:33:
value_desc.h: In member function 'bool synfigapp::ValueDesc::parent_is_layer() const':
value_desc.h:238:26: error: cannot convert 'const synfig::Layer::Handle' {aka 'const etl::handle<synfig::Layer>'} to 'bool' in return
238 | { return layer; }
| ^~~~~
| |
| const synfig::Layer::Handle {aka const etl::handle<synfig::Layer>}
In file included from /usr/include/ETL/ETL/handle:37,
from /usr/include/synfig-1.0/synfig/canvas.h:36,
from /usr/include/synfig-1.0/synfig/valuenodes/valuenode_animated.h:33,
from timegather.h:30:
/usr/include/ETL/ETL/_handle.h:209:18: note: explicit conversion function was not considered
209 | explicit operator bool() const noexcept
| ^~~~~~~~
value_desc.h: In member function 'bool synfigapp::ValueDesc::parent_is_value_node() const':
value_desc.h:241:26: error: cannot convert 'const synfig::ValueNode::Handle' {aka 'const etl::handle<synfig::ValueNode>'} to 'bool' in return
241 | { return parent_value_node; }
| ^~~~~~~~~~~~~~~~~
| |
| const synfig::ValueNode::Handle {aka const etl::handle<synfig::ValueNode>}
/usr/include/ETL/ETL/_handle.h:209:18: note: explicit conversion function was not considered
209 | explicit operator bool() const noexcept
| ^~~~~~~~
value_desc.h: In member function 'bool synfigapp::ValueDesc::parent_is_canvas() const':
value_desc.h:253:26: error: cannot convert 'const synfig::Canvas::Handle' {aka 'const etl::handle<synfig::Canvas>'} to 'bool' in return
253 | { return canvas; }
| ^~~~~~
| |
| const synfig::Canvas::Handle {aka const etl::handle<synfig::Canvas>}
/usr/include/ETL/ETL/_handle.h:209:18: note: explicit conversion function was not considered
209 | explicit operator bool() const noexcept
| ^~~~~~~~
In file included from ../../src/synfigapp/action_param.h:40,
from ../../src/synfigapp/action.h:31,
from actions/layerparamconnect.h:31,
from actions/valuedescconnect.cpp:35:
../../src/synfigapp/value_desc.h: In member function 'bool synfigapp::ValueDesc::parent_is_layer() const':
../../src/synfigapp/value_desc.h:238:26: error: cannot convert 'const synfig::Layer::Handle' {aka 'const etl::handle<synfig::Layer>'} to 'bool' in return
238 | { return layer; }
| ^~~~~
| |
| const synfig::Layer::Handle {aka const etl::handle<synfig::Layer>}
In file included from /usr/include/ETL/ETL/handle:37,
from /usr/include/synfig-1.0/synfig/layer.h:37,
from actions/layerparamconnect.h:30:
/usr/include/ETL/ETL/_handle.h:209:18: note: explicit conversion function was not considered
209 | explicit operator bool() const noexcept
| ^~~~~~~~
../../src/synfigapp/value_desc.h: In member function 'bool synfigapp::ValueDesc::parent_is_value_node() const':
../../src/synfigapp/value_desc.h:241:26: error: cannot convert 'const synfig::ValueNode::Handle' {aka 'const etl::handle<synfig::ValueNode>'} to 'bool' in return
241 | { return parent_value_node; }
| ^~~~~~~~~~~~~~~~~
| |
| const synfig::ValueNode::Handle {aka const etl::handle<synfig::ValueNode>}
/usr/include/ETL/ETL/_handle.h:209:18: note: explicit conversion function was not considered
209 | explicit operator bool() const noexcept
| ^~~~~~~~
../../src/synfigapp/value_desc.h: In member function 'bool synfigapp::ValueDesc::parent_is_canvas() const':
../../src/synfigapp/value_desc.h:253:26: error: cannot convert 'const synfig::Canvas::Handle' {aka 'const etl::handle<synfig::Canvas>'} to 'bool' in return
253 | { return canvas; }
| ^~~~~~
| |
| const synfig::Canvas::Handle {aka const etl::handle<synfig::Canvas>}
/usr/include/ETL/ETL/_handle.h:209:18: note: explicit conversion function was not considered
209 | explicit operator bool() const noexcept
| ^~~~~~~~
../../src/synfigapp/action.h: In constructor 'synfigapp::Action::Error::Error(Type, const char*, ...)':
../../src/synfigapp/action.h:111:28: error: 'vstrprintf' is not a member of 'etl'; did you mean 'synfig::vstrprintf'?
111 | desc_=etl::vstrprintf(format,args);
| ^~~~~~~~~~
In file included from /usr/include/synfig-1.0/synfig/string.h:34,
from /usr/include/synfig-1.0/synfig/general.h:35,
from actions/valuedescconnect.cpp:33:
/usr/include/synfig-1.0/synfig/string_helper.h:53:13: note: 'synfig::vstrprintf' declared here
53 | std::string vstrprintf(const char* format, va_list args);
| ^~~~~~~~~~
../../src/synfigapp/action.h: In constructor 'synfigapp::Action::Error::Error(const char*, ...)':
../../src/synfigapp/action.h:120:28: error: 'vstrprintf' is not a member of 'etl'; did you mean 'synfig::vstrprintf'?
120 | desc_=etl::vstrprintf(format,args);
| ^~~~~~~~~~
/usr/include/synfig-1.0/synfig/string_helper.h:53:13: note: 'synfig::vstrprintf' declared here
53 | std::string vstrprintf(const char* format, va_list args);
| ^~~~~~~~~~
actions/valuedescconnect.cpp: In static member function 'static bool synfigapp::Action::ValueDescConnect::is_candidate(const synfigapp::Action::ParamList&)':
actions/valuedescconnect.cpp:116:31: error: 'class synfig::ValueNode' has no member named 'is_descendant'
116 | if (vn && vn->is_descendant(value_desc.get_parent_value_node()))
| ^~~~~~~~~~~~~
make[5]: *** [Makefile:1968: actions/libsynfigapp_la-valuedescconnect.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [Makefile:1961: libsynfigapp_la-timegather.lo] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/synfig-studio/src/synfigapp'
make[4]: *** [Makefile:458: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/synfig-studio/src'
make[3]: *** [Makefile:701: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/synfig-studio'
make[2]: *** [Makefile:537: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/synfig-studio'
dh_auto_build: error: cd synfig-studio && make -j2 returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Reply to: