Le mercredi 10 décembre 2025 à 20:38 +0000, Santiago Vila a écrit :
> Package: src:dynare
> Version: 6.4-4
> Severity: serious
> Tags: ftbfs forky sid
> 
> During a rebuild of all packages in unstable, this package failed to build.
> 
> --------------------------------------------------------------------------------
> [...]
> [151/311] gfortran -Imjdgges.mex.p -I. -I.. 
> -I/usr/include/octave-10.3.0/octave/.. -I/usr/include/octave-10.3.0/octave 
> -I../mex/sources -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall 
> -Wextra -std=f2018 -Wimplicit-interface -Wno-compare-reals -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
> -fstack-protector-strong -fstack-clash-protection -fcf-protection -fPIC 
> -DOCTAVE_MEX_FILE '-DMEXEXT=".mex"' -DMX_HAS_INTERLEAVED_COMPLEX=1 
> -DOCTAVE_MEX_SOVERSION=1 -Jmjdgges.mex.p -o 
> mjdgges.mex.p/mex_sources_blas_lapack.F08.o -c ../mex/sources/blas_lapack.F08
> [152/311] gfortran -Imjdgges.mex.p -I. -I.. 
> -I/usr/include/octave-10.3.0/octave/.. -I/usr/include/octave-10.3.0/octave 
> -I../mex/sources -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall 
> -Wextra -std=f2018 -Wimplicit-interface -Wno-compare-reals -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
> -fstack-protector-strong -fstack-clash-protection -fcf-protection -fPIC 
> -DOCTAVE_MEX_FILE '-DMEXEXT=".mex"' -DMX_HAS_INTERLEAVED_COMPLEX=1 
> -DOCTAVE_MEX_SOVERSION=1 -Jmjdgges.mex.p -o 
> mjdgges.mex.p/mex_sources_mjdgges_mjdgges.F08.o -c 
> ../mex/sources/mjdgges/mjdgges.F08
> FAILED: [code=1] mjdgges.mex.p/mex_sources_mjdgges_mjdgges.F08.o 
> mjdgges.mex.p/select_fct_mod.mod 
> gfortran -Imjdgges.mex.p -I. -I.. -I/usr/include/octave-10.3.0/octave/.. 
> -I/usr/include/octave-10.3.0/octave -I../mex/sources 
> -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Wextra -std=f2018 
> -Wimplicit-interface -Wno-compare-reals -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
> -fstack-protector-strong -fstack-clash-protection -fcf-protection -fPIC 
> -DOCTAVE_MEX_FILE '-DMEXEXT=".mex"' -DMX_HAS_INTERLEAVED_COMPLEX=1 
> -DOCTAVE_MEX_SOVERSION=1 -Jmjdgges.mex.p -o 
> mjdgges.mex.p/mex_sources_mjdgges_mjdgges.F08.o -c 
> ../mex/sources/mjdgges/mjdgges.F08
> ../mex/sources/mjdgges/mjdgges.F08:133:34:
> 
>   133 |   associate (a => mxGetPr(prhs(1)), b => mxGetPr(prhs(2)))
>       |                                  1
> Error: ‘a’ at (1) has the CONTIGUOUS attribute but is not an array pointer or 
> an assumed-shape or assumed-rank array
> ../mex/sources/mjdgges/mjdgges.F08:133:57:
> 
>   133 |   associate (a => mxGetPr(prhs(1)), b => mxGetPr(prhs(2)))
>       |                                                         1
> Error: ‘b’ at (1) has the CONTIGUOUS attribute but is not an array pointer or 
> an assumed-shape or assumed-rank array
> [153/311] c++ -Ipreprocessor/src/dynare-preprocessor.p -Ipreprocessor/src 
> -I../preprocessor/src -I../preprocessor/src/macro -I/usr/include 
> -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 
> -Wall -Winvalid-pch -Wextra -std=gnu++20 '-DPACKAGE_VERSION="6.4"' 
> -Wold-style-cast -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto 
> -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
> -DBOOST_ALL_NO_LIB -MD -MQ 
> preprocessor/src/dynare-preprocessor.p/macro_Expressions.cc.o -MF 
> preprocessor/src/dynare-preprocessor.p/macro_Expressions.cc.o.d -o 
> preprocessor/src/dynare-preprocessor.p/macro_Expressions.cc.o -c 
> ../preprocessor/src/macro/Expressions.cc
> ninja: build stopped: subcommand failed.
> dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v 
> all doc returned exit code 1
> make[1]: *** [debian/rules:23: override_dh_auto_build] Error 25
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:15: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
> 2
> --------------------------------------------------------------------------------

This is actually a bug in GCC, reported upstream as:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122977

The bug was introduced by gcc-15 15.2.0-9, is still present in 15.2.0-
11, and will likely be fixed by the next upload of gcc-15 (since it has
been fixed upstream).

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  https://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  https://www.debian.org

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to