JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
16.15k stars 1.17k forks source link

Can not build ImageViewer distribution on Arm device #3926

Closed shalva97 closed 11 months ago

shalva97 commented 11 months ago

Describe the bug ./gradlew :desktop:packageDistributionForCurrentOS fails with:

kde@manjaro-arm ~/c/e/imageviewer (master)> ./gradlew :desktopApp:packageDistributionForCurrentOS

> Configure project :androidApp
WARNING: Accessing value buildConfigFields in variant debug has no effect as the feature buildConfig is disabled.
WARNING: Accessing value buildConfigFields in variant release has no effect as the feature buildConfig is disabled.

> Configure project :shared

Please wait while Kotlin/Native compiler 1.9.20 is being installed.
Download https://download.jetbrains.com/kotlin/native/builds/releases/1.9.20/linux-aarch64/kotlin-native-prebuilt-linux-aarch64-1.9.20.tar.gz

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Build file '/home/kde/compose-multiplatform/examples/imageviewer/shared/build.gradle.kts' line: 18

* What went wrong:
Could not resolve all files for configuration ':shared:detachedConfiguration6'.
> Could not find :kotlin-native-prebuilt-linux-aarch64:1.9.20.
  Searched in the following locations:
    - https://download.jetbrains.com/kotlin/native/builds/releases/1.9.20/linux-aarch64/kotlin-native-prebuilt-linux-aarch64-1.9.20.tar.gz
  Required by:
      project :shared

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.
-----------
* Where:
Build file '/home/kde/compose-multiplatform/examples/imageviewer/shared/build.gradle.kts' line: 18

* What went wrong:
Could not resolve all files for configuration ':shared:detachedConfiguration6'.
> Could not find :kotlin-native-prebuilt-linux-aarch64:1.9.20.
  Searched in the following locations:
    - https://download.jetbrains.com/kotlin/native/builds/releases/1.9.20/linux-aarch64/kotlin-native-prebuilt-linux-aarch64-1.9.20.tar.gz
  Required by:
      project :shared

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.2.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 15s

Affected platforms Select one of the platforms below:

Versions

To Reproduce

Expected behavior It will build a distribution for Linux and build will be successful

pjBooms commented 11 months ago

What if you disable iOS targets (commenting block starting with `listOf(iosX64() ) in shared/build.gradle.kts and try again?

shalva97 commented 11 months ago

There is a bit more progress. THe build now fails with:

kde@manjaro-arm ~/c/e/imageviewer (master) [1]> ./gradlew :desktopApp:packageDistributionForCurrentOS

> Configure project :androidApp
WARNING: Accessing value buildConfigFields in variant debug has no effect as the feature buildConfig is disabled.
WARNING: Accessing value buildConfigFields in variant release has no effect as the feature buildConfig is disabled.

> Task :desktopApp:packageDeb FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':desktopApp:packageDeb'.
> External tool execution failed:
  * Command: [/usr/lib/jvm/java-17-openjdk/bin/jpackage, @/home/kde/compose-multiplatform/examples/imageviewer/desktopApp/build/compose/tmp/packageDeb.args.txt]
  * Working dir: []
  * Exit code: 1
  * Standard output log: /home/kde/compose-multiplatform/examples/imageviewer/desktopApp/build/compose/logs/packageDeb/jpackage-2023-11-14-09-12-00-out.txt
  * Error log: /home/kde/compose-multiplatform/examples/imageviewer/desktopApp/build/compose/logs/packageDeb/jpackage-2023-11-14-09-12-00-err.txt

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.2.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 35s
14 actionable tasks: 4 executed, 10 up-to-date

and in the jpackage logs:

kde@manjaro-arm ~/c/e/i/d/b/c/l/packageDeb (master)> cat jpackage-2023-11-14-09-07-50-err.txt
Error: Invalid or unsupported type: [deb]

So then i tried to build Rpm variant and got similar message: Error: Invalid or unsupported type: [rpm]

Maybe jpackage does not support Arm Linux? what else I could try?

pjBooms commented 11 months ago

Please check this requirements for jpackage on Linux: https://docs.oracle.com/en/java/javase/17/jpackage/packaging-overview.html#GUID-786E15C0-2CE7-4BDF-9B2F-AC1C57249134

shalva97 commented 11 months ago

Tried to install fakeroot but did not help, then I found this and installed dpkg, after that the build was successful. In the build folder a imageviewer_1.0.0-1_arm64.deb file was created.

When installing it with sudo dpkg -i imageviewer_1.0.0-1_arm64.deb failed with

kde@manjaro-arm ~/c/e/i/d/b/c/b/m/deb (master)> sudo dpkg -i imageviewer_1.0.0-1_arm64.deb
(Reading database ... 165 files and directories currently installed.)
Preparing to unpack imageviewer_1.0.0-1_arm64.deb ...
Unpacking imageviewer (1.0.0-1) over (1.0.0-1) ...
dpkg: dependency problems prevent configuration of imageviewer:
 imageviewer depends on xdg-utils; however:
  Package xdg-utils is not installed.

dpkg: error processing package imageviewer (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 imageviewer

But it is strange because xdg-utils is installed:

kde@manjaro-arm ~/c/e/i/d/b/c/b/m/deb (master) [1]> sudo pacman -S xdg-utils
warning: xdg-utils-1.1.3+45+g301a1a4-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) xdg-utils-1.1.3+45+g301a1a4-1

Total Installed Size:  0.28 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]

Later I tried using debtab as it was written here https://unix.stackexchange.com/a/457734/319504. Also it looks like previous command did half the work so there was few files present in /opt/imageviewer. Anyways, package installation failed with error: command failed to execute correctly

kde@manjaro-arm ~/c/e/i/d/b/c/b/m/deb (master)> sudo debtap -u
[sudo] password for kde:
==> Synchronizing pkgfile database...
:: Updating 3 repos...
  download complete: community            [    29.0   B  34.0B/s  2 remaining]
  download complete: core                 [     2.7 MiB  1230K/s  1 remaining]
  download complete: extra                [    35.1 MiB  2.90M/s  0 remaining]
:: download complete in 12.10s            <    37.8 MiB  3.12M/s  3 files    >
:: waiting for 1 process to finish repacking repos...
==> Synchronizing debtap database...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12.0M  100 12.0M    0     0  2844k      0  0:00:04  0:00:04 --:--:-- 2845k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 55512  100 55512    0     0   194k      0 --:--:-- --:--:-- --:--:--  197k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 42067  100 42067    0     0   148k      0 --:--:-- --:--:-- --:--:--  149k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 48.9M  100 48.9M    0     0  3127k      0  0:00:16  0:00:16 --:--:-- 3309k
==> Downloading latest virtual packages list...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 14118  100 14118    0     0  11888      0  0:00:01  0:00:01 --:--:-- 11888
==> Downloading latest AUR packages list...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  425k  100  425k    0     0   379k      0  0:00:01  0:00:01 --:--:--  380k
==> Generating base group packages list...
==> All steps successfully completed!
kde@manjaro-arm ~/c/e/i/d/b/c/b/m/deb (master)> deptap
^C⏎                                                                                                                     kde@manjaro-arm ~/c/e/i/d/b/c/b/m/deb (master)> debtap imageviewer_1.0.0-1_arm64.deb
==> Extracting package data...
==> Fixing possible directories structure differencies...
==> Generating .PKGINFO file...

:: Enter Packager name (can be left blank):

:: Enter package license (can be left blank, you can enter multiple licenses comma separated):

*** Creation of .PKGINFO file in progress. It may take a few minutes, please wait...

grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /

Warning: These provisions (provides =   fields) could not be translated into Arch Linux packages names:
imageviewer

==> Checking and generating .INSTALL file (if necessary)...

:: If you want to edit .PKGINFO and .INSTALL files (in this order), press (1) For vi (2) For nano (3) For default editor (4) For a custom editor or any other key to continue:

==> Generating .MTREE file...

==> Creating final package...

==> Package successfully created!
==> Removing leftover files...
kde@manjaro-arm ~/c/e/i/d/b/c/b/m/deb (master)>
kde@manjaro-arm ~/c/e/i/d/b/c/b/m/deb (master)> ls
imageviewer-1.0.0-1-aarch64.pkg.tar.zst  imageviewer_1.0.0-1_arm64.deb
kde@manjaro-arm ~/c/e/i/d/b/c/b/m/deb (master)> sudo pacman -U imageviewer-1.0.0-1-aarch64.pkg.tar.zst
[sudo] password for kde:
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) imageviewer-1.0.0-1

Total Installed Size:  128.47 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                           [########################################] 100%
(1/1) checking package integrity                                         [########################################] 100%
(1/1) loading package files                                              [########################################] 100%
(1/1) checking for file conflicts                                        [########################################] 100%
error: failed to commit transaction (conflicting files)
imageviewer: /opt/imageviewer/bin/ImageViewer exists in filesystem
imageviewer: /opt/imageviewer/lib/ImageViewer.png exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ImageViewer.cfg exists in filesystem
imageviewer: /opt/imageviewer/lib/app/animation-core-desktop-1.5.10-c65799cdb55518dd8ec9156ecfe547d.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/animation-desktop-1.5.10-dc4e76c5a73ca9b53362d097ff8157.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/annotations-23.0.0-8484cd17d040d837983323f760b2c660.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/atomicfu-jvm-0.17.0-9031dba6d62a5163d26260e9d1bda7c.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/desktop-jvm-1.5.10-ae313f20befce47b0dec3a921ba36cd.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/desktopApp-jvm-a07573ae8de6a8a1ff7b967dfd546.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/foundation-desktop-1.5.10-45c2cb23bd21b0b11cb6ced41e2cfd3.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/foundation-layout-desktop-1.5.10-cdd18c524ef3478f5a460b4cdbbd6ff.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/kotlin-stdlib-1.9.20-405681a02b165f82fc68133482b21c.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/kotlin-stdlib-jdk7-1.8.22-7322c7a99624ed411f43661de56ad60.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/kotlin-stdlib-jdk8-1.8.22-801e8ccf2bdc17b22fbf28ea27097f2.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/kotlinx-coroutines-core-jvm-1.7.3-d191fb92ece2167e8cf5d42c63edaad7.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/kotlinx-coroutines-jdk8-1.7.3-90b72fd5993c885bcca96a3d9b695b49.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/kotlinx-coroutines-slf4j-1.7.3-97748a36f99bdc39e6f4a753469fcc8.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/kotlinx-datetime-jvm-0.4.0-924286524d17181d96514f2e806e5330.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/kotlinx-serialization-core-jvm-1.5.1-ccba77add41f0ddf1842e67d7cca27.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/kotlinx-serialization-json-jvm-1.5.1-71f8c9a97b4b5fef4fb156e3c45276da.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ktor-client-cio-jvm-2.2.1-30401a685f6b71fd475fcd28b4e9c9c.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ktor-client-core-jvm-2.2.1-db98528867dd9cac4818dca1bd73c.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ktor-events-jvm-2.2.1-5ca6582c51213fda51fe2f89e6d628b7.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ktor-http-cio-jvm-2.2.1-8d7f186eca3f4e16efcdf62ebbd1ed3.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ktor-http-jvm-2.2.1-20ce89152eff984f1fad95eaf2fe474.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ktor-io-jvm-2.2.1-eff098dd4533d306650a61226d9bdcc.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ktor-network-jvm-2.2.1-11d9e677b88bbdfe97f1521ebf30c2c9.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ktor-network-tls-jvm-2.2.1-25efac2cc8bf79167bc1426d57b2e37e.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ktor-serialization-jvm-2.2.1-86f5a1dfbb916cb3c5129d846e9b9.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ktor-utils-jvm-2.2.1-20892e3914a4cd9998367d74178ebae.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ktor-websocket-serialization-jvm-2.2.1-c69e6c3be89195a78e53f8caddc13359.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ktor-websockets-jvm-2.2.1-212794c824f71ff926dfeec7525e543.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/library-desktop-1.5.10-263a6c9165cd5640bd632a5d5d6efad.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/libskiko-linux-arm64.so exists in filesystem
imageviewer: /opt/imageviewer/lib/app/libskiko-linux-arm64.so.sha256 exists in filesystem
imageviewer: /opt/imageviewer/lib/app/mapview-desktop-desktop-1.0-SNAPSHOT-3d351f33c4d42d448745e8dbc5e9b76.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/material-desktop-1.5.10-8dd7b65f6cad403487ac7c9cc69e44f.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/material-icons-core-desktop-1.5.10-f6a07f95fbf8a15734bd4cb9d565e78.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/material-ripple-desktop-1.5.10-c1698711d0569d7038aa7262fbf994f8.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/runtime-desktop-1.5.10-1698bf91f4fdffbbb15d2b84e7e0f69e.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/runtime-saveable-desktop-1.5.10-23106c3f855ba08374d8f48c73e5bfb5.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/shared-desktop-1.0-SNAPSHOT-9b8624fcba4d4a74146299ff67a203.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/skiko-awt-0.7.85-395e38e0cf39f993f5b8156e88275a55.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/skiko-awt-runtime-linux-arm64-0.7.85-9561ca3fe986ea0cb138780fb3c73.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/slf4j-api-1.7.36-872da51f5de7f3923da4de871d57fd85.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ui-desktop-1.5.10-d885807bf67f6437d41861c835a05ea5.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ui-geometry-desktop-1.5.10-d9bbc5c91cc85c97f4ceca4ca8d7f522.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ui-graphics-desktop-1.5.10-4fb944ccc44d19adb5b511fb18acd82.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ui-text-desktop-1.5.10-73ec8b38e7e7e872486c12759c95d9b.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ui-tooling-preview-desktop-1.5.10-90fb251bf3b78b5c6ef36ea9591a46f.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ui-unit-desktop-1.5.10-b54b87337792fe78674ed5119601248.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/app/ui-util-desktop-1.5.10-9d7fac27cedddc1ab578bbf48372e777.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/imageviewer-ImageViewer.desktop exists in filesystem
imageviewer: /opt/imageviewer/lib/libapplauncher.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/conf/logging.properties exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/conf/net.properties exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/conf/sdp/sdp.conf.template exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/conf/security/java.policy exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/conf/security/java.security exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/conf/security/policy/README.txt exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/conf/security/policy/limited/default_US_export.policy exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/conf/security/policy/limited/default_local.policy exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/conf/security/policy/limited/exempt_local.policy exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/conf/security/policy/unlimited/default_US_export.policy exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/conf/security/policy/unlimited/default_local.policy exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/conf/sound.properties exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.base/ADDITIONAL_LICENSE_INFO exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.base/ASSEMBLY_EXCEPTION exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.base/LICENSE exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.base/aes.md exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.base/asm.md exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.base/c-libutl.md exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.base/cldr.md exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.base/icu.md exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.base/public_suffix.md exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.base/unicode.md exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.datatransfer/ADDITIONAL_LICENSE_INFO exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.datatransfer/ASSEMBLY_EXCEPTION exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.datatransfer/LICENSE exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.desktop/ADDITIONAL_LICENSE_INFO exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.desktop/ASSEMBLY_EXCEPTION exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.desktop/LICENSE exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.desktop/colorimaging.md exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.desktop/mesa3d.md exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.desktop/xwd.md exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.logging/ADDITIONAL_LICENSE_INFO exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.logging/ASSEMBLY_EXCEPTION exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.logging/LICENSE exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.prefs/ADDITIONAL_LICENSE_INFO exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.prefs/ASSEMBLY_EXCEPTION exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.prefs/LICENSE exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.xml/ADDITIONAL_LICENSE_INFO exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.xml/ASSEMBLY_EXCEPTION exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.xml/LICENSE exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.xml/bcel.md exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.xml/dom.md exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.xml/jcup.md exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.xml/xalan.md exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/java.xml/xerces.md exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/jdk.crypto.ec/ADDITIONAL_LICENSE_INFO exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/jdk.crypto.ec/ASSEMBLY_EXCEPTION exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/legal/jdk.crypto.ec/LICENSE exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/classlist exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/jexec exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/jrt-fs.jar exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/jspawnhelper exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/jvm.cfg exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libawt.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libawt_headless.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libawt_xawt.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libfontmanager.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libjava.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libjavajpeg.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libjawt.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libjimage.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libjli.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libjsig.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libjsound.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/liblcms.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libmlib_image.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libnet.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libnio.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libprefs.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libsplashscreen.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libverify.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/libzip.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/modules exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/psfont.properties.ja exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/psfontj2d.properties exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/security/blocked.certs exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/security/cacerts exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/security/default.policy exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/security/public_suffix_list.dat exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/server/libjsig.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/server/libjvm.so exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/lib/tzdb.dat exists in filesystem
imageviewer: /opt/imageviewer/lib/runtime/release exists in filesystem
imageviewer: /opt/imageviewer/share/doc/copyright exists in filesystem
Errors occurred, no packages were upgraded.
kde@manjaro-arm ~/c/e/i/d/b/c/b/m/deb (master) [1]> sudo rm -rf /opt/imageviewer/*
kde@manjaro-arm ~/c/e/i/d/b/c/b/m/deb (master)> sudo pacman -U imageviewer-1.0.0-1-aarch64.pkg.tar.zst
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) imageviewer-1.0.0-1

Total Installed Size:  128.47 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                           [########################################] 100%
(1/1) checking package integrity                                         [########################################] 100%
(1/1) loading package files                                              [########################################] 100%
(1/1) checking for file conflicts                                        [########################################] 100%
(1/1) checking available disk space                                      [########################################] 100%
:: Processing package changes...
/tmp/alpm_uXzr3R/.INSTALL: line 3: syntax error near unexpected token `}'
/tmp/alpm_uXzr3R/.INSTALL: line 3: `}'
/usr/bin/bash: line 1: pre_install: command not found
error: command failed to execute correctly
(1/1) installing imageviewer                                             [########################################] 100%
/tmp/alpm_k3gOsq/.INSTALL: line 3: syntax error near unexpected token `}'
/tmp/alpm_k3gOsq/.INSTALL: line 3: `}'
/usr/bin/bash: line 1: post_install: command not found
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/1) Refreshing PackageKit...
kde@manjaro-arm ~/c/e/i/d/b/c/b/m/deb (master)>

so, now I am probably going too far from the initial issue, but maybe you know how to install the above .deb package on Manjaro?

pjBooms commented 11 months ago

but maybe you know how to install the above .deb package on Manjaro?

Unfortunately, no. We don't have Manjaro in touch. Anyway the issue seems to be not related to Compose so closing it.

okushnikov commented 2 months ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.