Package Details: tuxguitar-common 1.5.6-5

Git Clone URL: https://aur.archlinux.org/tuxguitar.git (read-only, click to copy)
Package Base: tuxguitar
Description: multitrack guitar tablature editor and player
Upstream URL: https://sourceforge.net/projects/tuxguitar/
Licenses: LGPL
Submitter: Barthalion
Maintainer: buzo
Last Packager: buzo
Votes: 57
Popularity: 1.49
First Submitted: 2018-01-05 17:06 (UTC)
Last Updated: 2023-10-09 17:28 (UTC)

Dependencies (10)

Sources (3)

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

buzo commented on 2023-10-09 17:29 (UTC)

Thanks hildigerr and Ranguvar – should be fixed.

Ranguvar commented on 2023-10-08 22:47 (UTC) (edited on 2023-10-09 02:09 (UTC) by Ranguvar)

The dependency on jre-openjdk is causing issues with the new jdk-openjdk in [extra-testing] which replaces the JRE entirely for people who need not only a runtime but also to develop using the JDK.

I believe the dependency should be changed from jre-openjdk to one of the options that jdk-openjdk now provides.

provides=("java-environment=${_majorver}" "java-environment-openjdk=${_majorver}" "jdk${_majorver}-openjdk=${pkgver}-${pkgrel}" "java-runtime=${_majorver}" "java-runtime-openjdk=${_majorver}" "jre${_majorver}-openjdk=${pkgver}-${pkgrel}" "java-runtime-headless=${_majorver}" "java-runtime-headless-openjdk=${_majorver}" "jre${_majorver}-openjdk-headless=${pkgver}-${pkgrel}")

See the last few commits here: https://gitlab.archlinux.org/archlinux/packaging/packages/java-openjdk/-/commits/main

Thank you.

hildigerr commented on 2023-09-28 01:49 (UTC)

To solve the LinkageError, I added "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/jvm/default/lib/server" to /usr/share/tuxguitar/tuxguitar.sh at the end of the LIBRARY_PATH section.

Mr.Smith1974 commented on 2023-09-27 21:09 (UTC)

% tuxguitar
Error: LinkageError occurred while loading main class org.herac.tuxguitar.app.TGMainSingleton
        java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-21-openjdk/lib/libnio.so: /usr/lib/jvm/java-21-openjdk/lib/libnio.so: undefined symbol: reuseport_available
Runtime.exit(1) logging failed: Could not initialize class jdk.internal.module.SystemModuleFinders$SystemImage

buzo commented on 2023-09-27 18:46 (UTC)

thanks, fixed

hildigerr commented on 2023-09-27 06:37 (UTC)

The source and target compiler version needs updating as so:

diff --git a/PKGBUILD b/PKGBUILD
index c2c327c..3c7fdc3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,10 +29,9 @@ esac

 prepare() {
   cd tuxguitar-$pkgver-src
-  for file in pom.xml TuxGuitar-lib/pom.xml; do
-      sed -i -e 's|<source>1\.6</source>|<source>1\.7</source>|g' \
-             -e 's|<target>1\.6</target>|<target>1\.7</target>|g' "$file"
-  done
+  find . -type f -name "*pom.xml" -exec \
+      sed -i -e 's|<source>1\.7</source>|<source>1\.8</source>|g' \
+             -e 's|<target>1\.7</target>|<target>1\.8</target>|g' {} \;
   sed -i 's|http://maven-eclipse.github.io/maven|https://maven-eclipse.github.io/maven|' pom.xml
 }

Mr.Smith1974 commented on 2023-09-27 05:06 (UTC)

Not building:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.518 s
[INFO] Finished at: 2023-09-27T08:03:03+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project gervill: Compilation failure: Compilation failure: 
[ERROR] Source option 7 is no longer supported. Use 8 or later.
[ERROR] Target option 7 is no longer supported. Use 8 or later.
[ERROR] -> [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/MojoFailureException

rosenberg commented on 2023-06-24 16:10 (UTC) (edited on 2023-06-24 16:10 (UTC) by rosenberg)

Doesn't compile anymore:

[ERROR] Source option 7 is no longer supported. Use 8 or later.
[ERROR] Target option 7 is no longer supported. Use 8 or later.

mio-19 commented on 2023-06-19 23:04 (UTC)

On aarch64:

[INFO] Installing /home/user/.cache/paru/clone/tuxguitar/src/tuxguitar-1.5.6-src/pom.xml to /home/user/.cache/paru/clone/tuxguitar/src/.m2/repository/org/herac/tuxguitar/tuxguitar-pom/1.5.6/tuxguitar-pom-1.5.6.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  26.133 s
[INFO] Finished at: 2023-06-20T01:26:56+08:00
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "platform-linux-aarch64" could not be activated because it does not exist.
/home/user/.cache/paru/clone/tuxguitar/PKGBUILD: line 47: cd: build-scripts/tuxguitar-linux-aarch64: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'tuxguitar-1.5.6-3 (tuxguitar-common tuxguitar)': 
error: packages failed to build: tuxguitar-1.5.6-3 (tuxguitar-common tuxguitar)

Is it possible to add arm/aarch64 support?