Package Details: libimobiledevice-git 1:1.3.0.r240.gd1a98e0-1

Git Clone URL: https://aur.archlinux.org/libimobiledevice-git.git (read-only, click to copy)
Package Base: libimobiledevice-git
Description: Library that talks the protocols to support iPhone and iPod Touch devices on Linux
Upstream URL: http://www.libimobiledevice.org/
Licenses: LGPL-2.1-or-later
Conflicts: libimobiledevice
Provides: libimobiledevice, libimobiledevice-1.0.so
Submitter: None
Maintainer: intelfx
Last Packager: intelfx
Votes: 73
Popularity: 0.170693
First Submitted: 2010-03-25 16:57 (UTC)
Last Updated: 2024-06-28 08:45 (UTC)

Required by (45)

Sources (1)

Latest Comments

1 2 3 4 5 6 .. 14 Next › Last »

memediatek commented on 2026-01-16 04:34 (UTC)

I had to additionally install usbmuxd-git to be able to restore an iPhone with idevicerestore

amcooper commented on 2025-09-09 14:26 (UTC)

Seeing the following error causing a build failure:

lto1: fatal error: bytecode stream in file '../3rd_party/ed25519/.libs/libed25519.a' generated with LTO version 15.0 instead of the expected 15.1
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/sbin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:561: libimobiledevice-1.0.la] Error 1
make[2]: Leaving directory '/home/adam/.config/cache/aura/builds/libimobiledevice-git/src/libimobiledevice/src'
make[1]: *** [Makefile:477: all-recursive] Error 1
make[1]: Leaving directory '/home/adam/.config/cache/aura/builds/libimobiledevice-git/src/libimobiledevice'
make: *** [Makefile:407: all] Error 2

kysh commented on 2025-05-21 12:29 (UTC)

Confirmed that the patch from @ufo_driver works to successfully build, compile and install the package.

ufo_driver commented on 2025-05-18 22:44 (UTC)

I applied the following patch and it compiled successfully. It is like for some reason it doesn't detect PY_MAJOR_VERSION and it thinks we are trying to compile it with Python 2.

diff --git a/cython/debugserver.pxi b/cython/debugserver.pxi
index a3b7d1e..0ec864c 100644
--- a/cython/debugserver.pxi
+++ b/cython/debugserver.pxi
@@ -45,11 +45,7 @@ cdef class DebugServerError(BaseError):

 # from http://stackoverflow.com/a/17511714
 # https://github.com/libimobiledevice/libimobiledevice/pull/198
-from cpython cimport PY_MAJOR_VERSION
-if PY_MAJOR_VERSION <= 2:
-    from cpython.string cimport PyString_AsString
-else:
-    from cpython.bytes cimport PyBytes_AsString as PyString_AsString
+from cpython.bytes cimport PyBytes_AsString as PyString_AsString
 cdef char ** to_cstring_array(list_str):
     if not list_str:
         return NULL

kysh commented on 2025-05-18 09:45 (UTC) (edited on 2025-05-18 11:48 (UTC) by kysh)

@ZachBacon ran into the exact same issue and just wanted to add a bit more context

make[2]: Leaving directory '/tmp/libimobiledevice-git/src/libimobiledevice/include'
Making all in cython
make[2]: Entering directory '/tmp/libimobiledevice-git/src/libimobiledevice/cython'
/usr/bin/cython -I/usr/include/plist/cython -I../src -o imobiledevice.c imobiledevice.pyx
warning: imobiledevice.pxd:9:4: Exception already a builtin Cython type

Error compiling Cython file:
------------------------------------------------------------
...

# from http://stackoverflow.com/a/17511714
# https://github.com/libimobiledevice/libimobiledevice/pull/198
from cpython cimport PY_MAJOR_VERSION
if PY_MAJOR_VERSION <= 2:
    from cpython.string cimport PyString_AsString
    ^
------------------------------------------------------------

debugserver.pxi:50:4: 'cpython/string.pxd' not found

Error compiling Cython file:
------------------------------------------------------------
...

# from http://stackoverflow.com/a/17511714
# https://github.com/libimobiledevice/libimobiledevice/pull/198
from cpython cimport PY_MAJOR_VERSION
if PY_MAJOR_VERSION <= 2:
    from cpython.string cimport PyString_AsString
    ^
------------------------------------------------------------

debugserver.pxi:50:4: 'cpython/string/PyString_AsString.pxd' not found
make[2]: *** [Makefile:811: imobiledevice.c] Error 1
make[2]: Leaving directory '/tmp/libimobiledevice-git/src/libimobiledevice/cython'
make[1]: *** [Makefile:477: all-recursive] Error 1
make[1]: Leaving directory '/tmp/libimobiledevice-git/src/libimobiledevice'
make: *** [Makefile:407: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Were you able to resolve?

<deleted-account> commented on 2025-05-16 06:05 (UTC)

I seem to be running into an issue regarding the cpython portion

Error compiling Cython file:
------------------------------------------------------------
...

# from http://stackoverflow.com/a/17511714
# https://github.com/libimobiledevice/libimobiledevice/pull/198
from cpython cimport PY_MAJOR_VERSION
if PY_MAJOR_VERSION <= 2:
    from cpython.string cimport PyString_AsString
    ^
------------------------------------------------------------

debugserver.pxi:50:4: 'cpython/string.pxd' not found

Error compiling Cython file:
------------------------------------------------------------
...

# from http://stackoverflow.com/a/17511714
# https://github.com/libimobiledevice/libimobiledevice/pull/198
from cpython cimport PY_MAJOR_VERSION
if PY_MAJOR_VERSION <= 2:
    from cpython.string cimport PyString_AsString
    ^
------------------------------------------------------------

debugserver.pxi:50:4: 'cpython/string/PyString_AsString.pxd' not found
make[2]: *** [Makefile:811: imobiledevice.c] Error 1

intelfx commented on 2024-09-04 14:22 (UTC)

@BeniBensn: the error message tells exactly what is wrong.

BeniBensn commented on 2024-09-04 08:56 (UTC)

Can someone help me here?

...
checking for libplist-2.0 >= 2.6.0... no
configure: error: Package requirements (libplist-2.0 >= 2.6.0) were not met:

Package dependency requirement 'libplist-2.0 >= 2.6.0' could not be satisfied.
Package 'libplist-2.0' has version '2.4.0-7-g5461eda', required version is '>= 2.6.0'

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables libplist_CFLAGS
and libplist_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
==> ERROR: A failure occurred in build().
    Aborting...

I even tried to remove libimobiledevice-git and wanted to use libimobiledevice instead but this is also not possible...

Tblue commented on 2024-06-27 22:42 (UTC)

Please add libtatsu-git to the depends of this package. Build fails with:

checking for libtatsu-1.0 >= 1.0.3... no
configure: error: Package requirements (libtatsu-1.0 >= 1.0.3) were not met:

Package 'libtatsu-1.0', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables libtatsu_CFLAGS
and libtatsu_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'libimobiledevice-git-1:1.3.0.r224.g77c727b-1': 
error: packages failed to build: libimobiledevice-git-1:1.3.0.r224.g77c727b-1

Installing libtatsu-git fixes the issue.

phyks commented on 2024-05-29 09:50 (UTC)

As of today, build fails with the following error:

userpref.c: In function 'pair_record_get_item_as_key_data':
userpref.c:1141:42: error: passing argument 2 of 'plist_get_data_val' from incompatible pointer type [-Wincompatible-pointer-types]
 1141 |                 plist_get_data_val(node, &buffer, &length);
      |                                          ^~~~~~~
      |                                          |
      |                                          char **