Your message dated Wed, 24 Aug 2016 22:19:55 +0000
with message-id <e1bcgwz-000576...@franck.debian.org>
and subject line Bug#831136: fixed in calculix-cgx 2.11+dfsg-1
has caused the Debian Bug report #831136,
regarding calculix-cgx: FTBFS with GCC 6: stl_algobase.h:243:56: error: macro 
"min" passed 3 arguments, but takes just 2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
831136: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831136
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: calculix-cgx
Version: 2.10.1+dfsg-1
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> g++  userFunction.o  AsplitA.o AsplitL.o adjustMidsideNode.o compareStrings.o 
> XFunktions.o badelems.o bodyMesh2.o bsort.o bsortf.o bsorti.o calcNormalen.o 
> calcPrinc.o calcPvector.o calcWeight.o checkIfNumber.o cgx.o compare.o 
> copyEntity.o corrad.o dataGeo.o dataMesh.o defineEntity.o dispLists.o 
> elemChecker.o extFunktions.o extGL.o fillBody2.o frecord.o foamFaces.o fuss.o 
> gl3grades.o getGeoDataTria.o graph.o ifind.o iinsert.o improveBadTr3.o 
> improveMesh.o iniMeshData.o intpol.o intpol2.o intpol3.o iremove.o 
> linelength.o m_copy.o m_sub.o mergEntity.o mesh2d.o meshSet.o meshSurf.o 
> messages.o near3d.o nurbl2seq.o orient.o p_angle.o parser.o pickFunktions.o 
> plotFunktions.o readEdges.o readfrd.o readFoam.o readStdCmap.o readStl.o 
> readccx.o readDuns.o readNastran.o readNG.o readIsaac.o readstep.o readWf.o 
> rectcyl.o renumberfrd.o selectDisplayFaces.o sendMpc.o sendSet.o 
> setFunktions.o shapeFunctions.o spline.o splitElementsToTets.o stof.o stoi.o 
> stopClock.o stos.o strfind.o strsplt.o sins.o surfMesh2.o sword.o trackball.o 
> v_distA.o v_rec2cyl.o v_add.o v_angle.o v_angle_ref.o v_betrag.o v_matmult.o 
> v_norm.o v_prod.o v_result.o v_scal.o v_rot.o v_sprod.o m_prod.o m_prodtr.o 
> write2aba.o write2ansys.o write2aster.o write2darwin.o write2dolfyn.o 
> write2isaac.o write2duns.o write2frd.o write2foam.o write2nas.o 
> write2samcef.o write2tochnog.o writefbd.o writebp.o contact.o 
> makeTriFromElems.o uselibSNL.cpp generateTet.cpp  -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -I. 
> -L/usr/lib64 -lGL -lGLU -lglut -lSNL -L/usr/X11R6/lib -lX11 -lXi -lXmu -lXext 
> -lXt -lSM -lICE -lm -lpthread -o  cgx
> In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
>                  from /usr/include/c++/6/ios:40,
>                  from /usr/include/c++/6/ostream:38,
>                  from /usr/include/c++/6/iostream:39,
>                  from uselibSNL.cpp:28:
> /usr/include/c++/6/bits/stl_algobase.h:243:56: error: macro "min" passed 3 
> arguments, but takes just 2
>      min(const _Tp& __a, const _Tp& __b, _Compare __comp)
>                                                         ^
> /usr/include/c++/6/bits/stl_algobase.h:265:56: error: macro "max" passed 3 
> arguments, but takes just 2
>      max(const _Tp& __a, const _Tp& __b, _Compare __comp)
>                                                         ^
> In file included from /usr/include/snlCurveBase.h:23:0,
>                  from /usr/include/snlCurve.h:25,
>                  from /usr/include/snlSurface.h:20,
>                  from uselibSNL.cpp:30:
> /usr/include/snlKnotVector.h:110:18: error: macro "max" requires 2 arguments, 
> but only 1 given
>          knot max() const;  // Max knot val.
>                   ^
> /usr/include/snlKnotVector.h:111:18: error: macro "min" requires 2 arguments, 
> but only 1 given
>          knot min() const;  // Min knot val.
>                   ^
> In file included from ./cgx.h:25:0,
>                  from uselibSNL.h:8,
>                  from uselibSNL.cpp:26:
> /usr/include/c++/6/bits/stl_algobase.h:195:5: error: expected unqualified-id 
> before 'const'
>      min(const _Tp& __a, const _Tp& __b)
>      ^
> /usr/include/c++/6/bits/stl_algobase.h:195:5: error: expected ')' before 
> 'const'
> /usr/include/c++/6/bits/stl_algobase.h:195:5: error: expected ')' before 
> 'const'
> /usr/include/c++/6/bits/stl_algobase.h:195:5: error: expected initializer 
> before 'const'
> /usr/include/c++/6/bits/stl_algobase.h:219:5: error: expected unqualified-id 
> before 'const'
>      max(const _Tp& __a, const _Tp& __b)
>      ^
> /usr/include/c++/6/bits/stl_algobase.h:219:5: error: expected ')' before 
> 'const'
> /usr/include/c++/6/bits/stl_algobase.h:219:5: error: expected ')' before 
> 'const'
> /usr/include/c++/6/bits/stl_algobase.h:219:5: error: expected initializer 
> before 'const'
> In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
>                  from /usr/include/c++/6/ios:40,
>                  from /usr/include/c++/6/ostream:38,
>                  from /usr/include/c++/6/iostream:39,
>                  from uselibSNL.cpp:28:
> /usr/include/c++/6/bits/stl_algobase.h:243:5: error: 'std::min' declared as 
> an 'inline' variable
>      min(const _Tp& __a, const _Tp& __b, _Compare __comp)
>      ^~~
> /usr/include/c++/6/bits/stl_algobase.h:246:7: error: expected 
> primary-expression before 'if'
>        if (__comp(__b, __a))
>        ^~
> /usr/include/c++/6/bits/stl_algobase.h:246:7: error: expected '}' before 'if'
> /usr/include/c++/6/bits/stl_algobase.h:246:7: error: expected ';' before 'if'
> /usr/include/c++/6/bits/stl_algobase.h:248:7: error: expected unqualified-id 
> before 'return'
>        return __a;
>        ^~~~~~
> /usr/include/c++/6/bits/stl_algobase.h:265:5: error: 'max' declared as an 
> 'inline' variable
>      max(const _Tp& __a, const _Tp& __b, _Compare __comp)
>      ^~~
> /usr/include/c++/6/bits/stl_algobase.h:268:7: error: expected 
> primary-expression before 'if'
>        if (__comp(__a, __b))
>        ^~
> /usr/include/c++/6/bits/stl_algobase.h:268:7: error: expected '}' before 'if'
> /usr/include/c++/6/bits/stl_algobase.h:268:7: error: expected ';' before 'if'
> /usr/include/c++/6/bits/stl_algobase.h:270:7: error: expected unqualified-id 
> before 'return'
>        return __a;
>        ^~~~~~
> /usr/include/c++/6/bits/stl_algobase.h:271:5: error: expected declaration 
> before '}' token
>      }
>      ^
> generateTet.cpp: In function 'int generateTetFromSet(int, double)':
> generateTet.cpp:114:20: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>    delSet("+snodSet");
>                     ^
> generateTet.cpp:115:21: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>    delSet("+velemSet");
>                      ^
> generateTet.cpp:116:36: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>    snodSet=pre_seta("+snodSet","i",0);
>                                     ^
> generateTet.cpp:116:36: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
> generateTet.cpp:126:76: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>      for(k=0; k<3; k++) seta(snodSet,"n",e_enqire[set[setNr].elem[i]].nod[k]);
>                                                                             ^
> generateTet.cpp:145:55: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>      { errMsg("ERROR: realloc failure in generateTet\n"); return(0); }
>                                                        ^
> generateTet.cpp:180:70: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>    if ( (  readNG( "test.vol", anz_ng, &setx, &node_ng, &elem_ng, NULL)) == 
> -1)
>                                                                       ^
> generateTet.cpp:205:55: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>      { errMsg("ERROR: realloc failure in generateTet\n"); return(0); }
>                                                        ^
> generateTet.cpp:274:74: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>        for (j=0; j<set[setNr].anz_e; j++) setr( k, "e", set[setNr].elem[j]);
>                                                                           ^
> generateTet.cpp:297:85: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>      else { elem_define( anz->emax+1, 3, cgxtet, 1, 0 ); seta( setNr, "e", 
> anz->emax ); }
>                                                                               
>        ^
> generateTet.cpp:311:45: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>      fixMidsideNodes( set[setNr].name, "gen" );
>                                              ^
> generateTet.cpp:314:38: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>      snodSet=pre_seta("+snodSet","i",0);
>                                       ^
> generateTet.cpp:314:38: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
> generateTet.cpp:331:82: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>              
> seta(snodSet,"n",e_enqire[set[setNr].elem[k]].nod[nodseq_te10[n*3+1]]);
>                                                                               
>     ^
> generateTet.cpp:337:42: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>      fixMidsideNodes( set[setNr].name, "" );
>                                           ^
> generateTet.cpp: In function 'int generateTetFromBody(int, double)':
> generateTet.cpp:402:20: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>    delSet("+snodSet");
>                     ^
> generateTet.cpp:403:21: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>    delSet("+velemSet");
>                      ^
> generateTet.cpp:404:36: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>    snodSet=pre_seta("+snodSet","i",0);
>                                     ^
> generateTet.cpp:404:36: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
> generateTet.cpp:405:35: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>    setNr=pre_seta("+velemSet","i",0);
>                                    ^
> generateTet.cpp:405:35: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
> generateTet.cpp:419:75: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>        for(k=0; k<3; k++) seta(snodSet,"n",e_enqire[surf[s].elem[i]].nod[k]);
>                                                                            ^
> generateTet.cpp:439:55: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>      { errMsg("ERROR: realloc failure in generateTet\n"); return(0); }
>                                                        ^
> generateTet.cpp:500:70: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>    if ( (  readNG( "test.vol", anz_ng, &setx, &node_ng, &elem_ng, NULL)) == 
> -1)
>                                                                       ^
> generateTet.cpp:529:55: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>      { errMsg("ERROR: realloc failure in generateTet\n"); return(0); }
>                                                        ^
> generateTet.cpp:607:78: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>      elem_define( anz->emax+1, 3, cgxtet, 1, 0 ); seta( setNr, "e", anz->emax 
> );
>                                                                               
> ^
> generateTet.cpp:619:45: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>      fixMidsideNodes( set[setNr].name, "gen" );
>                                              ^
> generateTet.cpp:622:40: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>      snodSet2=pre_seta("+snodSet2","i",0);
>                                         ^
> generateTet.cpp:622:40: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
> generateTet.cpp:640:81: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>            
> seta(snodSet2,"n",e_enqire[set[setNr].elem[k]].nod[nodseq_te10[n*3+1]]);
>                                                                               
>    ^
> generateTet.cpp:648:82: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>        for (n=0; n<10; n++) seta( setNr, "n", 
> e_enqire[set[setNr].elem[k]].nod[n] );
>                                                                               
>     ^
> generateTet.cpp:651:42: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>      fixMidsideNodes( set[setNr].name, "" );
>                                           ^
> generateTet.cpp:657:81: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>        for (n=0; n<4; n++) seta( setNr, "n", 
> e_enqire[set[setNr].elem[k]].nod[n] );
>                                                                               
>    ^
> generateTet.cpp:661:79: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>    for (k = 0; k < set[snodSet].anz_n; k++) 
> setr(setNr,"n",set[snodSet].node[k]);
>                                                                               
>  ^
> generateTet.cpp:670:21: warning: ISO C++ forbids converting a string constant 
> to 'char*' [-Wwrite-strings]
>    delSet("+velemSet");
>                      ^
> make[2]: *** [cgx] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2016/07/13/calculix-cgx_2.10.1+dfsg-1_unstable_gcc6.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
Source: calculix-cgx
Source-Version: 2.11+dfsg-1

We believe that the bug you reported is fixed in the latest version of
calculix-cgx, 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 831...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Wolfgang Fütterer <deb...@wlf-online.de> (supplier of updated calculix-cgx 
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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 09 Aug 2016 14:58:38 +0200
Source: calculix-cgx
Binary: calculix-cgx calculix-cgx-examples
Architecture: source
Version: 2.11+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Wolfgang Fütterer <deb...@wlf-online.de>
Description:
 calculix-cgx - Calculix cgx is a 3-dimensional pre- and post-processor for fem
 calculix-cgx-examples - Example files for Calculix GraphiX
Closes: 831136
Changes:
 calculix-cgx (2.11+dfsg-1) unstable; urgency=medium
 .
   * [b5c99a3] Imported Upstream version 2.11+dfsg
   * [8ab74ee] Fixed an issue compiling with gcc6 (Closes: #831136)
   * [ff659a9] Build package using old C++ standard (c++98)
   * [c9a8ed4] Update standards version
Checksums-Sha1:
 d9a0df7d84ae0e2bddede5309107acba95e6b1f0 2227 calculix-cgx_2.11+dfsg-1.dsc
 8a387e55fb1fca0742fffcfac39c64f1454623d2 1100356 
calculix-cgx_2.11+dfsg.orig.tar.bz2
 2844d60a57edb1112405ec41d4b24f5e171e6d66 20624 
calculix-cgx_2.11+dfsg-1.debian.tar.xz
Checksums-Sha256:
 dde4cea84ce8ce232891fd2f7013856b132fbd8de329bbce31b7b5961096cc06 2227 
calculix-cgx_2.11+dfsg-1.dsc
 bb6f5a5546e5ce55f264c58b9687d5d17239ca0b5e2edb9a65b14b5a5cb3a28e 1100356 
calculix-cgx_2.11+dfsg.orig.tar.bz2
 2befe2e021dffc3874fc7e6258faf3b072bfe403d78b7e5ae2e140278effbcc1 20624 
calculix-cgx_2.11+dfsg-1.debian.tar.xz
Files:
 38f2072e83d80f29b1f465c1c96de7d9 2227 science optional 
calculix-cgx_2.11+dfsg-1.dsc
 99d8839195f75bfff2fea142575a5737 1100356 science optional 
calculix-cgx_2.11+dfsg.orig.tar.bz2
 4e9c4187b0f9a7528329a863293b5475 20624 science optional 
calculix-cgx_2.11+dfsg-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJXvhq9AAoJENPhc4PPp/8G204QAItEYgKLE55fag719pGzfrVT
GN1363nQlAj/xeeLo1ziVnwBPItQVwm66wOOqnUShKefj6oO7kACH90UazLSF1xs
nGMM5jKG+SgUoCpTlbjrSS/d46bLztTQebiHQ9Zr10eYb5a665YPANuzlhj0SLal
zLCPkZYBr+Dl+sEeLUWHkh7dSlKz0phIFo9zmz5LI0QFzirOITpCdChZBP/Ynbcx
cyTZ6vDCLqr29R6FyTVUanSqYGE+Ma+JVnOSWX4mTOF2Bm7yYxvGhdFjFtWN2gU/
dQ9wPESm1dxafNqLDbKiAZccgASX3NXlxzKgKbX+6rIYD3W/NE9Bq60HJhd43AuW
qyKVMGW99L9MxUKB2dY3B3iTmttbugG8wdXYb2DVVZbGv5EkP8CNNrbKf7ZJfjFv
7ll3b1cJrZMzfXmQw3+FaKNJixiPphBRiBTcSGKJn1mrP+XEsIyLjJYAwA5lc5jV
NdCM1YIPkyKRejuoECX/Pib0AlO2hHlcmuqqnvI1bNxCjT32IaOibIDRGC0amQqi
mr5pUOEKULCCtSbYbQg3IDdfD5eeiF+KqCjqhKCHALfFwB8XD/myWcnO5hALah7C
Z4mBVbeDWVYnJOnrTmHbvPKaGEXHifgCPnzZNfXVhipRVdk+PL1H4300n9lAONow
XZykyODO0JG2afaLCUDl
=9ih7
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to