smmarty / aurora_flutter

Flutter плагины для ОС Аврора от Friflex.
https://pub-aurora.friflex.com/packages
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

[aurora_push_service] Невозможно собрать пример. #5

Closed sinxwal closed 1 month ago

sinxwal commented 2 months ago

Невозможно собрать пример в aurora_push_service. Вероятно код в репозитории изначально нерабочий. В тоже самое время location_aurora собирается нормально.

Вот окружение:

flutter-aurora doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel [user-branch], 3.16.2-1, on Ubuntu 20.04.6 LTS 5.4.0-186-generic, locale en_US.UTF-8)
    ! Flutter version 3.16.2-1 on channel [user-branch] at /home/user/.local/opt/flutter-3.16.2-1
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Aurora toolchain - develop for Aurora OS
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.91.0)
[✓] Connected device (2 available)
[✓] Network resources

Вот лог сборки:

flutter-aurora build aurora --release

Warning: Generating ELF library without DWARF debugging information.
Mounting system directories...
Mounting /home/user/AuroraPlatformSDK/targets as /srv/mer/targets
Mounting /home/user/AuroraPlatformSDK/toolings as /srv/mer/toolings
Mounting / as /parentroot
Mounting home directory: /home/user
Last login: Вт июл  9 09:14:41 UTC 2024
WARNING: Deprecated ~/.mersdk.profile found!
   Use the AURORA_SDK environment variable inside your
   regular ~/.bashrc and/or ~/.bash_profile to branch to
   your SDK-specific configuration bits.

   if [[ $AURORA_SDK ]]; then
       ...
   fi
NOTICE: Using the 'AuroraOS-5.0.0.60-base-armv7hl.default' snapshot of the build target
Loading repository data...
Reading installed packages...
'pkgconfig(pushclient) >= 2.0.0' not found in package names. Trying capabilities.
'push-daemon-devel' providing 'pkgconfig(pushclient) >= 2.0.0' is already installed.
'pkgconfig(Qt5Core)' not found in package names. Trying capabilities.
'qt5-qtcore-devel' providing 'pkgconfig(Qt5Core)' is already installed.
'pkgconfig(Qt5DBus)' not found in package names. Trying capabilities.
'qt5-qtdbus-devel' providing 'pkgconfig(Qt5DBus)' is already installed.
'pkgconfig(Qt5Qml)' not found in package names. Trying capabilities.
'qt5-qtdeclarative-devel' providing 'pkgconfig(Qt5Qml)' is already installed.
'pkgconfig(Qt5Quick)' not found in package names. Trying capabilities.
'qt5-qtdeclarative-qtquick-devel' providing 'pkgconfig(Qt5Quick)' is already installed.
'cmake' is already installed.
No update candidate for 'cmake-3.19.3+git8-1.2.6.omp.armv7hl'. The highest available version is already installed.
'pkgconfig(auroraapp)' not found in package names. Trying capabilities.
'libauroraapp-devel' providing 'pkgconfig(auroraapp)' is already installed.
'pkgconfig(nemonotifications-qt5)' not found in package names. Trying capabilities.
'nemo-qml-plugin-notifications-qt5-devel' providing 'pkgconfig(nemonotifications-qt5)' is already installed.
'pkgconfig(flutter-embedder)' not found in package names. Trying capabilities.
'flutter-embedder-devel' providing 'pkgconfig(flutter-embedder)' is already installed.
Resolving package dependencies...
Nothing to do.
Building target platforms: armv7hl-meego-linux
Building for target armv7hl-meego-linux
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZbdIFh
+ umask 022
+ cd /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS='-g -pipe -fexceptions --param=ssp-buffer-size=4 -D_FILE_OFFSET_BITS=64 -O2 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/aurora/pie-pic-cc1 -fstack-protector-strong -Wall -Wformat -Wformat-security  -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
+ export CFLAGS
+ CXXFLAGS='-g -pipe -fexceptions --param=ssp-buffer-size=4 -D_FILE_OFFSET_BITS=64 -O2 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/aurora/pie-pic-cc1 -fstack-protector-strong -Wall -Wformat -Wformat-security  -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
+ export CXXFLAGS
+ FFLAGS='-g -pipe -fexceptions --param=ssp-buffer-size=4 -D_FILE_OFFSET_BITS=64 -O2 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/aurora/pie-pic-cc1 -fstack-protector-strong -Wall -Wformat -Wformat-security  -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -I/usr/lib/gfortran/modules'
+ export FFLAGS
+ LDFLAGS='-Wl,--as-needed -specs=/usr/lib/rpm/aurora/pie-pic-ld -Wl,-z,relro,-z,now'
+ export LDFLAGS
+ CFLAGS='-g -pipe -fexceptions --param=ssp-buffer-size=4 -D_FILE_OFFSET_BITS=64 -O2 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/aurora/pie-pic-cc1 -fstack-protector-strong -Wall -Wformat -Wformat-security  -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
+ export CFLAGS
+ CXXFLAGS='-g -pipe -fexceptions --param=ssp-buffer-size=4 -D_FILE_OFFSET_BITS=64 -O2 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/aurora/pie-pic-cc1 -fstack-protector-strong -Wall -Wformat -Wformat-security  -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
+ export CXXFLAGS
+ FFLAGS='-g -pipe -fexceptions --param=ssp-buffer-size=4 -D_FILE_OFFSET_BITS=64 -O2 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/aurora/pie-pic-cc1 -fstack-protector-strong -Wall -Wformat -Wformat-security  -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -I/usr/lib/gfortran/modules'
+ export FFLAGS
+ cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=lib -DCMAKE_INSTALL_LIBDIR:PATH=lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE=Release
.mb2/wrappers/cmake: Executing real cmake:
+ /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=lib -DCMAKE_INSTALL_LIBDIR:PATH=lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE=Release /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora
-- The CXX compiler identification is GNU 12.3.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'flutter-embedder'
--   Found flutter-embedder, version 1.0.0
-- Checking for module 'nemonotifications-qt5'
--   Found nemonotifications-qt5, version 1.4.0
-- Checking for module 'pushclient'
--   Found pushclient, version 2.3.4
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    INCLUDE_INSTALL_DIR
    LIB_INSTALL_DIR
    SHARE_INSTALL_PREFIX
    SYSCONF_INSTALL_DIR

-- Build files have been written to: /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release
+ /usr/bin/make -O -j8 V=1 VERBOSE=1
/usr/bin/cmake -S/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora -B/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/CMakeFiles /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release//CMakeFiles/progress.marks
/usr/bin/make  -f CMakeFiles/Makefile2 all
/usr/bin/make  -f CMakeFiles/com.example.aurora_push_example.dir/build.make CMakeFiles/com.example.aurora_push_example.dir/depend
/usr/bin/make  -f plugins/aurora_push_service/CMakeFiles/aurora_push_platform_plugin_autogen.dir/build.make plugins/aurora_push_service/CMakeFiles/aurora_push_platform_plugin_autogen.dir/depend
make[2]: Entering directory '/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release'
cd /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora/flutter/ephemeral/.plugin_symlinks/aurora_push_service/aurora /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/plugins/aurora_push_service /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/plugins/aurora_push_service/CMakeFiles/aurora_push_platform_plugin_autogen.dir/DependInfo.cmake --color=
Dependee "/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/plugins/aurora_push_service/CMakeFiles/aurora_push_platform_plugin_autogen.dir/DependInfo.cmake" is newer than depender "/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/plugins/aurora_push_service/CMakeFiles/aurora_push_platform_plugin_autogen.dir/depend.internal".
Dependee "/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/plugins/aurora_push_service/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/plugins/aurora_push_service/CMakeFiles/aurora_push_platform_plugin_autogen.dir/depend.internal".
Scanning dependencies of target aurora_push_platform_plugin_autogen
make[2]: Leaving directory '/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release'
/usr/bin/make  -f plugins/aurora_push_service/CMakeFiles/aurora_push_platform_plugin_autogen.dir/build.make plugins/aurora_push_service/CMakeFiles/aurora_push_platform_plugin_autogen.dir/build
make[2]: Entering directory '/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release'
cd /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/CMakeFiles/com.example.aurora_push_example.dir/DependInfo.cmake --color=
Dependee "/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/CMakeFiles/com.example.aurora_push_example.dir/DependInfo.cmake" is newer than depender "/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/CMakeFiles/com.example.aurora_push_example.dir/depend.internal".
Dependee "/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/CMakeFiles/com.example.aurora_push_example.dir/depend.internal".
Scanning dependencies of target com.example.aurora_push_example
make[2]: Leaving directory '/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release'
/usr/bin/make  -f CMakeFiles/com.example.aurora_push_example.dir/build.make CMakeFiles/com.example.aurora_push_example.dir/build
make[2]: Entering directory '/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release'
[ 22%] Building CXX object CMakeFiles/com.example.aurora_push_example.dir/flutter/generated_plugin_registrant.cpp.o
/usr/bin/c++  -I/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora/flutter -isystem /usr/include/flutter-embedder -isystem /usr/include/dconf -isystem /usr/include/libdrm -isystem /usr/include/maliit -isystem /usr/include/maliit/framework -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -Wall -Wextra -O3 -DEGL_NO_X11 -pthread -std=gnu++17 -o CMakeFiles/com.example.aurora_push_example.dir/flutter/generated_plugin_registrant.cpp.o -c /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora/flutter/generated_plugin_registrant.cpp
make[2]: Leaving directory '/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release'
make[2]: Entering directory '/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release'
[ 33%] Building CXX object CMakeFiles/com.example.aurora_push_example.dir/main.cpp.o
/usr/bin/c++  -I/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora/flutter -isystem /usr/include/flutter-embedder -isystem /usr/include/dconf -isystem /usr/include/libdrm -isystem /usr/include/maliit -isystem /usr/include/maliit/framework -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -Wall -Wextra -O3 -DEGL_NO_X11 -pthread -std=gnu++17 -o CMakeFiles/com.example.aurora_push_example.dir/main.cpp.o -c /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora/main.cpp
make[2]: Leaving directory '/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release'
/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora/flutter/generated_plugin_registrant.cpp:8:10: fatal error: aurora_push_service/aurora_push_plugin.h: No such file or directory
    8 | #include <aurora_push_service/aurora_push_plugin.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/com.example.aurora_push_example.dir/build.make:98: CMakeFiles/com.example.aurora_push_example.dir/flutter/generated_plugin_registrant.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora/main.cpp:6:
/usr/include/flutter-embedder/flutter/compatibility.h:4:10: fatal error: QCoreApplication: No such file or directory
    4 | #include <QCoreApplication>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/com.example.aurora_push_example.dir/build.make:85: CMakeFiles/com.example.aurora_push_example.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:119: CMakeFiles/com.example.aurora_push_example.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release'
[ 11%] Automatic MOC and UIC for target aurora_push_platform_plugin
cd /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/plugins/aurora_push_service && /usr/bin/cmake -E cmake_autogen /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/plugins/aurora_push_service/CMakeFiles/aurora_push_platform_plugin_autogen.dir/AutogenInfo.json Release
AutoGen: Refreshing parse cache because it doesn't exist.
AutoGen: Parsing "SRC:/flutter/ephemeral/.plugin_symlinks/aurora_push_service/aurora/include/aurora_push/plugincontroller.h"
AutoGen: Parsing "SRC:/flutter/ephemeral/.plugin_symlinks/aurora_push_service/aurora/include/aurora_push/pluginservice.h"
AutoGen: Parsing "SRC:/flutter/ephemeral/.plugin_symlinks/aurora_push_service/aurora/include/aurora_push/plugincontroller.cpp"
AutoGen: Parsing "SRC:/flutter/ephemeral/.plugin_symlinks/aurora_push_service/aurora/aurora_push_plugin.cpp"
AutoGen: Parsing "SRC:/flutter/ephemeral/.plugin_symlinks/aurora_push_service/aurora/include/aurora_push/pluginservice.cpp"
AutoMoc: Generating "BIN:/plugins/aurora_push_service/aurora_push_platform_plugin_autogen/WRWRKWRV2I/moc_plugincontroller.cpp", because it doesn't exist, from "SRC:/flutter/ephemeral/.plugin_symlinks/aurora_push_service/aurora/include/aurora_push/plugincontroller.h"
/usr/lib/qt5/bin/moc "-DAPP_ID_FILE_PATH=\"/usr/share/aurora_push/applicationidz\"" "-DDBUS_INTERFACE=\"ru.auroraos.PushReceiver\"" "-DDBUS_PATH=\"/ru/auroraos/PushReceiver\"" "-DDBUS_SERVICE=\"ru.auroraos.PushReceiver\"" -DPLUGIN_IMPL -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -Daurora_push_platform_plugin_EXPORTS -I/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora/flutter/ephemeral/.plugin_symlinks/aurora_push_service/aurora/include -I/usr/include/flutter-embedder -I/usr/include/dconf -I/usr/include/libdrm -I/usr/include/maliit -I/usr/include/maliit/framework -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/share/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtDBus -I/usr/include/nemonotifications-qt5 -I/usr/include/pushclient -o /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/plugins/aurora_push_service/aurora_push_platform_plugin_autogen/WRWRKWRV2I/moc_plugincontroller.cpp /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora/flutter/ephemeral/.plugin_symlinks/aurora_push_service/aurora/include/aurora_push/plugincontroller.h
AutoMoc: Generating "BIN:/plugins/aurora_push_service/aurora_push_platform_plugin_autogen/WRWRKWRV2I/moc_pluginservice.cpp", because it doesn't exist, from "SRC:/flutter/ephemeral/.plugin_symlinks/aurora_push_service/aurora/include/aurora_push/pluginservice.h"
/usr/lib/qt5/bin/moc "-DAPP_ID_FILE_PATH=\"/usr/share/aurora_push/applicationidz\"" "-DDBUS_INTERFACE=\"ru.auroraos.PushReceiver\"" "-DDBUS_PATH=\"/ru/auroraos/PushReceiver\"" "-DDBUS_SERVICE=\"ru.auroraos.PushReceiver\"" -DPLUGIN_IMPL -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -Daurora_push_platform_plugin_EXPORTS -I/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora/flutter/ephemeral/.plugin_symlinks/aurora_push_service/aurora/include -I/usr/include/flutter-embedder -I/usr/include/dconf -I/usr/include/libdrm -I/usr/include/maliit -I/usr/include/maliit/framework -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/share/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtDBus -I/usr/include/nemonotifications-qt5 -I/usr/include/pushclient -o /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release/plugins/aurora_push_service/aurora_push_platform_plugin_autogen/WRWRKWRV2I/moc_pluginservice.cpp /home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/aurora/flutter/ephemeral/.plugin_symlinks/aurora_push_service/aurora/include/aurora_push/pluginservice.h
AutoMoc: Generating MOC compilation "BIN:/plugins/aurora_push_service/aurora_push_platform_plugin_autogen/mocs_compilation.cpp"
AutoGen: Writing the parse cache file "BIN:/plugins/aurora_push_service/CMakeFiles/aurora_push_platform_plugin_autogen.dir/ParseCache.txt"
AutoGen: Writing the settings file "BIN:/plugins/aurora_push_service/CMakeFiles/aurora_push_platform_plugin_autogen.dir/AutogenUsed.txt"
make[2]: Leaving directory '/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release'
make[1]: Entering directory '/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release'
[ 33%] Built target aurora_push_platform_plugin_autogen
make[1]: Leaving directory '/home/user/AuroraPlatformSDK/projects/aurora_push_service2/example/build/aurora/psdk_5.0.0.60/aurora-arm/release'
make: *** [Makefile:152: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.ZbdIFh (%build)
    Bad exit status from /var/tmp/rpm-tmp.ZbdIFh (%build)

RPM build errors:
Building Aurora application...                                          
Unable to generate build files
mozerrr commented 1 month ago

Данный плагин работал на версии Авроры 4 и flutter 3.13. Мы пока не адаптировали его на новые версии по разным причинам. 1) В связи со скорым выходом RuStore есть предположение, что пуши будут работать не через аврора центр. Соответственно придется использовать другое решение для пушей. 2) Аврора 5 пока не вышла и мы пока еще не успели перевести все пакеты из-за долгого отсутствия девайсов, образов новых систем, сложностями с разворачиванием среды и тд.

Поэтому если на данный плагин есть спрос, то мы обновим его на новую версию. Но лично нам пока не надо было использовать пуши от аврора сервиса на новой авроре.

Также если вам это актуально и нужно сейчас, то мы готовы к принятию PR и сможем проверить код и влить к нам.

sinxwal commented 1 month ago

Сделал пока мр с фиксом ошибки сборки (https://github.com/smmarty/aurora_flutter/pull/6), чтобы на 5й авроре собиралось. На флаттер 3.16.2-1 работает.

Для 3.16.2-2 Flutter Embedder нужен будет еще рефакторинг под их новое апи.

mozerrr commented 1 month ago

Должно было исправиться в #6.