Bug#957063: calculix-cgx: ftbfs with GCC-10

Gianfranco Costamagna locutusofborg at debian.org
Mon Aug 10 11:26:18 BST 2020


control: fixed -1 2.17+dfsg-1
control: close -1

We can consider it "fixed" in the new release

G.

On Fri, 17 Apr 2020 10:57:34 +0000 Matthias Klose <doko at debian.org> wrote:
> Package: src:calculix-cgx
> Version: 2.11+dfsg-1
> Severity: normal
> Tags: sid bullseye
> User: debian-gcc at lists.debian.org
> Usertags: ftbfs-gcc-10
> 
> 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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
> severity of this report will be raised before the bullseye release,
> so nothing has to be done for the buster release.
> 
> The full build log can be found at:
> http://people.debian.org/~doko/logs/gcc10-20200225/calculix-cgx_2.11+dfsg-1_unstable_gcc10.log
> The last lines of the build log are at the end of this report.
> 
> To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
> or install the gcc, g++, gfortran, ... packages from experimental.
> 
>   apt-get -t=experimental install g++ 
> 
> 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-10/porting_to.html
> 
> [...]
> generateTet.cpp:402:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
>   402 |   delSet("+snodSet");
>       |          ^~~~~~~~~~
> generateTet.cpp:403:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
>   403 |   delSet("+velemSet");
>       |          ^~~~~~~~~~~
> generateTet.cpp:404:20: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
>   404 |   snodSet=pre_seta("+snodSet","i",0);
>       |                    ^~~~~~~~~~
> generateTet.cpp:404:31: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
>   404 |   snodSet=pre_seta("+snodSet","i",0);
>       |                               ^~~
> generateTet.cpp:405:18: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
>   405 |   setNr=pre_seta("+velemSet","i",0);
>       |                  ^~~~~~~~~~~
> generateTet.cpp:405:30: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
>   405 |   setNr=pre_seta("+velemSet","i",0);
>       |                              ^~~
> generateTet.cpp:419:39: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
>   419 |       for(k=0; k<3; k++) seta(snodSet,"n",e_enqire[surf[s].elem[i]].nod[k]);
>       |                                       ^~~
> generateTet.cpp:439:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
>   439 |     { errMsg("ERROR: realloc failure in generateTet\n"); return(0); }
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> generateTet.cpp:500:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
>   500 |   if ( (  readNG( "test.vol", anz_ng, &setx, &node_ng, &elem_ng, NULL)) == -1)
>       |                   ^~~~~~~~~~



More information about the debian-science-maintainers mailing list