Package: ideviceinstaller
Version: 1.0.0-1.2
Severity: normal

Hello,
ideviceinstaller does not build against newer versions of libimobildevice,
namely 1.1.5:
----------------------
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/libxml2 
-I/usr/include/p11-kit-1   -I/usr/include/libxml2   -I/usr/lib/libzip/include   
-g -O2 -c -o ideviceinstaller-ideviceinstaller.o `test -f 'ideviceinstaller.c' 
|| echo './'`ideviceinstaller.c
ideviceinstaller.c: In function 'zip_f_get_contents':
ideviceinstaller.c:164:14: error: 'LLONG_MAX' undeclared (first use in this 
function)
  if (zs.size>LLONG_MAX || zip_fread(zfile, *buffer, zs.size) != 
(zip_int64_t)zs.size) {
              ^
ideviceinstaller.c:164:14: note: each undeclared identifier is reported only 
once for each function it appears in
ideviceinstaller.c: In function 'main':
ideviceinstaller.c:351:5: error: passing argument 3 of 
'lockdownd_start_service' from incompatible pointer type [-Werror]
     &port) != LOCKDOWN_E_SUCCESS) || !port) {
     ^
In file included from ideviceinstaller.c:36:0:
/usr/include/libimobiledevice/lockdown.h:89:19: note: expected 'struct 
lockdownd_service_descriptor **' but argument is of type 'uint16_t *'
 lockdownd_error_t lockdownd_start_service(lockdownd_client_t client, const 
char *identifier, lockdownd_service_descriptor_t *service);
                   ^
ideviceinstaller.c:357:2: error: passing argument 2 of 'np_client_new' makes 
pointer from integer without a cast [-Werror]
  if (np_client_new(phone, port, &np) != NP_E_SUCCESS) {
  ^
In file included from ideviceinstaller.c:38:0:
/usr/include/libimobiledevice/notification_proxy.h:94:12: note: expected 
'lockdownd_service_descriptor_t' but argument is of type 'uint16_t'
 np_error_t np_client_new(idevice_t device, lockdownd_service_descriptor_t 
service, np_client_t *client);
            ^
ideviceinstaller.c:376:5: error: passing argument 3 of 
'lockdownd_start_service' from incompatible pointer type [-Werror]
     &port) != LOCKDOWN_E_SUCCESS) || !port) {
     ^
In file included from ideviceinstaller.c:36:0:
/usr/include/libimobiledevice/lockdown.h:89:19: note: expected 'struct 
lockdownd_service_descriptor **' but argument is of type 'uint16_t *'
 lockdownd_error_t lockdownd_start_service(lockdownd_client_t client, const 
char *identifier, lockdownd_service_descriptor_t *service);
                   ^
ideviceinstaller.c:382:2: error: passing argument 2 of 'instproxy_client_new' 
makes pointer from integer without a cast [-Werror]
  if (instproxy_client_new(phone, port, &ipc) != INSTPROXY_E_SUCCESS) {
  ^
In file included from ideviceinstaller.c:37:0:
/usr/include/libimobiledevice/installation_proxy.h:55:19: note: expected 
'lockdownd_service_descriptor_t' but argument is of type 'uint16_t'
 instproxy_error_t instproxy_client_new(idevice_t device, 
lockdownd_service_descriptor_t service, instproxy_client_t *client);
                   ^
ideviceinstaller.c:498:3: error: passing argument 3 of 
'lockdownd_start_service' from incompatible pointer type [-Werror]
   if ((lockdownd_start_service(client, "com.apple.afc", &port) !=
   ^
In file included from ideviceinstaller.c:36:0:
/usr/include/libimobiledevice/lockdown.h:89:19: note: expected 'struct 
lockdownd_service_descriptor **' but argument is of type 'uint16_t *'
 lockdownd_error_t lockdownd_start_service(lockdownd_client_t client, const 
char *identifier, lockdownd_service_descriptor_t *service);
                   ^
ideviceinstaller.c:507:3: error: passing argument 2 of 'afc_client_new' makes 
pointer from integer without a cast [-Werror]
   if (afc_client_new(phone, port, &afc) != INSTPROXY_E_SUCCESS) {
   ^
In file included from ideviceinstaller.c:39:0:
/usr/include/libimobiledevice/afc.h:96:13: note: expected 
'lockdownd_service_descriptor_t' but argument is of type 'uint16_t'
 afc_error_t afc_client_new(idevice_t device, lockdownd_service_descriptor_t 
service, afc_client_t *client);
             ^
ideviceinstaller.c:839:4: error: passing argument 3 of 
'lockdownd_start_service' from incompatible pointer type [-Werror]
    if ((lockdownd_start_service(client, "com.apple.afc", &port) != 
LOCKDOWN_E_SUCCESS) || !port) {
    ^
In file included from ideviceinstaller.c:36:0:
/usr/include/libimobiledevice/lockdown.h:89:19: note: expected 'struct 
lockdownd_service_descriptor **' but argument is of type 'uint16_t *'
 lockdownd_error_t lockdownd_start_service(lockdownd_client_t client, const 
char *identifier, lockdownd_service_descriptor_t *service);
                   ^
ideviceinstaller.c:848:4: error: passing argument 2 of 'afc_client_new' makes 
pointer from integer without a cast [-Werror]
    if (afc_client_new(phone, port, &afc) != INSTPROXY_E_SUCCESS) {
    ^
In file included from ideviceinstaller.c:39:0:
/usr/include/libimobiledevice/afc.h:96:13: note: expected 
'lockdownd_service_descriptor_t' but argument is of type 'uint16_t'
 afc_error_t afc_client_new(idevice_t device, lockdownd_service_descriptor_t 
service, afc_client_t *client);
             ^
cc1: all warnings being treated as errors
make[3]: *** [ideviceinstaller-ideviceinstaller.o] Error 1
make[3]: Leaving directory `/tmp/LIBIMOB/ideviceinstaller-1.0.0/src'
----------------------

libimobildevice 1.1.5 is available in experimental currently and will be
uploaded to sid soonish, since the sid version does not build and will be
uninstallable soon.

The bug in ideviceinstaller seems to be fixed in Ubuntu already.

cu Andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to