Source: synfix
Version: 1.4.0+dfsg-2.1
Severity: grave

I cannot compile synfig on sid/amd64. It fails with a cryptic c++
compilation error:

libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../src -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include/glibmm-2.4
-I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sigc++-2.0
-I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -pthread
-I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glibmm-2.4
-I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sigc++-2.0
-I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include
-I/usr/include/libxml++-2.6
-I/usr/lib/x86_64-linux-gnu/libxml++-2.6/include
-I/usr/include/libxml2 -I/usr/include/glibmm-2.4
-I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sigc++-2.0
-I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -fopenmp
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
-I/usr/include/x86_64-linux-gnu//ImageMagick-6
-I/usr/include/ImageMagick-6
-I/usr/include/x86_64-linux-gnu//ImageMagick-6
-I/usr/include/ImageMagick-6
-I/usr/include/x86_64-linux-gnu//ImageMagick-6
-I/usr/include/ImageMagick-6 -I/usr/include/cairo
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2
-I/usr/include/libpng16 -pthread -I/usr/include/pango-1.0
-I/usr/include/harfbuzz -I/usr/include/pango-1.0
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi
-I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/mlt-7/mlt++ -I/usr/include/mlt-7 -I/usr/include/ETL
-I/usr/include/sigc++-2.0
-I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DSYNFIG_NO_DEPRECATED
-DLOCALEDIR=\"/usr/share/locale\"
-DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DSYSCONFDIR=\"/etc/synfig\"
-ffile-prefix-map=/home/malat/synfig-1.4.0+dfsg=.
-fstack-protector-strong -Wformat -Werror=format-security -O2 -DNDEBUG
-W -Wall -c target_tile.cpp  -fPIC -DPIC -o
.libs/libsynfig_la-target_tile.o
In file included from /usr/include/ETL/ETL/clock:56,
                 from target_tile.cpp:37:
/usr/include/ETL/ETL/_clock_system.h:34:27: error: using-declaration
for non-member at class scope
   34 | # define __sys_clock    ::clock
      |                           ^~~~~
In file included from /usr/include/c++/11/mutex:39,
                 from node.h:40,
                 from valuenode.h:39,
                 from canvas.h:40,
                 from target.h:39,
                 from target_tile.h:32,
                 from target_tile.cpp:39:
/usr/include/c++/11/chrono:3373:25: error: expected ';' before '=' token
 3373 |       using __sys_clock = chrono::system_clock;
      |                         ^
/usr/include/c++/11/chrono:3373:25: error: expected unqualified-id
before '=' token
/usr/include/c++/11/chrono:3385:63: error: type/value mismatch at
argument 1 in template parameter list for 'template<class _Clock,
class _Dur> struct std::chrono::time_point'
 3385 |         _S_from_sys(const chrono::time_point<__sys_clock,
_Dur>& __t) noexcept
      |                                                               ^
/usr/include/c++/11/chrono:3385:63: note:   expected a type, got 'clock'
/usr/include/c++/11/chrono:3394:45: error: type/value mismatch at
argument 1 in template parameter list for 'template<class _Clock,
class _Dur> struct std::chrono::time_point'
 3394 |         chrono::time_point<__sys_clock, _Dur>
      |                                             ^
/usr/include/c++/11/chrono:3394:45: note:   expected a type, got 'clock'
/usr/include/c++/11/chrono: In static member function 'static
std::filesystem::__file_clock::time_point
std::filesystem::__file_clock::now()':
/usr/include/c++/11/chrono:3355:27: error: no matching function for
call to 
'std::filesystem::__file_clock::_S_from_sys(std::chrono::_V2::system_clock::time_point)'
 3355 |       { return _S_from_sys(chrono::system_clock::now()); }
      |                ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/chrono:3385:9: note: candidate: 'template<class
_Dur> static std::chrono::time_point<std::filesystem::__file_clock,
_Dur> std::filesystem::__file_clock::_S_from_sys(const int&)'
 3385 |         _S_from_sys(const chrono::time_point<__sys_clock,
_Dur>& __t) noexcept
      |         ^~~~~~~~~~~
/usr/include/c++/11/chrono:3385:9: note:   template argument
deduction/substitution failed:
/usr/include/c++/11/chrono:3355:27: note:   couldn't deduce template
parameter '_Dur'
 3355 |       { return _S_from_sys(chrono::system_clock::now()); }
      |                ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/chrono: In static member function 'static
std::chrono::time_point<std::filesystem::__file_clock, _Dur>
std::filesystem::__file_clock::_S_from_sys(const int&)':
/usr/include/c++/11/chrono:3388:34: error: request for member
'time_since_epoch' in '__t', which is of non-class type 'const int'
 3388 |           return __file_time{__t.time_since_epoch()} - _S_epoch_diff;
      |                                  ^~~~~~~~~~~~~~~~
/usr/include/c++/11/chrono: In static member function 'static int
std::filesystem::__file_clock::_S_to_sys(const
std::chrono::time_point<std::filesystem::__file_clock, _Dur>&)':
/usr/include/c++/11/chrono:3397:28: error: expected ';' before '=' token
 3397 |           using __sys_time = chrono::time_point<__sys_clock, _Dur>;
      |                            ^
/usr/include/c++/11/chrono:3397:28: error: expected primary-expression
before '=' token
/usr/include/c++/11/chrono:3397:66: error: type/value mismatch at
argument 1 in template parameter list for 'template<class _Clock,
class _Dur> struct std::chrono::time_point'
 3397 |           using __sys_time = chrono::time_point<__sys_clock, _Dur>;
      |                                                                  ^
/usr/include/c++/11/chrono:3397:66: note:   expected a type, got 'clock'
/usr/include/c++/11/chrono:3398:28: error: expected ';' before '{' token
 3398 |           return __sys_time{__t.time_since_epoch()} + _S_epoch_diff;
      |                            ^
/usr/include/c++/11/chrono:3398:51: error: expected ';' before '}' token
 3398 |           return __sys_time{__t.time_since_epoch()} + _S_epoch_diff;
      |                                                   ^

Reply via email to