Source: libzdb
Severity: important
Forwarded: https://bitbucket.org/tildeslash/libzdb/issues/68/
Version: 3.2.3-1
Tags: sid
Control: forwarded -1 https://bitbucket.org/tildeslash/libzdb/issues/68/

As shown in 
https://buildd.debian.org/status/fetch.php?pkg=libzdb&arch=armhf&ver=3.2.3-1&stamp=1718738674&raw=0
 :

Making all in test
make[3]: Entering directory '/<<PKGBUILDDIR>>/test'
gcc -DHAVE_CONFIG_H    -I/usr/include/mariadb -I/usr/include/mariadb/mysql 
-I/usr/include/postgresql -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -
D_FORTIFY_SOURCE=2  -I../src -I../src/util -I../src/net -I../src/db 
-I../src/exceptions -Wno-address -Wno-pointer-sign -g -O2 
-Werror=implicit-function-declaration -ffile-
prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection 
-Wformat -Werror=format-security -D_GNU_SOURCE -Wall -Wunused -Wno-unused-label 
-funsigned-char
-std=c11 -c -o unit.o unit.c
gcc -DHAVE_CONFIG_H    -I/usr/include/mariadb -I/usr/include/mariadb/mysql 
-I/usr/include/postgresql -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -
D_FORTIFY_SOURCE=2  -I../src -I../src/util -I../src/net -I../src/db 
-I../src/exceptions -Wno-address -Wno-pointer-sign -g -O2 
-Werror=implicit-function-declaration -ffile-
prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection 
-Wformat -Werror=format-security -D_GNU_SOURCE -Wall -Wunused -Wno-unused-label 
-funsigned-char
-std=c11 -c -o pool.o pool.c
gcc -DHAVE_CONFIG_H    -I/usr/include/mariadb -I/usr/include/mariadb/mysql 
-I/usr/include/postgresql -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -
D_FORTIFY_SOURCE=2  -I../src -I../src/util -I../src/net -I../src/db 
-I../src/exceptions -Wno-address -Wno-pointer-sign -g -O2 
-Werror=implicit-function-declaration -ffile-
prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection 
-Wformat -Werror=format-security -D_GNU_SOURCE -Wall -Wunused -Wno-unused-label 
-funsigned-char
-std=c11 -c -o select.o select.c
gcc -DHAVE_CONFIG_H    -I/usr/include/mariadb -I/usr/include/mariadb/mysql 
-I/usr/include/postgresql -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -
D_FORTIFY_SOURCE=2  -I../src -I../src/util -I../src/net -I../src/db 
-I../src/exceptions -Wno-address -Wno-pointer-sign -g -O2 
-Werror=implicit-function-declaration -ffile-
prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection 
-Wformat -Werror=format-security -D_GNU_SOURCE -Wall -Wunused -Wno-unused-label 
-funsigned-char
-std=c11 -c -o exception.o exception.c
unit.c: In function ‘testTime’:
unit.c:171:37: warning: format ‘%ld’ expects argument of type ‘long int’, but 
argument 2 has type ‘time_t’ {aka ‘long long int’} [-Wformat=]
  171 |                 printf("\tResult: %ld\n", Time_now());
      |                                   ~~^     ~~~~~~~~~~
      |                                     |     |
      |                                     |     time_t {aka long long int}
      |                                     long int
      |                                   %lld
pool.c: In function ‘testPool’:
pool.c:692:95: warning: format ‘%ld’ expects argument of type ‘long int’, but 
argument 5 has type ‘time_t’ {aka ‘long long int’} [-Wformat=]
  692 |                         printf("\tDate: %s, Time: %s, DateTime: 
%s\n\tTimestamp as numeric: %ld, Timestamp as string: %s\n",
      |                                                                         
                    ~~^
      |                                                                         
                      |
      |                                                                         
                      long int
      |                                                                         
                    %lld
......
  696 |                                ResultSet_getTimestamp(r, 4),
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
                       
      |                                |
      |                                time_t {aka long long int}
g++ -DHAVE_CONFIG_H    -I/usr/include/mariadb -I/usr/include/mariadb/mysql 
-I/usr/include/postgresql -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -
D_FORTIFY_SOURCE=2 -I../zdb -std=c++17 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -c -o
zdbpp-zdbpp.o `test -f 'zdbpp.cpp' || echo './'`zdbpp.cpp
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -I../src -I../src/util 
-I../src/net -I../src/db -I../src/exceptions -Wno-address -Wno-pointer-sign -g 
-O2 -Werror=implicit-
function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -D_GNU_SOURCE -Wall -Wunused -Wno-
unused-label -funsigned-char -std=c11  -L/usr/lib/arm-linux-gnueabihf/ 
-lmariadb -Wl,-z,relro -o select select.o ../libzdb.la -lsqlite3 
In file included from zdbpp.cpp:6:
../zdb/zdbpp.h:406:14: error: ‘void zdb::PreparedStatement::bind(int, time_t)’ 
cannot be overloaded with ‘void zdb::PreparedStatement::bind(int, long long 
int)’
  406 |         void bind(int parameterIndex, time_t x) {
      |              ^~~~
../zdb/zdbpp.h:398:14: note: previous declaration ‘void 
zdb::PreparedStatement::bind(int, long long int)’
  398 |         void bind(int parameterIndex, long long x) {
      |              ^~~~
libtool: link: gcc -I../src -I../src/util -I../src/net -I../src/db 
-I../src/exceptions -Wno-address -Wno-pointer-sign -g -O2 
-Werror=implicit-function-declaration -ffile-
prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection 
-Wformat -Werror=format-security -D_GNU_SOURCE -Wall -Wunused -Wno-unused-label 
-funsigned-char
-std=c11 -Wl,-z -Wl,relro -o .libs/select select.o  
-L/usr/lib/arm-linux-gnueabihf/ -lmariadb ../.libs/libzdb.so -lsqlite3
make[3]: *** [Makefile:449: zdbpp-zdbpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/test'
make[2]: *** [Makefile:763: all-recursive] Error 1



Thanks,
Boyuan Yang

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to