Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393253 - gnome-base/gnome-panel-2.32 and other gnome2 consumers wrongly accept >=dev-libs/libgweather-3 as well
Summary: gnome-base/gnome-panel-2.32 and other gnome2 consumers wrongly accept >=dev-l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-05 11:12 UTC by megabaks
Modified: 2011-12-07 07:56 UTC (History)
1 user (show)

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


Attachments
fixed slot (fix-upstream.patch,367 bytes, patch)
2011-12-06 03:11 UTC, megabaks
Details | Diff
build.log (build.log,10.88 KB, text/plain)
2011-12-07 05:26 UTC, megabaks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description megabaks 2011-12-05 11:12:52 UTC
2.30.3 - pkg-config find gweather
3.2.1 - pkg-config can't find 'gweather', because it's 'gweather-3.0'
ok. trying install gnome-base/gnome-panel-2.32.1-r3: 'gweather' not found
gnome-panel's ebuild: >=dev-libs/libgweather-2.27.90:2
fail
+
2.30.3: >=x11-libs/gtk+-2.11:2
3.2.1: >=x11-libs/gtk+-2.90.0:3
fix it!
==========
sorry my bad english

Reproducible: Always

Steps to Reproduce:
always
Comment 1 megabaks 2011-12-06 03:11:03 UTC
Created attachment 294921 [details, diff]
fixed slot
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-12-06 13:00:14 UTC
libgweather slot didn't change on purpose. Please attach full build.log of your problematic package and emerge --info.
Comment 3 Pacho Ramos gentoo-dev 2011-12-06 13:06:26 UTC
He probably is mixing 2.32 stuff with 3
Comment 4 megabaks 2011-12-07 05:21:03 UTC
(In reply to comment #3)
> He probably is mixing 2.32 stuff with 3
why not?
look in the ebuild!
just bad dependencies
Comment 5 megabaks 2011-12-07 05:26:40 UTC
Created attachment 295043 [details]
build.log
Comment 6 megabaks 2011-12-07 05:27:48 UTC
(In reply to comment #2)
> libgweather slot didn't change on purpose. Please attach full build.log of your
> problematic package and emerge --info.
===========================
emerge -avD =gnome-base/gnome-panel-2.32.1-r3
.....

configure: error: Package requirements (pango >= 1.15.4 gtk+-2.0 >= 2.19.7 glib-2.0 >= 2.25.12 gio-2.0 >= 2.25.12  librsvg-2.0 dbus-glib-1 gweather >= 2.27.90 gnome-desktop-2.0 >= 2.24.0) were not met:

No package 'gweather' found
===========================
look in the first post!
===========================
emerge --info (not important!)

Portage 2.1.10.39 (default/linux/x86/10.0, gcc-4.6.1, glibc-2.14.1-r1, 3.1.3-pf i686)
=================================================================
System uname: Linux-3.1.3-pf-i686-Intel-R-_Core-TM-2_Duo_CPU_E7200_@_2.53GHz-with-gentoo-2.1
Timestamp of tree: Tue, 06 Dec 2011 16:00:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.5.4-r4, 2.6.7-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.22
sys-devel/gcc:            4.4.6-r1, 4.5.3-r1, 4.6.1-r1
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r1
Repositories: gentoo x11 mozilla rebutia dottout stuff rion mini-kde
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mtune=generic -mfpmath=sse -msse4.1 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -mtune=generic -mfpmath=sse -msse4.1 -fomit-frame-pointer -pipe"
DISTDIR="/var/distfiles"
EMERGE_DEFAULT_OPTS="-j3"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="rsync://trumpetti.atm.tut.fi/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.bloodhost.ru/ http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=360"
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/local/portage/layman/x11 /usr/local/portage/layman/mozilla /usr/local/portage/layman/rebutia /usr/local/portage/layman/dottout /usr/local/portage/layman/stuff /usr/local/portage/layman/rion /home/megabaks/mini-kde"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 a52 aac acl acpi alsa berkdb bluetooth bzip2 cairo chm cli cmipci consolekit cracklib crypt ctype cuda cue cxx dbus dirac disk-partition djvu dri dvd ebook embedded emerald emovix enca encode exif extras faac fat ffmpeg ffmpeg-mt filter flac flash flv fortran fuse gdbm ggi gif glibc-omitfp gmplayer gnutls gpm gst-bad gst-ffmpeg gst-flac gst-ugly gstreamer gtk gtk2 gui hddtemp iconv icq id3tag jabber javascript jpeg kde ladspa lame lcms libsamplerate lm_sensors lzma mad matroska mmap mmx mng modules mp3 mp3enc mpeg mplayer mudflap musepack mysql nas ncurses nls nptl nptlonly nsplugin ntfs objc objc++ objc-gc ogg openal opencl opengl openmp optimisememory pam pcre pdf phonon plugins png policykit pppd profiler qt3support qt4 quicktime rar readline schroedinger sdl sdl-image secure-delete session shine skins smp sql sse sse2 sse3 ssl ssse3 stream svg sysfs taglib tcpd theora threads tiff truetype twolame udev unicode unsupported upnp usb vaapi vdpau vorbis vpx wav wavpack webkit win32codecs wma-fixed wmf x264 x86 xanim xcomposite xorg xv xvid zip 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 mmap_emul 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
==================================
again - all needed info allready present in the first post!
Comment 7 Mart Raudsepp gentoo-dev 2011-12-07 05:38:52 UTC
Lets chill now.
You are mixing keyword visibilities. Latest ~arch of gnome-panel is 3.2, latest ~arch libgweather is 3.2.1. All is good. Latest stable of gnome-panel is 2.32, latest libgweather is 2.3x.y - all is good.
Problem should only happen if you try to downgrade to stable gnome-panel or not install the latest - need to make libgweather match that as well.

What we can do here is just forcing a downgrade of libgweather too then with a blocker, and we were discussing that a while ago on IRC and will be seen/tested if it can be done nicely so that package managers don't go bonkers on the blocker in more common scenarios. And we will do that if it works nicely (there's some prior experience there just to apply to here). SLOTting is not worth it here, only users of libgweather are gnome-panel, evolution-data-server, evolution, gnome-applets, all of which are part of core GNOME, so don't need both libgweather versions, as all the users will be either gnome2 or gnome3.

Just wait until we get a compatible version forcing in with blockers, meanwhile match the package visibility of gnome-panel and libgweather in your system. Pacho simply stated for other maintainers what the scenario this would happen in would be, to speed things up, which was followed by realtime IRC discussions about this bug.

Note to co-maintainers: We might want to add such blockers for the other gnome2 libgweather consumers as well.
Comment 8 megabaks 2011-12-07 05:52:07 UTC
>You are mixing keyword visibilities.
yes, why not?
./me dont want the gnome3
where the gentoo's flexibility?
needed change dependencies in gnome-panel's ebuilds or (this is best) change SLOT for libweather
Comment 9 Mart Raudsepp gentoo-dev 2011-12-07 05:56:04 UTC
(In reply to comment #8)
> >You are mixing keyword visibilities.
> yes, why not?
> ./me dont want the gnome3
> where the gentoo's flexibility?

If you mix keyword visibilities, you are generally expected to keep both pieces if it breaks. However with nice and useful reports we can sometimes help out there at ebuild level for other keyword mixing users to not hit it too.
So mix it properly and mask libgweather-3 too. Just like you must have done with gnome-panel-3.

> needed change dependencies in gnome-panel's ebuilds or (this is best) change
> SLOT for libweather

There is no SLOTs in libgweather, they are all SLOT="2". On purpose. This stays that way as it stands. It may have been moved from SLOT=0 to SLOT=2 before the slotting was reverted for some reasons I don't know, but I'm told they were good reasons, and I agree there is no gentoo need to SLOT this, just a technical possibility.
Comment 10 megabaks 2011-12-07 06:07:13 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > >You are mixing keyword visibilities.
> > yes, why not?
> > ./me dont want the gnome3
> > where the gentoo's flexibility?
> 
> If you mix keyword visibilities, you are generally expected to keep both pieces
> if it breaks. However with nice and useful reports we can sometimes help out
> there at ebuild level for other keyword mixing users to not hit it too.
> So mix it properly and mask libgweather-3 too. Just like you must have done
> with gnome-panel-3.
> 
> > needed change dependencies in gnome-panel's ebuilds or (this is best) change
> > SLOT for libweather
> 
> There is no SLOTs in libgweather, they are all SLOT="2". On purpose. This stays
> that way as it stands. It may have been moved from SLOT=0 to SLOT=2 before the
> slotting was reverted for some reasons I don't know, but I'm told they were
> good reasons, and I agree there is no gentoo need to SLOT this, just a
> technical possibility.
oh, [censored]
ok - but if user want gnome2 and gnome3 in one system?
why not?
gentoo isn't ubuntu!
Comment 11 Mart Raudsepp gentoo-dev 2011-12-07 07:07:32 UTC
Don't edit bug titles already rephrased by maintainers to such knee-jerk reaction texts.
GNOME2 and GNOME3 can NOT co-exist in the same prefix. Most libraries can be parallel installed (slotted in gentoo), but none of the applications and daemons can. This includes, but is not limited to, gnome-session, gnome-panel, gnome-settings-daemon, gnome-power-manager, gnome-screensaver. As such, you can't have a gnome2 and gnome3 versions of them at the same time, as such you can not have GNOME2 and GNOME3 at the same time. If you want that, you should look into chroot's, virtual machines or the Gentoo Prefix project.
Comment 12 megabaks 2011-12-07 07:18:12 UTC
(In reply to comment #11)
> Don't edit bug titles already rephrased by maintainers to such knee-jerk
> reaction texts.
> GNOME2 and GNOME3 can NOT co-exist in the same prefix. Most libraries can be
> parallel installed (slotted in gentoo), but none of the applications and
> daemons can. This includes, but is not limited to, gnome-session, gnome-panel,
> gnome-settings-daemon, gnome-power-manager, gnome-screensaver. As such, you
> can't have a gnome2 and gnome3 versions of them at the same time, as such you
> can not have GNOME2 and GNOME3 at the same time. If you want that, you should
> look into chroot's, virtual machines or the Gentoo Prefix project.

facepalm
bye
Comment 13 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-12-07 07:56:54 UTC
I have changed the gnome-2 versions of gnome-base/gnome-applets, gnome-base/gnome-panel, gnome-extra/evolution-data-server, mail-client/evolution, and gnome-base/gnome to depend on <libgweather-2.91; the gnome-3 version of libgweather should no longer be pulled in if you have gnome-2 installed.

(In reply to comment #12)

Different versions of gnome have never been installable in parallel. When gnome-2.0 was released in 2002, you could install it in parallel with a subset of gnome-1.4's old libraries - but not with gnome-1.4 daemons or core applications. The same applies to gnome-3.x and gnome-2.32.