Package: php-ssh2 Version: 0.12-1 Severity: minor Usertags: goto-cc During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder) the build failed with the following error. Please note that we use our research compiler tool-chain (using tools from the cbmc package), which permits extended reporting on type inconsistencies at link time.
[...] libtool: compile: x86_64-linux-gnu-gcc -I. -I/srv/jenkins-slave/workspace/sid-goto-cc-php-ssh2/php-ssh2-0.12/build-php5 -DPHP_ATOM_INC -I/srv/jenkins-slave/workspace/sid-goto-cc-php-ssh2/php-ssh2-0.12/build-php5/include -I/srv/jenkins-slave/workspace/sid-goto-cc-php-ssh2/php-ssh2-0.12/build-php5/main -I/srv/jenkins-slave/workspace/sid-goto-cc-php-ssh2/php-ssh2-0.12/build-php5 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -Wall -g -O0 -c /srv/jenkins-slave/workspace/sid-goto-cc-php-ssh2/php-ssh2-0.12/build-php5/ssh2_sftp.c -fPIC -DPIC -o .libs/ssh2_sftp.o /srv/jenkins-slave/workspace/sid-goto-cc-php-ssh2/php-ssh2-0.12/build-php5/ssh2_sftp.c:570:2: warning: excess elements in struct initializer [enabled by default] 0, ^ /srv/jenkins-slave/workspace/sid-goto-cc-php-ssh2/php-ssh2-0.12/build-php5/ssh2_sftp.c:570:2: warning: (near initialization for 'php_ssh2_sftp_wrapper') [enabled by default] /srv/jenkins-slave/workspace/sid-goto-cc-php-ssh2/php-ssh2-0.12/build-php5/ssh2_sftp.c:571:2: warning: excess elements in struct initializer [enabled by default] NULL, ^ /srv/jenkins-slave/workspace/sid-goto-cc-php-ssh2/php-ssh2-0.12/build-php5/ssh2_sftp.c:571:2: warning: (near initialization for 'php_ssh2_sftp_wrapper') [enabled by default] file /srv/jenkins-slave/workspace/sid-goto-cc-php-ssh2/php-ssh2-0.12/build-php5/ssh2_sftp.c line 570: structure member designator 4 out of bounds (4) CONVERSION ERROR Makefile:185: recipe for target 'ssh2_sftp.lo' failed make[1]: *** [ssh2_sftp.lo] Error 1 make[1]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-php-ssh2/php-ssh2-0.12/build-php5' debian/rules:24: recipe for target 'build-stamp' failed make: *** [build-stamp] Error 2 The excess initialisers here http://sources.debian.net/src/php-ssh2/0.12-1/ssh2-0.12/ssh2_sftp.c?hl=570,571#L566 may be a consequence of some API changes. This is the current version of php_stream_wrapper: http://sources.debian.net/src/php5/5.5.12+dfsg-2/main/php_streams.h?hl=161#L161 Removing the last two initialisers may fix the problem, but other uses of that struct should be checked. Best, Michael
pgpEmQ0yFDHRM.pgp
Description: PGP signature