[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#997219: codelite: FTBFS: IHunSpell.cpp:67:17: error: use of deleted function ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set() [with _Value = wxString; _Hash = IHunSpell::StringHashOptionalCase; _Pred = IHunSpell::StringCompareOptionalCase; _Alloc = std::allocator<wxString>]’



Source: codelite
Version: 14.0+dfsg-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ZoomNavigator && /usr/bin/c++ -DINSTALL_DIR=\"/usr/share/codelite\" -DNDEBUG -DPLUGINS_DIR=\"/usr/lib/codelite\" -DUSE_AUI_NOTEBOOK=0 -DUSE_SFTP=1 -DWXUSINGDLL -DWXUSINGDLL_CL -DWXUSINGDLL_SDK -DWXUSINGDLL_WXSQLITE3 -DYY_NEVER_INTERACTIVE=1 -DZoomNavigator_EXPORTS -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -DwxUSE_GUI=1 -I/usr/include/gtk-3.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/<<PKGBUILDDIR>>/Plugin -I/<<PKGBUILDDIR>>/sdk/wxsqlite3/include -I/<<PKGBUILDDIR>>/CodeLite -I/<<PKGBUILDDIR>>/PCH -I/<<PKGBUILDDIR>>/Interfaces -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -isystem /usr/include/wx-3.0 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-deprecated-declarations -isystem /usr/include/harfbuzz -std=c++11 -O2 -pthread -fPIC -fPIC -MD -MT ZoomNavigator/CMakeFiles/ZoomNavigator.dir/zoom_navigator_zoomnavigator_bitmaps.cpp.o -MF CMakeFiles/ZoomNavigator.dir/zoom_navigator_zoomnavigator_bitmaps.cpp.o.d -o CMakeFiles/ZoomNavigator.dir/zoom_navigator_zoomnavigator_bitmaps.cpp.o -c /<<PKGBUILDDIR>>/ZoomNavigator/zoom_navigator_zoomnavigator_bitmaps.cpp
> /<<PKGBUILDDIR>>/SpellChecker/IHunSpell.cpp: In constructor ‘IHunSpell::IHunSpell()’:
> /<<PKGBUILDDIR>>/SpellChecker/IHunSpell.cpp:67:17: error: use of deleted function ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set() [with _Value = wxString; _Hash = IHunSpell::StringHashOptionalCase; _Pred = IHunSpell::StringCompareOptionalCase; _Alloc = std::allocator<wxString>]’
>    67 |     m_scanners(0)
>       |                 ^
> In file included from /usr/include/c++/11/unordered_set:47,
>                  from /<<PKGBUILDDIR>>/CodeLite/wxStringHash.h:4,
>                  from /<<PKGBUILDDIR>>/CodeLite/file_logger.h:34,
>                  from /<<PKGBUILDDIR>>/SpellChecker/IHunSpell.cpp:39:
> /usr/include/c++/11/bits/unordered_set.h:135:7: note: ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set() [with _Value = wxString; _Hash = IHunSpell::StringHashOptionalCase; _Pred = IHunSpell::StringCompareOptionalCase; _Alloc = std::allocator<wxString>]’ is implicitly deleted because the default definition would be ill-formed:
>   135 |       unordered_set() = default;
>       |       ^~~~~~~~~~~~~
> /usr/include/c++/11/bits/unordered_set.h:135:7: error: use of deleted function ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Hashtable() [with _Key = wxString; _Value = wxString; _Alloc = std::allocator<wxString>; _ExtractKey = std::__detail::_Identity; _Equal = IHunSpell::StringCompareOptionalCase; _Hash = IHunSpell::StringHashOptionalCase; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<true, true, true>]’
> In file included from /usr/include/c++/11/unordered_set:46,
>                  from /<<PKGBUILDDIR>>/CodeLite/wxStringHash.h:4,
>                  from /<<PKGBUILDDIR>>/CodeLite/file_logger.h:34,
>                  from /<<PKGBUILDDIR>>/SpellChecker/IHunSpell.cpp:39:
> /usr/include/c++/11/bits/hashtable.h:527:7: note: ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Hashtable() [with _Key = wxString; _Value = wxString; _Alloc = std::allocator<wxString>; _ExtractKey = std::__detail::_Identity; _Equal = IHunSpell::StringCompareOptionalCase; _Hash = IHunSpell::StringHashOptionalCase; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<true, true, true>]’ is implicitly deleted because the default definition would be ill-formed:
>   527 |       _Hashtable() = default;
>       |       ^~~~~~~~~~
> /usr/include/c++/11/bits/hashtable.h:527:7: error: use of deleted function ‘constexpr std::_Enable_default_constructor<false, _Tag>::_Enable_default_constructor() [with _Tag = std::__detail::_Hash_node_base]’
> In file included from /usr/include/c++/11/bits/hashtable.h:36,
>                  from /usr/include/c++/11/unordered_set:46,
>                  from /<<PKGBUILDDIR>>/CodeLite/wxStringHash.h:4,
>                  from /<<PKGBUILDDIR>>/CodeLite/file_logger.h:34,
>                  from /<<PKGBUILDDIR>>/SpellChecker/IHunSpell.cpp:39:
> /usr/include/c++/11/bits/enable_special_members.h:112:15: note: declared here
>   112 |     constexpr _Enable_default_constructor() noexcept = delete;
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/SpellChecker/IHunSpell.cpp:67:17: error: use of deleted function ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set() [with _Value = wxString; _Hash = IHunSpell::StringHashOptionalCase; _Pred = IHunSpell::StringCompareOptionalCase; _Alloc = std::allocator<wxString>]’
>    67 |     m_scanners(0)
>       |                 ^
> [ 49%] Building CXX object DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/GUI.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/DatabaseExplorer && /usr/bin/c++ -DDBL_USE_SQLITE -DDatabaseExplorer_EXPORTS -DINSTALL_DIR=\"/usr/share/codelite\" -DNDEBUG -DPLUGINS_DIR=\"/usr/lib/codelite\" -DUSE_AUI_NOTEBOOK=0 -DUSE_SFTP=1 -DWXUSINGDLL -DWXUSINGDLL_CL -DWXUSINGDLL_SDK -DWXUSINGDLL_WXSQLITE3 -DYY_NEVER_INTERACTIVE=1 -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -DwxUSE_GUI=1 -I/usr/include/gtk-3.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/<<PKGBUILDDIR>>/Plugin -I/<<PKGBUILDDIR>>/sdk/wxsqlite3/include -I/<<PKGBUILDDIR>>/CodeLite -I/<<PKGBUILDDIR>>/PCH -I/<<PKGBUILDDIR>>/Interfaces -I/<<PKGBUILDDIR>>/sdk/wxshapeframework/include -I/<<PKGBUILDDIR>>/sdk/databaselayer/include -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -isystem /usr/include/wx-3.0 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-deprecated-declarations -isystem /usr/include/harfbuzz -std=c++11 -O2 -pthread -fPIC -fPIC -MD -MT DatabaseExplorer/CMakeFiles/DatabaseExplorer.dir/GUI.cpp.o -MF CMakeFiles/DatabaseExplorer.dir/GUI.cpp.o.d -o CMakeFiles/DatabaseExplorer.dir/GUI.cpp.o -c /<<PKGBUILDDIR>>/DatabaseExplorer/GUI.cpp
> make[3]: *** [SpellChecker/CMakeFiles/SpellCheck.dir/build.make:93: SpellChecker/CMakeFiles/SpellCheck.dir/IHunSpell.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/codelite_14.0+dfsg-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.


Reply to: