- Package:
- src:mp3splt
- Source:
- mp3splt
- Submitter:
- Helmut Grohne
- Date:
- 2026-02-22 19:43:07 UTC
- Severity:
- normal
- Tags:
mp3splt fails to cross build from source, because it uses AC_CHECK_FILE to check whether cutter (a testing tool) is present. While it wants to use cutter during unit tests, the AC_CHECK_FILE attempts to check for it on the host and when no check result is seed, it simply fails. This is a case where a simple "test -e" is better. Please consider applying the attached patch. When doing so, keep in mind that you must regenerate the relevant configure scripts as this is not being done at build time. Helmut
Dear maintainer,
I've prepared an NMU for mp3splt (versioned as 2.6.2+20170630-3.3) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.
Regards.
diff -Nru mp3splt-2.6.2+20170630/debian/changelog mp3splt-2.6.2+20170630/debian/changelog
--- mp3splt-2.6.2+20170630/debian/changelog 2023-08-29 23:53:33.000000000 +0200
+++ mp3splt-2.6.2+20170630/debian/changelog 2024-10-24 20:37:35.000000000 +0200
@@ -1,3 +1,16 @@
+mp3splt (2.6.2+20170630-3.3) unstable; urgency=medium
+
+ * Non-maintainer upload.
+
+ [ zhangdandan <zhangdandan@loongson.cn> ]
+ * update the outdated config.{guess,sub} to recognize the LoongArch
+ (Closes: #1074043, #1069766)
+
+ [ Helmut Grohne <helmut@subdivi.de> ]
+ * Fix FTCBFS (Closes: #981158)
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org> Thu, 24 Oct 2024 20:37:35 +0200
+
mp3splt (2.6.2+20170630-3.2) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru mp3splt-2.6.2+20170630/debian/patches/cross.patch mp3splt-2.6.2+20170630/debian/patches/cross.patch
--- mp3splt-2.6.2+20170630/debian/patches/cross.patch 1970-01-01 01:00:00.000000000 +0100
+++ mp3splt-2.6.2+20170630/debian/patches/cross.patch 2024-10-24 20:37:35.000000000 +0200
@@ -0,0 +1,26 @@
+Author: Helmut Grohne <helmut@subdivi.de>
+Description: FTCBFS: abuses AC_CHECK_FILE
+Bug-Debian: https://bugs.debian.org/981158
+
+--- mp3splt-2.6.2+20170630.orig/libmp3splt/configure.ac
++++ mp3splt-2.6.2+20170630/libmp3splt/configure.ac
+@@ -252,7 +252,7 @@
+ AC_CHECK_CUTTER
+
+ cutter_command="no"
+-AC_CHECK_FILE([$CUTTER], [cutter_command="yes"])
++AS_IF([test -e "$CUTTER"], [cutter_command="yes"])
+
+ if test "x$CUTTER" != x;then
+ if test "x$cutter_command" = xyes;then
+--- mp3splt-2.6.2+20170630.orig/mp3splt-gtk/configure.ac
++++ mp3splt-2.6.2+20170630/mp3splt-gtk/configure.ac
+@@ -312,7 +312,7 @@
+ AC_CHECK_CUTTER
+
+ cutter_command="no"
+-AC_CHECK_FILE([$CUTTER], [cutter_command="yes"])
++AS_IF([test -e "$CUTTER"], [cutter_command="yes"])
+
+ if test "x$CUTTER" != x;then
+ if test "x$cutter_command" = xyes;then
diff -Nru mp3splt-2.6.2+20170630/debian/patches/series mp3splt-2.6.2+20170630/debian/patches/series
--- mp3splt-2.6.2+20170630/debian/patches/series 2021-01-06 17:59:57.000000000 +0100
+++ mp3splt-2.6.2+20170630/debian/patches/series 2024-10-24 20:37:35.000000000 +0200
@@ -1,2 +1,3 @@
10_Properly-zero-initialise-the-ogg-and-vorbis-state-st.patch
20_mp3splt-gtk-0.9.2-fno-common.patch
+cross.patch
diff -Nru mp3splt-2.6.2+20170630/debian/rules mp3splt-2.6.2+20170630/debian/rules
--- mp3splt-2.6.2+20170630/debian/rules 2023-08-29 23:53:19.000000000 +0200
+++ mp3splt-2.6.2+20170630/debian/rules 2024-10-24 20:37:35.000000000 +0200
@@ -86,6 +86,7 @@
$(lib_objdir)/config.status: libmp3splt/configure
dh_testdir
+ dh_update_autotools_config
mkdir -p $(lib_objdir)
cd $(lib_objdir) && \
../libmp3splt/configure --host=$(DEB_HOST_GNU_TYPE) \
@@ -108,6 +109,7 @@
$(cli_objdir)/config.status: mp3splt/configure
dh_testdir
+ dh_update_autotools_config
mkdir -p $(cli_objdir)
cd $(cli_objdir) && \
../mp3splt/configure --host=$(DEB_HOST_GNU_TYPE) \
@@ -128,6 +130,7 @@
$(gui_objdir)/config.status: mp3splt-gtk/configure
dh_testdir
+ dh_update_autotools_config
mkdir -p $(gui_objdir)
cd $(gui_objdir) && \
../mp3splt-gtk/configure --host=$(DEB_HOST_GNU_TYPE) \
We believe that the bug you reported is fixed in the latest version of
mp3splt, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 981158@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gianfranco Costamagna <locutusofborg@debian.org> (supplier of updated mp3splt package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 24 Oct 2024 20:37:35 +0200
Source: mp3splt
Built-For-Profiles: noudeb
Architecture: source
Version: 2.6.2+20170630-3.3
Distribution: unstable
Urgency: medium
Maintainer: Ron Lee <ron@debian.org>
Changed-By: Gianfranco Costamagna <locutusofborg@debian.org>
Closes: 981158 1069766 1074043
Changes:
mp3splt (2.6.2+20170630-3.3) unstable; urgency=medium
.
* Non-maintainer upload.
.
[ zhangdandan <zhangdandan@loongson.cn> ]
* update the outdated config.{guess,sub} to recognize the LoongArch
(Closes: #1074043, #1069766)
.
[ Helmut Grohne <helmut@subdivi.de> ]
* Fix FTCBFS (Closes: #981158)
Checksums-Sha1:
b7649cc3302328a7b14db1372ef06cf8ec0591db 2259 mp3splt_2.6.2+20170630-3.3.dsc
cf2ab9173484248ba7b6b4843ed7da38fb5303da 7956 mp3splt_2.6.2+20170630-3.3.debian.tar.xz
f83521cb1abcf44909c5d670ca71ee9c217d3fc5 8086 mp3splt_2.6.2+20170630-3.3_source.buildinfo
Checksums-Sha256:
b23e5bb7b96137bd2bf4fa0498c61fedc79a8ca4828f501d116aa922edd1cb13 2259 mp3splt_2.6.2+20170630-3.3.dsc
e1000166701af3864aa2ce4ccd0f06f4276a04750b0939598c9673cbb7fe2db0 7956 mp3splt_2.6.2+20170630-3.3.debian.tar.xz
a52c770a5606e46f9994fdaa637eff7603312ff22a8268312f4b33fc71835b08 8086 mp3splt_2.6.2+20170630-3.3_source.buildinfo
Files:
cb752beeea97dd5d15401e5df0982cdd 2259 sound optional mp3splt_2.6.2+20170630-3.3.dsc
37663f55da8b6e47b8ef7329e23ced1a 7956 sound optional mp3splt_2.6.2+20170630-3.3.debian.tar.xz
c5ddb932847d3e441c35d8596cc46208 8086 sound optional mp3splt_2.6.2+20170630-3.3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmcalVQACgkQ808JdE6f
XdkLVQ//Tp54aeR+aZc8rLL3MY3nmKSRowF33M1MIwKz6GF2McQ4zzktIPqPwHW4
1GNDB3gEOxWldNw4eWqC3bhhiTM3xYayYblqTp+Tjla0mHwY34S0PIgqpor0M6K1
qeXS3sT91EmUg0hw8goB8LXkkoDJUNFCHEeEwWztX+0bqOJJsBIqtSrkLMNknGgO
XL8vQMxxX21c1Uwm+429Esu50agpZrIfKpA0VEBHLKaKXlkVTmoGQi3iJEs/AuDp
aBKf8uGwKIb2ZV6jEO0ULyAWNWHXal/d/Hp6wOb4l4sjaCRdKvDxDl5vfiXNUP8J
nIlBHwJVpOnIW3FbiqJpxiqmTL507IerEX4Vi6eTb2KFd0huxIxLP7Z2VG6JUVsR
AGCm+rY1s7hDlB1xxDzCF060IFcIOVheVRN1+kGxkConnBZpw6RiobjVc05/4wZY
JdNUNiUF1N0s3LH8ToSJfJHp4L+mK5OuBdHqrdDcAtTC3T3lRU5navL0h5xM0syo
IAYhUcH5QKhBHVfm+NqxQSA/umiqrX1va8Sci4NwLJ/z9jIh2jd56W3Camo249KT
EQmlIKcgw1L37CtjpEGfAPJzkZRdU3ijzFQLll5cGZ1gVYhhmjigieM2PYSwSTsI
l1s92YvvEEYje9MeZw+9UPwL2rd5mjyOCSfzwYGYOLY66ej7M6U=
=BCAa
-----END PGP SIGNATURE-----
Control: reopen -1 Control: found -1 2.6.2+20170630-3.3 The patch was applied to configure.ac, but not to configure and the package is not being autoreconf'ed. Hence the problem still applies. Helmut
Hi Ron, as I announced in my mail two weeks ago I have some clear preference where to maintain this repository. Since I have not heard from you and your private repository did not enabled MRs yet, I have picked option 3. from below, transfered the repository to Debian team https://salsa.debian.org/debian/mp3splt and uploaded to delayed=15. Please let me know if I should cancel the upload. Kind regards Andreas. Am Wed, Jan 21, 2026 at 10:34:06AM +0100 schrieb Andreas Tille:
We believe that the bug you reported is fixed in the latest version of
mp3splt, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 981158@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Tille <tille@debian.org> (supplier of updated mp3splt package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 04 Feb 2026 21:01:20 +0100
Source: mp3splt
Architecture: source
Version: 2.6.2+20170630-3.5
Distribution: unstable
Urgency: medium
Maintainer: Ron Lee <ron@debian.org>
Changed-By: Andreas Tille <tille@debian.org>
Closes: 981158
Changes:
mp3splt (2.6.2+20170630-3.5) unstable; urgency=medium
.
* Non-maintainer upload.
* Secure URI in Homepage
* Migrate repository to Debian team on Salsa
* d/copyright:
- DEP5
- Review
* d/watch: Add watch file
* Depends: ${misc:Depends}
* No separate -dbg package
* Standards-Version: 4.7.3
* debhelper-compat 13 (routine-update)
* cme fix dpkg-control
* Do not parse d/changelog (routine-update)
* Trim trailing whitespace.
* Rely on pre-initialized dpkg-architecture variables.
* Fix function prototypes
* dh_autoreconf components
Closes: #981158
* Permit failure of blhc in Salsa CI
* Add debian/gbp.conf
Checksums-Sha1:
d3fe2a3867106330e54717ed10aa141d6e3456af 2228 mp3splt_2.6.2+20170630-3.5.dsc
2e177f43648cc7d09b2f4fecc299c3a2a6236170 9776 mp3splt_2.6.2+20170630-3.5.debian.tar.xz
64a5fe539e274a69850bdbb969deece6c850dc53 19626 mp3splt_2.6.2+20170630-3.5_amd64.buildinfo
Checksums-Sha256:
16f5e96c51288b23617f1c019707220372445c905284f13ad3e1e5610c9c06f6 2228 mp3splt_2.6.2+20170630-3.5.dsc
3605eb456ef7c4938690a321c89ab701f448f6b908e2f54e47dba109520c4ef1 9776 mp3splt_2.6.2+20170630-3.5.debian.tar.xz
12be1cce2ef31da76a24816c29f1802a6ddf92737f52ea025f5d6456b6b8f935 19626 mp3splt_2.6.2+20170630-3.5_amd64.buildinfo
Files:
f96b271f8dd4287b88fa1a9577f40d91 2228 sound optional mp3splt_2.6.2+20170630-3.5.dsc
a3b9b1434807ea1e9af96388c6bf041e 9776 sound optional mp3splt_2.6.2+20170630-3.5.debian.tar.xz
5de59e2191602f01fc245600c66aefc4 19626 sound optional mp3splt_2.6.2+20170630-3.5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmmDpzURHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtHayg//Q8AaC2ubk4744OmhaLM7vloFq13tl3qm
3hv3TDwdjuVY6vi347uJZkBtmf4RBRF1/iRct/NX3SE7r/J/eC8tFZp6v026cSmY
ePnL+gETdlTdYwJJkXwEStIXteK9OGAzJ/dRLPkfpyf43jNYNQLwQBy3mXUWY2iE
tKO1sLsKuBU0+7TABZLUHK0fZyx2+e+Mo0sG4z0P5R0pPFHJ9AQNkYz/y+NyoJDx
IvTwlaH//6T+QlYaTo0EHWodUSEKZpO7msPEqNTCqhHGjqlg5LddGiYbeUW+3DCr
+Zs6cHwYo9C5zCWOTwut3e/8d07kusLktnABh1a4cJ71L1G8+ZbucdsE8Ne5kXVY
geT3pQjaNHlg0t4pkiQ+ZL7vcDYPTY4/D15u+XmOYcXdD8ADgVbaYCr1va3FSdP4
mQN0kYdQQYfDNFCk78+mNmJ8JjBg7OfoAOESaqZrxvNXhh6XPIZzKVYH2t7NHf+g
NIcxNFCzpzVen/UyJuNuGA78r+K5Je2cd9Fb9bmqgR+EoCpFdOnY9jplp1aiDoKJ
8+MnM94xd2K85SndG4n8Op5Cvcvap1yXS/L6WHg9HoFRbyJbu+nRPkLfcCVmJ6Lz
LE+l+T1+jCFqRBodkpyz8W98S3mc+cu9rF23MbdEHvN7Jrz0QwGB6UJyifBBYtMM
wBeWta1qwdw=
=Jn2A
-----END PGP SIGNATURE-----
Hi, thank you for working on this issue. I fear we are not done yet. You correctly identified that mp3splt has several configure scripts and needs to be autoreconf'ed several times. Unfortunately, this is not how dh_autoreconf works. In the build log, you see: | dh_autoreconf: warning: Only runs once, see dh-autoreconf(7) The mp3splt directory is the first to be regenerated and correctly fixes the original issue about AC_CHECK_FILE now. Later directories such as mp3splt-gtk are skipped due to the dh_autoreconf semantics at hand. Hence, the original problem persists there. The suggested workaround is to create a script that runs all the autoreconf things. Its name often includes "autogen" (e.g. debian/autogen.sh). Then make dh_autoreconf call that autogen in an override_dh_autoreconf. Helmut