Bug 46477 - qt6-base: ошибка сборки на архитектуре LoongArch
Summary: qt6-base: ошибка сборки на архитектуре LoongArch
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: qt6-base (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Sergey V Turchin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-12 12:18 MSK by Alexey Sheplyakov
Modified: 2023-06-13 20:54 MSK (History)
4 users (show)

See Also:


Attachments
исправление проблемы (5.05 KB, patch)
2023-06-12 12:22 MSK, Alexey Sheplyakov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Sheplyakov 2023-06-12 12:18:31 MSK
FAILED: src/corelib/CMakeFiles/Core.dir/plugin/qelfparser_p.cpp.o
    /usr/bin/c++ -DBACKTRACE_HEADER=\"execinfo.h\" -DCore_EXPORTS -DELF_INTERPRETER=\"/lib64/ld-linux-loongarch-lp64d.so.1\" -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_CORE_LIB -DQ
T_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x070000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH 
-DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_USING_NAMESPACE -DQT_TYPESAFE_FLAGS -DQT_USE_QSTRINGBUILDER -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/src
/RPM/BUILD/qtbase-everywhere-src-6.4.2/BUILD/src/corelib/Core_autogen/include -I/usr/src/RPM/BUILD/qtbase-everywhere-src-6.4.2/BUILD/include -I/usr/src/RPM/BUILD/qtbase-everywhere-src-6.4.2/
BUILD/include/QtCore -I/usr/src/RPM/BUILD/qtbase-everywhere-src-6.4.2/src/corelib -I/usr/src/RPM/BUILD/qtbase-everywhere-src-6.4.2/BUILD/src/corelib -I/usr/src/RPM/BUILD/qtbase-everywhere-sr
c-6.4.2/BUILD/src/corelib/global -I/usr/src/RPM/BUILD/qtbase-everywhere-src-6.4.2/BUILD/src/corelib/kernel -I/usr/src/RPM/BUILD/qtbase-everywhere-src-6.4.2/src/corelib/../3rdparty/tinycbor/s
rc -I/usr/src/RPM/BUILD/qtbase-everywhere-src-6.4.2/BUILD/include/QtCore/6.4.2 -I/usr/src/RPM/BUILD/qtbase-everywhere-src-6.4.2/BUILD/include/QtCore/6.4.2/QtCore -I/usr/src/RPM/BUILD/qtbase-
everywhere-src-6.4.2/src/corelib/../3rdparty/forkfd -I/usr/src/RPM/BUILD/qtbase-everywhere-src-6.4.2/mkspecs/linux-g++ -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -pi
pe -frecord-gcc-switches -Wall -g -O2  -fPIC -DPIC -g -DNDEBUG -O3 -flto -fno-fat-lto-objects -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wsuggest-override -std=c++1
7 -MD -MT src/corelib/CMakeFiles/Core.dir/plugin/qelfparser_p.cpp.o -MF src/corelib/CMakeFiles/Core.dir/plugin/qelfparser_p.cpp.o.d -o src/corelib/CMakeFiles/Core.dir/plugin/qelfparser_p.cpp
.o -c /usr/src/RPM/BUILD/qtbase-everywhere-src-6.4.2/src/corelib/plugin/qelfparser_p.cpp
    /usr/src/RPM/BUILD/qtbase-everywhere-src-6.4.2/src/corelib/plugin/qelfparser_p.cpp:147:4: error: #error "Unknown Q_PROCESSOR_xxx macro, please update."
      147 | #  error "Unknown Q_PROCESSOR_xxx macro, please update."
          |    ^~~~~
Comment 1 Alexey Sheplyakov 2023-06-12 12:22:44 MSK
Created attachment 13454 [details]
исправление проблемы
Comment 2 Repository Robot 2023-06-13 20:54:24 MSK
qt6-base-6.4.2-alt3 -> sisyphus:

 Tue Jun 13 2023 Sergey V Turchin <zerg@altlinux> 6.4.2-alt3
 - fixed compilation on LoongArch (thanks asheplyakov@alt) (closes: 46477)