Gentoo Archives: gentoo-dev

From: "Jörg Schaible" <joerg.schaible@×××.de>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Changes in installed ebuilds
Date: Mon, 23 Jun 2014 20:16:17
Message-Id: loa1tb$mkn$1@ger.gmane.org
1 Hi,
2
3 can somebody tell my, since when existing (and installed) ebuilds suddenly
4 change without at least increasing the version number?
5
6 Today's synchronization got me suddenly dependency conflicts for installed
7 packages:
8
9 ==================== %< =========================
10 !!! All ebuilds that could satisfy ">=dev-libs/glib-2.38.2-
11 r1:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?]"
12 have been masked.
13 !!! One of the following masked packages is required to complete your
14 request:
15 - dev-libs/glib-2.40.0-r1::gentoo (masked by: ~amd64 keyword)
16 - dev-libs/glib-2.38.2-r1::gentoo (masked by: package.mask)
17
18 (dependency required by "dev-libs/dbus-glib-0.100.2-r1" [installed])
19 (dependency required by "sys-auth/consolekit-0.4.6" [installed])
20 (dependency required by "sys-auth/polkit-0.112-r1[-systemd]" [installed])
21 (dependency required by "sys-fs/udisks-2.1.2" [installed])
22 (dependency required by "kde-base/kdelibs-4.12.5-r1[udisks]" [ebuild])
23 (dependency required by "kde-base/nepomuk-widgets-4.12.5" [installed])
24 ==================== %< =========================
25
26 Diffing the ebuilds for dbus-glib:
27
28 ==================== %< =========================
29 ~ $ locate dbus-glib-0.100.2-r1.ebuild
30 /var/db/pkg/dev-libs/dbus-glib-0.100.2-r1/dbus-glib-0.100.2-r1.ebuild
31 /var/db/portage/central/dev-libs/dbus-glib/dbus-glib-0.100.2-r1.ebuild
32 ~ $ diff -u `locate dbus-glib-0.100.2-r1.ebuild`
33 --- /var/db/pkg/dev-libs/dbus-glib-0.100.2-r1/dbus-glib-0.100.2-r1.ebuild
34 2014-02-24 09:01:29.779074662 +0100
35 +++ /var/db/portage/central/dev-libs/dbus-glib/dbus-glib-0.100.2-r1.ebuild
36 2014-06-18 21:31:11.000000000 +0200
37 @@ -1,6 +1,6 @@
38 # Copyright 1999-2014 Gentoo Foundation
39 # Distributed under the terms of the GNU General Public License v2
40 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.100.2-
41 r1.ebuild,v 1.7 2014/02/23 16:17:58 pacho Exp $
42 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.100.2-
43 r1.ebuild,v 1.11 2014/06/18 19:09:23 mgorny Exp $
44
45 EAPI=5
46 inherit bash-completion-r1 eutils multilib-minimal
47 @@ -11,18 +11,18 @@
48
49 LICENSE="|| ( GPL-2 AFL-2.1 )"
50 SLOT="0"
51 -KEYWORDS="~alpha amd64 arm hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86
52 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-
53 macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris"
54 +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86
55 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-
56 macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris"
57 IUSE="debug doc static-libs test"
58
59 -CDEPEND=">=dev-libs/expat-2[${MULTILIB_USEDEP}]
60 - >=dev-libs/glib-2.26:2[${MULTILIB_USEDEP}]
61 - >=sys-apps/dbus-1.6.2[${MULTILIB_USEDEP}]"
62 +CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
63 + >=dev-libs/glib-2.38.2-r1:2[${MULTILIB_USEDEP}]
64 + >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}]"
65 DEPEND="${CDEPEND}
66 virtual/pkgconfig
67 doc? ( >=dev-util/gtk-doc-1.4 )"
68 RDEPEND="${CDEPEND}
69 - abi_x86_32? (
70 - !<app-emulation/emul-linux-x86-baselibs-20131008-r8
71 + abi_x86_32? (
72 + !<app-emulation/emul-linux-x86-baselibs-20131008-r8
73 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
74 )"
75
76 @@ -49,7 +49,7 @@
77 $(use_enable debug verbose-mode)
78 $(use_enable debug asserts)
79 $(use_enable static-libs static)
80 - $(multilib_build_binaries && use_enable doc gtk-doc || echo
81 " --disable-gtk-doc")
82 + $(multilib_native_use_enable doc gtk-doc)
83 )
84
85 ECONF_SOURCE="${S}" econf "${myconf[@]}"
86 ==================== %< =========================
87
88 So, why the heck, was the dependency to dev-libs/glib changed for an
89 existing ebuild without increasing its version (e.g. dbus-glib-0.100.2-r2)?
90 Who can really say, that dbus-glib still works properly without having been
91 compiled against those new versions of expat, glib and dbus? Sorry, but this
92 is simply bad practice.
93
94 I have to use an older Eclipse 3.8.x version for my daily work and since it
95 is broken with latest gtk versions (a lot of crashes), I use still some old
96 ebuilds and have masked new ones. However, if the dependencies of installed
97 ebuilds suddenly change, this simply breaks my portage tree.
98
99 - Jörg

Replies

Subject Author
[gentoo-dev] Re: Changes in installed ebuilds Duncan <1i5t5.duncan@×××.net>
Re: [gentoo-dev] Changes in installed ebuilds Alexandre Rostovtsev <tetromino@g.o>