#1096350 avifile: ftbfs with GCC-15

Package:
src:avifile
Source:
src:avifile
Submitter:
Matthias Klose
Date:
2025-09-05 01:23:02 UTC
Severity:
normal
Tags:
#1096350#5
Date:
2025-02-17 17:04:28 UTC
From:
To:
[This bug is NOT targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/avifile_0.7.48~20090503.ds-29_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html

[...]
  571 | static void Coefficients_13_26 (LARpp_j_1, LARpp_j, LARp)
      |             ^~~~~~~~~~~~~~~~~~
xa_gsm.c: In function 'Coefficients_27_39':
xa_gsm.c:583:13: warning: old-style function definition [-Wold-style-definition]
  583 | static void Coefficients_27_39 (LARpp_j_1, LARpp_j, LARp)
      |             ^~~~~~~~~~~~~~~~~~
xa_gsm.c: In function 'Coefficients_40_159':
xa_gsm.c:598:13: warning: old-style function definition [-Wold-style-definition]
  598 | static void Coefficients_40_159 (LARpp_j, LARp)
      |             ^~~~~~~~~~~~~~~~~~~
xa_gsm.c: In function 'LARp_to_rp':
xa_gsm.c:609:13: warning: old-style function definition [-Wold-style-definition]
  609 | static void LARp_to_rp (LARp)
      |             ^~~~~~~~~~
xa_gsm.c: In function 'Gsm_Short_Term_Synthesis_Filter':
xa_gsm.c:651:13: warning: old-style function definition [-Wold-style-definition]
  651 | static void Gsm_Short_Term_Synthesis_Filter (S, LARcr, wt, s)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xa_gsm.c: In function 'GSM_Decode':
xa_gsm.c:694:13: warning: old-style function definition [-Wold-style-definition]
  694 | static void GSM_Decode(S,LARcr, Ncr,bcr,Mcr,xmaxcr,xMcr,s)
      |             ^~~~~~~~~~
xa_gsm.c:710:5: error: too many arguments to function 'Gsm_RPE_Decoding'; expected 0, have 5
  710 |     Gsm_RPE_Decoding( S, *xmaxcr, *Mcr, xMcr, erp );
      |     ^~~~~~~~~~~~~~~~  ~
xa_gsm.c:361:13: note: declared here
  361 | static void Gsm_RPE_Decoding (S, xmaxcr, Mcr, xMcr, erp)
      |             ^~~~~~~~~~~~~~~~
xa_gsm.c: In function 'XA_MSGSM_Decoder':
xa_gsm.c:725:6: warning: old-style function definition [-Wold-style-definition]
  725 | void XA_MSGSM_Decoder(gsm_state,ibuf,obuf,icnt,ocnt)
      |      ^~~~~~~~~~~~~~~~
xa_gsm.c:730:1: error: number of arguments doesn't match prototype
  730 | { word sr;
      | ^
xa_gsm.c:27:6: error: prototype declaration
   27 | void XA_MSGSM_Decoder();
      |      ^~~~~~~~~~~~~~~~
xa_gsm.c:844:3: error: too many arguments to function 'GSM_Decode'; expected 0, have 8
  844 |   GSM_Decode(gsm_state, LARc, Nc, bc, Mc, xmaxc, xmc, obuf);
      |   ^~~~~~~~~~ ~~~~~~~~~
xa_gsm.c:694:13: note: declared here
  694 | static void GSM_Decode(S,LARcr, Ncr,bcr,Mcr,xmaxcr,xMcr,s)
      |             ^~~~~~~~~~
xa_gsm.c:961:3: error: too many arguments to function 'GSM_Decode'; expected 0, have 8
  961 |   GSM_Decode(gsm_state, LARc, Nc, bc, Mc, xmaxc, xmc, &obuf[160]);
      |   ^~~~~~~~~~ ~~~~~~~~~
xa_gsm.c:694:13: note: declared here
  694 | static void GSM_Decode(S,LARcr, Ncr,bcr,Mcr,xmaxcr,xMcr,s)
      |             ^~~~~~~~~~
xa_gsm.c: In function 'XA_GSM_Decoder':
xa_gsm.c:971:6: warning: old-style function definition [-Wold-style-definition]
  971 | void XA_GSM_Decoder(gsm_state,ibuf,obuf,icnt,ocnt)
      |      ^~~~~~~~~~~~~~
xa_gsm.c:1109:3: error: too many arguments to function 'GSM_Decode'; expected 0, have 8
 1109 |   GSM_Decode(gsm_state, LARc, Nc, bc, Mc, xmaxc, xmc, obuf);
      |   ^~~~~~~~~~ ~~~~~~~~~
xa_gsm.c:694:13: note: declared here
  694 | static void GSM_Decode(S,LARcr, Ncr,bcr,Mcr,xmaxcr,xMcr,s)
      |             ^~~~~~~~~~
make[3]: *** [Makefile:563: xa_gsm.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/avifile-0.7.48~20090503.ds/plugins/libaudiodec'
make[2]: *** [Makefile:461: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/avifile-0.7.48~20090503.ds/plugins'
make[1]: *** [Makefile:917: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/avifile-0.7.48~20090503.ds'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:46: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#1096350#14
Date:
2025-09-05 01:20:00 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
avifile, 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 1096350@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> (supplier of updated avifile 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: Fri, 05 Sep 2025 01:48:18 +0100
Source: avifile
Architecture: source
Version: 1:0.7.48~20090503.ds-30
Distribution: unstable
Urgency: low
Maintainer: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Changed-By: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Closes: 1096350
Changes:
 avifile (1:0.7.48~20090503.ds-30) unstable; urgency=low
 .
   * Port to GCC-15 (Closes: #1096350)
     - Update debian/patches/gcc-14.patch
Checksums-Sha1:
 1e41af75a8ad08924d08727dc77c771d58c65324 2460 avifile_0.7.48~20090503.ds-30.dsc
 841bb0a32b56b35dde5045835d00b02205a9c5dd 41472 avifile_0.7.48~20090503.ds-30.debian.tar.xz
 8e24a5d281b686c9d0603d4965389e1705917d19 8165 avifile_0.7.48~20090503.ds-30_source.buildinfo
Checksums-Sha256:
 d6c1ce830c5b6db8196675538054012eb7b26a651e50793647e85950e6b83d69 2460 avifile_0.7.48~20090503.ds-30.dsc
 5a4bc0af11f17aed3d8b18707a9d1a326e27dcfef6b76b08e5866edd6615d9a9 41472 avifile_0.7.48~20090503.ds-30.debian.tar.xz
 3cc915fa1096d6849adf2f9fb3a0c4553925eaac3fdff9f8dbef9e424aa69208 8165 avifile_0.7.48~20090503.ds-30_source.buildinfo
Files:
 31f51558d894377eb69a6a0817d5dcbf 2460 libs optional avifile_0.7.48~20090503.ds-30.dsc
 5c5641e691dce67b335a206331aa5ddd 41472 libs optional avifile_0.7.48~20090503.ds-30.debian.tar.xz
 462e84c581cfeafb538045f3e69499cf 8165 libs optional avifile_0.7.48~20090503.ds-30_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEo2h49GQQhoFgDLZIRBc/oT0FiIgFAmi6M/oTHHBhdWxsaXVA
ZGViaWFuLm9yZwAKCRBEFz+hPQWIiNzvD/9KYDClJxWrp5P6qwOEzK0kOAidIx4B
R1m/hyhPjhb2J07uLfDRgCGSr/QsDhJYNxtG687Yz3tT1UjV+dXqE7LqGmpMpYDn
bo1Cmd9AavE6S7rDj99oLAIFnBTvKfOjx8aVvnqheJyloT043O2mllqx/r4pu38G
J9CXPAB170Z/fYI43HpJd9cGNq8P9//A7iLKOMPNkD6PD/XpvHPmnATmq9CRx3Yt
8VUYgjKbnnkgHfLgRqQHMBv56WUB1XJdDu7M/FmuJtazVGC1vUtrMRubtPd2OxSR
zDPYpmorH/SFba54HX7Q24bY7jHARd5HYlrbdjXDFDgWjIej3yA8hfykVTfr/Riy
hb1eFv0ibvKNsnVUJv89tK8dNAzWH6OdZanemQKTTi+QVuaB6rNeNuSmGzogpEte
jiHLhzeVzoQA3Cc9U384SFzvksCzRZhc+MKRvlyPLfH9N2HXGJq/+wBSXGCKsAuH
/6ie5urZPO6CyVXpDaP+m4mNYOaMtQHfjnl3GEfK1k423nffV/M0y8XEtNmu98qj
t+zZ2NtQ1yggQE0piOBdafmdLdI/kC6hDtywatAUxOcrDBsdXWet6An3IVS6gqqL
VL0NVQ0PbCrAbSPt+aLlhbFsBMPm6ol1v9CrnXPKkKJYBdJDHjdhQNm+4LzLe1yx
rtHWsmuqGOetrA==
=06qz
-----END PGP SIGNATURE-----