Source: libsynthesis Version: 3.4.0.47.5+syncevolution-1.5.3-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20211220 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. > -D_GNU_SOURCE=1 -include ../config.h -I./Targets/ReleasedProducts/SDK > -I./sysync_SDK/Sources -I./platform_adapters/linux/ > -I./platform_adapters/unix_common/ -I./platform_adapters/ -I./sysync/ > -I./syncml_tk/src/sml/inc/ -I./syncml_tk/src/sml/lib/inc/ > -I./syncml_tk/src/sml/mgr/inc/ -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPIC > -Wall -Wno-unknown-pragmas -Wno-unused-but-set-variable > -Wno-misleading-indentation -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -c -o > sysync_SDK/Sources/libsynthesissdk_la-stringutil.lo `test -f > 'sysync_SDK/Sources/stringutil.cpp' || echo > './'`sysync_SDK/Sources/stringutil.cpp > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE=1 -include > ../config.h -I./Targets/ReleasedProducts/SDK -I./sysync_SDK/Sources > -I./platform_adapters/linux/ -I./platform_adapters/unix_common/ > -I./platform_adapters/ -I./sysync/ -I./syncml_tk/src/sml/inc/ > -I./syncml_tk/src/sml/lib/inc/ -I./syncml_tk/src/sml/mgr/inc/ -Wdate-time > -D_FORTIFY_SOURCE=2 -fPIC -DPIC -Wall -Wno-unknown-pragmas > -Wno-unused-but-set-variable -Wno-misleading-indentation -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -c sysync_SDK/Sources/stringutil.cpp -fPIC -DPIC -o > sysync_SDK/Sources/.libs/libsynthesissdk_la-stringutil.o > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:264:5: error: reference to ‘byte’ is ambiguous > 264 | byte fEmpty; // direct reference to empty structure > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp: In member function ‘void > sysync::SanPackage::AddBits(void*, int, int, sysync::uInt32)’: > sysync_SDK/Sources/san.cpp:261:3: error: reference to ‘byte’ is ambiguous > 261 | byte* b= (byte*)ptr; > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:261:9: error: ‘b’ was not declared in this scope > 261 | byte* b= (byte*)ptr; > | ^ > sysync_SDK/Sources/san.cpp:261:13: error: reference to ‘byte’ is ambiguous > 261 | byte* b= (byte*)ptr; > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:261:18: error: expected primary-expression before > ‘)’ token > 261 | byte* b= (byte*)ptr; > | ^ > sysync_SDK/Sources/san.cpp: In member function ‘sysync::uInt32 > sysync::SanPackage::GetBits(void*, int, int)’: > sysync_SDK/Sources/san.cpp:284:3: error: reference to ‘byte’ is ambiguous > 284 | byte* b= (byte*)ptr; > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:284:9: error: ‘b’ was not declared in this scope > 284 | byte* b= (byte*)ptr; > | ^ > sysync_SDK/Sources/san.cpp:284:13: error: reference to ‘byte’ is ambiguous > 284 | byte* b= (byte*)ptr; > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:284:18: error: expected primary-expression before > ‘)’ token > 284 | byte* b= (byte*)ptr; > | ^ > sysync_SDK/Sources/san.cpp: In member function ‘void > sysync::SanPackage::CreateEmptyNotificationBody()’: > sysync_SDK/Sources/san.cpp:310:21: error: ‘fEmpty’ was not declared in this > scope > 310 | fEmpty= 0x00; // no sync fields = ALL data stores > concerned > | ^~~~~~ > sysync_SDK/Sources/san.cpp: In member function ‘sysync::TSyError > sysync::SanPackage::AddSync(int, sysync::uInt32, const char*)’: > sysync_SDK/Sources/san.cpp:328:3: error: reference to ‘byte’ is ambiguous > 328 | byte* b = (byte*)fb; > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:328:11: error: ‘b’ was not declared in this scope; > did you mean ‘fb’? > 328 | byte* b = (byte*)fb; > | ^ > | fb > sysync_SDK/Sources/san.cpp:328:16: error: reference to ‘byte’ is ambiguous > 328 | byte* b = (byte*)fb; > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:328:21: error: expected primary-expression before > ‘)’ token > 328 | byte* b = (byte*)fb; > | ^ > sysync_SDK/Sources/san.cpp:347:3: error: reference to ‘byte’ is ambiguous > 347 | byte* pp= (byte*)(tb+1); // = right after TBody > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:347:19: error: ‘pp’ was not declared in this scope > 347 | byte* pp= (byte*)(tb+1); // = right after TBody > | ^~ > sysync_SDK/Sources/san.cpp:347:24: error: reference to ‘byte’ is ambiguous > 347 | byte* pp= (byte*)(tb+1); // = right after TBody > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:347:29: error: expected primary-expression before > ‘)’ token > 347 | byte* pp= (byte*)(tb+1); // = right after TBody > | ^ > sysync_SDK/Sources/san.cpp: In member function ‘void > sysync::SanPackage::ReleaseNotificationBody()’: > sysync_SDK/Sources/san.cpp:357:15: error: ‘fEmpty’ was not declared in this > scope > 357 | fBody!=&fEmpty) { free( fBody ); fBody= NULL; } > | ^~~~~~ > sysync_SDK/Sources/san.cpp: In member function ‘sysync::TSyError > sysync::SanPackage::GetSanSize(void*, size_t&)’: > sysync_SDK/Sources/san.cpp:552:3: error: reference to ‘byte’ is ambiguous > 552 | byte* b= (byte*)(tp+1); > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:552:9: error: ‘b’ was not declared in this scope; > did you mean ‘tb’? > 552 | byte* b= (byte*)(tp+1); > | ^ > | tb > sysync_SDK/Sources/san.cpp:552:13: error: reference to ‘byte’ is ambiguous > 552 | byte* b= (byte*)(tp+1); > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:552:18: error: expected primary-expression before > ‘)’ token > 552 | byte* b= (byte*)(tp+1); > | ^ > sysync_SDK/Sources/san.cpp:553:3: error: reference to ‘byte’ is ambiguous > 553 | byte* v; > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:553:9: error: ‘v’ was not declared in this scope > 553 | byte* v; > | ^ > sysync_SDK/Sources/san.cpp:564:10: error: reference to ‘byte’ is ambiguous > 564 | b = (byte*)(tb+1); > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:564:15: error: expected primary-expression before > ‘)’ token > 564 | b = (byte*)(tb+1); > | ^ > sysync_SDK/Sources/san.cpp:566:14: error: reference to ‘byte’ is ambiguous > 566 | if (b > (byte*)san+sanSize && sanSize>0) return DB_Forbidden; > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:566:19: error: expected primary-expression before > ‘)’ token > 566 | if (b > (byte*)san+sanSize && sanSize>0) return DB_Forbidden; > | ^ > sysync_SDK/Sources/san.cpp:566:20: error: expected ‘)’ before ‘san’ > 566 | if (b > (byte*)san+sanSize && sanSize>0) return DB_Forbidden; > | ~ ^~~ > | ) > sysync_SDK/Sources/san.cpp:568:14: error: reference to ‘byte’ is ambiguous > 568 | if (b > (byte*)san+sanSize && sanSize>0) return DB_Forbidden; > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:568:19: error: expected primary-expression before > ‘)’ token > 568 | if (b > (byte*)san+sanSize && sanSize>0) return DB_Forbidden; > | ^ > sysync_SDK/Sources/san.cpp:568:20: error: expected ‘)’ before ‘san’ > 568 | if (b > (byte*)san+sanSize && sanSize>0) return DB_Forbidden; > | ~ ^~~ > | ) > sysync_SDK/Sources/san.cpp:576:23: error: reference to ‘byte’ is ambiguous > 576 | size_t rslt= b - (byte*)san; > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:576:28: error: expected primary-expression before > ‘)’ token > 576 | size_t rslt= b - (byte*)san; > | ^ > sysync_SDK/Sources/san.cpp: In member function ‘sysync::TSyError > sysync::SanPackage::GetNthSync(int, int&, sysync::uInt32&, std::string&)’: > sysync_SDK/Sources/san.cpp:608:3: error: reference to ‘byte’ is ambiguous > 608 | byte* b= (byte*)(tp+1); > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:608:9: error: ‘b’ was not declared in this scope; > did you mean ‘tb’? > 608 | byte* b= (byte*)(tp+1); > | ^ > | tb > sysync_SDK/Sources/san.cpp:608:13: error: reference to ‘byte’ is ambiguous > 608 | byte* b= (byte*)(tp+1); > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:608:18: error: expected primary-expression before > ‘)’ token > 608 | byte* b= (byte*)(tp+1); > | ^ > sysync_SDK/Sources/san.cpp:609:3: error: reference to ‘byte’ is ambiguous > 609 | byte* v; > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:609:9: error: ‘v’ was not declared in this scope > 609 | byte* v; > | ^ > sysync_SDK/Sources/san.cpp:624:10: error: reference to ‘byte’ is ambiguous > 624 | b = (byte*)(tb+1); > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:624:15: error: expected primary-expression before > ‘)’ token > 624 | b = (byte*)(tb+1); > | ^ > sysync_SDK/Sources/san.cpp:626:14: error: reference to ‘byte’ is ambiguous > 626 | if (b > (byte*)fSan+fSanSize) return DB_Forbidden; // no access > behind the message > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:626:19: error: expected primary-expression before > ‘)’ token > 626 | if (b > (byte*)fSan+fSanSize) return DB_Forbidden; // no access > behind the message > | ^ > sysync_SDK/Sources/san.cpp:626:20: error: expected ‘)’ before ‘fSan’ > 626 | if (b > (byte*)fSan+fSanSize) return DB_Forbidden; // no access > behind the message > | ~ ^~~~ > | ) > sysync_SDK/Sources/san.cpp:628:14: error: reference to ‘byte’ is ambiguous > 628 | if (v > (byte*)fSan+fSanSize) return DB_Forbidden; // no access > behind the message > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:628:19: error: expected primary-expression before > ‘)’ token > 628 | if (v > (byte*)fSan+fSanSize) return DB_Forbidden; // no access > behind the message > | ^ > sysync_SDK/Sources/san.cpp:628:20: error: expected ‘)’ before ‘fSan’ > 628 | if (v > (byte*)fSan+fSanSize) return DB_Forbidden; // no access > behind the message > | ~ ^~~~ > | ) > sysync_SDK/Sources/san.cpp: In member function ‘sysync::TSyError > sysync::SanPackage::GetPackage(void*&, size_t&, void*, size_t)’: > sysync_SDK/Sources/san.cpp:661:3: error: reference to ‘byte’ is ambiguous > 661 | byte len = (byte)fServerID.length(); // calulate the full > size > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:662:38: error: ‘len’ was not declared in this scope > 662 | sanSize= sizeof(TPackage) + len + fBodySize + > vendorSpecificSize; > | ^~~ > sysync_SDK/Sources/san.cpp:677:3: error: reference to ‘byte’ is ambiguous > 677 | byte* pp= (byte*)(tp+1); // = right after TPackage > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:677:19: error: ‘pp’ was not declared in this > scope; did you mean ‘tp’? > 677 | byte* pp= (byte*)(tp+1); // = right after TPackage > | ^~ > | tp > sysync_SDK/Sources/san.cpp:677:24: error: reference to ‘byte’ is ambiguous > 677 | byte* pp= (byte*)(tp+1); // = right after TPackage > | ^~~~ > In file included from /usr/include/c++/11/bits/stl_algobase.h:61, > from /usr/include/c++/11/bits/char_traits.h:39, > from /usr/include/c++/11/string:40, > from sysync_SDK/Sources/sync_include.h:54, > from sysync_SDK/Sources/san.cpp:67: > /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: > ‘enum class std::byte’ > 404 | enum class byte : unsigned char; > | ^~~~ > In file included from sysync_SDK/Sources/san.cpp:68: > sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char > byte’ > 32 | typedef unsigned char byte; > | ^~~~ > sysync_SDK/Sources/san.cpp:677:29: error: expected primary-expression before > ‘)’ token > 677 | byte* pp= (byte*)(tp+1); // = right after TPackage > | ^ > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE=1 -include > ../config.h -I./Targets/ReleasedProducts/SDK -I./sysync_SDK/Sources > -I./platform_adapters/linux/ -I./platform_adapters/unix_common/ > -I./platform_adapters/ -I./sysync/ -I./syncml_tk/src/sml/inc/ > -I./syncml_tk/src/sml/lib/inc/ -I./syncml_tk/src/sml/mgr/inc/ -Wdate-time > -D_FORTIFY_SOURCE=2 -fPIC -DPIC -Wall -Wno-unknown-pragmas > -Wno-unused-but-set-variable -Wno-misleading-indentation -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -c sysync_SDK/Sources/stringutil.cpp -o > sysync_SDK/Sources/libsynthesissdk_la-stringutil.o >/dev/null 2>&1 > /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. > -D_GNU_SOURCE=1 -include ../config.h -I./Targets/ReleasedProducts/SDK > -I./sysync_SDK/Sources -I./platform_adapters/linux/ > -I./platform_adapters/unix_common/ -I./platform_adapters/ -I./sysync/ > -I./syncml_tk/src/sml/inc/ -I./syncml_tk/src/sml/lib/inc/ > -I./syncml_tk/src/sml/mgr/inc/ -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPIC > -Wall -Wno-unknown-pragmas -Wno-unused-but-set-variable > -Wno-misleading-indentation -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -c -o > sysync_SDK/Sources/libsynthesissdk_la-syncexception.lo `test -f > 'sysync_SDK/Sources/syncexception.cpp' || echo > './'`sysync_SDK/Sources/syncexception.cpp > make[3]: *** [Makefile:2471: sysync_SDK/Sources/libsynthesissdk_la-san.lo] > Error 1 The full build log is available from: http://qa-logs.debian.net/2021/12/20/libsynthesis_3.4.0.47.5+syncevolution-1.5.3-1_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.