Bug#778135: syrthes: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:37:14 UTC 2015


Package: src:syrthes
Version: 4.1.1-dfsg1-5
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

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-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/syrthes_4.1.1-dfsg1-5_unstable_gcc5.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, 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-5/porting_to.html

[...]

  Installation of syrthes-post on architecture Debian 

Installation of  syrthesseq  on architecture Debian

make syrthesseq  NOM_ARCH=Debian SYRTHES4_HOME='/«PKGBUILDDIR»' 2>&1 | tee syrthesseq.log
syrthesseqINSTALL 0

  Installation of syrthesmpi on architecture Debian 

  Installation of syrthescfd on architecture Debian 
- you ve chosen not to install "gui" 
function report
NO file ERREUR.log

---------------------------------------------------------
Before using SYRTHES, each user must source
the /«PKGBUILDDIR»/arch/Debian/bin/syrthes.profile file before using the code.

The easiest way is to put the following lines in each of the users
 '.profile' or '.bashrc' (depending on the shell)

syrthesprofile=/«PKGBUILDDIR»/arch/Debian/bin/syrthes.profile
#(adjust path to your system)
if [ -f $syrthesprofile ] ; then 
  . $syrthesprofile
fi

---------------------------------------------------------
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Warning : installation of some composants failed
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Check log files for more information....

# ERREUR.log should be empty
if [ -s "src/syrthes-install/ERREUR.log" ]; then \
  cat "src/syrthes-install/ERREUR.log" && false; \
fi
syr_cfd_coupling.c:222:33: error: 'EXIT_FAILURE' undeclared (first use in this function)
make[3]: *** [/«PKGBUILDDIR»/build//syr_cfd_coupling.o] Error 1
make[2]: *** [syrthescfd] Error 2
../syrthescfd.log:syr_cfd_coupling.c:222:33: error: 'EXIT_FAILURE' undeclared (first use in this function)
../syrthescfd.log:make[3]: *** [/«PKGBUILDDIR»/build//syr_cfd_coupling.o] Error 1
../syrthescfd.log:make[2]: *** [syrthescfd] Error 2
make[1]: *** [override_dh_auto_build] Error 1
debian/rules:42: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
debian/rules:32: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the debian-science-maintainers mailing list