idevicebackup2.c: In function ‘mb2_handle_list_directory’: idevicebackup2.c:913: error: ‘GStatBuf’ undeclared (first use in this function) idevicebackup2.c:913: error: (Each undeclared identifier is reported only once idevicebackup2.c:913: error: for each function it appears in.) idevicebackup2.c:913: error: expected ‘;’ before ‘st’ idevicebackup2.c:914: error: ‘st’ undeclared (first use in this function) SuSE has a patch that replaces GStatbuf with just struct stat: https://build.opensuse.org/package/view_file?file=libimobiledevice-gstatbuf-fix.patch&package=libimobiledevice&project=multimedia%3Alibs&srcmd5=2ae4be41ba47300f5ddbfbe54f44877c After applying this patch the package compiles fine. Per http://developer.gnome.org/glib/unstable/glib-File-Utilities.html GStatbuf should be in gstdio.h, but perhaps that's for a newer version of glib? The libimobiledevice ebuild requires >=dev-libs/glib-2.14.1, I have 2.14.1 installed. Hmm, looks like 2.28.8 (currently marked stable) includes GStatBuf. Perhaps the ebuild glib dep should be increased to whatever version introduced GStatBuf? Or the suse patch applied which is functionally equivilent and won't make people have to update glib :). Thanks...
+ 27 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> + libimobiledevice-1.1.1.ebuild: + Raise dev-libs/glib requirement (required for GStatBuf) wrt #377493 by Paul + B. Henson