Bug#853545: meshlab: ftbfs with GCC-7
Matthias Klose
doko at debian.org
Tue Jan 31 09:33:51 UTC 2017
Package: src:meshlab
Version: 1.3.2+dfsg1-3
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7
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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/meshlab_1.3.2+dfsg1-3_unstable_gcc7.log
The last lines of the build log are at the end of this report.
To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html
[...]
../../../vcglib/wrap/io_trimesh/import_out.h: In static member function 'static bool vcg::tri::io::ImporterOUT<OpenMeshType>::ReadHeader(const char*, unsigned int&, unsigned int&)':
../../../vcglib/wrap/io_trimesh/import_out.h:91:15: error: no matching function for call to 'vcg::tri::io::ImporterOUT<OpenMeshType>::ReadHeader(FILE*&)'
ReadHeader(fp);
^
../../../vcglib/wrap/io_trimesh/import_out.h:80:13: note: candidate: static bool vcg::tri::io::ImporterOUT<OpenMeshType>::ReadHeader(FILE*, unsigned int&, unsigned int&)
static bool ReadHeader(FILE *fp,unsigned int &num_cams, unsigned int &num_points){
^~~~~~~~~~
../../../vcglib/wrap/io_trimesh/import_out.h:80:13: note: candidate expects 3 arguments, 1 provided
../../../vcglib/wrap/io_trimesh/import_out.h:88:13: note: candidate: static bool vcg::tri::io::ImporterOUT<OpenMeshType>::ReadHeader(const char*, unsigned int&, unsigned int&)
static bool ReadHeader(const char * filename,unsigned int &/*num_cams*/, unsigned int &/*num_points*/){
^~~~~~~~~~
../../../vcglib/wrap/io_trimesh/import_out.h:88:13: note: candidate expects 3 arguments, 1 provided
../../../vcglib/wrap/io_trimesh/import_out.h: In static member function 'static int vcg::tri::io::ImporterOUT<OpenMeshType>::Open(OpenMeshType&, std::vector<vcg::Shot<typename OpenMeshType::ScalarType> >&, std::vector<std::__cxx11::basic_string<char> >&, const char*, const char*, const char*, bool (*)(int, const char*)) [with OpenMeshType = CMeshO]':
../../../vcglib/wrap/io_trimesh/import_out.h:152:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%f %f %f ",&x,&y,&z);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
../../../vcglib/wrap/io_trimesh/import_out.h:154:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%d %d %d ",&r,&g,&b);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
../../../vcglib/wrap/io_trimesh/import_out.h:157:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%d ",&n_corr);
~~~~~~^~~~~~~~~~~~~~~~~~
../../../vcglib/wrap/io_trimesh/import_out.h:159:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%d %d %f %f ",&i_cam,&key_sift,&x,&y);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../vcglib/wrap/io_trimesh/import_out.h: In static member function 'static void vcg::tri::io::ImporterOUT<OpenMeshType>::readline(FILE*, char*, int) [with OpenMeshType = CMeshO]':
../../../vcglib/wrap/io_trimesh/import_out.h:72:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%c", &c);
~~~~~~^~~~~~~~~~~~~~
../../../vcglib/wrap/io_trimesh/import_out.h:75:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%c", &c);
~~~~~~^~~~~~~~~~~~~~
Makefile:385: recipe for target 'meshlabdocumentbundler.o' failed
make[2]: *** [meshlabdocumentbundler.o] Error 1
make[2]: Leaving directory '/<<BUILDDIR>>/meshlab-1.3.2+dfsg1/meshlab/src/common'
Makefile:111: recipe for target 'sub-common-make_default-ordered' failed
make[1]: *** [sub-common-make_default-ordered] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/meshlab-1.3.2+dfsg1/meshlab/src'
debian/rules:59: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the debian-science-maintainers
mailing list