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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]