Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505576 - =app-pda/usbmuxd-1.0.9: move to =app-pda/libusbmuxd-1.0.9 and create a snapshot of unreleased usbmuxd-1.0.9'ish from upstream repository
Summary: =app-pda/usbmuxd-1.0.9: move to =app-pda/libusbmuxd-1.0.9 and create a snapsh...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
: 506582 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-25 00:10 UTC by Anton Bolshakov
Modified: 2019-07-22 17:23 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2014-03-25 00:10:30 UTC
Please bump both 
app-pda/libimobiledevice
 and
app-pda/usbmuxd

The current one does not work with the latest iOS.

For more details, see:
https://bugs.gentoo.org/show_bug.cgi?id=498342
 and
https://github.com/libimobiledevice/usbmuxd/issues/5
Comment 1 Anton Bolshakov 2014-03-25 00:45:37 UTC
app-pda/libplist-1.11

22.03.2014: Release time! Proud to announce libimobiledevice-1.1.6.tar.bz2 (unstable) after more than a year of development. Furthermore there are new 
releases of libplist-1.11.tar.bz2 and libusbmuxd-1.0.9.tar.bz2. This marks an important refactoring effort for proper iOS 7 support. It's packed with new features, tools, speed improvements, code refactoring, crash fixes, memory leak fixes and much more.
Comment 2 Anton Bolshakov 2014-03-25 16:05:00 UTC
There are major changes and I'm testing my ebuilds in the overlay for now:
https://code.google.com/p/pentoo/source/browse/portage/trunk/app-pda

Feel free to test it too
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-04-02 21:04:54 UTC
*** Bug 506582 has been marked as a duplicate of this bug. ***
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2014-04-06 08:53:14 UTC
libplist-1.11, usbmuxd-1.0.9, and libimobiledevice-1.1.6 in Portage ~arch
Comment 5 Anton Bolshakov 2014-04-07 02:18:17 UTC
My bad, usbmuxd-1.0.9 hasn't been released yet (coming soon), so you probably committed a wrong ebuild. As I mentioned, the imobile* packages has been redesigned, so we need libusbmud as well.

Please have a look at pentoo overlay. I have proper ebuilds in there.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2014-04-07 06:26:55 UTC
(In reply to Anton Bolshakov from comment #5)
> My bad, usbmuxd-1.0.9 hasn't been released yet (coming soon), so you
> probably committed a wrong ebuild. As I mentioned, the imobile* packages has
> been redesigned, so we need libusbmud as well.
> 
> Please have a look at pentoo overlay. I have proper ebuilds in there.

nothing really to do, before usbmuxd-1.0.9 is released, once it's released:

=app-pda/usbmuxd-1.0.9 containing libusbmuxd will move to =app-pda/libusbmuxd-1.0.9
=app-pda/usbmuxd-1.0.9-r1 will become the one containing usbmuxd binary, and depend on =app-pda/libusbmuxd-1.0.9
and packages depending on app-pda/usbmuxd will be converted to depend on app-pda/libusbmuxd if it's only the library they need

unless we create a snapshot, of course, to move on with this earlier...
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2014-05-30 11:44:58 UTC
all done:

1. =app-pda/libusbmuxd-1.0.9 committed (move usbmuxd-1.0.9 there)
2. =app-pda/usbmuxd-1.0.8_p20140530 committed
Comment 8 Anton Bolshakov 2014-05-30 12:25:59 UTC
wow, thanks. I have also filed an upstream bug report requesting to release it so we could avoid live ebuilds.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2014-05-30 13:07:48 UTC
i made an snapshot instead of using the git eclasses, because all live ebuilds, need to be either without KEYWORDS or p.masked as per policy

the upstream homepage says releases are coming soon, so it's all good :)
Comment 10 parafin 2014-07-12 12:19:56 UTC
(In reply to Samuli Suominen from comment #6)
> and packages depending on app-pda/usbmuxd will be converted to depend on
> app-pda/libusbmuxd if it's only the library they need

I think that wasn't a good idea - while usbmuxd isn't build-time dependency, it's definitely a runtime dependency. For example for ifuse to work now I have to emerge usbmuxd explicitly too, I think it should be pulled as dependency automatically.
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2014-07-12 13:29:18 UTC
(In reply to parafin from comment #10)
> (In reply to Samuli Suominen from comment #6)
> > and packages depending on app-pda/usbmuxd will be converted to depend on
> > app-pda/libusbmuxd if it's only the library they need
> 
> I think that wasn't a good idea - while usbmuxd isn't build-time dependency,
> it's definitely a runtime dependency. For example for ifuse to work now I
> have to emerge usbmuxd explicitly too, I think it should be pulled as
> dependency automatically.

so, it's possible that we need to change ifuse's deps from...

RDEPEND=">=app-pda/libimobiledevice-1.1.4:=
	>=app-pda/libplist-1.8:=
	>=sys-fs/fuse-2.7.0"
DEPEND="${RDEPEND}
	virtual/pkgconfig"

to...

COMMON_DEPEND=">=app-pda/libimobiledevice-1.1.4:=
	>=app-pda/libplist-1.8:=
	>=sys-fs/fuse-2.7.0"
RDEPEND="${COMMON_DEPEND}
        app-pda/usbmuxd"
DEPEND="${COMMON_DEPEND}
	virtual/pkgconfig"

but I've looked through ifuse's source code (albeit, quickly) and I don't see the direct link between ifuse <-> usbmuxd

so, can you be more specific, how it's used? i'd rather not do a blind commit without specifics. i don't have the hardware to test either.

also, this should have been reported as a new bug like "app-pda/ifuse: missing runtime depend of app-pda/usbmuxd"
Comment 12 Anton Bolshakov 2014-07-12 14:37:46 UTC
You can always check with upstream directly, they are very responsive.

I was reporting all dependencies bugs and created ebuilds based on their recommendations. For example:
https://github.com/libimobiledevice/usbmuxd/issues/10

"libplist -> libusbmuxd -> libimobiledevice -> usbmuxd, ifuse, ideviceinstaller"

So emerge last 3 packages and be happy.

File an upstream bug report if you think it should be done differently.
Comment 13 parafin 2014-07-12 14:49:13 UTC
ifuse won't start without usbmuxd running, it will print the following error:

No device found, is it connected?
If it is make sure that your user has permissions to access the raw usb device.
If you're still having issues try unplugging the device and reconnecting it.

It doesn't even mention usbmuxd, so how the user should know that he needs to emerge usbmuxd? Obviously it should be made a runtime dependency of ifuse, same probably goes for app-pda/ideviceinstaller (or maybe it's more logical to be defined as an RDEPEND of libusbmuxd, which is, as far as I understand, a library for talking to usbmuxd daemon).
Comment 14 Anton Bolshakov 2014-07-12 14:59:02 UTC
I actually agree. End-users don't run usbmuxd manually but it's required for 2 other packages. It's just an initial focus was to make sure it simply works first ;-)
Comment 15 Fred Krogh 2019-07-22 17:23:58 UTC
I get compile errors trying to compile ifuse, and usbmuxd-1.0.8, and all versions of usbmuxd in https://github.com/pentoo/pentoo-overlay/tree/master/app-pda/usbmuxd
I'd be happy to post details for the problems as requested.  I'm seeing no signs of usbmuxd-1.0.9.

======== emerge --info ================

Portage 2.3.69 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop, gcc-9.1.0, glibc-2.29-r2, 5.2.2-gentoo x86_64)
=================================================================
System uname: Linux-5.2.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.6
KiB Mem:     8153284 total,   1567184 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Sun, 21 Jul 2019 19:30:01 +0000
Head commit of repository gentoo: a42f58fbc175d1960f9ee61e6223f54298445778
sh bash 5.0_p7
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p7::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo, 3.7.4-r1::gentoo
dev-util/cmake:           3.15.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.1.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:  --exclude=/.unionfs --exclude=.fuse_hidden*
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

pentoo
    location: /var/lib/layman/pentoo
    sync-type: laymansync
    sync-uri: https://github.com/pentoo/pentoo-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox preserve-libs protect-owned sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://ftp.ucsb.edu/pub/mirrors/linux/gentoo http://cudlug.cudenver.edu/gentoo http://gentoo.binarycompass.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS=" --exclude=/.unionfs --exclude=.fuse_hidden*"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="64bit X a52 aac accessibility acl acpi addc addins ads alsa alsa-plugin amd64 apache2 apng apparmor asyncns auctex bash-completion bcmath berkdb bluetooth branding bzip2 cairo caps caps-ng cdda cdr cdrom ceph clamav clamd cli client client-libs clisp cluster code colordiff console-kit consolekit cron crypt cryptsetup cups curl cxx dbus dconf debugger device-mapper dmapi dot dri dts dvd dvdr dvdread elfutils emacs emboss emul-linux86 encode equalizer exif extra fam fcgi ffmpeg flac fontconfig fortran ftpuf g3dvl games gcrypt gd gdbm gdu gegl gif glamor glib gnome gnome-keyring gnuefi gpm graph graphite gtk gtk3 gudev http hwdb iconv icu idn importd introspection ipod ipv6 jack jadetex java javascript jpeg json kdrive keymap kmod kms kpathsea latex latin1 lcms ldap libclamav libidn2 libnotify libreoffice libtirpc libwww libxml2 logrotate lua lz4 lzma mad mbox mng modemmanager mono motif mouse mp3 mp4 mpeg mtp multilib mysql mysqli nat ncurses network network-cron networkmanager nls nptl nsplugin nvidia ogg opengl openmp openrc oss pam pango pcre pcre16 pdf playlist png policykit pop pop3d postproc ppds preview-latex printsupport pulseaudio python qrcode qt3support qt4 qt5 quota readline regex rpc sdl seccomp server sockets sound sox spamassassin spell split-usr sqlite ssl startup-notification sudoku svg symlink sync-plugin-portage syslog system-heimdal systemd sysv-utils tcpd theora threads thunderbird tiff tk tools truetype udev udisks uni unicode upcall upower usb usrmerge vala vdpau vhosts video vlc vorbis webkit webrtc-aec widgets winbind wxwidgets x264 xattr xcb xcomposite xetex xft xkb xml xulrunner xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter fcgid file_cache filter headers hwdb ident imagemap include info log_config logio macro mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="en en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS