Fails to build with GCC-10
As reported by Matthias Klose in Debian Bug #957653:
The package fails to build in a test rebuild on at least amd64 with gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The severity of this report will be raised before the bullseye release, so nothing has to be done for the buster release.
The full build log can be found at: http://people.debian.org/~doko/logs/gcc10-20200225/otb_7.0.0+dfsg-2_unstable_gcc10.log The last lines of the build log are at the end of this report.
To build with GCC 10, either set CC=gcc-10 CXX=g++-10 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-10/porting_to.html
[...] 100 | data._records[header.get_rec_seq()] = record; | ^~~~~~~~ In file included from /<<PKGBUILDDIR>>/Modules/ThirdParty/OssimPlugins/src/ossim/AlosPalsar/AlosPalsarData.cpp:27: /<<PKGBUILDDIR>>/Modules/ThirdParty/OssimPlugins/src/ossim/AlosPalsar/AlosPalsarData.h:99:14: note: declared protected here 99 | RecordType _records; | ^~~~~~~~ make[3]: *** [Modules/ThirdParty/OssimPlugins/src/CMakeFiles/otbossimplugins.dir/build.make:79: Modules/ThirdParty/OssimPlugins/src/CMakeFiles/otbossimplugins.dir/ossim/AlosPalsar/AlosPalsarData.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 5%] Building CXX object Modules/Adapters/GdalAdapters/src/CMakeFiles/OTBGdalAdapters.dir/otbGeometriesSet.cxx.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/GdalAdapters/src && /usr/bin/c++ -DOTBGdalAdapters_EXPORTS -I/<<PKGBUILDDIR>>/Modules/ThirdParty/Boost/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Core/Common -I/<<PKGBUILDDIR>>/Modules/Adapters/BoostAdapters/include -I/usr/include/gdal -I/<<PKGBUILDDIR>>/Modules/ThirdParty/ITK/include -I/<<PKGBUILDDIR>>/Modules/Core/Common/include -I/<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/include -isystem /usr/include/ITK-4.13 -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -std=c++14 -o CMakeFiles/OTBGdalAdapters.dir/otbGeometriesSet.cxx.o -c /<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/src/otbGeometriesSet.cxx [ 5%] Building CXX object Modules/Adapters/GdalAdapters/src/CMakeFiles/OTBGdalAdapters.dir/otbOGRFeatureWrapper.cxx.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/GdalAdapters/src && /usr/bin/c++ -DOTBGdalAdapters_EXPORTS -I/<<PKGBUILDDIR>>/Modules/ThirdParty/Boost/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Core/Common -I/<<PKGBUILDDIR>>/Modules/Adapters/BoostAdapters/include -I/usr/include/gdal -I/<<PKGBUILDDIR>>/Modules/ThirdParty/ITK/include -I/<<PKGBUILDDIR>>/Modules/Core/Common/include -I/<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/include -isystem /usr/include/ITK-4.13 -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -std=c++14 -o CMakeFiles/OTBGdalAdapters.dir/otbOGRFeatureWrapper.cxx.o -c /<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/src/otbOGRFeatureWrapper.cxx [ 5%] Building CXX object Modules/Adapters/CurlAdapters/src/CMakeFiles/OTBCurlAdapters.dir/otbCurlHelperInterface.cxx.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/CurlAdapters/src && /usr/bin/c++ -DOTBCurlAdapters_EXPORTS -I/<<PKGBUILDDIR>>/Modules/ThirdParty/Boost/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Core/Common -I/<<PKGBUILDDIR>>/Modules/Adapters/BoostAdapters/include -I/usr/include/gdal -I/<<PKGBUILDDIR>>/Modules/ThirdParty/ITK/include -I/<<PKGBUILDDIR>>/Modules/Core/Common/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/ThirdParty/Curl/src -I/<<PKGBUILDDIR>>/Modules/Adapters/CurlAdapters/include -isystem /usr/include/ITK-4.13 -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -std=c++14 -o CMakeFiles/OTBCurlAdapters.dir/otbCurlHelperInterface.cxx.o -c /<<PKGBUILDDIR>>/Modules/Adapters/CurlAdapters/src/otbCurlHelperInterface.cxx [ 5%] Linking CXX shared library ../../../../lib/libOTBCurlAdapters-7.0.so cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/CurlAdapters/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/OTBCurlAdapters.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now "-Wl,--as-needed" -Wl,--no-undefined -shared -Wl,-soname,libOTBCurlAdapters-7.0.so.1 -o ../../../../lib/libOTBCurlAdapters-7.0.so.1 CMakeFiles/OTBCurlAdapters.dir/otbCurlHelperStub.cxx.o CMakeFiles/OTBCurlAdapters.dir/otbCurlHelper.cxx.o CMakeFiles/OTBCurlAdapters.dir/otbCurlHelperInterface.cxx.o ../../../../lib/libOTBCommon-7.0.so.1 /usr/lib/x86_64-linux-gnu/libcurl.so /usr/lib/libITKQuadEdgeMesh-4.13.so.1 /usr/lib/libITKMetaIO-4.13.so.1 /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/libITKLabelMap-4.13.so.1 /usr/lib/libITKIOImageBase-4.13.so.1 /usr/lib/libITKBiasCorrection-4.13.so.1 /usr/lib/libITKPolynomials-4.13.so.1 /usr/lib/libITKFFT-4.13.so.1 /usr/lib/x86_64-linux-gnu/libfftw3.so /usr/lib/x86_64-linux-gnu/libfftw3_threads.so /usr/lib/x86_64-linux-gnu/libfftw3f.so /usr/lib/x86_64-linux-gnu/libfftw3f_threads.so /usr/lib/libITKOptimizersv4-4.13.so.1 /usr/lib/libITKOptimizers-4.13.so.1 /usr/lib/libITKKLMRegionGrowing-4.13.so.1 /usr/lib/libITKWatersheds-4.13.so.1 /usr/lib/libITKStatistics-4.13.so.1 /usr/lib/libitkNetlibSlatec-4.13.so.1 /usr/lib/libITKSpatialObjects-4.13.so.1 /usr/lib/libITKTransform-4.13.so.1 /usr/lib/libITKCommon-4.13.so.1 /usr/lib/libitksys-4.13.so.1 /usr/lib/libITKVNLInstantiation-4.13.so.1 /usr/lib/libitkvnl_algo-4.13.so.1 /usr/lib/libitkvnl-4.13.so.1 /usr/lib/libitkv3p_netlib-4.13.so.1 /usr/lib/libitknetlib-4.13.so.1 /usr/lib/libitkvcl-4.13.so.1 -lm -lpthread -lm -ldl /usr/lib/libITKMesh-4.13.so.1 /usr/lib/libITKPath-4.13.so.1 /usr/lib/libgdal.so cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/CurlAdapters/src && /usr/bin/cmake -E cmake_symlink_library ../../../../lib/libOTBCurlAdapters-7.0.so.1 ../../../../lib/libOTBCurlAdapters-7.0.so.1 ../../../../lib/libOTBCurlAdapters-7.0.so make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 5%] Built target OTBCurlAdapters make -f Modules/Filtering/Wavelet/src/CMakeFiles/OTBWavelet.dir/build.make Modules/Filtering/Wavelet/src/CMakeFiles/OTBWavelet.dir/depend make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/Modules/Filtering/Wavelet/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Filtering/Wavelet/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Filtering/Wavelet/src/CMakeFiles/OTBWavelet.dir/DependInfo.cmake --color= Scanning dependencies of target OTBWavelet make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make -f Modules/Filtering/Wavelet/src/CMakeFiles/OTBWavelet.dir/build.make Modules/Filtering/Wavelet/src/CMakeFiles/OTBWavelet.dir/build make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 5%] Building CXX object Modules/Filtering/Wavelet/src/CMakeFiles/OTBWavelet.dir/otbWaveletGenerator.cxx.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Filtering/Wavelet/src && /usr/bin/c++ -DOTBWavelet_EXPORTS -I/<<PKGBUILDDIR>>/Modules/ThirdParty/Boost/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Core/Common -I/<<PKGBUILDDIR>>/Modules/Adapters/BoostAdapters/include -I/usr/include/gdal -I/<<PKGBUILDDIR>>/Modules/ThirdParty/ITK/include -I/<<PKGBUILDDIR>>/Modules/Core/Common/include -I/<<PKGBUILDDIR>>/Modules/Core/ObjectList/include -I/<<PKGBUILDDIR>>/Modules/Filtering/Wavelet/include -isystem /usr/include/ITK-4.13 -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -std=c++14 -o CMakeFiles/OTBWavelet.dir/otbWaveletGenerator.cxx.o -c /<<PKGBUILDDIR>>/Modules/Filtering/Wavelet/src/otbWaveletGenerator.cxx make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:5109: Modules/ThirdParty/OssimPlugins/src/CMakeFiles/otbossimplugins.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 5%] Building CXX object Modules/Adapters/GdalAdapters/src/CMakeFiles/OTBGdalAdapters.dir/otbOGRLayerWrapper.cxx.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/GdalAdapters/src && /usr/bin/c++ -DOTBGdalAdapters_EXPORTS -I/<<PKGBUILDDIR>>/Modules/ThirdParty/Boost/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Core/Common -I/<<PKGBUILDDIR>>/Modules/Adapters/BoostAdapters/include -I/usr/include/gdal -I/<<PKGBUILDDIR>>/Modules/ThirdParty/ITK/include -I/<<PKGBUILDDIR>>/Modules/Core/Common/include -I/<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/include -isystem /usr/include/ITK-4.13 -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -std=c++14 -o CMakeFiles/OTBGdalAdapters.dir/otbOGRLayerWrapper.cxx.o -c /<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/src/otbOGRLayerWrapper.cxx [ 5%] Building CXX object Modules/Adapters/GdalAdapters/src/CMakeFiles/OTBGdalAdapters.dir/otbOGRGeometryWrapper.cxx.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/GdalAdapters/src && /usr/bin/c++ -DOTBGdalAdapters_EXPORTS -I/<<PKGBUILDDIR>>/Modules/ThirdParty/Boost/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Core/Common -I/<<PKGBUILDDIR>>/Modules/Adapters/BoostAdapters/include -I/usr/include/gdal -I/<<PKGBUILDDIR>>/Modules/ThirdParty/ITK/include -I/<<PKGBUILDDIR>>/Modules/Core/Common/include -I/<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/include -isystem /usr/include/ITK-4.13 -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -std=c++14 -o CMakeFiles/OTBGdalAdapters.dir/otbOGRGeometryWrapper.cxx.o -c /<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/src/otbOGRGeometryWrapper.cxx [ 5%] Linking CXX shared library ../../../../lib/libOTBWavelet-7.0.so cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Filtering/Wavelet/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/OTBWavelet.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now "-Wl,--as-needed" -Wl,--no-undefined -shared -Wl,-soname,libOTBWavelet-7.0.so.1 -o ../../../../lib/libOTBWavelet-7.0.so.1 CMakeFiles/OTBWavelet.dir/otbWaveletGenerator.cxx.o /usr/lib/x86_64-linux-gnu/libz.so ../../../../lib/libOTBCommon-7.0.so.1 /usr/lib/libITKQuadEdgeMesh-4.13.so.1 /usr/lib/libITKMetaIO-4.13.so.1 /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/libITKLabelMap-4.13.so.1 /usr/lib/libITKIOImageBase-4.13.so.1 /usr/lib/libITKBiasCorrection-4.13.so.1 /usr/lib/libITKPolynomials-4.13.so.1 /usr/lib/libITKFFT-4.13.so.1 /usr/lib/libITKOptimizersv4-4.13.so.1 /usr/lib/libITKKLMRegionGrowing-4.13.so.1 /usr/lib/libITKWatersheds-4.13.so.1 /usr/lib/x86_64-linux-gnu/libfftw3.so /usr/lib/x86_64-linux-gnu/libfftw3_threads.so /usr/lib/x86_64-linux-gnu/libfftw3f.so /usr/lib/x86_64-linux-gnu/libfftw3f_threads.so /usr/lib/libITKOptimizers-4.13.so.1 /usr/lib/libITKStatistics-4.13.so.1 /usr/lib/libitkNetlibSlatec-4.13.so.1 /usr/lib/libITKSpatialObjects-4.13.so.1 /usr/lib/libITKTransform-4.13.so.1 /usr/lib/libITKCommon-4.13.so.1 /usr/lib/libitksys-4.13.so.1 /usr/lib/libITKVNLInstantiation-4.13.so.1 /usr/lib/libitkvnl_algo-4.13.so.1 /usr/lib/libitkvnl-4.13.so.1 /usr/lib/libitkv3p_netlib-4.13.so.1 /usr/lib/libitknetlib-4.13.so.1 /usr/lib/libitkvcl-4.13.so.1 -lm -lpthread -lm -ldl /usr/lib/libITKMesh-4.13.so.1 /usr/lib/libITKPath-4.13.so.1 /usr/lib/libgdal.so cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Filtering/Wavelet/src && /usr/bin/cmake -E cmake_symlink_library ../../../../lib/libOTBWavelet-7.0.so.1 ../../../../lib/libOTBWavelet-7.0.so.1 ../../../../lib/libOTBWavelet-7.0.so make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 5%] Built target OTBWavelet [ 5%] Building CXX object Modules/Adapters/GdalAdapters/src/CMakeFiles/OTBGdalAdapters.dir/otbGeometriesSource.cxx.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/GdalAdapters/src && /usr/bin/c++ -DOTBGdalAdapters_EXPORTS -I/<<PKGBUILDDIR>>/Modules/ThirdParty/Boost/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Core/Common -I/<<PKGBUILDDIR>>/Modules/Adapters/BoostAdapters/include -I/usr/include/gdal -I/<<PKGBUILDDIR>>/Modules/ThirdParty/ITK/include -I/<<PKGBUILDDIR>>/Modules/Core/Common/include -I/<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/include -isystem /usr/include/ITK-4.13 -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -std=c++14 -o CMakeFiles/OTBGdalAdapters.dir/otbGeometriesSource.cxx.o -c /<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/src/otbGeometriesSource.cxx [ 5%] Building CXX object Modules/Adapters/GdalAdapters/src/CMakeFiles/OTBGdalAdapters.dir/otbOGRDriversInit.cxx.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/GdalAdapters/src && /usr/bin/c++ -DOTBGdalAdapters_EXPORTS -I/<<PKGBUILDDIR>>/Modules/ThirdParty/Boost/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Core/Common -I/<<PKGBUILDDIR>>/Modules/Adapters/BoostAdapters/include -I/usr/include/gdal -I/<<PKGBUILDDIR>>/Modules/ThirdParty/ITK/include -I/<<PKGBUILDDIR>>/Modules/Core/Common/include -I/<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/include -isystem /usr/include/ITK-4.13 -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -std=c++14 -o CMakeFiles/OTBGdalAdapters.dir/otbOGRDriversInit.cxx.o -c /<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/src/otbOGRDriversInit.cxx [ 5%] Building CXX object Modules/Adapters/GdalAdapters/src/CMakeFiles/OTBGdalAdapters.dir/otbGeometriesToGeometriesFilter.cxx.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/GdalAdapters/src && /usr/bin/c++ -DOTBGdalAdapters_EXPORTS -I/<<PKGBUILDDIR>>/Modules/ThirdParty/Boost/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Core/Common -I/<<PKGBUILDDIR>>/Modules/Adapters/BoostAdapters/include -I/usr/include/gdal -I/<<PKGBUILDDIR>>/Modules/ThirdParty/ITK/include -I/<<PKGBUILDDIR>>/Modules/Core/Common/include -I/<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/include -isystem /usr/include/ITK-4.13 -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -std=c++14 -o CMakeFiles/OTBGdalAdapters.dir/otbGeometriesToGeometriesFilter.cxx.o -c /<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/src/otbGeometriesToGeometriesFilter.cxx [ 5%] Building CXX object Modules/Adapters/GdalAdapters/src/CMakeFiles/OTBGdalAdapters.dir/otbOGRDataSourceWrapper.cxx.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/GdalAdapters/src && /usr/bin/c++ -DOTBGdalAdapters_EXPORTS -I/<<PKGBUILDDIR>>/Modules/ThirdParty/Boost/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Core/Common -I/<<PKGBUILDDIR>>/Modules/Adapters/BoostAdapters/include -I/usr/include/gdal -I/<<PKGBUILDDIR>>/Modules/ThirdParty/ITK/include -I/<<PKGBUILDDIR>>/Modules/Core/Common/include -I/<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/include -isystem /usr/include/ITK-4.13 -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -std=c++14 -o CMakeFiles/OTBGdalAdapters.dir/otbOGRDataSourceWrapper.cxx.o -c /<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/src/otbOGRDataSourceWrapper.cxx [ 5%] Building CXX object Modules/Adapters/GdalAdapters/src/CMakeFiles/OTBGdalAdapters.dir/otbOGRHelpers.cxx.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/GdalAdapters/src && /usr/bin/c++ -DOTBGdalAdapters_EXPORTS -I/<<PKGBUILDDIR>>/Modules/ThirdParty/Boost/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Core/Common -I/<<PKGBUILDDIR>>/Modules/Adapters/BoostAdapters/include -I/usr/include/gdal -I/<<PKGBUILDDIR>>/Modules/ThirdParty/ITK/include -I/<<PKGBUILDDIR>>/Modules/Core/Common/include -I/<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/include -isystem /usr/include/ITK-4.13 -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -std=c++14 -o CMakeFiles/OTBGdalAdapters.dir/otbOGRHelpers.cxx.o -c /<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/src/otbOGRHelpers.cxx [ 5%] Building CXX object Modules/Adapters/GdalAdapters/src/CMakeFiles/OTBGdalAdapters.dir/otbOGRExtendedFilenameToOptions.cxx.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/GdalAdapters/src && /usr/bin/c++ -DOTBGdalAdapters_EXPORTS -I/<<PKGBUILDDIR>>/Modules/ThirdParty/Boost/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Core/Common -I/<<PKGBUILDDIR>>/Modules/Adapters/BoostAdapters/include -I/usr/include/gdal -I/<<PKGBUILDDIR>>/Modules/ThirdParty/ITK/include -I/<<PKGBUILDDIR>>/Modules/Core/Common/include -I/<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/include -isystem /usr/include/ITK-4.13 -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -std=c++14 -o CMakeFiles/OTBGdalAdapters.dir/otbOGRExtendedFilenameToOptions.cxx.o -c /<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/src/otbOGRExtendedFilenameToOptions.cxx [ 5%] Building CXX object Modules/Adapters/GdalAdapters/src/CMakeFiles/OTBGdalAdapters.dir/otbSpatialReference.cxx.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/GdalAdapters/src && /usr/bin/c++ -DOTBGdalAdapters_EXPORTS -I/<<PKGBUILDDIR>>/Modules/ThirdParty/Boost/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Core/Common -I/<<PKGBUILDDIR>>/Modules/Adapters/BoostAdapters/include -I/usr/include/gdal -I/<<PKGBUILDDIR>>/Modules/ThirdParty/ITK/include -I/<<PKGBUILDDIR>>/Modules/Core/Common/include -I/<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/include -isystem /usr/include/ITK-4.13 -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -std=c++14 -o CMakeFiles/OTBGdalAdapters.dir/otbSpatialReference.cxx.o -c /<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/src/otbSpatialReference.cxx [ 6%] Building CXX object Modules/Adapters/GdalAdapters/src/CMakeFiles/OTBGdalAdapters.dir/otbCoordinateTransformation.cxx.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/GdalAdapters/src && /usr/bin/c++ -DOTBGdalAdapters_EXPORTS -I/<<PKGBUILDDIR>>/Modules/ThirdParty/Boost/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Core/Common -I/<<PKGBUILDDIR>>/Modules/Adapters/BoostAdapters/include -I/usr/include/gdal -I/<<PKGBUILDDIR>>/Modules/ThirdParty/ITK/include -I/<<PKGBUILDDIR>>/Modules/Core/Common/include -I/<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/include -isystem /usr/include/ITK-4.13 -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -std=c++14 -o CMakeFiles/OTBGdalAdapters.dir/otbCoordinateTransformation.cxx.o -c /<<PKGBUILDDIR>>/Modules/Adapters/GdalAdapters/src/otbCoordinateTransformation.cxx [ 6%] Linking CXX shared library ../../../../lib/libOTBGdalAdapters-7.0.so cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/GdalAdapters/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/OTBGdalAdapters.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -msse2 -mfpmath=sse -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now "-Wl,--as-needed" -Wl,--no-undefined -shared -Wl,-soname,libOTBGdalAdapters-7.0.so.1 -o ../../../../lib/libOTBGdalAdapters-7.0.so.1 CMakeFiles/OTBGdalAdapters.dir/otbOGRFieldWrapper.cxx.o CMakeFiles/OTBGdalAdapters.dir/otbGeometriesSet.cxx.o CMakeFiles/OTBGdalAdapters.dir/otbOGRFeatureWrapper.cxx.o CMakeFiles/OTBGdalAdapters.dir/otbOGRLayerWrapper.cxx.o CMakeFiles/OTBGdalAdapters.dir/otbOGRGeometryWrapper.cxx.o CMakeFiles/OTBGdalAdapters.dir/otbGeometriesSource.cxx.o CMakeFiles/OTBGdalAdapters.dir/otbOGRDriversInit.cxx.o CMakeFiles/OTBGdalAdapters.dir/otbGeometriesToGeometriesFilter.cxx.o CMakeFiles/OTBGdalAdapters.dir/otbOGRDataSourceWrapper.cxx.o CMakeFiles/OTBGdalAdapters.dir/otbOGRHelpers.cxx.o CMakeFiles/OTBGdalAdapters.dir/otbOGRExtendedFilenameToOptions.cxx.o CMakeFiles/OTBGdalAdapters.dir/otbSpatialReference.cxx.o CMakeFiles/OTBGdalAdapters.dir/otbCoordinateTransformation.cxx.o ../../../../lib/libOTBCommon-7.0.so.1 /usr/lib/libgdal.so /usr/lib/libITKQuadEdgeMesh-4.13.so.1 /usr/lib/libITKMetaIO-4.13.so.1 /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/libITKLabelMap-4.13.so.1 /usr/lib/libITKIOImageBase-4.13.so.1 /usr/lib/libITKBiasCorrection-4.13.so.1 /usr/lib/libITKPolynomials-4.13.so.1 /usr/lib/libITKFFT-4.13.so.1 /usr/lib/x86_64-linux-gnu/libfftw3.so /usr/lib/x86_64-linux-gnu/libfftw3_threads.so /usr/lib/x86_64-linux-gnu/libfftw3f.so /usr/lib/x86_64-linux-gnu/libfftw3f_threads.so /usr/lib/libITKOptimizersv4-4.13.so.1 /usr/lib/libITKOptimizers-4.13.so.1 /usr/lib/libITKKLMRegionGrowing-4.13.so.1 /usr/lib/libITKWatersheds-4.13.so.1 /usr/lib/libITKStatistics-4.13.so.1 /usr/lib/libitkNetlibSlatec-4.13.so.1 /usr/lib/libITKSpatialObjects-4.13.so.1 /usr/lib/libITKTransform-4.13.so.1 /usr/lib/libITKCommon-4.13.so.1 /usr/lib/libitksys-4.13.so.1 /usr/lib/libITKVNLInstantiation-4.13.so.1 /usr/lib/libitkvnl_algo-4.13.so.1 /usr/lib/libitkvnl-4.13.so.1 /usr/lib/libitkv3p_netlib-4.13.so.1 /usr/lib/libitknetlib-4.13.so.1 /usr/lib/libitkvcl-4.13.so.1 -lm -lpthread -lm -ldl /usr/lib/libITKMesh-4.13.so.1 /usr/lib/libITKPath-4.13.so.1 cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Modules/Adapters/GdalAdapters/src && /usr/bin/cmake -E cmake_symlink_library ../../../../lib/libOTBGdalAdapters-7.0.so.1 ../../../../lib/libOTBGdalAdapters-7.0.so.1 ../../../../lib/libOTBGdalAdapters-7.0.so make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 6%] Built target OTBGdalAdapters make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[1]: *** [Makefile:133: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j4 returned exit code 2 make: *** [debian/rules:81: build] Error 25 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2