Bug 175895 - Wrong dependency in kvpnc-0.8.8-r1
Bug#: 175895 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: voxus@gentoo.org Reported By: ansla80@yahoo.com
Component: Applications
URL: 
Summary: Wrong dependency in kvpnc-0.8.8-r1
Keywords:  
Status Whiteboard: 
Opened: 2007-04-24 19:12 0000
Description:   Opened: 2007-04-24 19:12 0000
When the cisco use flag is set, kvpnc depends on
>=net-misc/vpnc-0.3.4_pre20061029 <=net-misc/vpnc-0.4
However, this does not work with portage as I get this message:

Calculating world dependencies |
!!! Multiple versions within a single package slot have been
!!! pulled into the dependency graph:

('ebuild', '/', 'net-misc/vpnc-0.3.3-r1', 'merge') pulled in by
  ('ebuild', '/', 'net-misc/kvpnc-0.8.8-r1', 'merge')

('installed', '/', 'net-misc/vpnc-0.4.0-r2', 'nomerge') pulled in by
  ('ebuild', '/', 'net-misc/kvpnc-0.8.8-r1', 'merge')


Reproducible: Always

Steps to Reproduce:

------- Comment #1 From Andrei Slavoiu 2007-04-24 19:13:08 0000 -------
Portage 2.1.2.4 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1,
2.6.20-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 24 Apr 2007 17:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r7
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -ggdb -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/php/apache1-php5/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -ggdb -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="buildpkg ccache collision-protect distlocks fixpackages
metadata-transfer parallel-fetch sandbox sfperms splitdebug strict userfetch
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.romnet.org/gentoo http://distfiles.gentoo.org"
LANG="ro_RO.UTF-8"
LC_ALL="ro_RO.UTF-8"
LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common,-z,combreloc,--as-needed"
LINGUAS="en eo ro"
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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
USE="3ds 7zip X a52 aac aalib accessibility acl acpi aiglx akode alsa amd64 amr
apache2 asf audiofile bash-completion berkdb bitmap-fonts bzip2 caps cddb
cdinstall cdparanoia cdr cisco clamav cracklib crypt css cups curl dba dbus dga
djvu dmi doc dpms dri dts dv dvd dvdr dvdread eds emboss encode erandom
examples exif expat fam fbcon ffmpeg firefox flac ftp gcj gd gdbm geoip gif
glib glut gmp gnokii gnutls gpm graphviz hal hddtemp hou iconv idn imagemagick
ipv6 isdnlog java javascript jingle jpeg jpeg2k justify kde kdeenablefinal
kdehiddenvisibility kerberos kig-scripting kipi kqemu lame lcms ldap libcaca
libclamav libg++ lirc live lm_sensors lua lzo mad matroska mbrola midi mikmod
mjpeg mmap mng mp3 mp4 mpeg mplayer mppe-mppc musepack musicbrainz mythtv
ncurses network nls nodrm nowin nptl nptlonly offensive ofx ogg openal openexr
opengl pam pch pcre pdf perl php physfs png posix povray ppds pppd python qt3
qt3support qt4 quicktime rdesktop readline reflection reiserfs rtc ruby samba
sasl scanner sdl session sms snmp sockets sou sox speex spell spl sqlite
sqlite3 ssl subversion svg symlink syslog sysvipc tcpd theora threads tidy tiff
truetype truetype-fonts type1-fonts unicode usb v4l v4l2 videos visualization
voice vorbis wifi wmf x264 xattr xcomposite xine xml xml2 xmlrpc xorg xpm xsl
xv xvid xvmc zeroconf zip zlib zvbi" ALSA_CARDS="bt87x via82xx"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en eo ro" LIRC_DEVICES="kworld" USERLAND="GNU"
VIDEO_CARDS="radeon v4l vesa"
Unset:  CTARGET, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Elias Probst 2007-04-26 07:32:45 0000 -------
In bug#172778 I've provided an ebuild which has IMHO the correct dependencies:
  cisco? (      >=net-misc/vpnc-0.3.4_pre20061029 <=net-misc/vpnc-0.4 )
instead of:
  cisco? ( >=net-misc/vpnc-0.4.0 <=net-misc/vpnc-0.4 )

For net-misc/kvpnc-0.8.8 we should prevent net-misc/vpnc-0.4 from being merged,
because the syntax used there isn't compatible with the current kvpnc.
I don't understand, why the currently used dependencies were specified, because
IMHO they don't make any sense because now net-misc/vpnc-0.4.0-r* is available,
what makes net-misc/kvpnc-0.8.8-r1 pulling in net-misc/vpnc-0.4.0-r2.

Please change the dependencies back to the one suggested above as in bug#172778

The currently specified dependencies are obviously totally wrong (see also
bug#172743

Regards,

Elias P.

------- Comment #3 From Andrei Slavoiu 2007-04-26 09:29:33 0000 -------
(In reply to comment #2)
> In bug#172778 I've provided an ebuild which has IMHO the correct dependencies:
>   cisco? (      >=net-misc/vpnc-0.3.4_pre20061029 <=net-misc/vpnc-0.4 )
> instead of:
>   cisco? ( >=net-misc/vpnc-0.4.0 <=net-misc/vpnc-0.4 )

No, actualy the dependencies in the ebuild in portage are exactly the ones in
your ebuild. But now I realised that actualy the problem is that the ebuilds
for vpnc-0.3.4_preXXXXXX are not in portage, the only versions available are:
0.3.3-r1 0.4.0 ~0.4.0-r1 ~0.4.0-r2

------- Comment #4 From Elias Probst 2007-04-26 09:42:05 0000 -------
You're right.
But where has the 0.3.4_preXX ebuild gone? Removal wasn't mentioned in
ChangeLog.
Using ">=net-misc/vpnc-0.3.3-r1 <net-misc/vpnc-0.4" as dependency should solve
this.
It would cause a downgrade to 0.3.3 for people already using 0.3.4_preXX, but I
think this would be much better than having a non-working kvpnc ;-)

Regards, Elias P.

------- Comment #5 From Andrei Slavoiu 2007-04-26 09:51:18 0000 -------
(In reply to comment #4)
> You're right.
> But where has the 0.3.4_preXX ebuild gone? Removal wasn't mentioned in
> ChangeLog.

They were removed by hanno, I belive by accident:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/vpnc-0.3.4_pre20061219.ebuild?hideattic=0&rev=1.4&view=log

If there was a good reson in the first place to depend on the prerelease
versions instead of anything older then 0.4 then maybe they should be added
back.

------- Comment #6 From Konstantin Arkhipov 2007-04-27 11:35:05 0000 -------
fixed in 0.8.8-r2,
thanks.