Package: src:ncl
Version: 6.6.2.dfsg.1-10
Severity: important
Tags: sid forky
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-15

[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/ncl_6.6.2.dfsg.1-10_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

[...]
mv config/Project.post config/Project 
make[1]: Leaving directory '/build/reproducible-path/ncl-6.6.2.dfsg.1'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/ncl-6.6.2.dfsg.1'
cp config/Site.local.shared config/Site.local
cp debian/LINUX.DEBIAN.gfortran config/LINUX
ln -sf LINUX config/DEBIAN
# regenerate lex file; shipped was non-dfsg
( cd ./ncarview/src/lib/libictrans ; flex -o lex.yy_linux.c lex.l )
echo 'n' | ./Configure -v
        *** WARNING:There is a previous configuration saved.

Overwrite existing configuration? (n)
Enter Return(default), y(yes), n(no), or q(quit) > 
Building Top-level Makefile with current configuration options

Making ymake from Makefile.ini in ./config first
make[2]: Entering directory '/build/reproducible-path/ncl-6.6.2.dfsg.1/config'
cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -DH5_USE_110_API    -c -o ymake-filter.o 
ymake-filter.c
ymake-filter.c: In function ‘main’:
ymake-filter.c:57:22: error: too many arguments to function ‘isacppcomment’; 
expected 0, have 1
   57 |                 if ( isacppcomment(line) ) continue;
      |                      ^~~~~~~~~~~~~ ~~~~
ymake-filter.c:50:17: note: declared here
   50 |         int     isacppcomment();
      |                 ^~~~~~~~~~~~~
ymake-filter.c: In function ‘isacppcomment’:
ymake-filter.c:50:17: warning: old-style function definition 
[-Wold-style-definition]
ymake-filter.c:214:1: error: number of arguments doesn’t match prototype
  214 | {
      | ^
ymake-filter.c:50:17: error: prototype declaration
   50 |         int     isacppcomment();
      |                 ^~~~~~~~~~~~~
make[2]: *** [<builtin>: ymake-filter.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/ncl-6.6.2.dfsg.1/config'

Continuing in: /build/reproducible-path/ncl-6.6.2.dfsg.1
./config/ymake-filter: Command not found.

        You have completed the configuration process. Once you exit this
        program you may initiate the installation procedure by typing:

                make Everything >& make-output &

        You can watch the output with:

                tail -f make-output

        If this is not your first installation attempt, and you simply 
        made some changes in the configuration, restart the process using:

                make All >>& make-output &
        
        This command does not erase object code that has already
        been compiled.

        Both of these commands run the installation procedure
        in the background, and you can track its progress
        by periodically examining the file "make-output" while 
        the installation proceeds.

/usr/bin/make Makefiles includes depend
make[2]: Entering directory '/build/reproducible-path/ncl-6.6.2.dfsg.1'
make[2]: *** No rule to make target 'Makefiles'.  Stop.
make[2]: Leaving directory '/build/reproducible-path/ncl-6.6.2.dfsg.1'
make[1]: *** [debian/rules:119: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/ncl-6.6.2.dfsg.1'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to