Package Details: android-aarch64-qt6-svg 6.3.0-1

Git Clone URL: https://aur.archlinux.org/android-aarch64-qt6-svg.git (read-only, click to copy)
Package Base: android-aarch64-qt6-svg
Description: Classes for displaying the contents of SVG files (android)
Upstream URL: https://www.qt.io
Licenses: custom, GPL3, LGPL3, FDL
Submitter: Martchus
Maintainer: Martchus
Last Packager: Martchus
Votes: 0
Popularity: 0.000000
First Submitted: 2021-01-05 00:33 (UTC)
Last Updated: 2022-04-10 21:50 (UTC)

Sources (1)

Latest Comments

Martchus commented on 2022-04-29 14:13 (UTC)

Don't upgrade zlib yet, is lacks the shared library and the static lib cannot be used when linking a shared object (and it also wouldn't make much sense as you would end up with multiple copies of zlib; one for each shared library using zlib internally). See https://aur.archlinux.org/packages/android-aarch64-zlib#comment-861398.

feedc0de commented on 2022-04-29 14:07 (UTC)

I'm getting a compiler error since my latest try to update:

-- Build files have been written to: /home/feedc0de/.cache/yay/android-aarch64-qt6-svg/src/build-aarch64
[17/36] Linking CXX shared library lib/libQt6Svg_arm64-v8a.so
FAILED: lib/libQt6Svg_arm64-v8a.so 
: && /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot -fPIC -D_FORTIFY_SOURCE=2 -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4     -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -D_FORTIFY_SOURCE=2   -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -Oz  -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Qunused-arguments -Wl,--no-undefined -Wl,-O1,--sort-common,--as-needed -Wl,-O1,--sort-common,--as-needed  -Wl,--no-undefined -shared -Wl,-soname,libQt6Svg_arm64-v8a.so -o lib/libQt6Svg_arm64-v8a.so src/svg/CMakeFiles/Svg.dir/Svg_autogen/mocs_compilation.cpp.o src/svg/CMakeFiles/Svg.dir/qsvgfont.cpp.o src/svg/CMakeFiles/Svg.dir/qsvggenerator.cpp.o src/svg/CMakeFiles/Svg.dir/qsvggraphics.cpp.o src/svg/CMakeFiles/Svg.dir/qsvghandler.cpp.o src/svg/CMakeFiles/Svg.dir/qsvgnode.cpp.o src/svg/CMakeFiles/Svg.dir/qsvgrenderer.cpp.o src/svg/CMakeFiles/Svg.dir/qsvgstructure.cpp.o src/svg/CMakeFiles/Svg.dir/qsvgstyle.cpp.o src/svg/CMakeFiles/Svg.dir/qsvgtinydocument.cpp.o  /opt/android-libs/aarch64/lib/libQt6Gui_arm64-v8a.so  /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/24/libGLESv2.so  /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/24/libEGL.so  /opt/android-libs/aarch64/lib/libQt6Core_arm64-v8a.so  -llog  -pthread  /opt/android-libs/aarch64/lib/libz.a   -latomic -lm && :
ld: error: relocation R_AARCH64_ADR_PREL_PG_HI21 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

ld: error: can't create dynamic relocation R_AARCH64_ADD_ABS_LO12_NC against symbol: z_errmsg in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> 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)
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: android-aarch64-qt6-svg