[Reproducible-builds] Bug#810520: ideviceinstaller: FTBFS: ideviceinstaller.c:527:44: error: comparison between 'afc_error_t {aka enum <anonymous>}' and 'enum <anonymous>'
Chris Lamb
lamby at debian.org
Sat Jan 9 13:47:47 UTC 2016
Source: ideviceinstaller
Version: 1.0.1-0.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,
ideviceinstaller fails to build from source in unstable/amd64:
[..]
Making all in src
make[3]: Entering directory '/home/lamby/temp/cdt.20160109134246.2sBBOkcruS/ideviceinstaller-1.0.1/src'
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Werror -g -I/usr/include/p11-kit-1 -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/libzip/include -g -O2 -c -o ideviceinstaller-ideviceinstaller.o `test -f 'ideviceinstaller.c' || echo './'`ideviceinstaller.c
ideviceinstaller.c: In function 'main':
ideviceinstaller.c:527:44: error: comparison between 'afc_error_t {aka enum <anonymous>}' and 'enum <anonymous>' [-Werror=enum-compare]
if (afc_client_new(phone, service, &afc) != INSTPROXY_E_SUCCESS) {
^
ideviceinstaller.c:694:49: error: passing argument 4 of 'instproxy_install' from incompatible pointer type [-Werror=incompatible-pointer-types]
instproxy_install(ipc, pkgname, client_opts, status_cb, NULL);
^
In file included from ideviceinstaller.c:40:0:
/usr/include/libimobiledevice/installation_proxy.h:234:19: note: expected 'instproxy_status_cb_t {aka void (*)(void *, void *, void *)}' but argument is of type 'void (*)(const char *, void *, void *)'
instproxy_error_t instproxy_install(instproxy_client_t client, const char *pkg_path, plist_t client_options, instproxy_status_cb_t status_cb, void *user_data);
^
ideviceinstaller.c:701:49: error: passing argument 4 of 'instproxy_upgrade' from incompatible pointer type [-Werror=incompatible-pointer-types]
instproxy_upgrade(ipc, pkgname, client_opts, status_cb, NULL);
^
In file included from ideviceinstaller.c:40:0:
/usr/include/libimobiledevice/installation_proxy.h:262:19: note: expected 'instproxy_status_cb_t {aka void (*)(void *, void *, void *)}' but argument is of type 'void (*)(const char *, void *, void *)'
instproxy_error_t instproxy_upgrade(instproxy_client_t client, const char *pkg_path, plist_t client_options, instproxy_status_cb_t status_cb, void *user_data);
^
ideviceinstaller.c:712:41: error: passing argument 4 of 'instproxy_uninstall' from incompatible pointer type [-Werror=incompatible-pointer-types]
instproxy_uninstall(ipc, appid, NULL, status_cb, NULL);
^
In file included from ideviceinstaller.c:40:0:
/usr/include/libimobiledevice/installation_proxy.h:283:19: note: expected 'instproxy_status_cb_t {aka void (*)(void *, void *, void *)}' but argument is of type 'void (*)(const char *, void *, void *)'
instproxy_error_t instproxy_uninstall(instproxy_client_t client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb, void *user_data);
^
ideviceinstaller.c:875:45: error: comparison between 'afc_error_t {aka enum <anonymous>}' and 'enum <anonymous>' [-Werror=enum-compare]
if (afc_client_new(phone, service, &afc) != INSTPROXY_E_SUCCESS) {
^
ideviceinstaller.c:882:46: error: passing argument 4 of 'instproxy_archive' from incompatible pointer type [-Werror=incompatible-pointer-types]
instproxy_archive(ipc, appid, client_opts, status_cb, NULL);
^
In file included from ideviceinstaller.c:40:0:
/usr/include/libimobiledevice/installation_proxy.h:325:19: note: expected 'instproxy_status_cb_t {aka void (*)(void *, void *, void *)}' but argument is of type 'void (*)(const char *, void *, void *)'
instproxy_error_t instproxy_archive(instproxy_client_t client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb, void *user_data);
^
ideviceinstaller.c:1020:39: error: passing argument 4 of 'instproxy_restore' from incompatible pointer type [-Werror=incompatible-pointer-types]
instproxy_restore(ipc, appid, NULL, status_cb, NULL);
^
In file included from ideviceinstaller.c:40:0:
/usr/include/libimobiledevice/installation_proxy.h:349:19: note: expected 'instproxy_status_cb_t {aka void (*)(void *, void *, void *)}' but argument is of type 'void (*)(const char *, void *, void *)'
instproxy_error_t instproxy_restore(instproxy_client_t client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb, void *user_data);
^
ideviceinstaller.c:1028:46: error: passing argument 4 of 'instproxy_remove_archive' from incompatible pointer type [-Werror=incompatible-pointer-types]
instproxy_remove_archive(ipc, appid, NULL, status_cb, NULL);
^
In file included from ideviceinstaller.c:40:0:
/usr/include/libimobiledevice/installation_proxy.h:372:19: note: expected 'instproxy_status_cb_t {aka void (*)(void *, void *, void *)}' but argument is of type 'void (*)(const char *, void *, void *)'
instproxy_error_t instproxy_remove_archive(instproxy_client_t client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb, void *user_data);
^
cc1: all warnings being treated as errors
Makefile:453: recipe for target 'ideviceinstaller-ideviceinstaller.o' failed
make[3]: *** [ideviceinstaller-ideviceinstaller.o] Error 1
make[3]: Leaving directory '/home/lamby/temp/cdt.20160109134246.2sBBOkcruS/ideviceinstaller-1.0.1/src'
Makefile:415: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/lamby/temp/cdt.20160109134246.2sBBOkcruS/ideviceinstaller-1.0.1'
Makefile:347: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/lamby/temp/cdt.20160109134246.2sBBOkcruS/ideviceinstaller-1.0.1'
dh_auto_build: make -j1 returned exit code 2
debian/rules:15: recipe for target 'build' failed
make: *** [build] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ideviceinstaller.1.0.1-0.2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3112 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160109/4088b750/attachment.obj>
More information about the Reproducible-builds
mailing list