Source: tokodon
Version: 25.04.3-1
Severity: serious
Tags: ftbfs patch forky sid

https://buildd.debian.org/status/fetch.php?pkg=tokodon&arch=armhf&ver=25.04.3-1%2Bb1&stamp=1758684490&raw=0

...
/build/reproducible-path/tokodon-25.04.3/src/utils/emojimodel.cpp:16:1: note: 
variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, 
retrying without
   16 | EmojiModel::EmojiModel(QObject *parent)
      | ^~~~~~~~~~
In file included from /usr/include/c++/15/map:64,
                 from 
/usr/include/arm-linux-gnueabihf/qt6/QtCore/qmetatype.h:28,
                 from /usr/include/arm-linux-gnueabihf/qt6/QtCore/qobject.h:18,
                 from /usr/include/arm-linux-gnueabihf/qt6/QtQml/qqmlengine.h:8,
                 from /usr/include/arm-linux-gnueabihf/qt6/QtQml/QQmlEngine:1,
                 from 
/build/reproducible-path/tokodon-25.04.3/src/utils/emojimodel.h:7,
                 from 
/build/reproducible-path/tokodon-25.04.3/src/utils/emojimodel.cpp:5:
/usr/include/c++/15/bits/stl_tree.h: In member function ‘std::pair<typename 
std::__rb_tree::_Node_traits<_Val, typename __gnu_cxx::__alloc_traits<typename 
__gnu_cxx::__alloc_traits<_Alloc>::rebind<_Val>::other>::pointer>::_Base_ptr, 
typename std::__rb_tree::_Node_traits<_Val, typename 
__gnu_cxx::__alloc_traits<typename 
__gnu_cxx::__alloc_traits<_Alloc>::rebind<_Val>::other>::pointer>::_Base_ptr> 
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with 
_Key = QString; _Val = std::pair<const QString, QVariant>; _KeyOfValue = 
std::_Select1st<std::pair<const QString, QVariant> >; _Compare = 
std::less<QString>; _Alloc = std::allocator<std::pair<const QString, QVariant> 
>]’:
/usr/include/c++/15/bits/stl_tree.h:2832:5: note: parameter passing for 
argument of type ‘std::_Rb_tree<QString, std::pair<const QString, QVariant>, 
std::_Select1st<std::pair<const QString, QVariant> >, std::less<QString>, 
std::allocator<std::pair<const QString, QVariant> > >::const_iterator’ changed 
in GCC 7.1
 2832 |     _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

cc1plus: out of memory allocating 121529448 bytes after a total of 897290240 
bytes
make[3]: *** [src/CMakeFiles/tokodon_static.dir/build.make:3249: 
src/CMakeFiles/tokodon_static.dir/utils/emojitones.cpp.o] Error 1



Workaround:

--- debian/rules.old    2025-09-24 14:08:06.334035377 +0000
+++ debian/rules        2025-09-24 14:09:09.966312272 +0000
@@ -2,6 +2,11 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+# workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119015
+ifneq (,$(filter $(DEB_HOST_ARCH), armhf))
+  export DEB_CXXFLAGS_MAINT_APPEND += -fno-inline
+endif
+
 %:
        dh $@
 

Reply via email to