mkdir -p /c/Users/landamar/grass_packager/grass786/addons/r.le.patch/bin
mkdir -p /c/Users/landamar/grass_packager/grass786/addons/r.le.patch/etc
mkdir -p /c/Users/landamar/grass_packager/grass786/addons/r.le.patch/docs/html
mkdir -p /c/Users/landamar/grass_packager/grass786/addons/r.le.patch/docs/man
mkdir -p /c/Users/landamar/grass_packager/grass786/addons/r.le.patch/docs/man/man1
test -d OBJ.x86_64-w64-mingw32 || mkdir -p OBJ.x86_64-w64-mingw32
x86_64-w64-mingw32-gcc -I/c/osgeo4w/include -g -O2  -I/c/osgeo4w/include -I/usr/src/grass786/dist.x86_64-w64-mingw32/include -I/usr/src/grass786/dist.x86_64-w64-mingw32/include  -D_FILE_OFFSET_BITS=64  -DPACKAGE=\""grassmods"\"   -I/usr/src/grass786/dist.x86_64-w64-mingw32/include -I/usr/src/grass786/dist.x86_64-w64-mingw32/include -DRELDIR=\"/c/msys64/usr/src/grass7-addons/src/raster/r.le.patch\" -o OBJ.x86_64-w64-mingw32/driver.o -c driver.c
driver.c: In function 'mv_driver':
driver.c:1948:10: warning: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types]
 1948 |     time(&finished_time);
      |          ^~~~~~~~~~~~~~
      |          |
      |          long int *
In file included from patch.h:28,
                 from driver.c:21:
C:/msys64/mingw64/include/time.h:258:47: note: expected 'time_t *' {aka 'long long int *'} but argument is of type 'long int *'
  258 | static __inline time_t __CRTDECL time(time_t *_Time) { return _time64(_Time); }
      |                                       ~~~~~~~~^~~~~
driver.c:1950:31: warning: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types]
 1950 |             asctime(localtime(&finished_time)));
      |                               ^~~~~~~~~~~~~~
      |                               |
      |                               long int *
C:/msys64/mingw64/include/time.h:263:62: note: expected 'const time_t *' {aka 'const long long int *'} but argument is of type 'long int *'
  263 | static __inline struct tm *__CRTDECL localtime(const time_t *_Time) { return _localtime64(_Time); }
      |                                                ~~~~~~~~~~~~~~^~~~~
driver.c: In function 'meter':
driver.c:2298:14: warning: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types]
 2298 |         time(&start);
      |              ^~~~~~
      |              |
      |              long int *
C:/msys64/mingw64/include/time.h:258:47: note: expected 'time_t *' {aka 'long long int *'} but argument is of type 'long int *'
  258 | static __inline time_t __CRTDECL time(time_t *_Time) { return _time64(_Time); }
      |                                       ~~~~~~~~^~~~~
driver.c:2312:14: warning: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types]
 2312 |         time(&current_time);
      |              ^~~~~~~~~~~~~
      |              |
      |              long int *
C:/msys64/mingw64/include/time.h:258:47: note: expected 'time_t *' {aka 'long long int *'} but argument is of type 'long int *'
  258 | static __inline time_t __CRTDECL time(time_t *_Time) { return _time64(_Time); }
      |                                       ~~~~~~~~^~~~~
driver.c:2317:41: warning: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types]
 2317 |         strncpy(done, asctime(localtime(&complete)), 24);
      |                                         ^~~~~~~~~
      |                                         |
      |                                         long int *
C:/msys64/mingw64/include/time.h:263:62: note: expected 'const time_t *' {aka 'const long long int *'} but argument is of type 'long int *'
  263 | static __inline struct tm *__CRTDECL localtime(const time_t *_Time) { return _localtime64(_Time); }
      |                                                ~~~~~~~~~~~~~~^~~~~
x86_64-w64-mingw32-gcc -I/c/osgeo4w/include -g -O2  -I/c/osgeo4w/include -I/usr/src/grass786/dist.x86_64-w64-mingw32/include -I/usr/src/grass786/dist.x86_64-w64-mingw32/include  -D_FILE_OFFSET_BITS=64  -DPACKAGE=\""grassmods"\"   -I/usr/src/grass786/dist.x86_64-w64-mingw32/include -I/usr/src/grass786/dist.x86_64-w64-mingw32/include -DRELDIR=\"/c/msys64/usr/src/grass7-addons/src/raster/r.le.patch\" -o OBJ.x86_64-w64-mingw32/input.o -c input.c
input.c: In function 'user_input':
input.c:386:29: warning: implicit declaration of function 'Rast_window_rows' [-Wimplicit-function-declaration]
  386 |             choice->edge >= Rast_window_rows() ||
      |                             ^~~~~~~~~~~~~~~~
input.c:387:29: warning: implicit declaration of function 'Rast_window_cols' [-Wimplicit-function-declaration]
  387 |             choice->edge >= Rast_window_cols()) {
      |                             ^~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -I/c/osgeo4w/include -g -O2  -I/c/osgeo4w/include -I/usr/src/grass786/dist.x86_64-w64-mingw32/include -I/usr/src/grass786/dist.x86_64-w64-mingw32/include  -D_FILE_OFFSET_BITS=64  -DPACKAGE=\""grassmods"\"   -I/usr/src/grass786/dist.x86_64-w64-mingw32/include -I/usr/src/grass786/dist.x86_64-w64-mingw32/include -DRELDIR=\"/c/msys64/usr/src/grass7-addons/src/raster/r.le.patch\" -o OBJ.x86_64-w64-mingw32/main.o -c main.c
x86_64-w64-mingw32-gcc -I/c/osgeo4w/include -g -O2  -I/c/osgeo4w/include -I/usr/src/grass786/dist.x86_64-w64-mingw32/include -I/usr/src/grass786/dist.x86_64-w64-mingw32/include  -D_FILE_OFFSET_BITS=64  -DPACKAGE=\""grassmods"\"   -I/usr/src/grass786/dist.x86_64-w64-mingw32/include -I/usr/src/grass786/dist.x86_64-w64-mingw32/include -DRELDIR=\"/c/msys64/usr/src/grass7-addons/src/raster/r.le.patch\" -o OBJ.x86_64-w64-mingw32/patch.o -c patch.c
x86_64-w64-mingw32-gcc -I/c/osgeo4w/include -g -O2  -I/c/osgeo4w/include -I/usr/src/grass786/dist.x86_64-w64-mingw32/include -I/usr/src/grass786/dist.x86_64-w64-mingw32/include  -D_FILE_OFFSET_BITS=64  -DPACKAGE=\""grassmods"\"   -I/usr/src/grass786/dist.x86_64-w64-mingw32/include -I/usr/src/grass786/dist.x86_64-w64-mingw32/include -DRELDIR=\"/c/msys64/usr/src/grass7-addons/src/raster/r.le.patch\" -o OBJ.x86_64-w64-mingw32/trace.o -c trace.c
make OBJ.x86_64-w64-mingw32/r.le.patch.manifest.res && x86_64-w64-mingw32-gcc -L/usr/src/grass786/dist.x86_64-w64-mingw32/lib -L/usr/src/grass786/dist.x86_64-w64-mingw32/lib -Wl,--export-dynamic,--enable-runtime-pseudo-reloc  -L/c/osgeo4w/lib  -o /c/Users/landamar/grass_packager/grass786/addons/r.le.patch/bin/r.le.patch.exe OBJ.x86_64-w64-mingw32/driver.o OBJ.x86_64-w64-mingw32/input.o OBJ.x86_64-w64-mingw32/main.o OBJ.x86_64-w64-mingw32/patch.o OBJ.x86_64-w64-mingw32/trace.o  /usr/src/grass786/dist.x86_64-w64-mingw32/lib/fmode.o OBJ.x86_64-w64-mingw32/r.le.patch.manifest.res -lgrass_gis.7.8 -lintl -lgrass_raster.7.8   
make[1]: Entering directory '/c/msys64/usr/src/grass7-addons/src/raster/r.le.patch'
make[1]: Circular /c/msys64/usr/src/grass786/mswindows/generic.manifest.rc <- /c/msys64/usr/src/grass786/mswindows/generic.manifest.rc dependency dropped.
sed	-e 's/@CMD@/r.le.patch/' \
	-e 's/@VER_MAJOR@/7/' \
	-e 's/@VER_MINOR@/8/' \
	-e 's/@VER_RELEASE@/6/' \
	/c/msys64/usr/src/grass786/mswindows/generic.manifest.rc > OBJ.x86_64-w64-mingw32/r.le.patch.manifest.rc
sed 's/@CMD@/r.le.patch/' /c/msys64/usr/src/grass786/mswindows/generic.manifest > OBJ.x86_64-w64-mingw32/r.le.patch.exe.manifest
windres --input=OBJ.x86_64-w64-mingw32/r.le.patch.manifest.rc --input-format=rc --output=OBJ.x86_64-w64-mingw32/r.le.patch.manifest.res --output-format=coff -I/c/msys64/usr/src/grass786/mswindows
rm OBJ.x86_64-w64-mingw32/r.le.patch.manifest.rc OBJ.x86_64-w64-mingw32/r.le.patch.exe.manifest
make[1]: Leaving directory '/c/msys64/usr/src/grass7-addons/src/raster/r.le.patch'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: warning: --export-dynamic is not supported for PE+ targets, did you mean --export-all-symbols?
if [ "/c/Users/landamar/grass_packager/grass786/addons/r.le.patch/bin/r.le.patch.exe" != "" ] ; then GISRC=/usr/src/grass786/dist.x86_64-w64-mingw32/demolocation/.grassrc78 GISBASE=C:/msys64/usr/src/grass786/dist.x86_64-w64-mingw32 PATH="/usr/src/grass786/dist.x86_64-w64-mingw32/bin:/usr/src/grass786/dist.x86_64-w64-mingw32/bin:/usr/src/grass786/dist.x86_64-w64-mingw32/scripts:$PATH" PYTHONPATH="C:/msys64/usr/src/grass786/dist.x86_64-w64-mingw32/etc/python;C:/msys64/usr/src/grass786/dist.x86_64-w64-mingw32/gui/wxpython;$PYTHONPATH" PATH="/c/Users/landamar/grass_packager/grass786/addons/r.le.patch/bin:/usr/src/grass786/dist.x86_64-w64-mingw32/bin:/usr/src/grass786/dist.x86_64-w64-mingw32/scripts:/usr/src/grass786/dist.x86_64-w64-mingw32/lib:/usr/src/grass786/dist.x86_64-w64-mingw32/lib:/C/OSGeo4W/apps/qt5/bin:/C/OSGeo4W/apps/Python312/Scripts:/C/OSGeo4W/bin:/C/Windows/system32:/C/Windows:/C/Windows/system32/WBem:/usr/bin:/mingw64/bin/:/c/Users/landamar/grass_packager/mswindows/osgeo4w/lib:/c/Users/landamar/grass_packager/mswindows/osgeo4w:/c/windows32/system32:/c/windows:/c/windows32/system32:/c/windows:/c/msys64/usr/bin:/c/msys64/mingw64/bin" LC_ALL=C LANG=C LANGUAGE=C /c/Users/landamar/grass_packager/grass786/addons/r.le.patch/bin/r.le.patch.exe --html-description < /dev/null | grep -v '</body>\|</html>' > r.le.patch.tmp.html ; fi
C:/Users/landamar/grass_packager/grass786/addons/r.le.patch/bin/r.le.patch.exe: error while loading shared libraries: libgrass_raster.7.8.dll: cannot open shared object file: No such file or directory
make: *** [/c/msys64/usr/src/grass786/include/Make/Html.make:14: r.le.patch.tmp.html] Error 1
rm r.le.patch.tmp.html
