You are not logged in.

#1 2023-03-19 09:58:59

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

[SOLVED] Error while building cryptomator 1.7.3-1 from AUR

As in the topic - here's what I get:

$ export_LANG=C makepkg --syncdeps
==> Tworzenie pakietu: cryptomator 1.7.3-1 (nie, 19 mar 2023, 10:52:00)
==> Sprawdzanie zależności potrzebnych do uruchomienia...
==> Sprawdzanie zależności potrzebnych do budowy...
==> Pobieranie źródeł...
  -> Znaleziono cryptomator-1.7.3.tar.gz
  -> Znaleziono cryptomator-1.7.3.tar.gz.asc
==> Sprawdzanie plików source za pomocą sha256sums...
    cryptomator-1.7.3.tar.gz ... Zgadza się
    cryptomator-1.7.3.tar.gz.asc ... Pominięto
==> Weryfikowanie podpisów plików źródłowych za pomocą gpg...
    cryptomator-1.7.3.tar.gz ... Zgadza się
==> Rozpakowywanie źródeł...
  -> Rozpakowywanie cryptomator-1.7.3.tar.gz za pomocą bsdtar
==> Rozpoczynanie prepare()...
  java-19-openjdk (default)
javafx.version=19.0.2.1-internal
==> Usuwanie istniejącego katalogu $pkgdir/...
==> Rozpoczynanie build()...
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< org.cryptomator:cryptomator >---------------------
[INFO] Building Cryptomator Desktop App 1.7.3
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.15.0:set (default-cli) @ cryptomator ---
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3
[INFO] Processing change of org.cryptomator:cryptomator:1.7.3 -> 1.7.3
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.628 s
[INFO] Finished at: 2023-03-19T10:52:03+01:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< org.cryptomator:cryptomator >---------------------
[INFO] Building Cryptomator Desktop App 1.7.3
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cryptomator ---
[INFO] Deleting /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target
[INFO] 
[INFO] --- license-maven-plugin:2.0.0:add-third-party (add-third-party) @ cryptomator ---
[WARNING] 
[WARNING] licenseMerges will be overridden by licenseMergesUrl.
[WARNING] 
[INFO] Writing third-party file to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/generated-sources/license/THIRD-PARTY.txt
[INFO] 
[INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ cryptomator ---
[INFO] Copying 157 resources
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ cryptomator ---
[INFO] Required filename-based automodules detected: [commons-cli-1.5.0.jar, javax.inject-1.jar]. Please don't publish this project to a public artifact repository!
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 290 source files to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/classes
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/main/java/org/cryptomator/ui/recoverykey/WordEncoder.java: Some input files use unchecked or unsafe operations.
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/main/java/org/cryptomator/ui/recoverykey/WordEncoder.java: Recompile with -Xlint:unchecked for details.
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/main/java/org/cryptomator/ui/common/VaultService.java: /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/main/java/org/cryptomator/ui/common/VaultService.java uses preview features of Java SE 19.
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/main/java/org/cryptomator/ui/common/VaultService.java: Recompile with -Xlint:preview for details.
[INFO] 
[INFO] --- exec-maven-plugin:3.1.0:java (compile-light-theme) @ cryptomator ---
[INFO] 
[INFO] --- exec-maven-plugin:3.1.0:java (compile-dark-theme) @ cryptomator ---
[INFO] 
[INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ cryptomator ---
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ cryptomator ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/test-classes
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/test/java/org/cryptomator/ui/recoverykey/RecoveryKeyFactoryTest.java: /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/test/java/org/cryptomator/ui/recoverykey/RecoveryKeyFactoryTest.java uses unchecked or unsafe operations.
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/test/java/org/cryptomator/ui/recoverykey/RecoveryKeyFactoryTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ cryptomator ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-dependency-plugin:3.3.0:copy-dependencies (copy-mods) @ cryptomator ---
[INFO] Copying cryptofs-2.6.2.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/cryptofs-2.6.2.jar
[INFO] Copying cryptolib-2.1.2.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/cryptolib-2.1.2.jar
[INFO] Copying siv-mode-1.4.4.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/siv-mode-1.4.4.jar
[INFO] Copying fuse-nio-adapter-2.0.4.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/fuse-nio-adapter-2.0.4.jar
[INFO] Copying jfuse-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-0.4.1.jar
[INFO] Copying jfuse-api-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-api-0.4.1.jar
[INFO] Copying jfuse-linux-aarch64-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-linux-aarch64-0.4.1.jar
[INFO] Copying jfuse-linux-amd64-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-linux-amd64-0.4.1.jar
[INFO] Copying jfuse-mac-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-mac-0.4.1.jar
[INFO] Copying jfuse-win-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-win-0.4.1.jar
[INFO] Copying caffeine-3.1.4.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/caffeine-3.1.4.jar
[INFO] Copying dokany-nio-adapter-2.0.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/dokany-nio-adapter-2.0.0.jar
[INFO] Copying jna-jpms-5.12.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jna-jpms-5.12.1.jar
[INFO] Copying jna-platform-jpms-5.12.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jna-platform-jpms-5.12.1.jar
[INFO] Copying commons-cli-1.5.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/commons-cli-1.5.0.jar
[INFO] Copying webdav-nio-adapter-2.0.2.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/webdav-nio-adapter-2.0.2.jar
[INFO] Copying webdav-nio-adapter-servlet-1.2.3.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/webdav-nio-adapter-servlet-1.2.3.jar
[INFO] Copying jetty-server-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-server-10.0.14.jar
[INFO] Copying jetty-servlet-api-4.0.6.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-servlet-api-4.0.6.jar
[INFO] Copying jetty-http-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-http-10.0.14.jar
[INFO] Copying jetty-util-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-util-10.0.14.jar
[INFO] Copying jetty-io-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-io-10.0.14.jar
[INFO] Copying jetty-servlet-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-servlet-10.0.14.jar
[INFO] Copying jetty-security-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-security-10.0.14.jar
[INFO] Copying integrations-api-1.2.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/integrations-api-1.2.0.jar
[INFO] Copying slf4j-api-2.0.6.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/slf4j-api-2.0.6.jar
[INFO] Copying logback-core-1.4.5.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/logback-core-1.4.5.jar
[INFO] Copying logback-classic-1.4.5.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/logback-classic-1.4.5.jar
[INFO] Copying commons-lang3-3.12.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/commons-lang3-3.12.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.723 s
[INFO] Finished at: 2023-03-19T10:52:09+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.3.0:copy-dependencies (copy-mods) on project cryptomator: Error copying artifact from /home/zbigniew/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/commons-lang3-3.12.0.jar: /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/commons-lang3-3.12.0.jar: Zły argument -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
==> BŁĄD: Wystąpił błąd w build().
    Przerywam...

Help appreciated :-)

Last edited by Zibi1981 (2023-03-25 14:34:08)


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#2 2023-03-19 11:46:29

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: [SOLVED] Error while building cryptomator 1.7.3-1 from AUR

export_LANG=C makepkg --syncdeps

replace the _  between export and LANG with a space .

Copying commons-lang3-3.12.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/commons-lang3-3.12.0.jar

Something goes wrong when copying that . Are you building on tmpfs ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2023-03-21 21:26:54

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

Re: [SOLVED] Error while building cryptomator 1.7.3-1 from AUR

Lone_Wolf wrote:

Something goes wrong when copying that . Are you building on tmpfs ?

I don't think so, although I've relocated some folders to tmpfs to reduce SSD usage - here's a snippet of my /etc/fstab file

# SSD tweak
tmpfs   /tmp       tmpfs   defaults,noatime,mode=1777   0  0
tmpfs   /var/spool tmpfs   defaults,noatime,mode=1777   0  0
tmpfs   /var/tmp   tmpfs   defaults,noatime,mode=1777   0  0
$ LANG=C makepkg --syncdeps
==> Making package: cryptomator 1.7.3-1 (Tue Mar 21 22:21:23 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found cryptomator-1.7.3.tar.gz
  -> Found cryptomator-1.7.3.tar.gz.asc
==> Validating source files with sha256sums...
    cryptomator-1.7.3.tar.gz ... Passed
    cryptomator-1.7.3.tar.gz.asc ... Skipped
==> Verifying source file signatures with gpg...
    cryptomator-1.7.3.tar.gz ... Passed
==> Extracting sources...
  -> Extracting cryptomator-1.7.3.tar.gz with bsdtar
==> Starting prepare()...
  java-19-openjdk (default)
javafx.version=19.0.2.1-internal
==> Removing existing $pkgdir/ directory...
==> Starting build()...
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< org.cryptomator:cryptomator >---------------------
[INFO] Building Cryptomator Desktop App 1.7.3
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.15.0:set (default-cli) @ cryptomator ---
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3
[INFO] Processing change of org.cryptomator:cryptomator:1.7.3 -> 1.7.3
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.381 s
[INFO] Finished at: 2023-03-21T22:21:26+01:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< org.cryptomator:cryptomator >---------------------
[INFO] Building Cryptomator Desktop App 1.7.3
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cryptomator ---
[INFO] Deleting /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target
[INFO] 
[INFO] --- license-maven-plugin:2.0.0:add-third-party (add-third-party) @ cryptomator ---
[WARNING] 
[WARNING] licenseMerges will be overridden by licenseMergesUrl.
[WARNING] 
[INFO] Writing third-party file to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/generated-sources/license/THIRD-PARTY.txt
[INFO] 
[INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ cryptomator ---
[INFO] Copying 157 resources
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ cryptomator ---
[INFO] Required filename-based automodules detected: [commons-cli-1.5.0.jar, javax.inject-1.jar]. Please don't publish this project to a public artifact repository!
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 290 source files to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/classes
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/main/java/org/cryptomator/ui/recoverykey/WordEncoder.java: Some input files use unchecked or unsafe operations.
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/main/java/org/cryptomator/ui/recoverykey/WordEncoder.java: Recompile with -Xlint:unchecked for details.
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/main/java/org/cryptomator/ui/common/VaultService.java: /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/main/java/org/cryptomator/ui/common/VaultService.java uses preview features of Java SE 19.
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/main/java/org/cryptomator/ui/common/VaultService.java: Recompile with -Xlint:preview for details.
[INFO] 
[INFO] --- exec-maven-plugin:3.1.0:java (compile-light-theme) @ cryptomator ---
[INFO] 
[INFO] --- exec-maven-plugin:3.1.0:java (compile-dark-theme) @ cryptomator ---
[INFO] 
[INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ cryptomator ---
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ cryptomator ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/test-classes
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/test/java/org/cryptomator/ui/recoverykey/RecoveryKeyFactoryTest.java: /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/test/java/org/cryptomator/ui/recoverykey/RecoveryKeyFactoryTest.java uses unchecked or unsafe operations.
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/test/java/org/cryptomator/ui/recoverykey/RecoveryKeyFactoryTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ cryptomator ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-dependency-plugin:3.3.0:copy-dependencies (copy-mods) @ cryptomator ---
[INFO] Copying cryptofs-2.6.2.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/cryptofs-2.6.2.jar
[INFO] Copying cryptolib-2.1.2.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/cryptolib-2.1.2.jar
[INFO] Copying siv-mode-1.4.4.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/siv-mode-1.4.4.jar
[INFO] Copying fuse-nio-adapter-2.0.4.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/fuse-nio-adapter-2.0.4.jar
[INFO] Copying jfuse-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-0.4.1.jar
[INFO] Copying jfuse-api-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-api-0.4.1.jar
[INFO] Copying jfuse-linux-aarch64-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-linux-aarch64-0.4.1.jar
[INFO] Copying jfuse-linux-amd64-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-linux-amd64-0.4.1.jar
[INFO] Copying jfuse-mac-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-mac-0.4.1.jar
[INFO] Copying jfuse-win-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-win-0.4.1.jar
[INFO] Copying caffeine-3.1.4.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/caffeine-3.1.4.jar
[INFO] Copying dokany-nio-adapter-2.0.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/dokany-nio-adapter-2.0.0.jar
[INFO] Copying jna-jpms-5.12.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jna-jpms-5.12.1.jar
[INFO] Copying jna-platform-jpms-5.12.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jna-platform-jpms-5.12.1.jar
[INFO] Copying commons-cli-1.5.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/commons-cli-1.5.0.jar
[INFO] Copying webdav-nio-adapter-2.0.2.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/webdav-nio-adapter-2.0.2.jar
[INFO] Copying webdav-nio-adapter-servlet-1.2.3.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/webdav-nio-adapter-servlet-1.2.3.jar
[INFO] Copying jetty-server-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-server-10.0.14.jar
[INFO] Copying jetty-servlet-api-4.0.6.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-servlet-api-4.0.6.jar
[INFO] Copying jetty-http-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-http-10.0.14.jar
[INFO] Copying jetty-util-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-util-10.0.14.jar
[INFO] Copying jetty-io-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-io-10.0.14.jar
[INFO] Copying jetty-servlet-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-servlet-10.0.14.jar
[INFO] Copying jetty-security-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-security-10.0.14.jar
[INFO] Copying integrations-api-1.2.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/integrations-api-1.2.0.jar
[INFO] Copying slf4j-api-2.0.6.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/slf4j-api-2.0.6.jar
[INFO] Copying logback-core-1.4.5.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/logback-core-1.4.5.jar
[INFO] Copying logback-classic-1.4.5.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/logback-classic-1.4.5.jar
[INFO] Copying commons-lang3-3.12.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/commons-lang3-3.12.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.992 s
[INFO] Finished at: 2023-03-21T22:21:32+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.3.0:copy-dependencies (copy-mods) on project cryptomator: Error copying artifact from /home/zbigniew/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/commons-lang3-3.12.0.jar: /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/commons-lang3-3.12.0.jar: Invalid argument -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
==> ERROR: A failure occurred in build().
    Aborting...

"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#4 2023-03-22 09:32:07

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: [SOLVED] Error while building cryptomator 1.7.3-1 from AUR

Spreading the error message over multiple lines to make it more readable

Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.3.0:copy-dependencies (copy-mods) on project cryptomator: 
Error copying artifact from /home/zbigniew/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar 
to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/commons-lang3-3.12.0.jar: 
/home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/commons-lang3-3.12.0.jar: Invalid argument -> [Help 1]
[ERROR] 
Error copying artifact from /home/zbigniew/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar 

This is somewhat weird, that file is present in several archlinux packages . Why would maven use a file from your homefolder instead of systemwide ?

Do you have more then 1 maven install ? post output of type maven .

Does it help if you remove that file from ~/.m2 subfolder ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2023-03-22 09:45:13

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

Re: [SOLVED] Error while building cryptomator 1.7.3-1 from AUR

Here's what I get

$ LANG=C type maven
bash: type: maven: not found

$ pacman -Qs maven
local/maven 3.8.7-1
    Java project management and project comprehension tool

Removing ~/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar didn't help.

$ LANG=C makepkg --syncdeps
==> Making package: cryptomator 1.7.3-1 (Wed Mar 22 10:43:43 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found cryptomator-1.7.3.tar.gz
  -> Found cryptomator-1.7.3.tar.gz.asc
==> Validating source files with sha256sums...
    cryptomator-1.7.3.tar.gz ... Passed
    cryptomator-1.7.3.tar.gz.asc ... Skipped
==> Verifying source file signatures with gpg...
    cryptomator-1.7.3.tar.gz ... Passed
==> Extracting sources...
  -> Extracting cryptomator-1.7.3.tar.gz with bsdtar
==> Starting prepare()...
  java-19-openjdk (default)
javafx.version=19.0.2.1-internal
==> Removing existing $pkgdir/ directory...
==> Starting build()...
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< org.cryptomator:cryptomator >---------------------
[INFO] Building Cryptomator Desktop App 1.7.3
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.15.0:set (default-cli) @ cryptomator ---
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar (587 kB at 732 kB/s)
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3
[INFO] Processing change of org.cryptomator:cryptomator:1.7.3 -> 1.7.3
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.338 s
[INFO] Finished at: 2023-03-22T10:43:46+01:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< org.cryptomator:cryptomator >---------------------
[INFO] Building Cryptomator Desktop App 1.7.3
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cryptomator ---
[INFO] Deleting /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target
[INFO] 
[INFO] --- license-maven-plugin:2.0.0:add-third-party (add-third-party) @ cryptomator ---
[WARNING] 
[WARNING] licenseMerges will be overridden by licenseMergesUrl.
[WARNING] 
[INFO] Writing third-party file to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/generated-sources/license/THIRD-PARTY.txt
[INFO] 
[INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ cryptomator ---
[INFO] Copying 157 resources
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ cryptomator ---
[INFO] Required filename-based automodules detected: [commons-cli-1.5.0.jar, javax.inject-1.jar]. Please don't publish this project to a public artifact repository!
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 290 source files to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/classes
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/main/java/org/cryptomator/ui/recoverykey/WordEncoder.java: Some input files use unchecked or unsafe operations.
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/main/java/org/cryptomator/ui/recoverykey/WordEncoder.java: Recompile with -Xlint:unchecked for details.
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/main/java/org/cryptomator/ui/common/VaultService.java: /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/main/java/org/cryptomator/ui/common/VaultService.java uses preview features of Java SE 19.
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/main/java/org/cryptomator/ui/common/VaultService.java: Recompile with -Xlint:preview for details.
[INFO] 
[INFO] --- exec-maven-plugin:3.1.0:java (compile-light-theme) @ cryptomator ---
[INFO] 
[INFO] --- exec-maven-plugin:3.1.0:java (compile-dark-theme) @ cryptomator ---
[INFO] 
[INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ cryptomator ---
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ cryptomator ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/test-classes
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/test/java/org/cryptomator/ui/recoverykey/RecoveryKeyFactoryTest.java: /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/test/java/org/cryptomator/ui/recoverykey/RecoveryKeyFactoryTest.java uses unchecked or unsafe operations.
[INFO] /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/src/test/java/org/cryptomator/ui/recoverykey/RecoveryKeyFactoryTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ cryptomator ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-dependency-plugin:3.3.0:copy-dependencies (copy-mods) @ cryptomator ---
[INFO] Copying cryptofs-2.6.2.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/cryptofs-2.6.2.jar
[INFO] Copying cryptolib-2.1.2.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/cryptolib-2.1.2.jar
[INFO] Copying siv-mode-1.4.4.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/siv-mode-1.4.4.jar
[INFO] Copying fuse-nio-adapter-2.0.4.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/fuse-nio-adapter-2.0.4.jar
[INFO] Copying jfuse-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-0.4.1.jar
[INFO] Copying jfuse-api-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-api-0.4.1.jar
[INFO] Copying jfuse-linux-aarch64-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-linux-aarch64-0.4.1.jar
[INFO] Copying jfuse-linux-amd64-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-linux-amd64-0.4.1.jar
[INFO] Copying jfuse-mac-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-mac-0.4.1.jar
[INFO] Copying jfuse-win-0.4.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jfuse-win-0.4.1.jar
[INFO] Copying caffeine-3.1.4.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/caffeine-3.1.4.jar
[INFO] Copying dokany-nio-adapter-2.0.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/dokany-nio-adapter-2.0.0.jar
[INFO] Copying jna-jpms-5.12.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jna-jpms-5.12.1.jar
[INFO] Copying jna-platform-jpms-5.12.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jna-platform-jpms-5.12.1.jar
[INFO] Copying commons-cli-1.5.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/commons-cli-1.5.0.jar
[INFO] Copying webdav-nio-adapter-2.0.2.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/webdav-nio-adapter-2.0.2.jar
[INFO] Copying webdav-nio-adapter-servlet-1.2.3.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/webdav-nio-adapter-servlet-1.2.3.jar
[INFO] Copying jetty-server-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-server-10.0.14.jar
[INFO] Copying jetty-servlet-api-4.0.6.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-servlet-api-4.0.6.jar
[INFO] Copying jetty-http-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-http-10.0.14.jar
[INFO] Copying jetty-util-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-util-10.0.14.jar
[INFO] Copying jetty-io-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-io-10.0.14.jar
[INFO] Copying jetty-servlet-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-servlet-10.0.14.jar
[INFO] Copying jetty-security-10.0.14.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jetty-security-10.0.14.jar
[INFO] Copying integrations-api-1.2.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/integrations-api-1.2.0.jar
[INFO] Copying slf4j-api-2.0.6.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/slf4j-api-2.0.6.jar
[INFO] Copying logback-core-1.4.5.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/logback-core-1.4.5.jar
[INFO] Copying logback-classic-1.4.5.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/logback-classic-1.4.5.jar
[INFO] Copying commons-lang3-3.12.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/commons-lang3-3.12.0.jar
[INFO] Copying tiny-oauth2-client-0.5.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/tiny-oauth2-client-0.5.1.jar
[INFO] Copying java-jwt-4.3.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/java-jwt-4.3.0.jar
[INFO] Copying jackson-databind-2.13.4.2.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jackson-databind-2.13.4.2.jar
[INFO] Copying jackson-annotations-2.13.4.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jackson-annotations-2.13.4.jar
[INFO] Copying jackson-core-2.13.4.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jackson-core-2.13.4.jar
[INFO] Copying nimbus-jose-jwt-9.31.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/nimbus-jose-jwt-9.31.jar
[INFO] Copying jcip-annotations-1.0-1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/jcip-annotations-1.0-1.jar
[INFO] Copying easybind-2.2.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/easybind-2.2.jar
[INFO] Copying zxcvbn-1.7.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/zxcvbn-1.7.0.jar
[INFO] Copying guava-31.1-jre.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/guava-31.1-jre.jar
[INFO] Copying failureaccess-1.0.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/failureaccess-1.0.1.jar
[INFO] Copying dagger-2.45.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/dagger-2.45.jar
[INFO] Copying javax.inject-1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/javax.inject-1.jar
[INFO] Copying gson-2.10.1.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/gson-2.10.1.jar
[INFO] Copying integrations-linux-1.2.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/integrations-linux-1.2.0.jar
[INFO] Copying hkdf-1.1.0.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/mods/hkdf-1.1.0.jar
[INFO] 
[INFO] --- maven-dependency-plugin:3.3.0:copy-dependencies (copy-libs) @ cryptomator ---
[INFO] Copying jackrabbit-webdav-2.21.15.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/libs/jackrabbit-webdav-2.21.15.jar
[INFO] Copying httpcore-4.4.16.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/libs/httpcore-4.4.16.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.929 s
[INFO] Finished at: 2023-03-22T10:43:51+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.3.0:copy-dependencies (copy-libs) on project cryptomator: Error copying artifact from /home/zbigniew/.m2/repository/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar to /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/libs/httpcore-4.4.16.jar: /home/zbigniew/Pobrane/AUR/Cryptomator/cryptomator/src/cryptomator-1.7.3/target/libs/httpcore-4.4.16.jar: Invalid argument -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
==> ERROR: A failure occurred in build().
    Aborting...

"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#6 2023-03-22 09:52:41

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: [SOLVED] Error while building cryptomator 1.7.3-1 from AUR

Zibi1981 wrote:

Here's what I get

$ LANG=C type maven
bash: type: maven: not found

$ pacman -Qs maven
local/maven 3.8.7-1
    Java project management and project comprehension tool

ooops, wrong command as maven uses mvn .  type mvn .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2023-03-22 21:55:47

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

Re: [SOLVED] Error while building cryptomator 1.7.3-1 from AUR

$ LANG=C type mvn
mvn is /usr/bin/mvn

"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#8 2023-03-23 09:12:14

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: [SOLVED] Error while building cryptomator 1.7.3-1 from AUR

So no indications of a second maven install.

building cryptomator in a clean chroot (which downloads lots of stuff because it's not present in the chroot)  does work.
What is the output of pacman -Qkk maven ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#9 2023-03-23 21:41:44

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

Re: [SOLVED] Error while building cryptomator 1.7.3-1 from AUR

$ LANG=C pacman -Qkk maven
maven: 92 total files, 0 altered files

"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#10 2023-03-24 10:13:31

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: [SOLVED] Error while building cryptomator 1.7.3-1 from AUR

some more things to try :

add --cleanbuild to the makepkg  command , test.

remove (or backup if you think there may be some stuff worth saving in it) the entire ~/.m2 folder . logout and re-login , test .

create a new (temporary) user, login as it, git clone the package and test.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#11 2023-03-25 14:33:47

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

Re: [SOLVED] Error while building cryptomator 1.7.3-1 from AUR

The first option didn't help, but renaming folder ~/.m2 did the trick, and finally I was able to build and install Cryptomator. The makepkg seemed to download a lot of stuff and created another ~/.m2 folder, so it seems previous one had something broken.

Thanks :-)


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

Board footer

Powered by FluxBB