You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by "tuhaihe (via GitHub)" <gi...@apache.org> on 2025/10/17 03:06:11 UTC

Re: [PR] Extending gpfdist in Cloudberry Database to Support SFTP Protocol for… [cloudberry]

tuhaihe commented on PR #1226:
URL: https://github.com/apache/cloudberry/pull/1226#issuecomment-3413619536

   Hi @ZTE-EBASE , when I tested, some errors returned:
   
   ```
   make -C ../../../src/common all
   gpfdist.c: In function ‘log_aging_gpfdist’:
   gpfdist.c:2090:9: error: implicit declaration of function ‘stat’; did you mean ‘strcat’? [-Werror=implicit-function-declaration]
    2090 |     if (stat(opt.l, &filestats) == 0 && filestats.st_size >= MAX_GPFDIST_LOGSIZE)
         |         ^~~~
         |         strcat
   make[5]: Entering directory '/home/gpadmin/cloudberry/src/common'
   make[5]: Nothing to be done for 'all'.
   make[5]: Leaving directory '/home/gpadmin/cloudberry/src/common'
   make[4]: Leaving directory '/home/gpadmin/cloudberry/src/interfaces/libpq'
   make[4]: Entering directory '/home/gpadmin/cloudberry/src/common'
   make[4]: Nothing to be done for 'all'.
   make[4]: Leaving directory '/home/gpadmin/cloudberry/src/common'
   make -C ../../../src/fe_utils all
   make[4]: Entering directory '/home/gpadmin/cloudberry/src/fe_utils'
   make[4]: Nothing to be done for 'all'.
   make[4]: Leaving directory '/home/gpadmin/cloudberry/src/fe_utils'
   make[3]: Leaving directory '/home/gpadmin/cloudberry/src/bin/psql'
   cc1: all warnings being treated as errors
   make[3]: *** [<builtin>: gpfdist.o] Error 1
   make[3]: Leaving directory '/home/gpadmin/cloudberry/src/bin/gpfdist'
   make[2]: *** [Makefile:54: all-gpfdist-recurse] Error 2
   make[2]: Leaving directory '/home/gpadmin/cloudberry/src/bin'
   make[1]: *** [Makefile:45: all-bin-recurse] Error 2
   make[1]: Leaving directory '/home/gpadmin/cloudberry/src'
   make: *** [GNUmakefile:11: all-src-recurse] Error 2
   make: Leaving directory '/home/gpadmin/cloudberry'
   ```
   
   How to reproduce: https://github.com/apache/cloudberry/pull/1226#issuecomment-3100582872.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org