Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368447 - paludis/cave interprets =sys-libs/glibc-2.11/2.12 as DEPENDing on =sys-devel/gcc-4.3*
Summary: paludis/cave interprets =sys-libs/glibc-2.11/2.12 as DEPENDing on =sys-devel/...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-23 10:57 UTC by fkater
Modified: 2011-06-01 14:32 UTC (History)
0 users

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 fkater 2011-05-23 10:57:02 UTC
I am using paludis/cave, but most probably an issue with emerge, too:

I cannot uninstall gcc-4.3.5 since requested by glibc ebuilds (2.11.x, 2.12.x). However, I see no reason why, and in fact, glibc is not even compiled with gcc-4.3.5 but with gcc-4.4.5 (according to output of /lib/libc-2.12.2.so).

Reproducible: Always

Steps to Reproduce:
cave uninstall =sys-devel/gcc-4.3.5
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-23 11:07:20 UTC
Please post your `emerge --info' output or equivalent.
Comment 2 fkater 2011-05-23 14:56:41 UTC
emerge --info (I am not using emerge, do not know how relevant this is:)


Portage 2.1.9.42 (default/linux/amd64/10.0/desktop, gcc-4.4.5, unavailable, 2.6.39 x86_64)
=================================================================
System uname: Linux-2.6.39-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 23 May 2011 07:45:01 +0000
app-shells/bash:     4.1_p9::<unknown repository>
dev-java/java-config: 2.1.11-r3::<unknown repository>
dev-lang/python:     2.6.6-r2::<unknown repository>, 2.7.1-r1::<unknown repository>, 3.1.3-r1::<unknown repository>
dev-util/cmake:      2.8.4-r1::<unknown repository>
sys-apps/baselayout: 2.0.2::<unknown repository>
sys-apps/openrc:     0.8.2-r1::<unknown repository>
sys-apps/sandbox:    2.4::<unknown repository>
sys-devel/autoconf:  2.13::<unknown repository>, 2.65-r1::<unknown repository>
sys-devel/automake:  1.9.6-r3::<unknown repository>, 1.10.3::<unknown repository>, 1.11.1::<unknown repository>
sys-devel/binutils:  2.20.1-r1::<unknown repository>
sys-devel/gcc:       4.3.5::<unknown repository>, 4.4.5::<unknown repository>, 4.5.2::<unknown repository>
sys-devel/gcc-config: 1.4.1-r1::<unknown repository>
sys-devel/libtool:   2.2.10::<unknown repository>
sys-devel/make:      3.81-r2::<unknown repository>
sys-kernel/linux-headers: 2.6.36.1::<unknown repository>
sys-libs/glibc:      2.12.2::<unknown repository>
virtual/os-headers:  2.6.36.1::<unknown repository> (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA sun-bcla-java-vm"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -g0 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -g0 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildsyspkg distlocks fixlafiles fixpackages news nodoc noinfo parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude='games-*' --exclude='dev-games*' --exclude='dev-ruby' --exclude='gnustep-*' --exclude='kde-*' --exclude='sci-astronomy*' --exclude='sci-biology*' --exclude='sci-chemistry*' --exclude='sci-electronix*' --exclude='sci-geosciences*' --exclude='sci-mathematics*' --exclude='sci-misc*' --exclude='sci-pysics*' --exclude='sci-visualization*' --exclude='sci-libs*' --exclude='rox-*' --exclude='xfce-*'"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 asf avi bindist bluetooth branding bzip2 cairo cdr cli consolekit cracklib cups cxx dga dri dts dv dvd dvdr emboss encode exif fam ffmpeg firefox flac gdu gif gphoto2 gtk2 iconv ieee1394 ithreads jpeg lcms libgd libnotify mad minimal mmx mng modules moznocompose moznoirc moznomail mp3 mp4 mpeg mplayer mudflap multilib ncurses nptl nptlonly nsplugin ogg oggvorbis opengl openmp oss pango pcre pdf pg-intdatetime png policykit pppd qt3support readline sdl serial session sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb userlocales vorbis x264 xcb xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY
Comment 3 fkater 2011-05-23 14:57:41 UTC
cave info:

Package Manager Information:
    Package Name              paludis
    Package Version           0.60.4
    Build Date                2011-05-04T11:09:02+0200
    Built with CXX            x86_64-pc-linux-gnu-g++ 4.4.5
    Built with CXXFLAGS        -march=native -O3 -pipe -fomit-frame-pointer -pedantic
    Built with LDFLAGS        -Wl,-O1 -Wl,--as-needed -Wl,--as-needed

Environment Information:
    Format                    paludis
    Config dir                /etc/paludis
    Root                      /
    System Root               /
    World file                /var/lib/portage/world

Repository installed-virtuals:
    format                    installed_virtuals
    root                      /

Repository virtuals:
    format                    virtuals

Repository gentoo:
    format                    e
    location                  /usr/portage
    builddir                  /var/tmp/paludis
    cache                     /usr/portage/metadata/cache
    distdir                   /usr/portage/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /usr/portage/eclass
    layout                    traditional
    names_cache               /var/cache/paludis/names
    newsdir                   /usr/portage/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /usr/portage/profiles/default/linux/amd64/10.0
    securitydir               /usr/portage/metadata/glsa
    setsdir                   /usr/portage/sets
    sync                      rsync://rsync.europe.gentoo.org/gentoo-portage/
    sync_options              
    use_manifest              use
    write_cache               /var/empty
    Package information
        app-shells/bash       4.1_p9
        dev-java/java-config  2.1.11-r3
        dev-lang/python       2.6.6-r2 2.7.1-r1 3.1.3-r1
        dev-util/ccache       (none)
        dev-util/cmake        2.8.4-r1
        sys-apps/baselayout   2.0.2
        sys-apps/openrc       0.8.2-r1
        sys-apps/sandbox      2.4
        sys-devel/autoconf    2.13 2.65-r1
        sys-devel/automake    1.10.3 1.11.1 1.9.6-r3
        sys-devel/binutils    2.20.1-r1
        sys-devel/gcc         4.3.5 4.4.5 4.5.2
        sys-devel/gcc-config  1.4.1-r1
        sys-devel/libtool     2.2.10
        sys-devel/make        3.81-r2
        sys-freebsd/freebsd-lib (none)
        sys-kernel/linux-headers 2.6.36.1
        sys-libs/glibc        2.12.2
        sys-libs/uclibc       (none)

Repository installed:
    format                    vdb
    location                  /var/db/pkg
    builddir                  /var/tmp/paludis
    eapi_when_unknown         0
    names_cache               /var/cache/paludis/names
    provides_cache            /var/cache/paludis/provides
    root                      /

Repository cross-i686-pc-mingw32:
    format                    e
    location                  /usr/local/paludis-overlay
    builddir                  /var/tmp/paludis
    cache                     /var/empty
    distdir                   /usr/portage/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /usr/portage/eclass  /usr/local/paludis-overlay/eclass
    layout                    traditional
    master_repository         gentoo
    names_cache               /var/empty
    newsdir                   /usr/local/paludis-overlay/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /usr/portage/profiles/default/linux/amd64/10.0
    securitydir               /usr/local/paludis-overlay/metadata/glsa
    setsdir                   /usr/local/paludis-overlay/sets
    sync                      
    sync_options              
    use_manifest              use
    write_cache               /var/empty

Repository cross-x86_64-w64-mingw32:
    format                    e
    location                  /usr/local/paludis-overlay64
    builddir                  /var/tmp/paludis
    cache                     /var/empty
    distdir                   /usr/portage/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /usr/portage/eclass  /usr/local/paludis-overlay64/eclass
    layout                    traditional
    master_repository         gentoo
    names_cache               /var/empty
    newsdir                   /usr/local/paludis-overlay64/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /usr/portage/profiles/default/linux/amd64/10.0
    securitydir               /usr/local/paludis-overlay64/metadata/glsa
    setsdir                   /usr/local/paludis-overlay64/sets
    sync                      
    sync_options              
    use_manifest              use
    write_cache               /var/empty
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-24 13:38:36 UTC
(In reply to comment #0)
> I am using paludis/cave, but most probably an issue with emerge, too:

Oh btw, no. Nobody has this with sys-apps/portage. But I will pass on the bug and, when it is established that maybe the PM is at fault, probably marked INVALID (because this bug tracker shouldn't be used for paludis bugs, except where its packaging in the portage tree is concerned).
Comment 5 SpanKY gentoo-dev 2011-05-28 17:28:01 UTC
i dont see any bugs in the glibc ebuilds.  bounce to whoever maintains that pm to figure out what's going on.
Comment 6 Ketil Kvifte 2011-05-30 22:25:37 UTC
It's not a bug but it could use a feature of more specific dependency list in VDB.

My VDB tells me that glibc has this line in /var/db/pkg/sys-libs/glibc-2.13-r2/DEPEND:

>=sys-devel/gcc-3.4.4 arm? ( >=sys-devel/binutils-2.16.90 >=sys-devel/gcc-4.1.0 ) x86? ( >=sys-devel/gcc-4.3 ) amd64? ( >=sys-devel/binutils-2.19 >=sys-devel/gcc-4.3 ) ppc? ( >=sys-devel/gcc-4.1.0 ) ppc64? ( >=sys-devel/gcc-4.1.0 ) >=sys-devel/binutils-2.15.94 >=sys-kernel/linux-headers-2.6.9 >=sys-devel/gcc-config-1.3.12 >=app-misc/pax-utils-0.1.10 virtual/os-headers nls? ( sys-devel/gettext ) >=sys-apps/sandbox-1.2.18.1-r2 !<sys-apps/portage-2.1.2 selinux? ( sys-libs/libselinux ) !vanilla? ( >=sys-libs/timezone-data-2007c ) sys-devel/gnuconfig

I guess your /var/db/pkg/sys-libs/glibc-2.12.2 is similar or has smaller minimum version of gcc.

Since both sys-devel/gcc-4.4.5 and sys-devel/gcc-4.3.5 matches >=sys-devel/gcc-3.4.4 paludis blocks both.

You can probably use:
cave uninstall =sys-devel/gcc-4.3.5 --uninstalls-may-break =sys-libs/glibc-2.12.2


These kinds of issues are easily spotted by people familiar with paludis/cave and I think they should be asked about in the mailinglist for paludis. If it's a real bug, than it will be figured out in the mailinglist where to report it. If my help is not enough, than I think you should ask there. You should also include the output of cave uninstall =sys-devel/gcc-4.3.5, because it will tell if you also have other packages depending on =sys-devel/gcc-3.4.5.

I am not involved in paludis development, and others are usually faster than me to reply to such questions on paludis-mailinglist.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-01 14:32:31 UTC
It's a paludis thing.