[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#777763: 3dldf: ftbfs with GCC-5



Package: src:3dldf
Version: 2.0.3+dfsg-2
Severity: normal
Tags: sid stretch
User: debian-gcc@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/3dldf_2.0.3+dfsg-2_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

[...]
./io.web:5712:49: error: redeclaration of 'template<class C> void* Scan_Parse::in_cuboid_func(C*, void*)' may not have default arguments [-fpermissive]
 Scan_Parse::in_cuboid_func(C* c, void* parameter = 0);
                                                 ^
./io.web:5717:50: error: redeclaration of 'template<class C> void* Scan_Parse::out_cuboid_func(C*, void*)' may not have default arguments [-fpermissive]
 Scan_Parse::out_cuboid_func(C* c, void* parameter = 0);
                                                  ^
In file included from ./arc.web:69:0:
./io.web:6036:51: error: redeclaration of 'template<class C> void* Scan_Parse::is_whatever_func(C*, void*)' may not have default arguments [-fpermissive]
 Scan_Parse::is_whatever_func(C* c, void* parameter = 0);
                                                   ^
./io.web:6053:7: error: redeclaration of 'template<class C, class D, class E> void* Scan_Parse::intersection_points_func(C*, D*, void*, E*)' may not have default arguments [-fpermissive]
                                      E* e = 0);
       ^
./io.web:6064:69: error: redeclaration of 'template<class C, class D> void* Scan_Parse::ellipse_like_intersection_func(C*, D*, void*)' may not have default arguments [-fpermissive]
 Scan_Parse::ellipse_like_intersection_func(C* c, D* d, void* parameter = 0);
                                                                     ^
./io.web:6069:78: error: redeclaration of 'template<class C> void* Scan_Parse::ellipse_like_plane_intersection_func(C*, void*, void*)' may not have default arguments [-fpermissive]
 Scan_Parse::ellipse_like_plane_intersection_func(C* c, void* w, void* parameter = 0);
                                                                              ^
./io.web:6074:70: error: redeclaration of 'template<class C, class D> void* Scan_Parse::conic_section_intersection_func(C*, D*, void*)' may not have default arguments [-fpermissive]
 Scan_Parse::conic_section_intersection_func(C* c, D* d, void* parameter = 0);
                                                                      ^
./io.web:6079:69: error: redeclaration of 'template<class C, class D> void* Scan_Parse::polygon_like_intersection_func(C*, D*, void*)' may not have default arguments [-fpermissive]
 Scan_Parse::polygon_like_intersection_func(C* c, D* d, void* parameter = 0);
                                                                     ^
./io.web:6087:18: error: redeclaration of 'template<class C> void* Scan_Parse::ellipsoid_like_plane_intersection_func(C*, Plane*, void*)' may not have default arguments [-fpermissive]
                                                    void* parameter = 0);
                  ^
./io.web:6103:50: error: redeclaration of 'template<class C> void* Scan_Parse::plane_cast_func(C*, void*)' may not have default arguments [-fpermissive]
 Scan_Parse::plane_cast_func(C* c, void* parameter = 0); 
                                                  ^
./io.web:6108:67: error: redeclaration of 'template<class C> void* Scan_Parse::plane_assignment_func(void*, C*, void*)' may not have default arguments [-fpermissive]
 Scan_Parse::plane_assignment_func(void* entry, C* c, void* parameter = 0);
                                                                   ^
./io.web:6117:60: error: redeclaration of 'template<class C> int Scan_Parse::show_func(C*, std::string, void*)' may not have default arguments [-fpermissive]
 Scan_Parse::show_func(C* c, string text = "", void* parameter = 0);
                                                            ^
make[3]: *** [arc.lo] Error 1
Makefile:657: recipe for target 'arc.lo' failed
make[3]: Leaving directory '/«BUILDDIR»/3dldf-2.0.3+dfsg/src'
make[2]: *** [all-recursive] Error 1
Makefile:535: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/«BUILDDIR»/3dldf-2.0.3+dfsg'
make[1]: *** [all] Error 2
Makefile:423: recipe for target 'all' failed
make[1]: Leaving directory '/«BUILDDIR»/3dldf-2.0.3+dfsg'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:7: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2


Reply to: