Bug#1029622: tuxguitar-alsa fails to install
Package: tuxguitar-alsa Version: 1.5.6+dfsg1-4 Severity: serious X-Debbugs-Cc: tony mancill https://piuparts.debian.org/sid/fail/tuxguitar-alsa_1.5.6+dfsg1-4.log ... Preparing to unpack .../136-tuxguitar-alsa_1.5.6+dfsg1-4_amd64.deb ... Unpacking tuxguitar-alsa (1.5.6+dfsg1-4) ... dpkg: error processing archive /tmp/apt-dpkg-install-EyzlMb/136-tuxguitar-alsa_1.5.6+dfsg1-4_amd64.deb (--unpack): trying to overwrite '/usr/share/maven-repo/org/herac/tuxguitar/tuxguitar-pom/1.5.6/tuxguitar-pom-1.5.6.pom', which is also in package tuxguitar 1.5.6+dfsg1-4 Errors were encountered while processing: /tmp/apt-dpkg-install-EyzlMb/136-tuxguitar-alsa_1.5.6+dfsg1-4_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Bug#1029622: tuxguitar-alsa fails to install
Hi Tony, sorry for causing so much work with tuxguitar, and thanks for your efforts! Do you think it would make sense to merge all the tuxguitar* packages into one package tuxguitar with arch-any? Maybe this would solve these build problems. I could try this out and put a new package on mentors; just let me know. Regards, Helmar.
Bug#1029622: tuxguitar-alsa fails to install
Hi Helmar, On Wed, Jan 25, 2023 at 08:45:55PM +0100, Helmar Gerloni wrote: > Hi Tony, > > sorry for causing so much work with tuxguitar, and thanks for your efforts! No worries at all! You've done a lot of work on the package, so we will get it ironed out in time for the release. > Do you think it would make sense to merge all the tuxguitar* packages > into one package tuxguitar with arch-any? Maybe this would solve these > build problems. This is similar to my original proposal for 1029476, except I was merely switching all of the arch-all packages to arch-any. I can confirm that that approach builds correctly and the package installs and can be upgraded. It has the disadvantage of using more space on the mirrors and also a bit more time on the buildd machines, since the arch-all bits are duplicated. The advantage to your proposal of a single package is that it would also resolve the build issue, be be a bit simpler for users, and also make it easier for us to add new modules, since the package wouldn't have to go back through the NEW queue. The disadvantage would be the same in terms of space, but more importantly that installing tuxguitar would require installing the transitive dependencies of all of the plugins. I assume they are all co-installable, but I can imagine bug reports from ALSA or OSS users not wanting to have to install jack libraries. The question of the transitive dependencies from a single tuxguitar package is probably the most important one to consider. Maybe it's not so bad? I need to try to see. > I could try this out and put a new package on mentors; just let me know. Do you have a Salsa user account? If so, you could push a branch of https://salsa.debian.org/java-team/tuxguitar and we could collaborate that way. But mentors is fine too. But either mechanism works fine. If you have thoughts about the transitive dependencies of the single package vs. converting tuxguitar and tuxguitar-jsa to arch-any, let me know. Otherwise I will take a look at the single package approach over the next couple days. Cheers, tony signature.asc Description: PGP signature
Bug#1029622: tuxguitar-alsa fails to install
On Thu, Jan 26, 2023 at 07:14:50AM -0800, tony mancill wrote: >... > This is similar to my original proposal for 1029476, except I was merely > switching all of the arch-all packages to arch-any. I can confirm that > that approach builds correctly and the package installs and can be > upgraded. It has the disadvantage of using more space on the mirrors > and also a bit more time on the buildd machines, since the arch-all bits > are duplicated. Mirror space should not be a worry anymore (that was different in the 1990s), I remember that something needed fixing when we had the first file > 2 GB (some .orig.gz) in our archive a few years ago. Regarding buildd time, you might never have heard about the acl2 package - except if you are looking at buildd.debian.org a lot since this is a package that takes literally a week to build on some buildds. Developer time is usually the most scarce resource in Debian. > The advantage to your proposal of a single package is that it would also > resolve the build issue, be be a bit simpler for users, and also make it > easier for us to add new modules, since the package wouldn't have to go > back through the NEW queue. The disadvantage would be the same in terms > of space, but more importantly that installing tuxguitar would require > installing the transitive dependencies of all of the plugins. I assume > they are all co-installable, but I can imagine bug reports from ALSA or > OSS users not wanting to have to install jack libraries. >... I would be worried if a plugin does weird things by default if installed. FFmpeg already pulls in jack libraries, Debian is not a distribution that tries hard to reduce the number of unused libraries on a system. > Cheers, > tony cu Adrian
Bug#1029622: tuxguitar-alsa fails to install
On Wed, Jan 25, 2023 at 08:45:55PM +0100, Helmar Gerloni wrote: > Hi Tony, > > sorry for causing so much work with tuxguitar, and thanks for your efforts! > > Do you think it would make sense to merge all the tuxguitar* packages into > one package tuxguitar with arch-any? Maybe this would solve these build > problems. > > I could try this out and put a new package on mentors; just let me know. Hi Helmar, I think a patch like the one below is going to take care of the conflicting files. I need to do some piuparts testing and then I will upload again. Also, I'm considering of excluding mipsel and mips64el from the build architectures in the next upload. Any concerns? Thank you, tony -- diff --git a/debian/rules b/debian/rules index 9482c1d..d6c3076 100755 --- a/debian/rules +++ b/debian/rules @@ -21,3 +21,7 @@ override_dh_auto_configure: override_dh_auto_build: dh_auto_build --sourcedirectory=build-scripts/tuxguitar-linux-x86_64 -- -e clean verify -Dnative-modules=true docbook-to-man misc/tuxguitar.sgml > debian/tuxguitar.1 + +override_dh_install-arch: + dh_auto_install + -rf -rfv ./debian/tuxguitar-alsa/usr/share/maven-repo signature.asc Description: PGP signature