Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 450044 - dev-libs/icu wants to downgrade
Summary: dev-libs/icu wants to downgrade
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-03 18:55 UTC by Albert W. Hopkins
Modified: 2013-01-06 00:27 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2013-01-03 18:55:17 UTC
I just synced (Timestamp of tree: Thu, 03 Jan 2013 18:30:01 +0000) and suddenly portage wants to downgrade from 50* to 49*:

    Calculating dependencies... done!
    [binary     UD ] dev-libs/icu-49.1.2 [50.1-r2] USE="-debug -doc -examples 
    -static-libs" 0 kB


I'm guessing this has to do with a subslot issue, not that I totally understand subslots, but it appears that the version I have installed is not subslotted while the other 50* versions are (and 50.1.1 is hard masked).

    # equery m icu
     * dev-libs/icu [gentoo]
    Herd:        openoffice (openoffice@gentoo.org)
    Maintainer:  None specified
    Upstream:    None specified
    Homepage:    http://www.icu-project.org/
    Location:    /var/portage/dev-libs/icu
    Keywords:    49.1.2:0: alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86
                           ~amd64-fbsd ~mips ~x86-fbsd
    Keywords:    50.1-r1:0/50: 
    Keywords:    50.1-r2:0: 
    Keywords:    50.1.1:0/50: ~alpha ~amd64 ~amd64-fbsd ~arm ~hppa ~ia64 ~mips ~ppc                          ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd


    Portage 2.2.0_alpha149 (default/linux/amd64/10.0, gcc-4.7.2, glibc-2.16.0, 3.6.8-gentoo x86_64)
    =================================================================
    System uname: Linux-3.6.8-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.2
    Timestamp of tree: Thu, 03 Jan 2013 18:30:01 +0000
    ld GNU ld (GNU Binutils) 2.23.1
    app-shells/bash:          4.2_p42
    dev-lang/python:          2.7.3-r3, 3.2.3-r2
    dev-util/pkgconfig:       0.27.1
    sys-apps/baselayout:      2.2
    sys-apps/openrc:          0.11.8
    sys-apps/sandbox:         2.6
    sys-devel/autoconf:       2.13, 2.69
    sys-devel/automake:       1.10.3, 1.12.6
    sys-devel/binutils:       2.23.1
    sys-devel/gcc:            4.7.2
    sys-devel/gcc-config:     1.8
    sys-devel/libtool:        2.4.2
    sys-devel/make:           3.82-r5::gnome
    sys-kernel/linux-headers: 3.7 (virtual/os-headers)
    sys-libs/glibc:           2.16.0
    Repositories: gentoo marduk gnome
    ACCEPT_KEYWORDS="amd64 ~amd64"
    ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-O2 -g0 -march=nocona -mtune=corei7-avx -fomit-frame-pointer -pipe"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
    CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
    CXXFLAGS="-O2 -g0 -march=nocona -mtune=corei7-avx -fomit-frame-pointer -pipe"
    DISTDIR="/var/portage/distfiles"
    EMERGE_DEFAULT_OPTS="     --autounmask=n      --binpkg-respect-use=y     --buildpkg-exclude virtual/*     --jobs      --keep-going      --misspell-suggestions=n     --oneshot     --quiet-build      --quiet-unmerge-warn      --usepkg  "
    FCFLAGS="-O2 -pipe"
    FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks fixlafiles merge-sync news noinfo notitles parallel-fetch parallel-install protect-owned sandbox sfperms skiprocheck strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
    FFLAGS="-O2 -pipe"
    GENTOO_MIRRORS="http://distfiles.gentoo.org"
    LANG="en_US.utf8"
    LDFLAGS="-Wl,-O1 -Wl,--as-needed"
    MAKEOPTS="-j5 -l9.0"
    PKGDIR="/var/portage/packages"
    PORTAGE_COMPRESS=""
    PORTAGE_COMPRESS_FLAGS=""
    PORTAGE_CONFIGROOT="/"
    PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
    PORTAGE_TMPDIR="/var/tmp"
    PORTDIR="/var/portage"
    PORTDIR_OVERLAY="/var/lib/layman/marduk /var/lib/layman/gnome"
    SYNC="rsync://rsync.gentoo.org/gentoo-portage"
    USE="acpi aes amd64 aperfmperf apic arat arch_perfmon avx bts cjk clflush cmov constant_tsc cx16 cx8 de ds_cpl dtes64 dtherm dts eagerfpu epb ept erms est f16c flexpriority fpu fsgsbase fxsr ht ida introspection lahf_lm lm mca mce mmx monitor msr mtrr multilib nls nonstop_tsc nopl nx pae pam pat pbe pcid pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pts rdrand rdtscp rep_good sep smep smx ss sse sse2 sse4_1 sse4_2 ssse3 syscall tm tm2 tpr_shadow tsc tsc_deadline_timer unicode utf8 vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="authz auth_digest authn_file group_file dav dav_fs dir authz_groupfile mime" APACHE2_MPMS="event" CAMERAS="*" CURL_SSL="openssl" DRACUT_MODULES="lvm" ELIBC="glibc" FFTOOLS="*" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LINGUAS="ja" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="intel i915 i965 modesetting"
    Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Tolga Dalman 2013-01-03 22:03:27 UTC
Some packages are explicitly requiring icu-49 (say, libreoffice-bin for example). What does equery d icu give ?
Comment 2 Albert W. Hopkins 2013-01-03 22:23:31 UTC
(In reply to comment #1)
> Some packages are explicitly requiring icu-49 (say, libreoffice-bin for
> example). What does equery d icu give ?

     * These packages depend on icu:
    app-office/libreoffice-3.6.4.3 (>=dev-libs/icu-4.8.1.1)
    dev-db/sqlite-3.7.15.1 (icu ? dev-libs/icu)
    dev-libs/boost-1.52.0-r5 (icu ? >=dev-libs/icu-3.6)
    dev-libs/libxml2-2.9.0-r1 (icu ? dev-libs/icu)
    media-libs/harfbuzz-0.9.9 (dev-libs/icu)
    media-libs/raptor-2.0.8 (unicode ? dev-libs/icu)
    net-libs/webkit-gtk-1.8.3-r200 (>=dev-libs/icu-3.8.1-r1)
    net-libs/webkit-gtk-1.10.2-r300 (>=dev-libs/icu-3.8.1-r1)
    www-client/chromium-24.0.1312.45 (>=dev-libs/icu-49.1.1-r1)
Comment 3 Albert W. Hopkins 2013-01-03 22:32:43 UTC
emerge -DuvtaN @world

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

Calculating dependencies... done!
[nomerge       ] app-office/gnucash-2.4.11-r1  USE="ofx sqlite webkit -chipcard -debug -doc -hbci -mysql -postgres -python -quotes" 
[nomerge       ]  net-libs/webkit-gtk-1.8.3-r200:2  USE="geoloc gstreamer introspection jit spell webgl (-aqua) -coverage -debug {-test}" 
[binary     UD ]   dev-libs/icu-49.1.2 [50.1-r2] USE="-debug -doc -examples -static-libs" 0 kB


Although equery says::

    net-libs/webkit-gtk-1.8.3-r200 (>=dev-libs/icu-3.8.1-r1)

Strangely enough, I masked <=dev-libs/icu-49.1.2 to see if it would complain, but nothing did.  emerge -DuvaN @world just says there's nothing to emerge.

I'll try simply rebuilding net-libs/webkit-gtk-1.8.3-r200:2 to see what happens.
Comment 4 Albert W. Hopkins 2013-01-03 23:32:19 UTC
I rebuilt net-libs/webkit-gtk-1.8.3-r200, but still:

emerge -DuvtaN @world
These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge       ] app-office/gnucash-2.4.11-r1  USE="ofx sqlite webkit -chipcard -debug -doc -hbci -mysql -postgres -python -quotes" 
[nomerge       ]  net-libs/webkit-gtk-1.8.3-r200:2  USE="geoloc gstreamer introspection jit spell webgl (-aqua) -coverage -debug {-test}" 
[binary     UD ]   dev-libs/icu-49.1.2 [50.1-r2] USE="-debug -doc -examples -static-libs" 0 kB

The RDEPEND in the ebuild has:

    >=dev-libs/icu-3.8.1-r1

With no specific constraints on USE flags or anything like that, so I still don't know why portage thinks It requires a downgrade.  Gnucash has been running fine with 50* for as long as it was available.

Here are the contents of /var/db/pkg/net-libs/webkit-gtk-1.8.3-r200/NEEDED:

/usr/bin/jsc-1 libjavascriptcoregtk-1.0.so.0,libstdc++.so.6,libc.so.6
/usr/lib64/libwebkitgtk-1.0.so.0.13.4 libjavascriptcoregtk-1.0.so.0,libpthread.so.0,libenchant.so.1,libgailutil.so.18,libgeoclue.so.0,libgstapp-0.10.so.0,libgstinterfaces-0.10.so.0,libgstpbutils-0.10.so.0,libgstvideo-0.10.so.0,libgstbase-0.10.so.0,libgstreamer-0.10.so.0,libgmodule-2.0.so.0,libgtk-x11-2.0.so.0,libgdk-x11-2.0.so.0,libatk-1.0.so.0,libpangocairo-1.0.so.0,libgdk_pixbuf-2.0.so.0,libcairo.so.2,libjpeg.so.8,libsoup-2.4.so.1,libgio-2.0.so.0,libxslt.so.1,libxml2.so.2,libGL.so.1,libdl.so.2,libpangoft2-1.0.so.0,libpango-1.0.so.0,libfreetype.so.6,libfontconfig.so.1,libgobject-2.0.so.0,libglib-2.0.so.0,libpng15.so.15,libsqlite3.so.0,libicui18n.so.50,libicuuc.so.50,libXrender.so.1,libXt.so.6,libX11.so.6,libz.so.1,libstdc++.so.6,libm.so.6,libc.so.6
/usr/lib64/libjavascriptcoregtk-1.0.so.0.13.4 libpthread.so.0,libicui18n.so.50,libicuuc.so.50,libglib-2.0.so.0,libstdc++.so.6,libm.so.6,libc.so.6
Comment 5 Tolga Dalman 2013-01-04 01:19:45 UTC
Strange indeed. What version of qt-core do you have installed ? Perhaps you can look into bug #449250, since that seems to be the latest change in icu.
I can't reproduce the error over here (similar setup I'd say, but who knows ...)

Perhaps it's an portage-2.2 issue - have you tried downgrading ?
Comment 6 Albert W. Hopkins 2013-01-04 01:37:04 UTC
(In reply to comment #5)
> Strange indeed. What version of qt-core do you have installed ? Perhaps you
> can look into bug #449250, since that seems to be the latest change in icu.
> I can't reproduce the error over here (similar setup I'd say, but who knows
> ...)
> 
> Perhaps it's an portage-2.2 issue - have you tried downgrading ?


I don't have any qt* packages installed.  Bug #449250 seems to be about run-time issues.  I'm not experiencing any issues with actual packages, just with portage wanting to downgrade icu for no apparent reason.

I tried downgrading to portage-2.1 but it didin't seem to make any difference.
Comment 7 Zac Medico gentoo-dev 2013-01-06 00:10:09 UTC
Does this command work as expected?

  emerge -pv =dev-libs/icu-50.1-r2

For reference, here's what I'm seeing locally:

[ebuild  rR    ] dev-libs/icu-50.1-r2:0/50 [50.1-r2:0/0]
[ebuild  rR    ] dev-db/sqlite-3.7.15.1:3
[ebuild  rR    ] dev-libs/libxml2-2.9.0-r1:2
[ebuild  rR    ] dev-libs/boost-1.52.0-r5
[ebuild  rR    ] net-libs/webkit-gtk-1.10.2-r300:3

Those are automatic rebuilds, triggered because somebody apparently bumped the sub-slot of dev-libs/icu-50.1-r2.
Comment 8 Albert W. Hopkins 2013-01-06 00:27:17 UTC
*sigh*

Well I didn't want to be *that* guy, but apparently I am.  It turns out that on 18 November I had masked dev-libs/icu:0/50 do to bug #439698.  I'd completely forgotten about it and it's been sitting there ever since.  I'm not sure why it only got triggered by webkit-gtk, but nevertheless, removing the masks now wants to rebuild dev-libs/icu-50.1-r2 (and some other packages).  Sorry for crying wolf.