-
Problem report
-
Resolution: Fixed
-
Major
-
7.0.0alpha9
-
None
-
Alpine 3.19, Go 1.21.5, musl-1.2.4, ARM64
-
S2401-2
-
0.5
Because of https://github.com/mattn/go-sqlite3/issues/1164 issue, compilation is failed:
72.14 # github.com/mattn/go-sqlite3 72.14 sqlite3-binding.c:35901:42: error: 'pread64' undeclared here (not in a function); did you mean 'pread'? 72.14 35901 | { "pread64", (sqlite3_syscall_ptr)pread64, 0 }, 72.14 | ^~~~~~~ 72.14 | pread 72.14 sqlite3-binding.c:35919:42: error: 'pwrite64' undeclared here (not in a function); did you mean 'pwrite'? 72.14 35919 | { "pwrite64", (sqlite3_syscall_ptr)pwrite64, 0 }, 72.14 | ^~~~~~~~ 72.14 | pwrite 72.14 sqlite3-binding.c: In function 'seekAndRead': 72.14 sqlite3-binding.c:35905:49: error: unknown type name 'off64_t'; did you mean 'off_t'? 72.14 35905 | #define osPread64 ((ssize_t(*)(int,void*,size_t,off64_t))aSyscall[10].pCurrent) 72.14 | ^~~~~~~ 72.14 sqlite3-binding.c:38767:11: note: in expansion of macro 'osPread64' 72.14 38767 | got = osPread64(id->h, pBuf, cnt, offset); 72.14 | ^~~~~~~~~ 72.14 sqlite3-binding.c:35905:58: error: expected ')' before 'aSyscall' 72.14 35905 | #define osPread64 ((ssize_t(*)(int,void*,size_t,off64_t))aSyscall[10].pCurrent) 72.14 | ~ ^~~~~~~~ 72.14 sqlite3-binding.c:38767:11: note: in expansion of macro 'osPread64' 72.14 38767 | got = osPread64(id->h, pBuf, cnt, offset); 72.14 | ^~~~~~~~~ 72.14 sqlite3-binding.c: In function 'seekAndWriteFd': 72.14 sqlite3-binding.c:35923:57: error: unknown type name 'off64_t'; did you mean 'off_t'? 72.14 35923 | #define osPwrite64 ((ssize_t(*)(int,const void*,size_t,off64_t))\ 72.14 | ^~~~~~~ 72.14 sqlite3-binding.c:38896:17: note: in expansion of macro 'osPwrite64' 72.14 38896 | do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR); 72.14 | ^~~~~~~~~~ 72.14 sqlite3-binding.c:35924:21: error: expected ')' before 'aSyscall' 72.14 35924 | aSyscall[13].pCurrent) 72.14 | ^~~~~~~~ 72.14 sqlite3-binding.c:38896:17: note: in expansion of macro 'osPwrite64' 72.14 38896 | do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR); 72.14 | ^~~~~~~~~~ 72.14 sqlite3-binding.c:35923:21: note: to match this '(' 72.14 35923 | #define osPwrite64 ((ssize_t(*)(int,const void*,size_t,off64_t))\ 72.14 | ^ 72.14 sqlite3-binding.c:38896:17: note: in expansion of macro 'osPwrite64' 72.14 38896 | do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR); 72.14 | ^~~~~~~~~~ 77.47 make[2]: *** [Makefile:629: zabbix.com/cmd/zabbix_agent2] Error 1 77.48 make[1]: *** [Makefile:511: all-recursive] Error 1 77.48 make: *** [Makefile:555: all-recursive] Error 1