escription of problem: Attempting to build the SRPM of libimobiledevice fails with Making all in cython make[2]: Entering directory `/home/root/rpmbuild/BUILD/libimobiledevice-1.1.5/cython' /bin/cython -I/usr/include/plist/cython -I../src -o imobiledevice.c imobiledevice.pyx Error compiling Cython file: ------------------------------------------------------------ ... cdef: lockdownd_error_t err char* c_session_id = NULL bint ssl_enabled bytes session_id err = lockdownd_start_session(self._c_client, host_id, &c_session_id, &ssl_enabled) ^ ------------------------------------------------------------ lockdown.pxi:224:78: Cannot assign type 'bool *' to 'int *' make[2]: *** [imobiledevice.c] Error 1 Version-Release number of selected component (if applicable): libimobiledevice-1.1.5-3.fc21.ppc64le How reproducible: Always, with the above packages. Additional info: A patch already exist in upstream for this bug for libimobiledevice: From 62ab50f64fa210304338a5bfccdc6a26fac5f0ec Mon Sep 17 00:00:00 2001 From: "Dawn K. Isabel" <dawn.isabel> Date: Thu, 30 May 2013 23:36:52 -0400 Subject: [PATCH] cython: Explicitly cast ssl_enabled when calling lockdownd_start_session diff --git a/cython/lockdown.pxi b/cython/lockdown.pxi index 6fb49a3..ee674b4 100644 --- a/cython/lockdown.pxi +++ b/cython/lockdown.pxi @@ -221,7 +221,7 @@ cdef class LockdownClient(PropertyListService): char* c_session_id = NULL bint ssl_enabled bytes session_id - err = lockdownd_start_session(self._c_client, host_id, &c_session_id, &ssl_enabled) + err = lockdownd_start_session(self._c_client, host_id, &c_session_id, <int *>&ssl_enabled) try: self.handle_error(err)
Cython version was 0.19.2-2
Should be fixed with new release that I should land shortly