The latest version of zlib lacks the shared library (only the static library is present). I suggest you keep zlib downgraded for now and maybe work on a fix.
Search Criteria
Package Details: android-aarch64-qt6-base 6.8.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/android-aarch64-qt6-base.git (read-only, click to copy) |
---|---|
Package Base: | android-aarch64-qt6-base |
Description: | A cross-platform application and UI framework (android) |
Upstream URL: | https://www.qt.io |
Licenses: | custom, GPL3, LGPL3, FDL |
Groups: | android-aarch64-qt6 |
Submitter: | Martchus |
Maintainer: | Martchus |
Last Packager: | Martchus |
Votes: | 2 |
Popularity: | 0.001097 |
First Submitted: | 2021-01-05 00:32 (UTC) |
Last Updated: | 2024-12-03 20:01 (UTC) |
Dependencies (17)
- android-aarch64-libjpeg-turboAUR
- android-aarch64-libpngAUR
- android-aarch64-opensslAUR
- android-aarch64-zlibAUR
- android-ndkAUR (android-ndk-10eAUR, android-ndk-14bAUR, android-ndk-11cAUR, android-ndk-16bAUR, android-ndk-r18bAUR, android-ndk-19AUR, android-ndk-20bAUR, android-ndk-r17cAUR, android-ndk-16b-optAUR, android-ndk-25AUR, android-ndk-betaAUR, android-ndk-26AUR)
- android-platform-34AUR (android-platform-34AUR)
- android-sdkAUR (android-sdk-dummyAUR, android-sdk-cmdline-tools-latest-dummyAUR, android-sdk-cmdline-tools-latestAUR)
- android-sdk-build-toolsAUR (android-sdk-build-tools-21AUR, android-sdk-build-tools-21.0.1AUR, android-sdk-build-tools-21.1AUR, android-sdk-build-tools-21.1.2AUR, android-sdk-build-tools-22AUR, android-sdk-build-tools-22.0.1AUR, android-sdk-build-tools-23AUR, android-sdk-build-tools-23.0.2AUR, android-sdk-build-tools-23.0.1AUR, android-sdk-build-tools-23.0.3AUR, android-sdk-build-tools-19.1AUR, android-sdk-build-tools-dummyAUR)
- android-sdk-platform-toolsAUR (android-sdk-platform-tools-dummyAUR)
- ant (ant-gitAUR)
- java-runtime-headless-openjdk (jdk10-openj9-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jre16-openjdk-headlessAUR, jre14-openjdk-headlessAUR, jre18-openjdk-headlessAUR, liberica-jre-11-full-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jre12-openjdk-headlessAUR, jdk11-dragonwell-standard-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre13-openjdk-headlessAUR, jre15-openjdk-headlessAUR, liberica-nik-24-full-binAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jre19-openjdk-headlessAUR, zulu-jdk-fx-binAUR, java-openjdk-binAUR, jdk21-temurinAUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-openjdk-wakefield-headlessAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk17-openj9-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre-openjdk-headless, jre11-openjdk, jre11-openjdk-headless, jre17-openjdk, jre17-openjdk-headless, jre21-openjdk, jre21-openjdk-headless, jre8-openjdk-headless)
- android-cmakeAUR (make)
- android-pkg-configAUR (make)
- java-environment-openjdk (jdk10-openj9-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, liberica-jre-11-full-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, liberica-nik-24-full-binAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, java-openjdk-binAUR, jdk21-temurinAUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR) (make)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR) (optional) – development tools
Required by (16)
- android-aarch64-qt6-5compat
- android-aarch64-qt6-connectivity
- android-aarch64-qt6-datavis3d
- android-aarch64-qt6-declarative
- android-aarch64-qt6-imageformats
- android-aarch64-qt6-lottie
- android-aarch64-qt6-multimedia
- android-aarch64-qt6-networkauth
- android-aarch64-qt6-positioning
- android-aarch64-qt6-scxml
- android-aarch64-qt6-serialport
- android-aarch64-qt6-shadertools
- android-aarch64-qt6-svg
- android-aarch64-qt6-tools
- android-aarch64-qt6-translations
- android-aarch64-qt6-websockets
Sources (19)
- 0001-Use-CMake-s-default-import-library-suffix.patch
- 0002-Fix-finding-D-Bus.patch
- 0003-Fix-using-static-PCRE2-and-DBus-1.patch
- 0004-Fix-transitive-dependencies-of-static-libraries.patch
- 0005-Fix-libjpeg-workaround-for-conflict-with-rpcndr.h.patch
- 0006-Support-finding-static-MariaDB-client-library.patch
- 0007-Allow-overriding-CMAKE_FIND_LIBRARY_SUFFIXES-to-pref.patch
- 0008-Find-fontconfig-via-pkg-config-for-correct-handling-.patch
- 0009-Fix-dependency-of-xcb-image-on-xcb-util.patch
- 0010-Allow-using-properties-of-PkgConfig-targets-for-glib.patch
- 0011-Allow-using-properties-of-PkgConfig-targets-for-Wayl.patch
- 0012-Allow-overriding-preference-for-shared-libzstd-libra.patch
- 0013-Fix-errors-due-to-disabled-exceptions-with-cpp_winrt.patch
- 0014-Fix-setting-exception-flags-of-plugin-targets.patch
- 0015-Link-corelib-correctly-against-runtimeobject-when-co.patch
- 0016-Workaround-linker-error-about-missing-symbol-__sync_.patch
- 0017-Workaround-Unknown-CMake-command-_qt_test_emscripten.patch
- 0018-Fix-configuration-when-EMSCRIPTEN_ROOT-is-an-absolut.patch
- https://download.qt.io/official_releases/qt/6.8/6.8.1/submodules/qtbase-everywhere-src-6.8.1.tar.xz
Martchus commented on 2024-01-06 01:19 (UTC)
Kicer commented on 2024-01-05 18:58 (UTC) (edited on 2024-01-05 18:58 (UTC) by Kicer)
I'm getting link errors:
ld.lld: error: relocation R_AARCH64_ADD_ABS_LO12_NC cannot be used against symbol 'z_errmsg'; recompile with -fPIC
>>> defined in /opt/android-libs/aarch64/lib/libz.a(zutil.o)
>>> referenced by zutil.o:(zError) in archive /opt/android-libs/aarch64/lib/libz.a
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Martchus commented on 2023-04-03 13:32 (UTC)
I will only update my packages after having being able to build them myself. In this case it is most likely required to wait until the regular Qt 6 packages have been updated. So I won't update this package before that. You generally don't need to flag my Qt packages as I'm following Qt's devel and release mailing lists.
Martchus commented on 2023-03-11 18:54 (UTC)
I've been testing this myself now and using the latest version didn't help because the soname and the actual filename of the png library were not consistent. I've been adding a version of android-aarch64-libpng that actually works in my PKGBUILDs repo. It is basically the AUR version minus the wrong renaming of the library and related files.
Martchus commented on 2023-02-12 19:06 (UTC)
Oh looks like I need to release the new libpng from staging then. (I suppose you're using my binary repo.)
parovoz commented on 2023-02-12 18:40 (UTC)
Seems like it is not building correctly. Look at this:
llvm-readelf --needed-libs /opt/android-libs/aarch64/lib/libQt6Gui_arm64-v8a.so
NeededLibraries [
libEGL.so
libGLESv2.so
libQt6Core_arm64-v8a.so
libc++_shared.so
libc.so
libdl.so
libm.so
libpng16.so
libz.so
]
So here 'libpng16.so' is listed, but required android-aarch64-libpng only contains 'libpng.so':
find /opt/android-libs/aarch64 -name "libpng*.so"
/opt/android-libs/aarch64/lib/libpng.so
So I had to copy the lib with a new name to get android deployment working in QtCreator, without it my applications only crashed with following error:
E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: library "libpng16.so" not found: needed by /data/app/~~D8pjkYRqC1nxvq4yPygHWg==/org.qtproject.example.android_playground-NDY4EbVLrZYvMhLC_JALlw==/lib/arm64/libQt6Gui_arm64-v8a.so in namespace classloader-namespace
Martchus commented on 2022-10-11 19:31 (UTC) (edited on 2022-10-11 19:31 (UTC) by Martchus)
I've been updating the packages to 6.4.0 but haven't tested them yet (because they're currently not very useful to me since kirigami2 hasn't been ported to Qt 6 yet).
Martchus commented on 2022-06-08 09:14 (UTC)
Sorry for the late reply. Maybe it is an NDK issue (see https://github.com/android/ndk/issues/329). Since some KDE packages haven't been ported to Qt 6 yet I haven't had the chance to actually try this package myself. Since it is Android + Qt I would be surprised if that is the only issue…
feedc0de commented on 2022-04-30 16:06 (UTC)
I was able to compile the package without any problems, and when running a simple qt quick example on my phone I get a fatal directly on launch of the apk and no activity is shown.
__emutls_get_address
seems to be missing?
I DecorView: [INFO] isPopOver=false, config=true
I DecorView: updateCaptionType >> DecorView@f52413d[], isFloating=false, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=true
D DecorView: setCaptionType = 0, this = DecorView@f52413d[]
E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread
E AndroidRuntime: Process: org.qtproject.example.flatstyle, PID: 29671
E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__emutls_get_address" referenced by "/data/app/~~dKmyCuN2BtfS-5pX7ulE-g==/org.qtproject.example.flatstyle-DKnl5UNL8_koQ-7_79Wl4A==/lib/arm64/libQt6Core_arm64-v8a.so"...
E AndroidRuntime: at java.lang.Runtime.load0(Runtime.java:939)
E AndroidRuntime: at java.lang.System.load(System.java:1628)
E AndroidRuntime: at org.qtproject.qt.android.QtNative$2.run(QtNative.java:461)
E AndroidRuntime: at org.qtproject.qt.android.QtThread$2.run(QtThread.java:87)
E AndroidRuntime: at org.qtproject.qt.android.QtThread$1.run(QtThread.java:61)
E AndroidRuntime: at java.lang.Thread.run(Thread.java:923)
I ample.flatstyl: Thread[3,tid=27637,WaitingInMainSignalCatcherLoop,Thread*=0x7cdb8cabe0,peer=0x12e82ef8,"Signal Catcher"]: reacting to signal 28
04-30 18:02:58.305 29671 27637 I ample.flatstyl:
I ample.flatstyl: SIGSAVEPRF profile save
Martchus commented on 2021-07-24 12:49 (UTC)
I'm not using yay so I can't help with that. This package build for me using makepkg/makechrootpkg provided all dependencies have been built before. The fact that it cannot even find official packages like ninja in your case shows that there must be something wrong with your setup, e.g. an official database is missing.
Not sure to which Wiki page you're referring to.
Pinned Comments
Martchus commented on 2021-01-05 00:55 (UTC)