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 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.r3i3N6 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.r3i3N6 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, 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