Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211116 - kde-base/*-3.5.9 split packages can't be mixed with kde-base/*-3.5.9 monolithic packages.
Summary: kde-base/*-3.5.9 split packages can't be mixed with kde-base/*-3.5.9 monolith...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 211389 211404 211609 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-22 15:08 UTC by Denis Misiurca
Modified: 2008-03-20 21:13 UTC (History)
8 users (show)

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


Attachments
kde-3.5.9-dependencies.patch (kde-3.5.9-dependencies.patch,8.79 KB, patch)
2008-03-01 21:32 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
kde-3.5.9-dependencies.patch (kde-3.5.9-dependencies.patch,8.78 KB, patch)
2008-03-01 21:36 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
kde-3.5.9-dependencies.patch (kde-3.5.9-dependencies.patch,9.16 KB, patch)
2008-03-02 00:02 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Misiurca 2008-02-22 15:08:24 UTC
I run emerge -uDavN world and get an error about ~x86 masked kwin. But I already have ~x86 unmasked kdebase (which contains kwin inside).

Reproducible: Always

Steps to Reproduce:
1. Try to upgrade
2. Say some <censored> words
Actual Results:  
kjsembed requires kwin

Expected Results:  
kjsembed requires kwin or kdebase

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8infoman-1 i686)
=================================================================
System uname: 2.6.23-gentoo-r8infoman-1 i686 Intel(R) Celeron(R) CPU 2.40GHz
Timestamp of tree: Fri, 22 Feb 2008 14:30:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" ftp://pandemonium.tiscali.de/pub/gentoo/ http://adelie.polymtl.ca/ ftp://ftp.lug.md/pub/mirrors/gentoo/"
LC_ALL="en_US.UTF-8"
LINGUAS="ru"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/voip /usr/portage/local/layman/java-overlay /usr/portage/local/layman/science /usr/portage/local/layman/latest-released /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acpi alsa amr amrnb amrwb apache2 bash-completion berkdb bitmap-fonts blender-game bluetooth branding bzip2 cairo cdda cddb chm cli cracklib crypt css curl d dbus divx djvu dri dts dvd dvdr dvdread enca encode expat ffmpeg firefox flac fortran gdbm gif glitz gmedia gpm hal htmlhandbook iconv idn innodb irmc isdnlog jabber javascript jpeg jpeg2k kde kipi lm_sensors mad matroska midi mikmod milter mmx modplug mozdevelop mozilla moznopango mp3 mpeg mudflap multiuser musepack mysql mysqli ncurses nls nolvm1 nptl nptlonly nsplugin obex offensive ogg opengl openmp pam pcre pdf perl php png posix pppd python qt3 qt4 quicktime readline reflection ruby sasl sdl seamonkey session speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb utempter vcd vhosts vim-pager vim-syntax vim-with-x vorbis vorbis-psy win32codecs wmp x264 x86 xanim xcomposite xforms xml xorg xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_http" APACHE2_MPMS="itk" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPT
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-22 15:46:44 UTC

*** This bug has been marked as a duplicate of bug 210942 ***
Comment 2 Andrei Slavoiu 2008-02-23 13:38:33 UTC
This is NOT a duplicate of bug 210942. Look at the diff from the last version, you can clearly see an explicit dependency to JUST kwin has been added:
--- /usr/portage/kde-base/kjsembed/kjsembed-3.5.8.ebuild        2008-02-09 14:36:06.000000000 +0200
+++ /usr/portage/kde-base/kjsembed/kjsembed-3.5.9.ebuild        2008-02-21 01:04:07.000000000 +0200
@@ -1,22 +1,19 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kjsembed/kjsembed-3.5.8.ebuild,v 1.6 2008/02/09 12:21:25 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kjsembed/kjsembed-3.5.9.ebuild,v 1.1 2008/02/20 23:04:07 philantrop Exp $

 KMNAME=kdebindings
 KM_MAKEFILESREV=1
-MAXKDEVER=$PV
-KM_DEPRANGE="$PV $MAXKDEVER"
+EAPI="1"
 inherit kde-meta

 DESCRIPTION="KDE javascript parser and embedder"
 HOMEPAGE="http://xmelegance.org/kjsembed/"

-KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE=""
-DEPEND="$(deprange-dual $PV $MAXKDEVER kde-base/kwin)"

+DEPEND=">=kde-base/kwin-${PV}:${SLOT}"
 RDEPEND="${DEPEND}"

 PATCHES="$FILESDIR/no-gtk-glib-check.diff"
-
-# Probably missing some deps, too
Comment 3 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-02-23 13:42:51 UTC
(In reply to comment #2)
> This is NOT a duplicate of bug 210942. Look at the diff from the last version,
> you can clearly see an explicit dependency to JUST kwin has been added:

You missed the point, you can't mix split and monolithic ebuilds, so the split ebuilds depend on split ebuilds, but *NOT* on their monolithic equivalents.
Comment 4 Andrei Slavoiu 2008-02-23 15:46:16 UTC
(In reply to comment #3)
> You missed the point, you can't mix split and monolithic ebuilds, so the split
> ebuilds depend on split ebuilds, but *NOT* on their monolithic equivalents.
Fine, then mark it as a duplicate for a bug that says we need a kdebindings monolithic package... My point was that it has nothing to do with bug 210942.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2008-02-24 15:46:06 UTC
(In reply to comment #3)
> You missed the point, you can't mix split and monolithic ebuilds, so the split
> ebuilds depend on split ebuilds, but *NOT* on their monolithic equivalents.

This is not correct. You can very fine run e.g. monolithic kdebase and kdepim and split ebuilds from other kde packages on top of it.

This is a valid bug, coming from replacing the deprange-dual() call with a hard dependency on kwin.

Comment 6 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-02-25 15:33:34 UTC
*** Bug 211389 has been marked as a duplicate of this bug. ***
Comment 7 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-02-25 16:57:28 UTC
*** Bug 211404 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2008-02-25 18:33:43 UTC
(In reply to comment #5)
> replacing the deprange-dual() call with a hard dependency on kwin.

Yeah, IOW the monolithic cruft is deprecated. So, lets call it done and move on.
Comment 9 Denis Misiurca 2008-02-25 18:40:23 UTC
(In reply to comment #8)

> the monolithic cruft is deprecated.

Can someone make a script for converting /etc/portage/package.keywords entries from monolithic to split format?
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2008-02-27 10:59:29 UTC
*** Bug 211609 has been marked as a duplicate of this bug. ***
Comment 11 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-03-01 21:32:07 UTC
Created attachment 145044 [details, diff]
kde-3.5.9-dependencies.patch
Comment 12 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-03-01 21:36:48 UTC
Created attachment 145045 [details, diff]
kde-3.5.9-dependencies.patch

Patch with fixed typos.
Comment 13 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-03-01 22:50:48 UTC
(In reply to comment #12)
> Created an attachment (id=145045) [edit]
> kde-3.5.9-dependencies.patch
> 
> Patch with fixed typos.

> || ( >=kde-base/kwin-${PV}:${SLOT} >=kde-base/kdebase-${PV}:${SLOT} )
> || ( >=kde-base/kcontrol-${PV}:${SLOT} >=kde-base/kdebase-${PV}:${SLOT} )

That would become "|| ( ( kwin kcontrol ) kdebase )".

> || ( >=kde-base/kdemultimedia-arts-${PV}:${SLOT}
>      >=kde-base/kdemultimedia-${PV}:${SLOT} )"

That should probably result in a built_with_use check for kdemultimedia with USE=arts...
Comment 14 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-03-02 00:02:05 UTC
Created attachment 145055 [details, diff]
kde-3.5.9-dependencies.patch

Updated patch.
Comment 15 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-03-20 21:10:19 UTC
This bug was fixed some time ago.