( set -e; pkg="/home/aheinecke/dev/main/src/gpg4win/packages/mimetreeparser-202307281051.tar.xz"; pkg_version="mimetreeparser-202307281051"; pkgsdir="/home/aheinecke/dev/main/src/gpg4win/src/playground/build/${pkg_version}"; pkgbdir="/home/aheinecke/dev/main/src/gpg4win/src/playground/build/${pkg_version}-build"; pkgpdir="/home/aheinecke/dev/main/src/gpg4win/src/../patches/${pkg_version}"; pkgpbdir="/home/aheinecke/dev/main/src/gpg4win/src/../patches/mimetreeparser"; pkgidir="/home/aheinecke/dev/main/src/gpg4win/src/playground/install/pkgs/${pkg_version}"; pkg_dev=""; pkg_version_dev="mimetreeparser-dev-202307281051"; pkgidir_dev="/home/aheinecke/dev/main/src/gpg4win/src/playground/install/pkgs/${pkg_version_dev}"; pkgcfg=""; pkgextracflags=""; pkgmkargs=""; pkgmkargs_inst=""; pkgmkdir=""; pkgmkdir_inst=""; export PKG_CONFIG="/home/aheinecke/dev/main/src/gpg4win/src/../src/pkg-config"; export PKG_CONFIG_PATH="/home/aheinecke/dev/main/src/gpg4win/src/playground/install/lib/pkgconfig"; export PKG_CONFIG_LIBDIR=""; export PATH="/home/aheinecke/dev/main/src/gpg4win/src/playground/install/bin:/home/aheinecke/bin:/home/aheinecke/dev/main/bin:/opt/gnupg/bin:/usr/local/bin:/home/aheinecke/kde/src/kdesrc-build:/home/aheinecke/kde/src/kdesrc-build:/opt/gnupg/bin:/home/aheinecke/bin:/home/aheinecke/arbeit/go/go/bin:/home/aheinecke/go/bin:/home/aheinecke/bin:/home/aheinecke/Android/Sdk/tools/:/home/aheinecke/Android/Sdk/platform-tools/:/home/aheinecke/.cargo/bin:/home/aheinecke/bin:/usr/local/bin:/usr/bin:/bin"; export SYSROOT="/home/aheinecke/dev/main/src/gpg4win/src/playground/install"; export CONFIG_SITE="/home/aheinecke/dev/main/src/gpg4win/src/../src/config.site"; cd "${pkgbdir}"; test -n "${pkgmkdir}" && cd "${pkgmkdir}"; make -j16 ${pkgmkargs}) make[2]: Entering directory '/home/aheinecke/dev/main/src/gpg4win/src/playground/build/mimetreeparser-202307281051-build' [ 3%] Automatic MOC for target mimetreeparserprivate [ 3%] Built target mimetreeparserprivate_autogen [ 13%] Building CXX object src/core/CMakeFiles/mimetreeparserprivate.dir/crypto.cpp.obj [ 13%] Building CXX object src/core/CMakeFiles/mimetreeparserprivate.dir/messagepart.cpp.obj [ 13%] Building CXX object src/core/CMakeFiles/mimetreeparserprivate.dir/mimetreeparserprivate_autogen/mocs_compilation.cpp.obj In file included from /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/QtCore/qvariant.h:46, from /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/QtCore/QVariant:1, from /home/aheinecke/dev/main/src/gpg4win/src/playground/build/mimetreeparser-202307281051-build/src/core/mimetreeparserprivate_autogen/EWIEGA46WW/../../../../../mimetreeparser-202307281051/src/core/crypto.h:8, from /home/aheinecke/dev/main/src/gpg4win/src/playground/build/mimetreeparser-202307281051-build/src/core/mimetreeparserprivate_autogen/EWIEGA46WW/../../../../../mimetreeparser-202307281051/src/core/messagepart.h:6, from /home/aheinecke/dev/main/src/gpg4win/src/playground/build/mimetreeparser-202307281051-build/src/core/mimetreeparserprivate_autogen/EWIEGA46WW/moc_messagepart.cpp:10, from /home/aheinecke/dev/main/src/gpg4win/src/playground/build/mimetreeparser-202307281051-build/src/core/mimetreeparserprivate_autogen/mocs_compilation.cpp:2: /home/aheinecke/dev/main/src/gpg4win/src/playground/build/mimetreeparser-202307281051-build/src/core/mimetreeparserprivate_autogen/EWIEGA46WW/../../../../../mimetreeparser-202307281051/src/core/crypto.h:100:1: error: specialization of 'template struct QMetaTypeId' in different namespace [-fpermissive] 100 | Q_DECLARE_METATYPE(Crypto::Key); | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/QtCore/qmetatype.h:1768:8: note: from definition of 'template struct QMetaTypeId' 1768 | struct QMetaTypeId : public QMetaTypeIdQObject | ^~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/build/mimetreeparser-202307281051-build/src/core/mimetreeparserprivate_autogen/EWIEGA46WW/../../../../../mimetreeparser-202307281051/src/core/crypto.h:100:1: error: explicit specialization of 'template struct QMetaTypeId' outside its namespace must use a nested-name-specifier [-fpermissive] 100 | Q_DECLARE_METATYPE(Crypto::Key); | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/build/mimetreeparser-202307281051-build/src/core/mimetreeparserprivate_autogen/EWIEGA46WW/../../../../../mimetreeparser-202307281051/src/core/crypto.h:100:1: error: definition of 'static int QMetaTypeId::qt_metatype_id()' is not in namespace enclosing 'QMetaTypeId' [-fpermissive] 100 | Q_DECLARE_METATYPE(Crypto::Key); | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_contentindex.h:133:1: error: specialization of 'template struct QMetaTypeId' in different namespace [-fpermissive] 133 | Q_DECLARE_METATYPE(KMime::ContentIndex) | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/QtCore/qmetatype.h:1768:8: note: from definition of 'template struct QMetaTypeId' 1768 | struct QMetaTypeId : public QMetaTypeIdQObject | ^~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_contentindex.h:133:1: error: explicit specialization of 'template struct QMetaTypeId' outside its namespace must use a nested-name-specifier [-fpermissive] 133 | Q_DECLARE_METATYPE(KMime::ContentIndex) | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_contentindex.h:133:1: error: definition of 'static int QMetaTypeId::qt_metatype_id()' is not in namespace enclosing 'QMetaTypeId' [-fpermissive] 133 | Q_DECLARE_METATYPE(KMime::ContentIndex) | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_contentindex.h: In static member function 'static int QMetaTypeId::qt_metatype_id()': /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_contentindex.h:133:1: error: 'KMime' was not declared in this scope; did you mean 'Crypto::KMime'? 133 | Q_DECLARE_METATYPE(KMime::ContentIndex) | ^~~~~~~~~~~~~~~~~~ In file included from /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_content.h:38, from /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_message.h:13, from /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/KMime/Message:1, from /home/aheinecke/dev/main/src/gpg4win/src/playground/build/mimetreeparser-202307281051-build/src/core/mimetreeparserprivate_autogen/EWIEGA46WW/../../../../../mimetreeparser-202307281051/src/core/messagepart.h:10: /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_contentindex.h:29:11: note: 'Crypto::KMime' declared here 29 | namespace KMime | ^~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_contentindex.h:133:1: error: parse error in template argument list 133 | Q_DECLARE_METATYPE(KMime::ContentIndex) | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_contentindex.h:133:1: error: 'KMime' does not name a type 133 | Q_DECLARE_METATYPE(KMime::ContentIndex) | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_contentindex.h:133:1: error: expected '>' before '::' token 133 | Q_DECLARE_METATYPE(KMime::ContentIndex) | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_contentindex.h:133:1: error: expected '(' before '::' token /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_contentindex.h:133:1: error: '::ContentIndex' has not been declared; did you mean 'Crypto::KMime::ContentIndex'? 133 | Q_DECLARE_METATYPE(KMime::ContentIndex) | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_contentindex.h:40:20: note: 'Crypto::KMime::ContentIndex' declared here 40 | class KMIME_EXPORT ContentIndex | ^~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_contentindex.h:133:1: error: expected primary-expression before '>' token 133 | Q_DECLARE_METATYPE(KMime::ContentIndex) | ^~~~~~~~~~~~~~~~~~ In file included from /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/QtCore/qglobal.h:1301, from /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/QtCore/qatomic.h:41, from /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/QtCore/qrefcount.h:43, from /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/QtCore/qbytearray.h:44, from /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/QtCore/QByteArray:1, from /home/aheinecke/dev/main/src/gpg4win/src/playground/build/mimetreeparser-202307281051-build/src/core/mimetreeparserprivate_autogen/EWIEGA46WW/../../../../../mimetreeparser-202307281051/src/core/crypto.h:7: /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_types.h: At global scope: /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_types.h:162:1: error: specialization of 'template class QTypeInfo' in different namespace [-fpermissive] 162 | Q_DECLARE_TYPEINFO(KMime::Types::Mailbox, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/QtCore/qtypeinfo.h:77:7: note: from definition of 'template class QTypeInfo' 77 | class QTypeInfo | ^~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_types.h:162:1: error: explicit specialization of 'template class QTypeInfo' outside its namespace must use a nested-name-specifier [-fpermissive] 162 | Q_DECLARE_TYPEINFO(KMime::Types::Mailbox, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_types.h:162:1: error: 'KMime' was not declared in this scope; did you mean 'Crypto::KMime'? 162 | Q_DECLARE_TYPEINFO(KMime::Types::Mailbox, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_contentindex.h:29:11: note: 'Crypto::KMime' declared here 29 | namespace KMime | ^~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_types.h:162:1: error: parse error in template argument list 162 | Q_DECLARE_TYPEINFO(KMime::Types::Mailbox, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_types.h:162:1: error: no matching function for call to 'qIsTrivial< >()' 162 | Q_DECLARE_TYPEINFO(KMime::Types::Mailbox, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/QtCore/qtypeinfo.h:63:23: note: candidate: 'template constexpr bool qIsTrivial()' 63 | static constexpr bool qIsTrivial() | ^~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/QtCore/qtypeinfo.h:63:23: note: template argument deduction/substitution failed: /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_types.h:162:1: error: template argument 1 is invalid 162 | Q_DECLARE_TYPEINFO(KMime::Types::Mailbox, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_types.h:162:1: error: 'KMime' was not declared in this scope; did you mean 'Crypto::KMime'? 162 | Q_DECLARE_TYPEINFO(KMime::Types::Mailbox, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_contentindex.h:29:11: note: 'Crypto::KMime' declared here 29 | namespace KMime | ^~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_types.h:162:1: error: parse error in template argument list 162 | Q_DECLARE_TYPEINFO(KMime::Types::Mailbox, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_types.h:162:1: error: no matching function for call to 'qIsRelocatable< >()' 162 | Q_DECLARE_TYPEINFO(KMime::Types::Mailbox, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/QtCore/qtypeinfo.h:53:23: note: candidate: 'template constexpr bool qIsRelocatable()' 53 | static constexpr bool qIsRelocatable() | ^~~~~~~~~~~~~~ /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/QtCore/qtypeinfo.h:53:23: note: template argument deduction/substitution failed: /home/aheinecke/dev/main/src/gpg4win/src/playground/install/include/KPim5/KMime/kmime/kmime_types.h:162:1: error: template argument 1 is invalid 162 | Q_DECLARE_TYPEINFO(KMime::Types::Mailbox, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~