[Reproducible-builds] Bug#798761: php-svn: FTBFS: error: invalid use of undefined type 'struct svn_sort__item_t'
Chris Lamb
lamby at debian.org
Sat Sep 12 11:19:59 UTC 2015
Source: php-svn
Version: 1.0.2-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
php-svn fails to build from source in unstable/amd64:
[..]
array = svn_sort__hash (dirents, svn_sort_compare_items_as_paths,
subpool);
^
/tmp/buildd/php-svn-1.0.2/svn-1.0.2/svn.c:935:3: error: invalid use of
undefined type 'struct svn_sort__item_t'
item = &APR_ARRAY_IDX (array, i, svn_sort__item_t);
^
In file included from /usr/include/subversion-1/svn_client.h:37:0,
from
/tmp/buildd/php-svn-1.0.2/svn-1.0.2/php_svn.h:43,
from /tmp/buildd/php-svn-1.0.2/svn-1.0.2/svn.c:33:
/usr/include/apr-1.0/apr_tables.h:141:57: error: dereferencing pointer
to incomplete type 'svn_sort__item_t {aka struct svn_sort__item_t}'
#define APR_ARRAY_IDX(ary,i,type) (((type *)(ary)->elts)[i])
^
/tmp/buildd/php-svn-1.0.2/svn-1.0.2/svn.c:935:11: note: in expansion
of macro 'APR_ARRAY_IDX'
item = &APR_ARRAY_IDX (array, i, svn_sort__item_t);
^
/tmp/buildd/php-svn-1.0.2/svn-1.0.2/svn.c: In function
'php_svn_log_receiver':
/tmp/buildd/php-svn-1.0.2/svn-1.0.2/svn.c:1020:16: warning: assignment
makes pointer from integer without a cast [-Wint-conversion]
sorted_paths = svn_sort__hash(changed_paths,
svn_sort_compare_items_as_paths, pool);
^
/tmp/buildd/php-svn-1.0.2/svn-1.0.2/svn.c:1031:4: error: invalid use
of undefined type 'struct svn_sort__item_t'
item = &(APR_ARRAY_IDX (sorted_paths, i, svn_sort__item_t));
^
[..]
The full build log is attached or can be viewed here:
https://reproducible.debian.net/logs/unstable/amd64/php-svn_1.0.2-2.build1.log.gz
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: php-svn.1.0.2-2.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150912/a0633570/attachment.txt>
More information about the Reproducible-builds
mailing list