Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898666 - app-pda/libimobiledevice-1.3.0-r2 fails to compile (CYTHON3-SYSTEM): imobiledevice.pyx:103:65: Cannot assign type void (const_idevice_event_t, void *) except * nogil to idevice_event_cb_t
Summary: app-pda/libimobiledevice-1.3.0-r2 fails to compile (CYTHON3-SYSTEM): imobiled...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Smith
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: cython3-tracker
  Show dependency tree
 
Reported: 2023-03-02 08:22 UTC by Agostino Sarubbo
Modified: 2024-02-29 10:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,189.90 KB, text/plain)
2023-03-02 08:22 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-03-02 08:22:36 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-pda/libimobiledevice-1.3.0-r2 fails to compile (CYTHON3-SYSTEM).
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(CYTHON3-SYSTEM) in the summary means that the bug was found on a machine that runs dev-python/cython-3 but this bug MAY or MAY NOT BE related to the new version of cython
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-02 08:22:38 UTC
Created attachment 855516 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-08-13 01:09:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d738930ce5fd8dc842175422eebe6dac6b9b8cf

commit 3d738930ce5fd8dc842175422eebe6dac6b9b8cf
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-08-13 00:49:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-13 00:49:29 +0000

    app-pda/libimobiledevice: depend on <cython-3
    
    Bug: https://bugs.gentoo.org/898666
    Signed-off-by: Sam James <sam@gentoo.org>

 app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild | 3 ++-
 app-pda/libimobiledevice/libimobiledevice-1.3.0-r2.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
Comment 3 Luke A. Guest 2023-09-09 16:25:08 UTC
Might be worth testing and switching to pymobiledevice3, see https://www.reddit.com/r/jailbreakdevelopers/comments/mvzfaw/tool_pymobiledevice3_is_a_better_libimobiledevice/
Comment 4 Matthew Smith gentoo-dev 2023-09-10 08:12:52 UTC
Thanks for the tip :) I was unaware of pymobiledevice.

imo libimobiledevice is only packaged for use by ifuse, would dropping the python use flag break any of your workflows?
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-02-28 13:13:57 UTC
Ping.  Almost a year has passed already.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-29 07:57:23 UTC
There's a PR upstream now at least: https://github.com/libimobiledevice/libimobiledevice/pull/1521.
Comment 7 Larry the Git Cow gentoo-dev 2024-02-29 10:22:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cad7457cbf1cabdc772e0850b98f8b224ddc7ee

commit 5cad7457cbf1cabdc772e0850b98f8b224ddc7ee
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2024-02-29 10:20:35 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2024-02-29 10:21:27 +0000

    app-pda/libimobiledevice: patch to support cython3
    
    Closes: https://bugs.gentoo.org/898666
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 .../files/libimobiledevice-1.3.0-cython3.patch     |  48 +++++++++
 .../libimobiledevice-1.3.0-r4.ebuild               | 115 +++++++++++++++++++++
 2 files changed, 163 insertions(+)