Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/liblas.spec'], chrootPath='/var/lib/mock/f29-build-31342-16564/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/liblas.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/liblas-1.8.0-23.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/liblas.spec'], chrootPath='/var/lib/mock/f29-build-31342-16564/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/liblas.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nu13C7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libLAS-1.8.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/libLAS-1.8.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libLAS-1.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e s#@libdir@#/usr/lib64# -e s#@Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE@#-lboost_program_options# -e s#@Boost_THREAD_LIBRARY_RELEASE@#-lboost_thread# -e s#@GDAL_LIBRARY@#-lgdal# -e s#@GEOTIFF_LIBRARY@#-lgeotiff# -e s#@TIFF_LIBRARY@#-ltiff# -e s#@LASZIP_LIBRARY@#-llaszip# /builddir/build/BUILD/libLAS-1.8.0/apps/liblas-config.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DUhvBF + umask 022 + cd /builddir/build/BUILD + cd libLAS-1.8.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SKIP_RPATH:BOOL=ON -DGEOTIFF_INCLUDE_DIR:PATH=/usr/include/libgeotiff -DLIBLAS_LIB_SUBDIR:PATH=lib64 -DWITH_PKGCONFIG:BOOL=OFF -DWITH_TESTS:BOOL=OFF . -- The C compiler identification is GNU 8.2.1 -- The CXX compiler identification is GNU 8.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- 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 -- Detecting CXX compile features -- Detecting CXX compile features - done BUILDSTDERR: CMake Deprecation Warning at CMakeLists.txt:81 (cmake_policy): BUILDSTDERR: The OLD behavior for policy CMP0042 will be removed from a future version BUILDSTDERR: of CMake. BUILDSTDERR: The cmake-policies(7) manual explains that the OLD behaviors of all BUILDSTDERR: policies are deprecated and that a policy should be set to OLD only under BUILDSTDERR: specific short-term circumstances. Projects should be ported to the NEW BUILDSTDERR: behavior and not rely on setting a policy to OLD. -- Setting libLAS build type - Release -- Searching for Boost 1.38+ - done -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Boost version: 1.66.0 -- Found the following Boost libraries: -- program_options -- thread -- system -- iostreams -- filesystem -- chrono -- date_time -- atomic -- regex -- Searching for LASzip 2.0.1+ library -- Found LASzip version: 2.2.0 -- Found LASzip: /usr/lib64/liblaszip.so (Required is at least version "2.0.1") -- Searching for GDAL 1.7.0+ library -- Found acceptable GDAL version 2.3.1 -- Found GDAL: /usr/lib64/libgdal.so (Required is at least version "1.7.0") -- Searching for GeoTIFF 1.2.5+ library -- Found GeoTIFF version: 1.4.0 -- Found GeoTIFF: /usr/lib64/libgeotiff.so (Required is at least version "1.2.5") -- Found TIFF: /usr/lib64/libtiff.so (found version "4.0.9") -- Enable libLAS utilities to build - done -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/libLAS-1.8.0 + make -j4 /usr/bin/cmake -H/builddir/build/BUILD/libLAS-1.8.0 -B/builddir/build/BUILD/libLAS-1.8.0 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libLAS-1.8.0/CMakeFiles /builddir/build/BUILD/libLAS-1.8.0/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/libLAS-1.8.0' make -f src/CMakeFiles/las.dir/build.make src/CMakeFiles/las.dir/depend make[2]: Entering directory '/builddir/build/BUILD/libLAS-1.8.0' cd /builddir/build/BUILD/libLAS-1.8.0 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libLAS-1.8.0 /builddir/build/BUILD/libLAS-1.8.0/src /builddir/build/BUILD/libLAS-1.8.0 /builddir/build/BUILD/libLAS-1.8.0/src /builddir/build/BUILD/libLAS-1.8.0/src/CMakeFiles/las.dir/DependInfo.cmake --color= Scanning dependencies of target las make[2]: Leaving directory '/builddir/build/BUILD/libLAS-1.8.0' make -f src/CMakeFiles/las.dir/build.make src/CMakeFiles/las.dir/build make[2]: Entering directory '/builddir/build/BUILD/libLAS-1.8.0' [ 4%] Building CXX object src/CMakeFiles/las.dir/chipper.cpp.o [ 4%] Building CXX object src/CMakeFiles/las.dir/detail/index/indexcell.cpp.o [ 4%] Building CXX object src/CMakeFiles/las.dir/detail/index/indexoutput.cpp.o cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/detail/index/indexcell.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexcell.cpp cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/detail/index/indexoutput.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/chipper.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/chipper.cpp [ 6%] Building CXX object src/CMakeFiles/las.dir/factory.cpp.o cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/factory.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/factory.cpp [ 7%] Building CXX object src/CMakeFiles/las.dir/classification.cpp.o cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/classification.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/classification.cpp [ 9%] Building CXX object src/CMakeFiles/las.dir/color.cpp.o cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/color.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/color.cpp [ 11%] Building CXX object src/CMakeFiles/las.dir/dimension.cpp.o cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/dimension.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/dimension.cpp BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp: In member function 'bool liblas::detail::IndexOutput::InitiateOutput()': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp:144:14: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: catch (std::bad_alloc) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp:147:14: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] BUILDSTDERR: catch (std::out_of_range) { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp: In member function 'bool liblas::detail::IndexOutput::OutputCell(liblas::detail::IndexCell*, uint32_t, uint32_t)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp:282:87: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: WriteVLRDataNoInc_str(m_indexVLRCellPointData, (char * const)&m_indexVLRTempData[0], m_TempWritePos, WritePos); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp:311:87: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: WriteVLRDataNoInc_str(m_indexVLRCellPointData, (char * const)&m_indexVLRTempData[0], WrittenBytes, WritePos); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp:323:99: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] BUILDSTDERR: WriteVLRDataNoInc_str(m_indexVLRCellPointData, (char * const)&m_indexVLRTempData[WrittenBytes], NewWrittenBytes, 0); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp:338:14: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: catch (std::bad_alloc) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp:341:14: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] BUILDSTDERR: catch (std::out_of_range) { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp: In member function 'bool liblas::detail::IndexOutput::InitializeVLRData(uint32_t, uint32_t)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp:370:14: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: catch (std::bad_alloc) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp:373:14: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] BUILDSTDERR: catch (std::out_of_range) { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp: In member function 'bool liblas::detail::IndexOutput::FinalizeOutput()': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp:404:14: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: catch (std::bad_alloc) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/detail/index/indexoutput.cpp:407:14: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] BUILDSTDERR: catch (std::out_of_range) { BUILDSTDERR: ^~~~~~~~~~~~ [ 12%] Building CXX object src/CMakeFiles/las.dir/error.cpp.o cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/error.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/error.cpp [ 14%] Building CXX object src/CMakeFiles/las.dir/filter.cpp.o cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/filter.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/filter.cpp [ 15%] Building CXX object src/CMakeFiles/las.dir/header.cpp.o cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/header.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/header.cpp BUILDSTDERR: In file included from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/xml_parser.hpp:15, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/dimension.cpp:50: BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/xml_parser_write.hpp: In function 'void liblas::property_tree::xml_parser::write_xml_comment(std::basic_ostream&, const std::__cxx11::basic_string<_CharT>&, int, bool, const liblas::property_tree::xml_parser::xml_writer_settings&)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/xml_parser_write.hpp:38:48: warning: typedef 'Str' locally defined but not used [-Wunused-local-typedefs] BUILDSTDERR: typedef typename std::basic_string Str; BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/xml_parser_write.hpp: In function 'void liblas::property_tree::xml_parser::write_xml_element(std::basic_ostream&, const std::__cxx11::basic_string&, const Ptree&, int, const liblas::property_tree::xml_parser::xml_writer_settings&)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/xml_parser_write.hpp:72:48: warning: typedef 'Str' locally defined but not used [-Wunused-local-typedefs] BUILDSTDERR: typedef typename std::basic_string Str; BUILDSTDERR: ^~~ [ 17%] Building CXX object src/CMakeFiles/las.dir/index.cpp.o cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/index.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp [ 19%] Building CXX object src/CMakeFiles/las.dir/point.cpp.o cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/point.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/header.cpp: In copy constructor 'liblas::Header::Header(const liblas::Header&)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/header.cpp:104:11: warning: variable 'p' set but not used [-Wunused-but-set-variable] BUILDSTDERR: void* p = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/header.cpp: In member function 'liblas::Header& liblas::Header::operator=(const liblas::Header&)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/header.cpp:123:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] BUILDSTDERR: void* p = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp: In member function 'bool liblas::Index::Prep(const liblas::IndexData&)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:76:16: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] BUILDSTDERR: catch (std::runtime_error) { BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp: In member function 'const std::vector& liblas::Index::Filter(liblas::IndexData&)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:331:14: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: catch (std::bad_alloc) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp: In member function 'liblas::IndexIterator* liblas::Index::Filter(const liblas::IndexData&, uint32_t)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:345:14: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: catch (std::bad_alloc) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp: In member function 'liblas::IndexIterator* liblas::Index::Filter(double, double, double, double, double, double, uint32_t)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:362:14: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: catch (std::bad_alloc) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp: In member function 'liblas::IndexIterator* liblas::Index::Filter(const liblas::Bounds&, uint32_t)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:377:14: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: catch (std::bad_alloc) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp: In member function 'bool liblas::Index::LoadIndexVLR(const liblas::VariableRecord&)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:503:14: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: catch (std::bad_alloc) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:506:14: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] BUILDSTDERR: catch (std::out_of_range) { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp: In member function 'bool liblas::Index::FilterOneVLR(const liblas::VariableRecord&, uint32_t&, liblas::IndexData&, bool&)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:711:14: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: catch (std::bad_alloc) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:714:14: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] BUILDSTDERR: catch (std::out_of_range) { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp: In member function 'bool liblas::Index::FilterPointSeries(uint32_t&, uint32_t&, uint32_t, uint32_t, uint32_t, uint32_t, liblas::detail::ConsecPtAccumulator, liblas::IndexIterator*, const liblas::IndexData&)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:762:14: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: catch (std::bad_alloc) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp: In member function 'bool liblas::Index::BuildIndex()': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:1046:14: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] BUILDSTDERR: catch (std::runtime_error) { BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:1303:14: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: catch (std::bad_alloc) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp: In member function 'bool liblas::Index::SaveIndexInLASFile()': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:1573:14: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] BUILDSTDERR: catch (std::runtime_error) { BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp: In member function 'bool liblas::Index::SaveIndexInStandAloneFile()': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:1593:14: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] BUILDSTDERR: catch (std::runtime_error) { BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp: In member function 'bool liblas::IndexData::SetFilterValues(double, double, double, double, double, double, const liblas::Index&)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:2024:14: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] BUILDSTDERR: catch (std::runtime_error) { BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp: In member function 'bool liblas::IndexData::SetFilterValues(const liblas::Bounds&, const liblas::Index&)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/index.cpp:2038:14: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] BUILDSTDERR: catch (std::runtime_error) { BUILDSTDERR: ^~~~~~~~~~~~~ [ 20%] Building CXX object src/CMakeFiles/las.dir/reader.cpp.o cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/reader.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/reader.cpp BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp: In member function 'int32_t liblas::Point::GetRawX() const': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp:470:54: warning: cast from 'uint8_t*' {aka 'unsigned char*'} to 'int32_t*' {aka 'int*'} increases required alignment of target type [-Wcast-align] BUILDSTDERR: int32_t* output = reinterpret_cast(data); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp: In member function 'int32_t liblas::Point::GetRawY() const': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp:486:54: warning: cast from 'uint8_t*' {aka 'unsigned char*'} to 'int32_t*' {aka 'int*'} increases required alignment of target type [-Wcast-align] BUILDSTDERR: int32_t* output = reinterpret_cast(data); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp: In member function 'int32_t liblas::Point::GetRawZ() const': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp:502:54: warning: cast from 'uint8_t*' {aka 'unsigned char*'} to 'int32_t*' {aka 'int*'} increases required alignment of target type [-Wcast-align] BUILDSTDERR: int32_t* output = reinterpret_cast(data); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp: In member function 'uint16_t liblas::Point::GetIntensity() const': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp:542:56: warning: cast from 'uint8_t*' {aka 'unsigned char*'} to 'uint16_t*' {aka 'short unsigned int*'} increases required alignment of target type [-Wcast-align] BUILDSTDERR: uint16_t* output = reinterpret_cast(data); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp: In member function 'uint16_t liblas::Point::GetPointSourceID() const': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp:770:56: warning: cast from 'uint8_t*' {aka 'unsigned char*'} to 'uint16_t*' {aka 'short unsigned int*'} increases required alignment of target type [-Wcast-align] BUILDSTDERR: uint16_t* output = reinterpret_cast(data); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp: In member function 'double liblas::Point::GetTime() const': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp:829:52: warning: cast from 'uint8_t*' {aka 'unsigned char*'} to 'double*' increases required alignment of target type [-Wcast-align] BUILDSTDERR: double* output = reinterpret_cast(data); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp: In member function 'liblas::Color liblas::Point::GetColor() const': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp:880:59: warning: cast from 'uint8_t*' {aka 'unsigned char*'} to 'uint16_t*' {aka 'short unsigned int*'} increases required alignment of target type [-Wcast-align] BUILDSTDERR: uint16_t* p_red = reinterpret_cast(red_data); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp:883:63: warning: cast from 'uint8_t*' {aka 'unsigned char*'} to 'uint16_t*' {aka 'short unsigned int*'} increases required alignment of target type [-Wcast-align] BUILDSTDERR: uint16_t* p_green = reinterpret_cast(green_data); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/point.cpp:886:61: warning: cast from 'uint8_t*' {aka 'unsigned char*'} to 'uint16_t*' {aka 'short unsigned int*'} increases required alignment of target type [-Wcast-align] BUILDSTDERR: uint16_t* p_blue = reinterpret_cast(blue_data); BUILDSTDERR: ^ [ 22%] Building CXX object src/CMakeFiles/las.dir/spatialreference.cpp.o cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/spatialreference.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp BUILDSTDERR: In file included from /usr/include/gdal/ogr_core.h:34, BUILDSTDERR: from /usr/include/gdal/ogr_srs_api.h:35, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:51: BUILDSTDERR: /usr/include/gdal/cpl_port.h:187:6: error: #error Must have C++11 or newer. BUILDSTDERR: # error Must have C++11 or newer. BUILDSTDERR: ^~~~~ [ 23%] Building CXX object src/CMakeFiles/las.dir/schema.cpp.o cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/schema.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/schema.cpp BUILDSTDERR: In file included from /usr/include/c++/8/type_traits:35, BUILDSTDERR: from /usr/include/gdal/cpl_conv.h:372, BUILDSTDERR: from /usr/include/gdal/cpl_string.h:36, BUILDSTDERR: from /usr/include/gdal/ogr_spatialref.h:35, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:55: BUILDSTDERR: /usr/include/c++/8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. BUILDSTDERR: #error This file requires compiler and library support \ BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/gdal/cpl_string.h:36, BUILDSTDERR: from /usr/include/gdal/ogr_spatialref.h:35, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:55: BUILDSTDERR: /usr/include/gdal/cpl_conv.h:388:9: warning: identifier 'static_assert' is a keyword in C++11 [-Wc++11-compat] BUILDSTDERR: static_assert( BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gdal/ogr_spatialref.h:35, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:55: BUILDSTDERR: /usr/include/gdal/cpl_string.h:390:9: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++11-compat] BUILDSTDERR: if (pszValue == nullptr ) BUILDSTDERR: ^~ [ 25%] Building CXX object src/CMakeFiles/las.dir/transform.cpp.o cd /builddir/build/BUILD/libLAS-1.8.0/src && /usr/bin/c++ -DHAVE_GDAL=1 -DHAVE_LASZIP=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/builddir/build/BUILD/libLAS-1.8.0/src/../include -I/usr/include/gdal -I/usr/include/libgeotiff -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi -DNDEBUG -fPIC -o CMakeFiles/las.dir/transform.cpp.o -c /builddir/build/BUILD/libLAS-1.8.0/src/transform.cpp BUILDSTDERR: In file included from /usr/include/gdal/cpl_string.h:36, BUILDSTDERR: from /usr/include/gdal/ogr_spatialref.h:35, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:55: BUILDSTDERR: /usr/include/gdal/cpl_conv.h:304:37: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 BUILDSTDERR: CPLLocaleC(const CPLLocaleC&) = delete; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:305:48: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 BUILDSTDERR: CPLLocaleC& operator=(const CPLLocaleC&) = delete; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:323:49: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 BUILDSTDERR: CPLThreadLocaleC(const CPLThreadLocaleC&) = delete; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:324:60: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 BUILDSTDERR: CPLThreadLocaleC& operator=(const CPLThreadLocaleC&) = delete; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:353:59: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 BUILDSTDERR: CPLConfigOptionSetter(const CPLConfigOptionSetter&) = delete; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:354:70: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 BUILDSTDERR: CPLConfigOptionSetter& operator=(const CPLConfigOptionSetter&) = delete; BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /usr/include/gdal/cpl_string.h:36, BUILDSTDERR: from /usr/include/gdal/ogr_spatialref.h:35, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:55: BUILDSTDERR: /usr/include/gdal/cpl_conv.h: In function 'To cpl::down_cast(From*)': BUILDSTDERR: /usr/include/gdal/cpl_conv.h:389:19: error: 'is_base_of' is not a member of 'std' BUILDSTDERR: (std::is_base_of::type>::value), BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:390:57: error: expected '(' before '<' token BUILDSTDERR: typename std::remove_pointer::type>::value), BUILDSTDERR: ^ BUILDSTDERR: ( BUILDSTDERR: /usr/include/gdal/cpl_conv.h:390:60: error: expected primary-expression before '>' token BUILDSTDERR: typename std::remove_pointer::type>::value), BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:390:63: error: '::type' has not been declared BUILDSTDERR: typename std::remove_pointer::type>::value), BUILDSTDERR: ^~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:390:63: note: suggested alternative: 'pipe' BUILDSTDERR: typename std::remove_pointer::type>::value), BUILDSTDERR: ^~~~ BUILDSTDERR: pipe BUILDSTDERR: /usr/include/gdal/cpl_conv.h:390:70: error: '::value' has not been declared BUILDSTDERR: typename std::remove_pointer::type>::value), BUILDSTDERR: ^~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:388:9: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive] BUILDSTDERR: static_assert( BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:388:9: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) BUILDSTDERR: In file included from /usr/include/gdal/ogr_spatialref.h:35, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:55: BUILDSTDERR: /usr/include/gdal/cpl_string.h: At global scope: BUILDSTDERR: /usr/include/gdal/cpl_string.h:407:79: error: 'nullptr' was not declared in this scope BUILDSTDERR: CPLSTRING_DLL CPLString &FormatC( double dfValue, const char *pszFormat = nullptr ); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_string.h: In member function 'void CPLString::Seize(char*)': BUILDSTDERR: /usr/include/gdal/cpl_string.h:390:25: error: 'nullptr' was not declared in this scope BUILDSTDERR: if (pszValue == nullptr ) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:55: BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h: At global scope: BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:78:45: error: 'nullptr' was not declared in this scope BUILDSTDERR: explicit OGR_SRSNode(const char * = nullptr); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:287:38: error: 'std::nullptr_t' has not been declared BUILDSTDERR: double GetLinearUnits( std::nullptr_t ) const BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:297:70: error: 'std::nullptr_t' has not been declared BUILDSTDERR: double GetTargetLinearUnits( const char *pszTargetKey, std::nullptr_t ) const BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:305:39: error: 'std::nullptr_t' has not been declared BUILDSTDERR: double GetAngularUnits( std::nullptr_t ) const BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:312:40: error: 'std::nullptr_t' has not been declared BUILDSTDERR: double GetPrimeMeridian( std::nullptr_t ) const BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:178:52: error: 'nullptr' was not declared in this scope BUILDSTDERR: explicit OGRSpatialReference(const char * = nullptr); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:200:54: error: 'nullptr' was not declared in this scope BUILDSTDERR: OGRErr exportToXML( char **, const char * = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:219:61: error: 'nullptr' was not declared in this scope BUILDSTDERR: OGRErr importFromPCI( const char *, const char * = nullptr, BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:220:43: error: 'nullptr' was not declared in this scope BUILDSTDERR: double * = nullptr ); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:245:71: error: 'nullptr' was not declared in this scope BUILDSTDERR: const char* const* papszOptions = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:248:47: error: 'nullptr' was not declared in this scope BUILDSTDERR: OGRErr StripCTParms( OGR_SRSNode * = nullptr ); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:285:49: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetLinearUnits( const char ** = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:295:67: error: 'nullptr' was not declared in this scope BUILDSTDERR: const char ** ppszRetName = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:303:50: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetAngularUnits( const char ** = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:310:51: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetPrimeMeridian( const char ** = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:339:53: error: 'nullptr' was not declared in this scope BUILDSTDERR: const char * pszPMName = nullptr, BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:341:52: error: 'nullptr' was not declared in this scope BUILDSTDERR: const char * pszUnits = nullptr, BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:359:42: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetSemiMajor( OGRErr * = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:360:42: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetSemiMinor( OGRErr * = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:361:46: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetInvFlattening( OGRErr * = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:381:56: error: 'nullptr' was not declared in this scope BUILDSTDERR: const char *pszDefault = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:387:59: error: 'nullptr' was not declared in this scope BUILDSTDERR: const OGR_SRSNode *poPROJCS=nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:389:67: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetProjParm( const char *, double =0.0, OGRErr* = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:392:69: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetNormProjParm( const char *, double=0.0, OGRErr* =nullptr)const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:614:44: error: 'nullptr' was not declared in this scope BUILDSTDERR: int GetUTMZone( int *pbNorth = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:628:66: error: 'nullptr' was not declared in this scope BUILDSTDERR: const char *pszOverrideUnitName = nullptr, BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:634:47: error: 'nullptr' was not declared in this scope BUILDSTDERR: int nPCSCode, const char* pszCSName = nullptr ); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:639:59: error: 'nullptr' was not declared in this scope BUILDSTDERR: const char* pszUnitsName, const char* pszCSName = nullptr ); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h: In member function 'double OGRSpatialReference::GetLinearUnits(int) const': BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:288:60: error: 'nullptr' was not declared in this scope BUILDSTDERR: { return GetLinearUnits( static_cast(nullptr) ); } BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h: In member function 'double OGRSpatialReference::GetTargetLinearUnits(const char*, int) const': BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:298:80: error: 'nullptr' was not declared in this scope BUILDSTDERR: { return GetTargetLinearUnits( pszTargetKey, static_cast(nullptr) ); } BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h: In member function 'double OGRSpatialReference::GetAngularUnits(int) const': BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:306:61: error: 'nullptr' was not declared in this scope BUILDSTDERR: { return GetAngularUnits( static_cast(nullptr) ); } BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h: In member function 'double OGRSpatialReference::GetPrimeMeridian(int) const': BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:313:62: error: 'nullptr' was not declared in this scope BUILDSTDERR: { return GetPrimeMeridian( static_cast(nullptr) ); } BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h: At global scope: BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:712:62: error: 'nullptr' was not declared in this scope BUILDSTDERR: double *x, double *y, double *z = nullptr ) = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:730:64: error: 'nullptr' was not declared in this scope BUILDSTDERR: double *x, double *y, double *z = nullptr, BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:731:48: error: 'nullptr' was not declared in this scope BUILDSTDERR: int *pabSuccess = nullptr ) = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/gdal/gdal.h:49, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:56: BUILDSTDERR: /usr/include/gdal/cpl_minixml.h:202:47: error: expected template-name before '<' token BUILDSTDERR: class CPLXMLTreeCloser: public std::unique_ptr BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gdal/cpl_minixml.h:202:47: error: expected '{' before '<' token BUILDSTDERR: /usr/include/gdal/cpl_minixml.h:202:47: error: expected unqualified-id before '<' token BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp: In member function 'const GTIF* liblas::SpatialReference::GetGTIF()': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:503:66: warning: cast from 'unsigned char*' to 'short int*' increases required alignment of target type [-Wcast-align] BUILDSTDERR: short *data_s = reinterpret_cast( &(data[0])); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp: In member function 'std::__cxx11::string liblas::SpatialReference::GetWKT(liblas::SpatialReference::WKTModeFlag, bool) const': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:602:47: warning: 'OGRErr OGRSpatialReference::importFromWkt(char**)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: poSRS->importFromWkt( &pszOrigWKT ); BUILDSTDERR: ^ BUILDSTDERR: In file included from /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:55: BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:207:17: note: declared here BUILDSTDERR: OGRErr importFromWkt( char ** ) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:623:47: warning: 'OGRErr OGRSpatialReference::importFromWkt(char**)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: poSRS->importFromWkt( &pszOrigWKT ); BUILDSTDERR: ^ BUILDSTDERR: In file included from /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:55: BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:207:17: note: declared here BUILDSTDERR: OGRErr importFromWkt( char ** ) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp: In member function 'std::__cxx11::string liblas::SpatialReference::GetProj4() const': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:759:70: warning: 'OGRErr OGRSpatialReference::importFromWkt(char**)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: if (OGRERR_NONE != srs.importFromWkt(const_cast (&poWKT))) BUILDSTDERR: ^ BUILDSTDERR: In file included from /builddir/build/BUILD/libLAS-1.8.0/src/spatialreference.cpp:55: BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:207:17: note: declared here BUILDSTDERR: OGRErr importFromWkt( char ** ) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gdal/gdal.h:45, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/transform.cpp:66: BUILDSTDERR: /usr/include/gdal/cpl_port.h:187:6: error: #error Must have C++11 or newer. BUILDSTDERR: # error Must have C++11 or newer. BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/type_traits:35, BUILDSTDERR: from /usr/include/gdal/cpl_conv.h:372, BUILDSTDERR: from /usr/include/gdal/cpl_string.h:36, BUILDSTDERR: from /usr/include/gdal/ogr_spatialref.h:35, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/transform.cpp:67: BUILDSTDERR: /usr/include/c++/8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. BUILDSTDERR: #error This file requires compiler and library support \ BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/gdal/cpl_string.h:36, BUILDSTDERR: from /usr/include/gdal/ogr_spatialref.h:35, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/transform.cpp:67: BUILDSTDERR: /usr/include/gdal/cpl_conv.h:388:9: warning: identifier 'static_assert' is a keyword in C++11 [-Wc++11-compat] BUILDSTDERR: static_assert( BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gdal/ogr_spatialref.h:35, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/transform.cpp:67: BUILDSTDERR: /usr/include/gdal/cpl_string.h:390:9: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++11-compat] BUILDSTDERR: if (pszValue == nullptr ) BUILDSTDERR: ^~ BUILDSTDERR: make[2]: *** [src/CMakeFiles/las.dir/build.make:235: src/CMakeFiles/las.dir/spatialreference.cpp.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: In file included from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/xml_parser.hpp:15, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/schema.cpp:50: BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/xml_parser_write.hpp: In function 'void liblas::property_tree::xml_parser::write_xml_comment(std::basic_ostream&, const std::__cxx11::basic_string<_CharT>&, int, bool, const liblas::property_tree::xml_parser::xml_writer_settings&)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/xml_parser_write.hpp:38:48: warning: typedef 'Str' locally defined but not used [-Wunused-local-typedefs] BUILDSTDERR: typedef typename std::basic_string Str; BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/xml_parser_write.hpp: In function 'void liblas::property_tree::xml_parser::write_xml_element(std::basic_ostream&, const std::__cxx11::basic_string&, const Ptree&, int, const liblas::property_tree::xml_parser::xml_writer_settings&)': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/xml_parser_write.hpp:72:48: warning: typedef 'Str' locally defined but not used [-Wunused-local-typedefs] BUILDSTDERR: typedef typename std::basic_string Str; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/xml_parser_read_rapidxml.hpp:17, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/xml_parser.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/schema.cpp:50: BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/rapidxml.hpp: In instantiation of 'void* liblas::property_tree::detail::rapidxml::memory_pool::allocate_aligned(std::size_t) [with Ch = char; std::size_t = long unsigned int]': BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/rapidxml.hpp:393:28: required from 'liblas::property_tree::detail::rapidxml::xml_node* liblas::property_tree::detail::rapidxml::memory_pool::allocate_node(liblas::property_tree::detail::rapidxml::node_type, const Ch*, const Ch*, std::size_t, std::size_t) [with Ch = char; std::size_t = long unsigned int]' BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/rapidxml.hpp:2011:27: required from 'liblas::property_tree::detail::rapidxml::xml_node* liblas::property_tree::detail::rapidxml::xml_document::parse_element(Ch*&) [with int Flags = 3072; Ch = char]' BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/rapidxml.hpp:2061:44: required from 'liblas::property_tree::detail::rapidxml::xml_node* liblas::property_tree::detail::rapidxml::xml_document::parse_node(Ch*&) [with int Flags = 3072; Ch = char]' BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/rapidxml.hpp:1374:63: required from 'void liblas::property_tree::detail::rapidxml::xml_document::parse(Ch*) [with int Flags = 3072; Ch = char]' BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/xml_parser_read_rapidxml.hpp:116:21: required from 'void liblas::property_tree::xml_parser::read_xml_internal(std::basic_istream&, Ptree&, int, const string&) [with Ptree = liblas::property_tree::basic_ptree, std::__cxx11::basic_string >; typename Ptree::key_type::value_type = char; typename Ptree::key_type::value_type = char; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/xml_parser.hpp:52:26: required from 'void liblas::property_tree::xml_parser::read_xml(std::basic_istream&, Ptree&, int) [with Ptree = liblas::property_tree::basic_ptree, std::__cxx11::basic_string >; typename Ptree::key_type::value_type = char; typename Ptree::key_type::value_type = char]' BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/schema.cpp:399:47: required from here BUILDSTDERR: /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/detail/rapidxml.hpp:588:38: warning: cast from 'char*' to 'liblas::property_tree::detail::rapidxml::memory_pool::header*' increases required alignment of target type [-Wcast-align] BUILDSTDERR: header *new_header = reinterpret_cast
(pool); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gdal/gdal.h:49, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/transform.cpp:66: BUILDSTDERR: /usr/include/gdal/cpl_minixml.h:202:47: error: expected template-name before '<' token BUILDSTDERR: class CPLXMLTreeCloser: public std::unique_ptr BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gdal/cpl_minixml.h:202:47: error: expected '{' before '<' token BUILDSTDERR: /usr/include/gdal/cpl_minixml.h:202:47: error: expected unqualified-id before '<' token BUILDSTDERR: In file included from /usr/include/gdal/cpl_string.h:36, BUILDSTDERR: from /usr/include/gdal/ogr_spatialref.h:35, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/transform.cpp:67: BUILDSTDERR: /usr/include/gdal/cpl_conv.h:304:37: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 BUILDSTDERR: CPLLocaleC(const CPLLocaleC&) = delete; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:305:48: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 BUILDSTDERR: CPLLocaleC& operator=(const CPLLocaleC&) = delete; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:323:49: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 BUILDSTDERR: CPLThreadLocaleC(const CPLThreadLocaleC&) = delete; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:324:60: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 BUILDSTDERR: CPLThreadLocaleC& operator=(const CPLThreadLocaleC&) = delete; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:353:59: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 BUILDSTDERR: CPLConfigOptionSetter(const CPLConfigOptionSetter&) = delete; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:354:70: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 BUILDSTDERR: CPLConfigOptionSetter& operator=(const CPLConfigOptionSetter&) = delete; BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /usr/include/gdal/cpl_string.h:36, BUILDSTDERR: from /usr/include/gdal/ogr_spatialref.h:35, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/transform.cpp:67: BUILDSTDERR: /usr/include/gdal/cpl_conv.h: In function 'To cpl::down_cast(From*)': BUILDSTDERR: /usr/include/gdal/cpl_conv.h:389:19: error: 'is_base_of' is not a member of 'std' BUILDSTDERR: (std::is_base_of::type>::value), BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:390:43: note: suggested alternative: 'remove_copy_if' BUILDSTDERR: typename std::remove_pointer::type>::value), BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: remove_copy_if BUILDSTDERR: /usr/include/gdal/cpl_conv.h:390:57: error: expected '(' before '<' token BUILDSTDERR: typename std::remove_pointer::type>::value), BUILDSTDERR: ^ BUILDSTDERR: ( BUILDSTDERR: /usr/include/gdal/cpl_conv.h:390:60: error: expected primary-expression before '>' token BUILDSTDERR: typename std::remove_pointer::type>::value), BUILDSTDERR: ^ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:390:63: error: '::type' has not been declared BUILDSTDERR: typename std::remove_pointer::type>::value), BUILDSTDERR: ^~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:390:63: note: suggested alternatives: BUILDSTDERR: In file included from /usr/include/boost/optional/optional.hpp:35, BUILDSTDERR: from /usr/include/boost/optional.hpp:15, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/id_translator.hpp:16, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/string_path.hpp:15, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/ptree.hpp:16, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/schema.hpp:46, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/point.hpp:47, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/transform.hpp:46, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/transform.cpp:42: BUILDSTDERR: /usr/include/boost/type.hpp:14:10: note: 'boost::type' BUILDSTDERR: struct type {}; BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/boost/bind.hpp:22, BUILDSTDERR: from /usr/include/boost/multi_index/sequenced_index.hpp:17, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/ptree.hpp:23, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/schema.hpp:46, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/point.hpp:47, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/transform.hpp:46, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/transform.cpp:42: BUILDSTDERR: /usr/include/boost/bind/bind.hpp:146:25: note: 'boost::_bi::type' BUILDSTDERR: template class type {}; BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/gdal/cpl_string.h:36, BUILDSTDERR: from /usr/include/gdal/ogr_spatialref.h:35, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/transform.cpp:67: BUILDSTDERR: /usr/include/gdal/cpl_conv.h:390:70: error: '::value' has not been declared BUILDSTDERR: typename std::remove_pointer::type>::value), BUILDSTDERR: ^~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:390:70: note: suggested alternative: BUILDSTDERR: In file included from /usr/include/boost/bind.hpp:22, BUILDSTDERR: from /usr/include/boost/multi_index/sequenced_index.hpp:17, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/external/property_tree/ptree.hpp:23, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/schema.hpp:46, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/point.hpp:47, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/../include/liblas/transform.hpp:46, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/transform.cpp:42: BUILDSTDERR: /usr/include/boost/bind/bind.hpp:118:25: note: 'boost::_bi::value' BUILDSTDERR: template class value BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/gdal/cpl_string.h:36, BUILDSTDERR: from /usr/include/gdal/ogr_spatialref.h:35, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/transform.cpp:67: BUILDSTDERR: /usr/include/gdal/cpl_conv.h:388:9: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive] BUILDSTDERR: static_assert( BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_conv.h:388:9: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) BUILDSTDERR: In file included from /usr/include/gdal/ogr_spatialref.h:35, BUILDSTDERR: from /builddir/build/BUILD/libLAS-1.8.0/src/transform.cpp:67: BUILDSTDERR: /usr/include/gdal/cpl_string.h: At global scope: BUILDSTDERR: /usr/include/gdal/cpl_string.h:407:79: error: 'nullptr' was not declared in this scope BUILDSTDERR: CPLSTRING_DLL CPLString &FormatC( double dfValue, const char *pszFormat = nullptr ); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/cpl_string.h: In member function 'void CPLString::Seize(char*)': BUILDSTDERR: /usr/include/gdal/cpl_string.h:390:25: error: 'nullptr' was not declared in this scope BUILDSTDERR: if (pszValue == nullptr ) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/libLAS-1.8.0/src/transform.cpp:67: BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h: At global scope: BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:78:45: error: 'nullptr' was not declared in this scope BUILDSTDERR: explicit OGR_SRSNode(const char * = nullptr); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:287:38: error: 'std::nullptr_t' has not been declared BUILDSTDERR: double GetLinearUnits( std::nullptr_t ) const BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:297:70: error: 'std::nullptr_t' has not been declared BUILDSTDERR: double GetTargetLinearUnits( const char *pszTargetKey, std::nullptr_t ) const BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:305:39: error: 'std::nullptr_t' has not been declared BUILDSTDERR: double GetAngularUnits( std::nullptr_t ) const BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:312:40: error: 'std::nullptr_t' has not been declared BUILDSTDERR: double GetPrimeMeridian( std::nullptr_t ) const BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:178:52: error: 'nullptr' was not declared in this scope BUILDSTDERR: explicit OGRSpatialReference(const char * = nullptr); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:200:54: error: 'nullptr' was not declared in this scope BUILDSTDERR: OGRErr exportToXML( char **, const char * = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:219:61: error: 'nullptr' was not declared in this scope BUILDSTDERR: OGRErr importFromPCI( const char *, const char * = nullptr, BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:220:43: error: 'nullptr' was not declared in this scope BUILDSTDERR: double * = nullptr ); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:245:71: error: 'nullptr' was not declared in this scope BUILDSTDERR: const char* const* papszOptions = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:248:47: error: 'nullptr' was not declared in this scope BUILDSTDERR: OGRErr StripCTParms( OGR_SRSNode * = nullptr ); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:285:49: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetLinearUnits( const char ** = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:295:67: error: 'nullptr' was not declared in this scope BUILDSTDERR: const char ** ppszRetName = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:303:50: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetAngularUnits( const char ** = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:310:51: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetPrimeMeridian( const char ** = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:339:53: error: 'nullptr' was not declared in this scope BUILDSTDERR: const char * pszPMName = nullptr, BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:341:52: error: 'nullptr' was not declared in this scope BUILDSTDERR: const char * pszUnits = nullptr, BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:359:42: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetSemiMajor( OGRErr * = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:360:42: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetSemiMinor( OGRErr * = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:361:46: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetInvFlattening( OGRErr * = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:381:56: error: 'nullptr' was not declared in this scope BUILDSTDERR: const char *pszDefault = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:387:59: error: 'nullptr' was not declared in this scope BUILDSTDERR: const OGR_SRSNode *poPROJCS=nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:389:67: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetProjParm( const char *, double =0.0, OGRErr* = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:392:69: error: 'nullptr' was not declared in this scope BUILDSTDERR: double GetNormProjParm( const char *, double=0.0, OGRErr* =nullptr)const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:614:44: error: 'nullptr' was not declared in this scope BUILDSTDERR: int GetUTMZone( int *pbNorth = nullptr ) const; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:628:66: error: 'nullptr' was not declared in this scope BUILDSTDERR: const char *pszOverrideUnitName = nullptr, BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:634:47: error: 'nullptr' was not declared in this scope BUILDSTDERR: int nPCSCode, const char* pszCSName = nullptr ); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:639:59: error: 'nullptr' was not declared in this scope BUILDSTDERR: const char* pszUnitsName, const char* pszCSName = nullptr ); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h: In member function 'double OGRSpatialReference::GetLinearUnits(int) const': BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:288:60: error: 'nullptr' was not declared in this scope BUILDSTDERR: { return GetLinearUnits( static_cast(nullptr) ); } BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h: In member function 'double OGRSpatialReference::GetTargetLinearUnits(const char*, int) const': BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:298:80: error: 'nullptr' was not declared in this scope BUILDSTDERR: { return GetTargetLinearUnits( pszTargetKey, static_cast(nullptr) ); } BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h: In member function 'double OGRSpatialReference::GetAngularUnits(int) const': BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:306:61: error: 'nullptr' was not declared in this scope BUILDSTDERR: { return GetAngularUnits( static_cast(nullptr) ); } BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h: In member function 'double OGRSpatialReference::GetPrimeMeridian(int) const': BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:313:62: error: 'nullptr' was not declared in this scope BUILDSTDERR: { return GetPrimeMeridian( static_cast(nullptr) ); } BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h: At global scope: BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:712:62: error: 'nullptr' was not declared in this scope BUILDSTDERR: double *x, double *y, double *z = nullptr ) = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:730:64: error: 'nullptr' was not declared in this scope BUILDSTDERR: double *x, double *y, double *z = nullptr, BUILDSTDERR: ^~~~~~~ BUILDSTDERR: /usr/include/gdal/ogr_spatialref.h:731:48: error: 'nullptr' was not declared in this scope BUILDSTDERR: int *pabSuccess = nullptr ) = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: make[2]: *** [src/CMakeFiles/las.dir/build.make:261: src/CMakeFiles/las.dir/transform.cpp.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/libLAS-1.8.0' make[1]: Leaving directory '/builddir/build/BUILD/libLAS-1.8.0' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:165: src/CMakeFiles/las.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:155: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.DUhvBF (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.DUhvBF (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/liblas.spec