Source: libdbi-drivers
Version: 0.9.0-4
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20161001 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[4]: Entering directory '/<<PKGBUILDDIR>>/drivers/mysql'
> /bin/bash ../../libtool  --tag=CC   --mode=compile x86_64-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include  
> -I/usr/include/x86_64-linux-gnu  -Wdate-time -D_FORTIFY_SOURCE=2  -std=gnu99 
> -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -g -Wall -MT dbd_mysql.lo -MD -MP -MF 
> .deps/dbd_mysql.Tpo -c -o dbd_mysql.lo dbd_mysql.c
> libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. 
> -I../../include -I/usr/include/x86_64-linux-gnu -Wdate-time 
> -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -MT 
> dbd_mysql.lo -MD -MP -MF .deps/dbd_mysql.Tpo -c dbd_mysql.c  -fPIC -DPIC -o 
> .libs/dbd_mysql.o
> dbd_mysql.c:63:2: warning: macro "__DATE__" might prevent reproducible builds 
> [-Wdate-time]
>   __DATE__
>   ^~~~~~~~
> dbd_mysql.c: In function 'dbd_get_encoding':
> dbd_mysql.c:323:21: warning: pointer targets in assignment differ in 
> signedness [-Wpointer-sign]
>         schemastring = dbi_result_get_binary_idx(dbires, 2);
>                      ^
> dbd_mysql.c:347:15: warning: pointer targets in assignment differ in 
> signedness [-Wpointer-sign]
>         my_enc = dbi_result_get_binary_idx(dbires1, 2);
>                ^
> dbd_mysql.c:366:10: warning: pointer targets in assignment differ in 
> signedness [-Wpointer-sign]
>    my_enc = dbi_result_get_binary_idx(dbires2, 2);
>           ^
> /usr/include/dbi/dbd.h: In function 'dbd_connect':
> dbd_mysql.c:231:8: warning: ignoring return value of 'asprintf', declared 
> with attribute warn_unused_result [-Wunused-result]
>         asprintf(&sql_cmd, "SET NAMES '%s'", 
> dbd_encoding_from_iana(encoding));
>         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> dbd_mysql.c:238:6: warning: ignoring return value of 'asprintf', declared 
> with attribute warn_unused_result [-Wunused-result]
>       asprintf(&sql_cmd, "SET NAMES '%s'", dbd_encoding_from_iana(encoding));
>       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/dbi/dbd.h: In function 'dbd_get_encoding':
> dbd_mysql.c:312:4: warning: ignoring return value of 'asprintf', declared 
> with attribute warn_unused_result [-Wunused-result]
>     asprintf(&sql_cmd, "SHOW CREATE DATABASE %s", conn->current_db);
>     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> dbd_mysql.c:337:4: warning: ignoring return value of 'asprintf', declared 
> with attribute warn_unused_result [-Wunused-result]
>     asprintf(&sql_cmd, "SHOW VARIABLES LIKE '%s'", 
> "character_set_connection");
>     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> dbd_mysql.c:355:6: warning: ignoring return value of 'asprintf', declared 
> with attribute warn_unused_result [-Wunused-result]
>       asprintf(&sql_cmd, "SHOW VARIABLES LIKE '%s'", "character_set");
>       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/dbi/dbd.h: In function 'dbd_list_dbs':
> dbd_mysql.c:466:3: warning: ignoring return value of 'asprintf', declared 
> with attribute warn_unused_result [-Wunused-result]
>    asprintf(&sql_cmd, "SHOW DATABASES LIKE '%s'", pattern);
>    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/dbi/dbd.h: In function 'dbd_list_tables':
> dbd_mysql.c:482:3: warning: ignoring return value of 'asprintf', declared 
> with attribute warn_unused_result [-Wunused-result]
>    asprintf(&sql_cmd, "SHOW TABLES FROM %s", db);
>    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> dbd_mysql.c:488:3: warning: ignoring return value of 'asprintf', declared 
> with attribute warn_unused_result [-Wunused-result]
>    asprintf(&sql_cmd, "SHOW TABLES FROM %s LIKE '%s'", db, pattern);
>    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/dbi/dbd.h: In function 'dbd_savepoint':
> dbd_mysql.c:631:3: warning: ignoring return value of 'asprintf', declared 
> with attribute warn_unused_result [-Wunused-result]
>    asprintf(&query, "SAVEPOINT %s", savepoint);
>    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/dbi/dbd.h: In function 'dbd_rollback_to_savepoint':
> dbd_mysql.c:650:3: warning: ignoring return value of 'asprintf', declared 
> with attribute warn_unused_result [-Wunused-result]
>    asprintf(&query, "ROLLBACK TO SAVEPOINT %s", savepoint);
>    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/dbi/dbd.h: In function 'dbd_release_savepoint':
> dbd_mysql.c:669:3: warning: ignoring return value of 'asprintf', declared 
> with attribute warn_unused_result [-Wunused-result]
>    asprintf(&query, "RELEASE SAVEPOINT %s", savepoint);
>    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. 
> -I../../include -I/usr/include/x86_64-linux-gnu -Wdate-time 
> -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -MT 
> dbd_mysql.lo -MD -MP -MF .deps/dbd_mysql.Tpo -c dbd_mysql.c -o dbd_mysql.o 
> >/dev/null 2>&1
> mv -f .deps/dbd_mysql.Tpo .deps/dbd_mysql.Plo
> /bin/bash ../../libtool  --tag=CC   --mode=link x86_64-linux-gnu-gcc  
> -std=gnu99 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -module 
> -avoid-version  -L/usr/lib/x86_64-linux-gnu -lmysqlclient -no-undefined -ldbi 
> -L/usr/lib/x86_64-linux-gnu -Wl,-z,relro -o libdbdmysql.la -rpath 
> /usr/lib/x86_64-linux-gnu/dbd dbd_mysql.lo  
> libtool: link: x86_64-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/dbd_mysql.o   
> -L/usr/lib/x86_64-linux-gnu -lmysqlclient -ldbi  -g -O2 
> -fstack-protector-strong -g -Wl,-z -Wl,relro   -Wl,-soname -Wl,libdbdmysql.so 
> -o .libs/libdbdmysql.so
> libtool: link: x86_64-linux-gnu-ar cru .libs/libdbdmysql.a  dbd_mysql.o
> x86_64-linux-gnu-ar: `u' modifier ignored since `D' is the default (see `U')
> libtool: link: x86_64-linux-gnu-ranlib .libs/libdbdmysql.a
> libtool: link: ( cd ".libs" && rm -f "libdbdmysql.la" && ln -s 
> "../libdbdmysql.la" "libdbdmysql.la" )
> Converting dbd_mysql.sgml to HTML...
> mkdir -p dbd_mysql && cd dbd_mysql && openjade -t sgml -d 
> ../../../doc/include/doc-html.dsl ../dbd_mysql.sgml
> Makefile:777: recipe for target 'dbd_mysql/c98.html' failed
> make[4]: *** [dbd_mysql/c98.html] Aborted
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/drivers/mysql'
> Makefile:404: recipe for target 'all-recursive' failed
> make[3]: *** [all-recursive] Error 1

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.

The full build log is available from:
   http://aws-logs.debian.net/2016/10/01/libdbi-drivers_0.9.0-4_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to