Bug#1025274: RFS: tuxguitar/1.5.6+dfsg1-1 [QA] -- Multitrack guitar tablature editor and player
> > > ... wasn't the whole idea of Java to be arch independent? > > That's true, but Tuxguitar comes with some audio modules written in C/C++ > > (see > > build-scripts/native-modules/). > > I was able to cross compile them with aarch64-linux-gnu-gcc etc. on amd64. > > Next I will try to cross-build the whole package with sbuild (thanks for > > the > > links, Lourisvaldo). > sbuild works fine for native builds on amd64, but fails for cross-builds ... I was able to build the package for arm64 and ppc64el in Qemu. I assume it can be built on most architectures supported by Debian.
Bug#1025274: RFS: tuxguitar/1.5.6+dfsg1-1 [QA] -- Multitrack guitar tablature editor and player
> > ... wasn't the whole idea of Java to be arch independent? > That's true, but Tuxguitar comes with some audio modules written in C/C++ > (see > build-scripts/native-modules/). > I was able to cross compile them with aarch64-linux-gnu-gcc etc. on amd64. > Next I will try to cross-build the whole package with sbuild (thanks for the > links, Lourisvaldo). sbuild works fine for native builds on amd64, but fails for cross-builds (sbuild --host=arm64) with the following error: The following packages have unmet dependencies: sbuild-build-depends-main-dummy:arm64 : Depends: debhelper-compat:arm64 (= 13) Depends: maven-debian-helper:arm64 (>= 2.6) but it is not installable Depends: libmaven-antrun-plugin-java:arm64 but it is not installable Depends: libmaven-compiler-plugin-java:arm64 but it is not installable Depends: libmaven-dependency-plugin-java:arm64 but it is not installable Depends: libmaven-jar-plugin-java:arm64 but it is not installable Depends: default-jdk:arm64 but it is not going to be installed Depends: docbook-to-man:arm64 Depends: libswt-gtk-4-java:arm64 but it is not going to be installed Depends: libitext5-java:arm64 but it is not installable Depends: libasound2-dev:arm64 but it is not going to be installed Depends: libjack-jackd2-dev:arm64 but it is not going to be installed Depends: libfluidsynth-dev:arm64 but it is not going to be installed Depends: liblilv-dev:arm64 but it is not going to be installed Depends: libsuil-dev:arm64 but it is not going to be installed Depends: qtbase5-dev:arm64 but it is not going to be installed Depends: crossbuild-essential-arm64:amd64 Depends: libc-dev:arm64 Depends: libstdc++-dev:arm64 E: External solver failed with: The following packages have unmet dependencies: apt-get failed. E: Package installation failed I get the same error message when i try to cross-build other Java packages like tuxguitar-1.2 or pdfsam-4.3.4 from the Debian sources. The same happens with 'pdebuild -- --host-arch arm64'. It seems that the dependency resolver tries to install :arm64, but fails because the package is architecture-independent :all. The package inetutils-2.4 builds fine with 'sbuild --host=arm64', probably because it does not build-depend on any architecture-independent package. Of course, cross-compiling pure Java packages is not very useful, but packages that contain Java and architecture-dependent code cannot be cross-compiled either. > > The package is marked as UNRELEASED in the changelog, thus explicitly not > > for upload. I'll leave further review to someone with a clue about Java > > and Maven... > The main reason for marking the package as UNRELEASED is the unclear license > of the included "Magic Sound Font v2.0"; see the discussion in #819332. > I have tried to contact the author by mail, but have not yet received a > reply. > I will try again, but if it is not possible to resolve this issue, we could > omit the file. Tuxguitar also works with other soundbanks already included in > Debian. I have now marked the package as unstable and assume that the MagicSFver2.sf2 file can be redistributed under the LGPL-2.1+ license. I'm not sure if this is legitimate; please advice.
Bug#1025274: RFS: tuxguitar/1.5.6+dfsg1-1 [QA] -- Multitrack guitar tablature editor and player
> ... wasn't the whole idea of Java to be arch independent? That's true, but Tuxguitar comes with some audio modules written in C/C++ (see build-scripts/native-modules/). I was able to cross compile them with aarch64-linux-gnu-gcc etc. on amd64. Next I will try to cross-build the whole package with sbuild (thanks for the links, Lourisvaldo). > The package is marked as UNRELEASED in the changelog, thus explicitly not > for upload. I'll leave further review to someone with a clue about Java > and Maven... The main reason for marking the package as UNRELEASED is the unclear license of the included "Magic Sound Font v2.0"; see the discussion in #819332. I have tried to contact the author by mail, but have not yet received a reply. I will try again, but if it is not possible to resolve this issue, we could omit the file. Tuxguitar also works with other soundbanks already included in Debian.
Bug#1025274: RFS: tuxguitar/1.5.6+dfsg1-1 [QA] -- Multitrack guitar tablature editor and player
On Fri, Dec 09, 2022 at 02:10:32PM +0100, Helmar Gerloni wrote: > Tuxguitar 1.5 is now built with Maven and comes with build scripts for Linux > on amd64 (x86_64), i386 (x86) and armv7hl. The differences between the build > scripts for amd64 and i386 are minor, and for many other architectures > supported by Debian there are no build scripts at all. > So my idea was to use the upstream build scripts for amd64 for all > architectures and modify/patch them so that they hopefully work on all > architectures supported by Debian. ... wasn't the whole idea of Java to be arch independent? > This is the reason why i removed all non-amd64 build scripts from the Debian > sources (among other things). > But maybe this is not the right way, i don't know. Right now i only have > amd64 > hardware available, so i can't build on other architectures (cross-compile > maybe, but that doesn't sound trivial). While I do have a bunch of hardware to test, and qemu for the rest, I'm afraid Maven issues are completely out of my expertise areas. Thus, it seems that someone else will need to help here. > > Sounds like you missed a build dependency... > I thought ${maven:CompileDepends} in debian/control handles this build > dependencies, but somehow it did not work. > I added some more dependencies to the Build-Depends, so hopefully they are > complete now. It builds on amd64 for me, yay! The package is marked as UNRELEASED in the changelog, thus explicitly not for upload. I'll leave further review to someone with a clue about Java and Maven... Meow! -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ ⢿⡄⠘⠷⠚⠋⠀ Quis trollabit ipsos trollos? ⠈⠳⣄
Bug#1025274: RFS: tuxguitar/1.5.6+dfsg1-1 [QA] -- Multitrack guitar tablature editor and player
Em sexta-feira, 9 de dezembro de 2022, às 10:10:32 -03, Helmar Gerloni escreveu: > Right now i only have > amd64 hardware available, so i can't build on other architectures > (cross-compile maybe, but that doesn't sound trivial). I have already had success following these articles: https://wiki.debian.org/CrossCompiling https://wiki.debian.org/CrossBuildPackagingGuidelines Good Luck! signature.asc Description: This is a digitally signed message part.
Bug#1025274: RFS: tuxguitar/1.5.6+dfsg1-1 [QA] -- Multitrack guitar tablature editor and player
First of all thank you for your feedback, Adam! Am Donnerstag, 8. Dezember 2022, 17:17:48 CET schrieb Adam Borowski: > On Thu, Dec 01, 2022 at 09:35:15PM +0100, Helmar Gerloni wrote: > > The package builds and runs on amd64. I was not able to build it on i386 > > because of missing libswt-gtk-4-java. > > That's not a problem, upstream of that package has dropped support for > 32-bit and unless it somehow comes back, tuxguitar will stay > BD-Uninstallable on those architectures. > > Because of the off chance the dependences _do_ come back, it's better > to leave them enabled instead of explicitly dropping in debian/control. Tuxguitar 1.5 is now built with Maven and comes with build scripts for Linux on amd64 (x86_64), i386 (x86) and armv7hl. The differences between the build scripts for amd64 and i386 are minor, and for many other architectures supported by Debian there are no build scripts at all. So my idea was to use the upstream build scripts for amd64 for all architectures and modify/patch them so that they hopefully work on all architectures supported by Debian. This is the reason why i removed all non-amd64 build scripts from the Debian sources (among other things). But maybe this is not the right way, i don't know. Right now i only have amd64 hardware available, so i can't build on other architectures (cross-compile maybe, but that doesn't sound trivial). > > I don't know if it builds on other architectures; probably not > > out-of-the-box. > > The previous versions were ok, I tested arm64 and it fails the same way > amd64 does. Which is: > > [ERROR] Plugin org.apache.maven.plugins:maven-antrun-plugin:1.7 or one of > its dependencies could not be resolved: Cannot access central > (https://repo.maven.apache.org/maven2) in offline mode and the artifact > org.apache.maven.plugins:maven-antrun-plugin:jar:1.7 has not been downloaded > from it before. > > Sounds like you missed a build dependency... I thought ${maven:CompileDepends} in debian/control handles this build dependencies, but somehow it did not work. I added some more dependencies to the Build-Depends, so hopefully they are complete now.
Bug#1025274: RFS: tuxguitar/1.5.6+dfsg1-1 [QA] -- Multitrack guitar tablature editor and player
On Thu, Dec 01, 2022 at 09:35:15PM +0100, Helmar Gerloni wrote: > The package builds and runs on amd64. I was not able to build it on i386 > because of missing libswt-gtk-4-java. That's not a problem, upstream of that package has dropped support for 32-bit and unless it somehow comes back, tuxguitar will stay BD-Uninstallable on those architectures. Because of the off chance the dependences _do_ come back, it's better to leave them enabled instead of explicitly dropping in debian/control. > I don't know if it builds on other architectures; probably not > out-of-the-box. The previous versions were ok, I tested arm64 and it fails the same way amd64 does. Which is: [ERROR] Plugin org.apache.maven.plugins:maven-antrun-plugin:1.7 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-antrun-plugin:jar:1.7 has not been downloaded from it before. Sounds like you missed a build dependency... Meow! -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ ⢿⡄⠘⠷⠚⠋⠀ Quis trollabit ipsos trollos? ⠈⠳⣄
Bug#1025274: RFS: tuxguitar/1.5.6+dfsg1-1 [QA] -- Multitrack guitar tablature editor and player
Package: sponsorship-requests Severity: normal Dear mentors, I am looking for a sponsor for my package "tuxguitar". The package builds and runs on amd64. I was not able to build it on i386 because of missing libswt-gtk-4-java. I don't know if it builds on other architectures; probably not out-of-the-box. Would be great if someone could tell me if there is a chance to get the package into Debian. Any comments are welcome, I'll try to improve the package as good as I can. * Package name : tuxguitar Version : 1.5.6+dfsg1-1 Upstream contact : Julian Casadesus * URL : http://www.tuxguitar.com.ar * License : UNCLEAR (MagicSFver2.sf2?), LGPL-2.1+ (the rest) * Vcs : https://salsa.debian.org/java-team/tuxguitar Section : sound The source builds the following binary packages: tuxguitar - Multitrack guitar tablature editor and player tuxguitar-jsa - tuxguitar plugin for sound playback using Java Sound API tuxguitar-alsa - tuxguitar plugin for sound playback using ALSA tuxguitar-oss - tuxguitar plugin for sound playback using OSS tuxguitar-fluidsynth - tuxguitar plugin for sound playback using fluidsynth tuxguitar-jack - tuxguitar plugin for sound playback using JACKD tuxguitar-synth-lv2 - tuxguitar LV2 audio plugin tuxguitar-soundfont - tuxguitar Magic Sound Font v2.0 tuxguitar-gervill - tuxguitar gervill audio plugin To access further information about this package, please visit the following URL: https://mentors.debian.net/package/tuxguitar/ Alternatively, you can download the package with 'dget' using this command: dget -x https://mentors.debian.net/debian/pool/main/t/tuxguitar/tuxguitar_1.5.6+dfsg1-1.dsc Regards, Helmar.