#21 Add riscv64 to gdal-config
Merged 2 months ago by smani. Opened 2 months ago by rjones.
rpms/ rjones/gdal riscv64-gdal-config  into  rawhide

Add riscv64 to gdal-config
David Abdurachmanov • 2 months ago  
file modified
+1 -1
@@ -2,7 +2,7 @@ 

  

  ARCH=$(uname -m)

  case $ARCH in

- x86_64 | ppc64 | ppc64le | ia64 | s390x | sparc64 | alpha | alphaev6 | aarch64 )

+ x86_64 | ppc64 | ppc64le | ia64 | s390x | sparc64 | alpha | alphaev6 | aarch64 | riscv64 )

  gdal-config-64 ${*}

  ;;

  *)

Signed-off-by: David Abdurachmanov davidlt@rivosinc.com

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/c7d207fed3d1481bb79f8f16cddf072f

As usual the "Zuul" output is completely useless for telling what went wrong.

I have submitted my own scratch build to Koji here:

https://koji.fedoraproject.org/koji/taskinfo?taskID=113484307

The error is:

/builddir/build/BUILD/gdal-3.8.3-fedora/port/cpl_vsil_win32.cpp: In member function 'virtual int VSIWin32FilesystemHandler::Stat(const char*, VSIStatBufL*, int)':
/builddir/build/BUILD/gdal-3.8.3-fedora/port/cpl_vsil_win32.cpp:815:46: error: cannot convert 'VSIStatBufL*' {aka 'stat*'} to '_stat64*'
  815 |             nResult = _wstat64(pwszFilename, pStatBuf);
      |                                              ^~~~~~~~
      |                                              |
      |                                              VSIStatBufL* {aka stat*}
In file included from /builddir/build/BUILD/gdal-3.8.3-fedora/port/cpl_vsi.h:68,
                 from /builddir/build/BUILD/gdal-3.8.3-fedora/port/cpl_vsi_virtual.h:37,
                 from /builddir/build/BUILD/gdal-3.8.3-fedora/port/cpl_vsil_win32.cpp:30:
/usr/i686-w64-mingw32/sys-root/mingw/include/sys/stat.h:129:69: note:   initializing argument 2 of 'int _wstat64(const wchar_t*, _stat64*)'
  129 |   _CRTIMP int __cdecl _wstat64(const wchar_t *_Name,struct _stat64 *_Stat);
      |                                                     ~~~~~~~~~~~~~~~~^~~~~
make[2]: *** [port/CMakeFiles/cpl.dir/build.make:1145: port/CMakeFiles/cpl.dir/cpl_vsil_win32.cpp.obj] Error 1

This seems to be unrelated to the current change.

rebased onto eec2045

2 months ago

Pull-Request has been merged by smani

2 months ago

Thanks, I've also added a patch for the unrelated build failure.

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/3c67206f61564b0db9425acdda233743

Metadata