Skip to content

Segfault when building QGIS descriptor

Description

I can't build Mosaic module, there is a segfault during the segmentation.

Steps to reproduce

Clone mosaic. Comment SetDocName in app in order to build. Build otb

[ 92%] ./bin/otbQgisDescriptor Mosaic lib/otb/applications ./share/otb/description/
Modules/Wrappers/QGIS/src/CMakeFiles/generate_descriptors.dir/build.make:166: recipe for target 'share/otb/description/Mosaic.txt' failed
make[2]: *** [share/otb/description/Mosaic.txt] Segmentation fault (core dumped)
CMakeFiles/Makefile2:18830: recipe for target 'Modules/Wrappers/QGIS/src/CMakeFiles/generate_descriptors.dir/all' failed
make[1]: *** [Modules/Wrappers/QGIS/src/CMakeFiles/generate_descriptors.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Configuration information

  • DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"
  • gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04)
  • otb develop branch from today
Edited by Rémi Cresson