Bug#927808: gmsh: FTBFS in buster (c++: error: unrecognized command line option '-Wint-to-void-pointer-cast')

2019-04-25 Thread Nico Schlömer
This could all be fixed in master (where we have Gmsh 4.3.0). Should
perhaps be uploaded soon.

On Wed, Apr 24, 2019 at 8:33 PM Juhani Numminen
 wrote:
>
> Control: retitle -1 gmsh: FTBFS in buster 
> ("/usr/include/occt/Standard_Version.hxx" cannot be read)
>
>
> Hi,
>
> I believe the relevant error message is actually this:
>
> CMake Error at CMakeLists.txt:1161 (file):
>   file STRINGS file "/usr/include/occt/Standard_Version.hxx" cannot be read.
>
> It seems that /usr/include/occt was changed to /usr/include/opencascade.
> https://salsa.debian.org/science-team/opencascade/commit/05357f551748a6842bf2788e2bbc604daa0dfc16
>
> Kurt, will you be able to make gmsh 4.1.3+ds1-1 buildable in ‘testing’?
>
> Regards,
> Juhani
>



Bug#927808: gmsh: FTBFS in buster (c++: error: unrecognized command line option '-Wint-to-void-pointer-cast')

2019-04-24 Thread Juhani Numminen
Control: retitle -1 gmsh: FTBFS in buster 
("/usr/include/occt/Standard_Version.hxx" cannot be read)


Hi,

I believe the relevant error message is actually this:

CMake Error at CMakeLists.txt:1161 (file):
  file STRINGS file "/usr/include/occt/Standard_Version.hxx" cannot be read.

It seems that /usr/include/occt was changed to /usr/include/opencascade.
https://salsa.debian.org/science-team/opencascade/commit/05357f551748a6842bf2788e2bbc604daa0dfc16

Kurt, will you be able to make gmsh 4.1.3+ds1-1 buildable in ‘testing’?

Regards,
Juhani



Bug#927808: gmsh: FTBFS in buster (c++: error: unrecognized command line option '-Wint-to-void-pointer-cast')

2019-04-23 Thread Santiago Vila
Package: src:gmsh
Version: 4.1.3+ds1-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:


[...]
 debian/rules build-indep
dh build-indep --buildsystem=cmake 
--builddirectory=/<>/gmsh-4.1.3+ds1/debian/build --with python3
   dh_update_autotools_config -i -O--buildsystem=cmake 
-O--builddirectory=/<>/gmsh-4.1.3\+ds1/debian/build
   dh_autoreconf -i -O--buildsystem=cmake 
-O--builddirectory=/<>/gmsh-4.1.3\+ds1/debian/build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<>/gmsh-4.1.3+ds1'
dh_auto_configure -- -DENABLE_OS_SPECIFIC_INSTALL:BOOL=ON 
-DENABLE_SYSTEM_CONTRIB:BOOL=ON -DENABLE_METIS:BOOL=OFF -DENABLE_MED:BOOL=OFF 
-DENABLE_TAUCS:BOOL=OFF -DENABLE_OSMESA:BOOL=OFF -DENABLE_CGNS:BOOL=ON 
-DENABLE_OCC:BOOL=ON -DENABLE_OCC_CAF:BOOL=ON -DENABLE_WRAP_PYTHON:BOOL=ON 
-DENABLE_BUILD_SHARED:BOOL=ON -DENABLE_BUILD_DYNAMIC:BOOL=ON 
-DENABLE_ONELAB:BOOL=ON -DCMAKE_SKIP_RPATH:BOOL=ON 
-DCMAKE_INCLUDE_PATH:STRING="/usr/include/mpi" 
-DOCC_INC:STRING="/usr/include/occt" 
-DOCC_LIB:STRING="/usr/lib/x86_64-linux-gnu"
  │ -DCMAKE_CXX_FLAGS="-DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX 
-lmpi -fPIC -Wall -g -O2 -fdebug-prefix-map=/<>/gmsh-4.1.3+ds1=. 
-fstack-protector-strong -Wformat -Werror=format-security" -DENABLE_MPI:BOOL=ON
cd debian/build && cmake -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc 
-DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON 
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run 
"-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON 
-DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu 
-DENABLE_OS_SPECIFIC_INSTALL:BOOL=ON -DENABLE_SYSTEM_CONTRIB:BOOL=ON 
-DENABLE_METIS:BOOL=OFF -DENABLE_MED:BOOL=OFF -DENABLE_TAUCS:BOOL=OFF 
-DENABLE_OSMESA:BOOL=OFF -DENABLE_CGNS:BOOL=ON -DENABLE_OCC:BOOL=ON 
-DENABLE_OCC_CAF:BOOL=ON -DENABLE_WRAP_PYTHON:BOOL=ON 
-DENABLE_BUILD_SHARED:BOOL=ON -DENABLE_BUILD_DYNAMIC:BOOL=ON 
-DENABLE_ONELAB:BOOL=ON -DCMAKE_SKIP_RPATH:BOOL=ON 
-DCMAKE_INCLUDE_PATH:STRING=/usr/include/mpi -DOCC_INC:STRING=/usr/include/occt 
-DOCC_LIB:STRING=/usr/lib/x86_64-linux-gnu │ 
"-DCMAKE_CXX_FLAGS=-DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX -lmpi -fPIC -Wall -g 
-O2 -fdebug-prefix-map=/<>/gmsh-4.1.3+ds1=. -fstack-protec
 tor-strong -Wformat -Werror=format-security" -DENABLE_MPI:BOOL=ON ../..
-- The CXX compiler identification is GNU 8.3.0
-- The C compiler identification is GNU 8.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done

[... snipped ...]

make[3]: Leaving directory 
'/<>/gmsh-4.1.3+ds1/debian/build/CMakeFiles/CMakeTmp'
make[2]: Leaving directory 
'/<>/gmsh-4.1.3+ds1/debian/build/CMakeFiles/CMakeTmp'


Determining if the include file dlfcn.h exists passed with the following output:
Change Dir: /<>/gmsh-4.1.3+ds1/debian/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_c1405/fast"
make[2]: Entering directory 
'/<>/gmsh-4.1.3+ds1/debian/build/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_c1405.dir/build.make 
CMakeFiles/cmTC_c1405.dir/build
make[3]: Entering directory 
'/<>/gmsh-4.1.3+ds1/debian/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c1405.dir/CheckIncludeFile.c.o
/usr/bin/cc   -g -O2 -fdebug-prefix-map=/<>/gmsh-4.1.3+ds1=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c99-o 
CMakeFiles/cmTC_c1405.dir/CheckIncludeFile.c.o   -c 
/<>/gmsh-4.1.3+ds1/debian/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_c1405
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c1405.dir/link.txt 
--verbose=1
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<>/gmsh-4.1.3+ds1=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c99   -Wl,-z,relro -Wl,-z,now 
-Wl,--as-needed  -rdynamic CMakeFiles/cmTC_c1405.dir/CheckIncludeFile.c.o  -o 
cmTC_c1405 
make[3]: Leaving directory 
'/<>/gmsh-4.1.3+ds1/debian/build/CMakeFiles/CMakeTmp'
make[2]: Leaving directory 
'/<>/gmsh-4.1.3+ds1/debian/build/CMakeFiles/CMakeTmp'


Determining if the include file linux/joystick.h exists passed with the 
following output:
Change Dir: /<>/gmsh-4.1.3+ds1/debian/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_9c800/fast"
make[2]: Entering directory 
'/<>/gmsh-4.1.3+ds1/debian/build/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_9c800.dir/build.make 
CMakeFiles/cmTC_9c800.dir/build
make[3]: Entering directory 
'/<>/gmsh-4.1.3+ds1/debian/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_9c800.dir/CheckIncludeFile.c.o
/usr/bin/cc   -g -O2 -fdebug-prefix-map=/<>/gmsh-4.1.3+ds1=.