Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410411 - gnome-base/gvfs-1.10.1 fails to compile with app-pda/libimobiledevice-1.1.2
Summary: gnome-base/gvfs-1.10.1 fails to compile with app-pda/libimobiledevice-1.1.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-01 07:49 UTC by Leo Laursen
Modified: 2012-04-02 07:37 UTC (History)
2 users (show)

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


Attachments
patch to allow gvfs to build with libimobiledevice-1.1.2 (gvfs-1.10.1-libimobiledevice-1.1.2.patch,1.21 KB, patch)
2012-04-01 17:08 UTC, Leo Laursen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Laursen 2012-04-01 07:49:48 UTC
Due to API improvements in app-pda/libimobiledevice-1.1.2, gnome-base/gvfs-1.10.1 fails to compile with the error
gvfsbackendafc.c:349:25: error: ‘idevice_event_t’ has no member named ‘uuid’

One of the improvements of the API is the change of uuid to udid, as a more correct term.
Comment 1 Reto Gantenbein (ganto) 2012-04-01 10:42:48 UTC
Same build error with still hard-masked gnome-base/gvfs-1.12.0:

[...]
gvfsbackendafc.c: In function ‘_idevice_event_cb’:
gvfsbackendafc.c:346:25: error: ‘idevice_event_t’ has no member named ‘uuid’
make[4]: *** [gvfsd_afc-gvfsbackendafc.o] Error 1
Comment 2 Leo Laursen 2012-04-01 17:08:12 UTC
Created attachment 307389 [details, diff]
patch to allow gvfs to build with libimobiledevice-1.1.2

Added an untested patch with the minimum changes in order to compile gvfs-1.10.1.
I was unable to revert to libimobiledevice-1.1.1, due to some missing files related to swig (list.i ?).
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-02 07:37:22 UTC
Thanks for reporting, fixed in cvs without a revbump with a different patch that should allow gvfs to build against both libimobiledevice-1.1.1 and 1.1.2.

>  02 Apr 2012; Alexandre Rostovtsev <tetromino@gentoo.org> gvfs-1.10.1.ebuild,
>  +files/gvfs-1.10.1-libimobiledevice-1.1.2.patch, gvfs-1.12.0.ebuild:
>  Fix building against >=libimobiledevice-1.1.2 (bug #410411, thanks to Leo
>  Laursen for reporting).