Source: tideways
Version: 4.1.7-1
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster

Hi,

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

Relevant part (hopefully):
>  cc -I. -I/<<PKGBUILDDIR>>/build-7.4 -DPHP_ATOM_INC 
> -I/<<PKGBUILDDIR>>/build-7.4/include -I/<<PKGBUILDDIR>>/build-7.4/main 
> -I/<<PKGBUILDDIR>>/build-7.4 -I/usr/include/php/20190902 
> -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM 
> -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext 
> -I/usr/include/php/20190902/ext/date/lib -Wdate-time -D_FORTIFY_SOURCE=2 
> -DHAVE_CONFIG_H -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c 
> /<<PKGBUILDDIR>>/build-7.4/tideways.c  -fPIC -DPIC -o .libs/tideways.o
> In file included from /<<PKGBUILDDIR>>/build-7.4/tideways.c:47:
> /usr/include/php/20190902/ext/pdo/php_pdo_driver.h:78:27: warning: ISO C 
> restricts enumerator values to range of ‘int’ [-Wpedantic]
>    78 |  PDO_PARAM_INPUT_OUTPUT = 0x80000000,
>       |                           ^~~~~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function 
> ‘zend_compat_hash_find_long’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:252:9: warning: suggest parentheses 
> around assignment used as truth value [-Wparentheses]
>   252 |     if (zv = zend_hash_str_find(ht, key, len)) {
>       |         ^~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:249:10: warning: unused variable ‘idx’ 
> [-Wunused-variable]
>   249 |     long idx;
>       |          ^~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function ‘tw_trace_callback_watch’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:770:29: warning: unused variable ‘zeh’ 
> [-Wunused-variable]
>   770 |         zend_error_handling zeh;
>       |                             ^~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:743:25: warning: unused variable ‘temp’ 
> [-Wunused-variable]
>   743 |     tw_watch_callback **temp;
>       |                         ^~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function 
> ‘tw_trace_callback_presta_controller’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1142:11: warning: unused variable 
> ‘property’ [-Wunused-variable]
>  1142 |     zval *property;
>       |           ^~~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function 
> ‘tw_trace_callback_oxid_tx’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1317:10: warning: unused variable ‘idx’ 
> [-Wunused-variable]
>  1317 |     long idx;
>       |          ^~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function 
> ‘tw_trace_callback_doctrine_query’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1501:11: warning: unused variable 
> ‘summary’ [-Wunused-variable]
>  1501 |     char *summary, *className;
>       |           ^~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1496:11: warning: unused variable 
> ‘property’ [-Wunused-variable]
>  1496 |     zval *property;
>       |           ^~~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function 
> ‘tw_trace_callback_twig_template’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1545:21: warning: unused variable 
> ‘idx_ptr’ [-Wunused-variable]
>  1545 |     long idx = -1, *idx_ptr;
>       |                     ^~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function 
> ‘tw_trace_callback_event_dispatchers2’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1573:21: warning: unused variable 
> ‘idx_ptr’ [-Wunused-variable]
>  1573 |     long idx = -1, *idx_ptr;
>       |                     ^~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function 
> ‘tw_trace_callback_event_dispatchers’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1595:21: warning: unused variable 
> ‘idx_ptr’ [-Wunused-variable]
>  1595 |     long idx = -1, *idx_ptr;
>       |                     ^~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function 
> ‘tw_trace_callback_pdo_connect’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1689:9: warning: suggest parentheses 
> around assignment used as truth value [-Wparentheses]
>  1689 |     if (match = tw_pcre_match("(^(mysql|sqlite|pgsql|odbc|oci):)", 
> sizeof("(^(mysql|sqlite|pgsql|odbc|oci):)")-1, dsn TSRMLS_CC)) {
>       |         ^~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1695:13: warning: suggest parentheses 
> around assignment used as truth value [-Wparentheses]
>  1695 |         if (match = tw_pcre_match("(host=([^;\\s]+))", 
> sizeof("(host=([^;\\s]+))")-1, dsn TSRMLS_CC)) {
>       |             ^~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1700:13: warning: suggest parentheses 
> around assignment used as truth value [-Wparentheses]
>  1700 |         if (match = tw_pcre_match("(port=([^;\\s]+))", 
> sizeof("(port=([^;\\s]+))")-1, dsn TSRMLS_CC)) {
>       |             ^~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1705:13: warning: suggest parentheses 
> around assignment used as truth value [-Wparentheses]
>  1705 |         if (match = tw_pcre_match("(dbname=([^;\\s]+))", 
> sizeof("(dbname=([^;\\s]+))")-1, dsn TSRMLS_CC)) {
>       |             ^~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1677:23: warning: unused variable ‘pce’ 
> [-Wunused-variable]
>  1677 |     pcre_cache_entry *pce;
>       |                       ^~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1676:19: warning: unused variable 
> ‘subpats’ [-Wunused-variable]
>  1676 |     _DECLARE_ZVAL(subpats);
>       |                   ^~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:172:52: note: in definition of macro 
> ‘_DECLARE_ZVAL’
>   172 | #define _DECLARE_ZVAL(name) zval name## _v; zval * name = &name## _v
>       |                                                    ^~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1675:19: warning: unused variable 
> ‘return_value’ [-Wunused-variable]
>  1675 |     _DECLARE_ZVAL(return_value);
>       |                   ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:172:52: note: in definition of macro 
> ‘_DECLARE_ZVAL’
>   172 | #define _DECLARE_ZVAL(name) zval name## _v; zval * name = &name## _v
>       |                                                    ^~~~
> In file included from /usr/include/php/20190902/Zend/zend.h:32,
>                  from /usr/include/php/20190902/main/php.h:34,
>                  from /<<PKGBUILDDIR>>/build-7.4/tideways.c:34:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function ‘tw_pcre_match’:
> /usr/include/php/20190902/Zend/zend_string.h:52:31: warning: passing argument 
> 2 of ‘php_pcre_match_impl’ from incompatible pointer type 
> [-Wincompatible-pointer-types]
>    52 | #define ZSTR_VAL(zstr)  (zstr)->val
>       |                         ~~~~~~^~~~~
>       |                               |
>       |                               char *
> /usr/include/php/20190902/Zend/zend_types.h:686:27: note: in expansion of 
> macro ‘ZSTR_VAL’
>   686 | #define Z_STRVAL(zval)    ZSTR_VAL(Z_STR(zval))
>       |                           ^~~~~~~~
> /usr/include/php/20190902/Zend/zend_types.h:687:30: note: in expansion of 
> macro ‘Z_STRVAL’
>   687 | #define Z_STRVAL_P(zval_p)   Z_STRVAL(*(zval_p))
>       |                              ^~~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:177:111: note: in expansion of macro 
> ‘Z_STRVAL_P’
>   177 | #define tw_pcre_match_impl(pce, zv, retval, parts, global, use_flags, 
> flags, offset) php_pcre_match_impl(pce, Z_STRVAL_P(subject), 
> Z_STRLEN_P(subject), return_value, parts, global, use_flags, flags, offset)
>       |                                                                       
>                                         ^~~~~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1745:5: note: in expansion of macro 
> ‘tw_pcre_match_impl’
>  1745 |     tw_pcre_match_impl(pce, subject, return_value, subpats, 0, 1, 0, 
> 0);
>       |     ^~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/build-7.4/tideways.c:50:
> /usr/include/php/20190902/ext/pcre/php_pcre.h:45:70: note: expected 
> ‘zend_string *’ {aka ‘struct _zend_string *’} but argument is of type ‘char *’
>    45 | PHPAPI void  php_pcre_match_impl(pcre_cache_entry *pce, zend_string 
> *subject_str, zval *return_value,
>       |                                                         
> ~~~~~~~~~~~~~^~~~~~~~~~~
> In file included from /usr/include/php/20190902/Zend/zend.h:32,
>                  from /usr/include/php/20190902/main/php.h:34,
>                  from /<<PKGBUILDDIR>>/build-7.4/tideways.c:34:
> /usr/include/php/20190902/Zend/zend_string.h:53:31: warning: passing argument 
> 3 of ‘php_pcre_match_impl’ makes pointer from integer without a cast 
> [-Wint-conversion]
>    53 | #define ZSTR_LEN(zstr)  (zstr)->len
>       |                         ~~~~~~^~~~~
>       |                               |
>       |                               size_t {aka long unsigned int}
> /usr/include/php/20190902/Zend/zend_types.h:689:27: note: in expansion of 
> macro ‘ZSTR_LEN’
>   689 | #define Z_STRLEN(zval)    ZSTR_LEN(Z_STR(zval))
>       |                           ^~~~~~~~
> /usr/include/php/20190902/Zend/zend_types.h:690:30: note: in expansion of 
> macro ‘Z_STRLEN’
>   690 | #define Z_STRLEN_P(zval_p)   Z_STRLEN(*(zval_p))
>       |                              ^~~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:177:132: note: in expansion of macro 
> ‘Z_STRLEN_P’
>   177 | #define tw_pcre_match_impl(pce, zv, retval, parts, global, use_flags, 
> flags, offset) php_pcre_match_impl(pce, Z_STRVAL_P(subject), 
> Z_STRLEN_P(subject), return_value, parts, global, use_flags, flags, offset)
>       |                                                                       
>                                                              ^~~~~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1745:5: note: in expansion of macro 
> ‘tw_pcre_match_impl’
>  1745 |     tw_pcre_match_impl(pce, subject, return_value, subpats, 0, 1, 0, 
> 0);
>       |     ^~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/build-7.4/tideways.c:50:
> /usr/include/php/20190902/ext/pcre/php_pcre.h:45:89: note: expected ‘zval *’ 
> {aka ‘struct _zval_struct *’} but argument is of type ‘size_t’ {aka ‘long 
> unsigned int’}
>    45 | PHPAPI void  php_pcre_match_impl(pcre_cache_entry *pce, zend_string 
> *subject_str, zval *return_value,
>       |                                                                       
>             ~~~~~~^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1745:52: warning: passing argument 5 of 
> ‘php_pcre_match_impl’ makes integer from pointer without a cast 
> [-Wint-conversion]
>  1745 |     tw_pcre_match_impl(pce, subject, return_value, subpats, 0, 1, 0, 
> 0);
>       |                                                    ^~~~~~~
>       |                                                    |
>       |                                                    zval * {aka struct 
> _zval_struct *}
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:177:167: note: in definition of macro 
> ‘tw_pcre_match_impl’
>   177 | #define tw_pcre_match_impl(pce, zv, retval, parts, global, use_flags, 
> flags, offset) php_pcre_match_impl(pce, Z_STRVAL_P(subject), 
> Z_STRLEN_P(subject), return_value, parts, global, use_flags, flags, offset)
>       |                                                                       
>                                                                               
>                   ^~~~~
> In file included from /<<PKGBUILDDIR>>/build-7.4/tideways.c:50:
> /usr/include/php/20190902/ext/pcre/php_pcre.h:46:21: note: expected ‘int’ but 
> argument is of type ‘zval *’ {aka ‘struct _zval_struct *’}
>    46 |  zval *subpats, int global, int use_flags, zend_long flags, 
> zend_off_t start_offset);
>       |                 ~~~~^~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:177:86: error: too many arguments to 
> function ‘php_pcre_match_impl’
>   177 | #define tw_pcre_match_impl(pce, zv, retval, parts, global, use_flags, 
> flags, offset) php_pcre_match_impl(pce, Z_STRVAL_P(subject), 
> Z_STRLEN_P(subject), return_value, parts, global, use_flags, flags, offset)
>       |                                                                       
>                ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1745:5: note: in expansion of macro 
> ‘tw_pcre_match_impl’
>  1745 |     tw_pcre_match_impl(pce, subject, return_value, subpats, 0, 1, 0, 
> 0);
>       |     ^~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/build-7.4/tideways.c:50:
> /usr/include/php/20190902/ext/pcre/php_pcre.h:45:14: note: declared here
>    45 | PHPAPI void  php_pcre_match_impl(pcre_cache_entry *pce, zend_string 
> *subject_str, zval *return_value,
>       |              ^~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function 
> ‘tw_trace_callback_elasticsearch_wait_request’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1858:11: warning: unused variable 
> ‘spanId’ [-Wunused-variable]
>  1858 |     zval *spanId, *object;
>       |           ^~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1857:16: warning: unused variable 
> ‘idx_ptr’ [-Wunused-variable]
>  1857 |     long idx, *idx_ptr = NULL;
>       |                ^~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function 
> ‘tw_trace_callback_curl_multi_remove’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:1924:18: warning: unused variable ‘opt’ 
> [-Wunused-variable]
>  1924 |     zval fname, *opt;
>       |                  ^~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function 
> ‘tw_trace_callback_curl_exec’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:2031:18: warning: unused variable ‘opt’ 
> [-Wunused-variable]
>  2031 |     zval fname, *opt;
>       |                  ^~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:2030:16: warning: unused variable 
> ‘idx_ptr’ [-Wunused-variable]
>  2030 |     long idx, *idx_ptr;
>       |                ^~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function 
> ‘tw_trace_callback_soap_client_dorequest’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:2077:11: warning: unused variable 
> ‘summary’ [-Wunused-variable]
>  2077 |     char *summary;
>       |           ^~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function 
> ‘tw_trace_callback_file_get_contents’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:2096:11: warning: unused variable 
> ‘summary’ [-Wunused-variable]
>  2096 |     char *summary;
>       |           ^~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function ‘hp_get_file_summary’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:3006:24: warning: zero-length 
> gnu_printf format string [-Wformat-zero-length]
>  3006 |     snprintf(ret, len, "");
>       |                        ^~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function ‘hp_mode_hier_endfn_cb’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:3501:24: warning: unused variable 
> ‘callback’ [-Wunused-variable]
>  3501 |     tw_trace_callback *callback;
>       |                        ^~~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function ‘hp_strings_in_zval’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:3911:12: warning: unused variable 
> ‘data’ [-Wunused-variable]
>  3911 |     zval **data, *val;
>       |            ^~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:3910:12: warning: unused variable 
> ‘type’ [-Wunused-variable]
>  3910 |     int    type;
>       |            ^~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:3909:12: warning: variable ‘idx’ set 
> but not used [-Wunused-but-set-variable]
>  3909 |     ulong  idx;
>       |            ^~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:3908:12: warning: unused variable ‘len’ 
> [-Wunused-variable]
>  3908 |     uint   len;
>       |            ^~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c: In function 
> ‘tideways_throw_exception_hook’:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:4046:38: warning: unused variable ‘ex’ 
> [-Wunused-variable]
>  4046 |     zend_class_entry *exception_ce, *ex;
>       |                                      ^~
> At top level:
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:3387:13: warning: ‘get_us_interval’ 
> defined but not used [-Wunused-function]
>  3387 | static long get_us_interval(struct timeval *start, struct timeval 
> *end)
>       |             ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/build-7.4/tideways.c:2998:14: warning: ‘hp_get_file_summary’ 
> defined but not used [-Wunused-function]
>  2998 | static char *hp_get_file_summary(char *filename, int filename_len 
> TSRMLS_DC)
>       |              ^~~~~~~~~~~~~~~~~~~
> make[2]: *** [Makefile:195: tideways.lo] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/tideways_4.1.7-1_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