bitbake: how to resume compilation - qt5

During a bitbake <image> execution, 3 errors are generated and the building process stopped.
Here the last lines of the output:
| ERROR: Function failed: do_compile (log file is located at /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/temp/log.do_compile.26600)
ERROR: Task (/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/layers/meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7532 tasks of which 6688 didn't need to be rerun and 2 failed.
NOTE: Writing buildhistory
Summary: 2 tasks failed:
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/layers/meta-qt5/recipes-qt/qt5/qt3d_git.bb:do_compile
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/layers/meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_compile
Summary: There were 2 WARNING messages shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
The -k argument is defined as follow:
-k, --continue Continue as much as possible after an error. While the
target that failed and anything depending on it cannot
be built, as much as possible will be built before
stopping.
So it doesn't retry the failed tasks. And, actually, does nothing.
Here the last 50 lines of the log file of the last error:
$ tail -n 50 /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/temp/log.do_compile.26600
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/text/WTFString.h:769,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/platform/ValueToString.h:35,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/platform/LayoutUnit.h:34,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/rendering/AutoTableLayout.h:24,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/rendering/AutoTableLayout.cpp:23,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/rendering/RenderingAllInOne.cpp:28:
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/HashTraits.h:226:8: note: 'struct WTF::KeyValuePair<std::pair<JSC::JSObject*, std::pair<unsigned int, const JSC::ClassInfo*> >, JSC::Weak<JSC::Structure> >' declared here
struct KeyValuePair {
^~~~~~~~~~~~
In file included from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/HashMap.h:25,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/platform/ThreadGlobalData.h:30,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/dom/EventNames.h:25,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/dom/EventTarget.h:35,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/dom/Node.h:28,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/dom/ContainerNode.h:29,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/page/FrameView.h:30,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/rendering/RenderBox.h:26,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/rendering/RenderBlock.h:28,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/rendering/RenderTable.h:30,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/rendering/AutoTableLayout.cpp:25,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/rendering/RenderingAllInOne.cpp:28:
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/HashTable.h: In instantiation of 'static void WTF::HashTableBucketInitializer<true>::initialize(Value&) [with Traits = WTF::HashMap<void*, JSC::Weak<JSC::JSObject>, WTF::PtrHash<void*>, WTF::HashTraits<void*>, WTF::HashTraits<JSC::Weak<JSC::JSObject> > >::KeyValuePairTraits; Value = WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> >]':
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/HashTable.h:855:90: required from 'static void WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::initializeBucket(WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::ValueType&) [with Key = void*; Value = WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> >; Extractor = WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> > >; HashFunctions = WTF::PtrHash<void*>; Traits = WTF::HashMap<void*, JSC::Weak<JSC::JSObject>, WTF::PtrHash<void*>, WTF::HashTraits<void*>, WTF::HashTraits<JSC::Weak<JSC::JSObject> > >::KeyValuePairTraits; KeyTraits = WTF::HashTraits<void*>; WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::ValueType = WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> >]'
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/HashTable.h:1146:29: required from 'static WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::ValueType* WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::allocateTable(unsigned int) [with Key = void*; Value = WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> >; Extractor = WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> > >; HashFunctions = WTF::PtrHash<void*>; Traits = WTF::HashMap<void*, JSC::Weak<JSC::JSObject>, WTF::PtrHash<void*>, WTF::HashTraits<void*>, WTF::HashTraits<JSC::Weak<JSC::JSObject> > >::KeyValuePairTraits; KeyTraits = WTF::HashTraits<void*>; WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::ValueType = WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> >]'
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/HashTable.h:1194:32: required from 'WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::ValueType* WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::rehash(unsigned int, WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::ValueType*) [with Key = void*; Value = WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> >; Extractor = WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> > >; HashFunctions = WTF::PtrHash<void*>; Traits = WTF::HashMap<void*, JSC::Weak<JSC::JSObject>, WTF::PtrHash<void*>, WTF::HashTraits<void*>, WTF::HashTraits<JSC::Weak<JSC::JSObject> > >::KeyValuePairTraits; KeyTraits = WTF::HashTraits<void*>; WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::ValueType = WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> >]'
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/HashTable.h:453:25: required from 'void WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::shrink() [with Key = void*; Value = WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> >; Extractor = WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> > >; HashFunctions = WTF::PtrHash<void*>; Traits = WTF::HashMap<void*, JSC::Weak<JSC::JSObject>, WTF::PtrHash<void*>, WTF::HashTraits<void*>, WTF::HashTraits<JSC::Weak<JSC::JSObject> > >::KeyValuePairTraits; KeyTraits = WTF::HashTraits<void*>]'
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/HashTable.h:1132:13: required from 'void WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::removeIf(const Functor&) [with Functor = JSC::WeakGCMap<KeyArg, ValueArg, HashArg, KeyTraitsArg>::pruneStaleEntries() [with KeyArg = void*; ValueArg = JSC::JSObject; HashArg = WTF::PtrHash<void*>; KeyTraitsArg = WTF::HashTraits<void*>]::<lambda(WTF::HashMap<void*, JSC::Weak<JSC::JSObject>, WTF::PtrHash<void*>, WTF::HashTraits<void*>, WTF::HashTraits<JSC::Weak<JSC::JSObject> > >::KeyValuePairType&)>; Key = void*; Value = WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> >; Extractor = WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> > >; HashFunctions = WTF::PtrHash<void*>; Traits = WTF::HashMap<void*, JSC::Weak<JSC::JSObject>, WTF::PtrHash<void*>, WTF::HashTraits<void*>, WTF::HashTraits<JSC::Weak<JSC::JSObject> > >::KeyValuePairTraits; KeyTraits = WTF::HashTraits<void*>]'
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/HashMap.h:421:5: required from 'void WTF::HashMap<KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg>::removeIf(const Functor&) [with Functor = JSC::WeakGCMap<KeyArg, ValueArg, HashArg, KeyTraitsArg>::pruneStaleEntries() [with KeyArg = void*; ValueArg = JSC::JSObject; HashArg = WTF::PtrHash<void*>; KeyTraitsArg = WTF::HashTraits<void*>]::<lambda(WTF::HashMap<void*, JSC::Weak<JSC::JSObject>, WTF::PtrHash<void*>, WTF::HashTraits<void*>, WTF::HashTraits<JSC::Weak<JSC::JSObject> > >::KeyValuePairType&)>; KeyArg = void*; MappedArg = JSC::Weak<JSC::JSObject>; HashArg = WTF::PtrHash<void*>; KeyTraitsArg = WTF::HashTraits<void*>; MappedTraitsArg = WTF::HashTraits<JSC::Weak<JSC::JSObject> >]'
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/JavaScriptCore/runtime/WeakGCMapInlines.h:52:5: required from 'void JSC::WeakGCMap<KeyArg, ValueArg, HashArg, KeyTraitsArg>::pruneStaleEntries() [with KeyArg = void*; ValueArg = JSC::JSObject; HashArg = WTF::PtrHash<void*>; KeyTraitsArg = WTF::HashTraits<void*>]'
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/JavaScriptCore/runtime/WeakGCMapInlines.h:39:9: required from 'JSC::WeakGCMap<KeyArg, ValueArg, HashArg, KeyTraitsArg>::WeakGCMap(JSC::VM&) [with KeyArg = void*; ValueArg = JSC::JSObject; HashArg = WTF::PtrHash<void*>; KeyTraitsArg = WTF::HashTraits<void*>]'
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/JavaScriptCore/API/JSWeakObjectMapRefInternal.h:60:30: required from here
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/HashTable.h:848:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> >' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess]
memset(&bucket, 0, sizeof(bucket));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/text/CString.h:30,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/text/StringView.h:33,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/text/StringConcatenate.h:36,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/text/AtomicString.h:378,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/text/WTFString.h:769,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/platform/ValueToString.h:35,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/platform/LayoutUnit.h:34,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/rendering/AutoTableLayout.h:24,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/rendering/AutoTableLayout.cpp:23,
from /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WebCore/rendering/RenderingAllInOne.cpp:28:
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/HashTraits.h:226:8: note: 'struct WTF::KeyValuePair<void*, JSC::Weak<JSC::JSObject> >' declared here
struct KeyValuePair {
^~~~~~~~~~~~
ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/temp/log.do_compile.26600)
As far as I understand the error is:
'struct WTF::KeyValuePair >' declared here
But because it's not my code I don't understand how one should handle such a situation.
I don't think the error is actually in the code, perhaps there was some out-of-sync operations or it ran out of memory? What is the right approach to resume the compilation? Just bitbake <image> again?
UPDATE
In the log file there's only one match for error:
$ cat /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/temp/log.do_compile.26600 | grep error
arm-openstlinux_eglfs-linux-gnueabi-g++: fatal error: Killed signal terminated program cc1plus
And here the previous lines:
$ sed -n 132700,132717p /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/temp/log.do_compile.26600
/local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/git/Source/WTF/wtf/HashTraits.h:226:8: note: 'struct WTF::KeyValuePair<std::pair<JSC::JSObject*, std::pair<unsigned int, const JSC::ClassInfo*> >, JSC::Weak<JSC::Structure> >' declared here
struct KeyValuePair {
^~~~~~~~~~~~
{standard input}: Assembler messages:
{standard input}:636266: Warning: end of file not at end of a line; newline inserted
{standard input}:636484: Error: found '
', expected: ')'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
{standard input}:636484: Error: can't resolve `.LC553' {*UND* section} - `.LPIC744' {*UND* section}
arm-openstlinux_eglfs-linux-gnueabi-g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.

When you want to have a recipe be rebuilt because you think it may have failed due to lack of memory, disk, etc it can be helpful to bitbake -c clean RECIPE as while bitbake will retry to build, the particular build system used by RECIPE might not recover gracefully.

Related

Intel RealsenseId Python wrappers compile in Ubuntu

I have spent the day trying to get this to build and was hoping someone can help or point me to the right direction.
Using Ubuntu 18.
Python 3.9.13
Gcc 7.5.0
cmake 3.10.2
I have created the build directory and within that directory run the command:
cmake .. -DRSID_PREVIEW=ON -DRSID_SECURE=ON -DRSID_PY=ON
Make files build ok. I then typed:
make
Most of the binaries are compiled such as rsid_cli. However I get the error below which prevents the python wrappers from being built. Can anyone help?
Scanning dependencies of target rsid_py
[ 96%] Building CXX object wrappers/python/CMakeFiles/rsid_py.dir/rsid_py.cc.o
[ 97%] Building CXX object wrappers/python/CMakeFiles/rsid_py.dir/face_auth_py.cc.o
In file included from /usr/include/c++/7/memory:80:0,
from /home/rukshan/Desktop/RealSenseID-0.25.0/build/3rdparty/pybind11/include/pybind11/detail/common.h:162,
from /home/rukshan/Desktop/RealSenseID-0.25.0/build/3rdparty/pybind11/include/pybind11/pytypes.h:12,
from /home/rukshan/Desktop/RealSenseID-0.25.0/build/3rdparty/pybind11/include/pybind11/cast.h:13,
from /home/rukshan/Desktop/RealSenseID-0.25.0/build/3rdparty/pybind11/include/pybind11/attr.h:13,
from /home/rukshan/Desktop/RealSenseID-0.25.0/build/3rdparty/pybind11/include/pybind11/pybind11.h:45,
from /home/rukshan/Desktop/RealSenseID-0.25.0/wrappers/python/rsid_py.h:6,
from /home/rukshan/Desktop/RealSenseID-0.25.0/wrappers/python/face_auth_py.cc:7:
/usr/include/c++/7/bits/unique_ptr.h: In instantiation of ‘typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = RealSenseID::FaceAuthenticator; _Args = {}; typename std::_MakeUniq<_Tp>::_single_object = std::unique_ptr<RealSenseID::FaceAuthenticator, std::default_deleteRealSenseID::FaceAuthenticator >]’:
/home/rukshan/Desktop/RealSenseID-0.25.0/wrappers/python/face_auth_py.cc:596:58: required from here
/usr/include/c++/7/bits/unique_ptr.h:821:30: error: no matching function for call to ‘RealSenseID::FaceAuthenticator::FaceAuthenticator()’
{ return unique_ptr<Tp>(new Tp(std::forward<Args>(args)...)); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/rukshan/Desktop/RealSenseID-0.25.0/wrappers/python/face_auth_py.cc:5:0:
/home/rukshan/Desktop/RealSenseID-0.25.0/src/../include/RealSenseID/FaceAuthenticator.h:39:14: note: candidate: RealSenseID::FaceAuthenticator::FaceAuthenticator(RealSenseID::SignatureCallback*)
explicit FaceAuthenticator(SignatureCallback* callback);
^~~~~~~~~~~~~~~~~
/home/rukshan/Desktop/RealSenseID-0.25.0/src/../include/RealSenseID/FaceAuthenticator.h:39:14: note: candidate expects 1 argument, 0 provided
In file included from /home/rukshan/Desktop/RealSenseID-0.25.0/build/3rdparty/pybind11/include/pybind11/pybind11.h:48:0,
from /home/rukshan/Desktop/RealSenseID-0.25.0/wrappers/python/rsid_py.h:6,
from /home/rukshan/Desktop/RealSenseID-0.25.0/wrappers/python/face_auth_py.cc:7:
/home/rukshan/Desktop/RealSenseID-0.25.0/build/3rdparty/pybind11/include/pybind11/detail/init.h: In instantiation of ‘Class* pybind11::detail::initimpl::construct_or_initialize(Args&& ...) [with Class = RealSenseID::FaceAuthenticator; Args = {}; typename std::enable_if<(! std::is_constructible<Tp, Args>::value), int>::type = 0]’:
/home/rukshan/Desktop/RealSenseID-0.25.0/build/3rdparty/pybind11/include/pybind11/detail/init.h:175:66: required from ‘pybind11::detail::initimpl::constructor::execute(Class&, const Extra& ...)::<lambda(pybind11::detail::value_and_holder&, Args ...)> [with Class = pybind11::classRealSenseID::FaceAuthenticator; Extra = {}; typename std::enable_if<(! Class:: has_alias), int>::type = 0; Args = {}]’
/home/rukshan/Desktop/RealSenseID-0.25.0/build/3rdparty/pybind11/include/pybind11/detail/init.h:174:29: required from ‘struct pybind11::detail::initimpl::constructor::execute(Class&, const Extra& ...) [with Class = pybind11::classRealSenseID::FaceAuthenticator; Extra = {}; typename std::enable_if<(! Class:: has_alias), int>::type = 0; Args = {}]::<lambda(struct pybind11::detail::value_and_holder&)>’
/home/rukshan/Desktop/RealSenseID-0.25.0/build/3rdparty/pybind11/include/pybind11/detail/init.h:174:9: required from ‘static void pybind11::detail::initimpl::constructor::execute(Class&, const Extra& ...) [with Class = pybind11::classRealSenseID::FaceAuthenticator; Extra = {}; typename std::enable_if<(! Class:: has_alias), int>::type = 0; Args = {}]’
/home/rukshan/Desktop/RealSenseID-0.25.0/build/3rdparty/pybind11/include/pybind11/pybind11.h:1346:9: required from ‘pybind11::class<type, options>& pybind11::class<type, options>::def(const pybind11::detail::initimpl::constructor<Args ...>&, const Extra& ...) [with Args = {}; Extra = {}; type = RealSenseID::FaceAuthenticator; options = {}]’
/home/rukshan/Desktop/RealSenseID-0.25.0/wrappers/python/face_auth_py.cc:594:26: required from here
/home/rukshan/Desktop/RealSenseID-0.25.0/build/3rdparty/pybind11/include/pybind11/detail/init.h:63:64: error: no matching function for call to ‘RealSenseID::FaceAuthenticator::FaceAuthenticator()’
inline Class construct_or_initialize(Args &&...args) { return new Class{std::forward(args)...}; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/rukshan/Desktop/RealSenseID-0.25.0/wrappers/python/face_auth_py.cc:5:0:
/home/rukshan/Desktop/RealSenseID-0.25.0/src/../include/RealSenseID/FaceAuthenticator.h:39:14: note: candidate: RealSenseID::FaceAuthenticator::FaceAuthenticator(RealSenseID::SignatureCallback)
explicit FaceAuthenticator(SignatureCallback* callback);
^~~~~~~~~~~~~~~~~
/home/rukshan/Desktop/RealSenseID-0.25.0/src/../include/RealSenseID/FaceAuthenticator.h:39:14: note: candidate expects 1 argument, 0 provided
wrappers/python/CMakeFiles/rsid_py.dir/build.make:86: recipe for target 'wrappers/python/CMakeFiles/rsid_py.dir/face_auth_py.cc.o' failed
make[2]: *** [wrappers/python/CMakeFiles/rsid_py.dir/face_auth_py.cc.o] Error 1
CMakeFiles/Makefile2:1388: recipe for target 'wrappers/python/CMakeFiles/rsid_py.dir/all' failed
make[1]: *** [wrappers/python/CMakeFiles/rsid_py.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Why does Utop treat this Ocaml code differently

module D = struct type t = float list end
module DF(D) = struct type t = D.t end
gets a syntax error in utop
However,
module D = struct type t = float list end;;
module DF(D) = struct type t = D.t end
Does not
Utop ignores everything on the right of ;; since ;; signals the end of a toplevel phrase.

How to fill an xtensor array, with complex data type

Paraphrasing here, but this is the problem
xt::pyarray< std::complex<double> > output;
output = 0; // fails to compile
output = double(0); // also fails to compile
output = complex<double>(0); // succeeds
and yet this is fine
std::complex<double> foo;
foo = double(0);
The problem is I'm writing a function which accepts arbitrary xtensor array, eg.
template<typename xtarray_t>
void my_function(xtarray_t &output, const xtarray_t &input) {
output = 0;
}
so in general this
output = complex<double>(0);
would fail. I've seen this, but am not sure if this was implemented, or how to use it, couldn't find the documentation. In general though, I think it should still work with std::complex.
thanks for any help!
compiler output:
xtensor-python/include/xtensor-python/pyarray.hpp:360:20: note: candidate function not viable: no known conversion from 'double' to 'const xt::pyarray<std::__1::complex<double>, xt::layout_type::dynamic>::self_type' (aka 'const pyarray<std::__1::complex<double>, (xt::layout_type)0>') for 1st argument
self_type& operator=(const self_type& rhs);
xtensor-python/include/xtensor-python/pyarray.hpp:363:20: note: candidate function not viable: no known conversion from 'double' to 'xt::pyarray<std::__1::complex<double>, xt::layout_type::dynamic>::self_type' (aka 'pyarray<std::__1::complex<double>, (xt::layout_type)0>') for 1st argument
self_type& operator=(self_type&& e) = default;
xtensor-python/include/xtensor-python/pyarray.hpp:369:20: note: candidate template ignored: could not match 'xexpression<type-parameter-0-0>' against 'double'
self_type& operator=(const xexpression<E>& e);
Answer is to do this
using value_t = typename xtarray_t::value_type;
output = value_t(0);

TensorFlow: How to get pointer to data contents of ConstTensor?

My team is working on developing a new backend for TensorFlow. Generally, tensorflow opkernels are passed as arguments "Tensor" types which use memory allocated with our architecture:
void ComputeAsync(OpKernelContext* context, DoneCallback done) override {
// Grab the input tensors
const Tensor& A = context->input(0);
const Tensor& B = context->input(1);
// ...input validation...
const our::Memory_Type *bA = static_cast<const our::Memory_Type *>(DMAHelper::base(&A));
const our::Memory_Type *bB = static_cast<const our::Memory_Type *>(DMAHelper::base(&B));
// ...additional preconditioning...
// Create an output tensor
Tensor *C = NULL;
OP_REQUIRES_OK(context, context->allocate_output(0, out_shape, &C));
our::Memory_Type *bC = static_cast<kpi::KPI_RMR_Mem*>(DMAHelper::base(C));
//and run it
our_impl(bA, bB, bC, done);
}
However, we are having more trouble with porting the "CrossOp" type, because part of the preconditioning involves converting the datatype to Eigen types:
// in0, in1, and output are all tensorflow::Tensor types, but ConstTensor is an Eigen type
typename TTypes<Type, 2>::ConstTensor in0_data =
in0.flat_inner_dims<Type>();
typename TTypes<Type, 2>::ConstTensor in1_data =
in1.flat_inner_dims<Type>();
typename TTypes<Type, 2>::Tensor output_data =
output->flat_inner_dims<Type>();
DMAHelper::base() assumes it is run on a Tensor and not a ConstTensor. Is it safe to follow the above operations with the ones below, or is does the process of flat_inner_dims() change the contents of the underlying data such that the result would be invalid or not read by TensorFlow?
const our::Memory_Type *in0_arg = static_cast<const our::Memory_Type *>(DMAHelper::base(&in0));
const our::Memory_Type *in1_arg = static_cast<const our::Memory_Type *>(DMAHelper::base(&in1));
const our::Memory_Type *output_arg = static_cast<const our::Memory_Type *>(DMAHelper::base(&output));
our_cross_impl(in0_arg, in1_arg, output_arg);

Cannot initialize a variable of type 'void *' with an rvalue of type 'void *const *'

I am trying to partially file a buffer in core-audio for iOS, in order to do this I need to change the start address I pass to memcpy. My code looks like this...
UInt32 bytesToRead = inBuffer->mAudioDataBytesCapacity;
int srcOffset = 0;
while (bytesToRead > 0) {
UInt32 maxBytesFromCurrentPiece = self.currentAudioPiece.audioData.length - self.currentAudioPieceIndex;
//Take the min of what the current piece can provide OR what is needed to be read
UInt32 bytesToReadNow = MIN(maxBytesFromCurrentPiece, bytesToRead);
NSData *subRange = [self.currentAudioPiece.audioData subdataWithRange:NSMakeRange(self.currentAudioPieceIndex, bytesToReadNow)];
//Copy what you can before continuing loop
void *srcStart = (&inBuffer->mAudioData + srcOffset);
memcpy(srcStart, subRange.bytes, subRange.length);
srcOffset += subRange.length;
bytesToRead -= bytesToReadNow;
Appcode shows no error but the compiler shows this:
"Semantic Issue" - Cannot initialize a variable of type 'void *' with
an rvalue of type 'void *const *'
On the line with "*srcStart".
Try changing
void *srcStart = (&inBuffer->mAudioData + srcOffset);
to
char *srcStart = ((char *)inBuffer->mAudioData) + srcOffset;
This will skip the appropriate number of bytes.