Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 149654

Summary: emerge chooses two versions within the same package slot
Product: Gentoo Linux Reporter: Nix N. Nix <nix>
Component: Current packagesAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jakub, voip+disabled
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nix N. Nix 2006-09-30 13:54:00 UTC
mactop / # emerge -vpt ekiga 

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] net-im/ekiga-2.0.2  USE="dbus gnome -avahi -debug -doc -sdl" 5,882 kB 
[ebuild  N    ]  dev-libs/pwlib-1.10.1  USE="alsa ipv6 ssl v4l v4l2 -debug -ieee1394 -ldap -oss -sasl -sdl -xml" 1,450 kB 
[ebuild  N    ]  net-libs/opal-2.2.2  USE="-debug -noaudio -novideo" 4,016 kB 
[ebuild  N    ]   dev-libs/pwlib-1.10.2  USE="alsa ipv6 ssl v4l v4l2 -debug -ieee1394 -ldap -oss -sasl -sdl -xml" 1,450 kB

OK, so ekiga-2.0.2 depends on pwblib-1.10.1 and opal 2.2.2, which, in turn, depends on pwlib-1.10.2.

Is this slightly strange, or is it just me ?
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-30 16:51:58 UTC
Nix: Please provide `emerge --info`.

Ekiga has ~dev-libs/pwlib-1.10.1, opal has >=dev-libs/pwlib-1.10.1, which isn't optimal, but it seems also a minor Portage bug to display the two pwlib versions.
Comment 2 Zac Medico gentoo-dev 2006-09-30 17:28:05 UTC
What version of portage? There was a known bug like this that's been fixed.  Please reopen if you're using >=portage-2.1.2_pre1-r4.
Comment 3 Nix N. Nix 2006-09-30 22:17:52 UTC
OK, very strange ... excerpt from ldd /usr/bin/ekiga:

...
        libpt_linux_ppc_r.so.1.10.1 => not found
...
        libpt_linux_ppc_r.so.1.10.2 => /usr/lib/libpt_linux_ppc_r.so.1.10.2
...

WTF ?! How can ekiga depend on /both/ versions of libpt_linux_ppc_r ?

emerge --info:
Portage 2.1.2_pre2 (default-linux/ppc/2005.1/ppc, gcc-4.1.1, glibc-2.4-r3, 2.6.17.11 ppc)
=================================================================
System uname: 2.6.17.11 ppc 7455, altivec supported
Gentoo Base System version 1.12.5
Last Sync: Sat, 30 Sep 2006 20:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=powerpc -pipe -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=powerpc -pipe -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentopia"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="ppc X a52 aac aim alsa altivec apache2 apm bash-completion berkdb bitmap-fonts bzip2 cairo calendar cdr cli crypt cups dbus divx4linux dlloader dri dvd dvdr dvi eds effects elibc_glibc emboss encode fbcon ffmpeg firefox flac fortran ftp gd gdbm gif glx gnome gnutls gpm gstreamer gtk gtk2 hal howl icq imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java jpeg kernel_linux libwww mbox motif mozilla moznocompose moznoirc mozsvg mp3 mpeg msn nas nautilus ncurses new-login nls nntp nptl nptlonly nsplugin offensive ogg oggvorbis opengl oscar pam pam_console pci pcre pdf pdflib perl plugin pmu png pppd ps python qt3 qt4 quicktime readline reflection server session sockets sox spell spl ssl svg symlink sysvipc tcpd tetex theora truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l v4l2 vcd video_cards_ati video_cards_fbdev video_cards_radeon video_cards_v4l vorbis wifi xine xinerama xml2 xorg xpm xscreensaver xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Nix N. Nix 2006-09-30 22:43:29 UTC
Alright - obvious workaround:

cd /usr/lib
ln -s /usr/lib/libpt_linux_ppc_r.so.1.10.2 /usr/lib/libpt_linux_ppc_r.so.1.10.1

Still ...
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-01 00:19:55 UTC
Why this bug got closed? Please, don't resolve bugs that are not fixed. Ekiga looks broken plus the portage thing isn't quite optimal either.
Comment 6 Zac Medico gentoo-dev 2006-10-01 00:24:40 UTC
(In reply to comment #0)
> mactop / # emerge -vpt ekiga 
> 
> These are the packages that would be merged, in reverse order:
> 
> Calculating dependencies... done!
> [ebuild  N    ] net-im/ekiga-2.0.2  USE="dbus gnome -avahi -debug -doc -sdl"
> 5,882 kB 
> [ebuild  N    ]  dev-libs/pwlib-1.10.1  USE="alsa ipv6 ssl v4l v4l2 -debug
> -ieee1394 -ldap -oss -sasl -sdl -xml" 1,450 kB 
> [ebuild  N    ]  net-libs/opal-2.2.2  USE="-debug -noaudio -novideo" 4,016 kB 
> [ebuild  N    ]   dev-libs/pwlib-1.10.2  USE="alsa ipv6 ssl v4l v4l2 -debug
> -ieee1394 -ldap -oss -sasl -sdl -xml" 1,450 kB

Was this output produced by portage-2.1.2_pre2 or an earlier version?
Comment 7 Nix N. Nix 2006-10-01 10:11:20 UTC
> Was this output produced by portage-2.1.2_pre2 or an earlier version?

Please see my emerge --info output ... it was produced by =sys-apps/portage-2.1.2_pre2
Comment 8 Zac Medico gentoo-dev 2006-10-01 12:01:52 UTC
The problem is that net-im/ekiga-2.0.2 has a specific dependency on ~dev-libs/pwlib-1.10.1 while net-libs/opal-2.2.2 has a less specific dependency on >=dev-libs/pwlib-1.10.1, causing bug 1343 to manifest itself.

*** This bug has been marked as a duplicate of 1343 ***
Comment 9 Nix N. Nix 2006-10-01 14:43:18 UTC
> The problem is that net-im/ekiga-2.0.2 has a specific dependency on
> ~dev-libs/pwlib-1.10.1 while net-libs/opal-2.2.2 has a less specific dependency
> on >=dev-libs/pwlib-1.10.1, causing bug 1343 to manifest itself.

This is all well and good, but in this case, ekiga doesn't really depend on dev-libs/pwlib-1.10.1, because it works just fine with dev-libs/pwlib-1.10.2, at least for me.

Perhaps we should mark ekiga as depending on >=dev-libs/pwlib-1.10.1 just as opal does, and see if it causes any kind of havoc.
Comment 10 Zac Medico gentoo-dev 2006-10-01 15:01:38 UTC
I've CC'd the voip herd in case they'd like to consider comment #9.