Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331775 - sys-libs/glibc[vanilla] should not DEPEND on sys-libs/timezone-data
Summary: sys-libs/glibc[vanilla] should not DEPEND on sys-libs/timezone-data
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-09 14:41 UTC by Alonso Schaich
Modified: 2010-08-09 18:06 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 Alonso Schaich 2010-08-09 14:41:38 UTC
Hello

glibc-2.11.2 ( haven't tried other versions so far ) installs timezone-data if merged with the "vanilla" flag. At the same time, the glibc ebuild contains a DEPEND on timezone-data, which prevents the merge when install would overwrite files of the timezone-data package.

Reproducible: Always

Steps to Reproduce:
1. USE=vanilla emerge glibc
2.
3.




in glibc-2.11.2.ebuild:
>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
>        ${LT_VER:+nptl? (} >=sys-kernel/linux-headers-${NPTL_KERN_VER} ${LT_VER:+)}
>        >=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 )"
>RDEPEND="!sys-kernel/ps3-sources
>        nls? ( sys-devel/gettext )
>        selinux? ( sys-libs/libselinux )"
>
>if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
>       DEPEND="${DEPEND} !crosscompile_opts_headers-only? ( ${CATEGORY}/gcc )"
>        [[ ${CATEGORY} == *-linux* ]] && DEPEND="${DEPEND} ${CATEGORY}/linux-headers"
>else
>        DEPEND="${DEPEND} >=sys-libs/timezone-data-2007c"
>        RDEPEND="${RDEPEND} sys-libs/timezone-data"
>fi

should IMO be

>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
>        ${LT_VER:+nptl? (} >=sys-kernel/linux-headers-${NPTL_KERN_VER} ${LT_VER:+)}
>        >=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 )"
>RDEPEND="!sys-kernel/ps3-sources
>        nls? ( sys-devel/gettext )
>        selinux? ( sys-libs/libselinux )"
>
>if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
>       DEPEND="${DEPEND} !crosscompile_opts_headers-only? ( ${CATEGORY}/gcc )"
>        [[ ${CATEGORY} == *-linux* ]] && DEPEND="${DEPEND} ${CATEGORY}/linux-headers"
>else
>        DEPEND="${DEPEND} !vanilla? ( >=sys-libs/timezone-data-2007c )"
>        RDEPEND="${RDEPEND} !vanilla? ( sys-libs/timezone-data )"
>
>fi

============================
emerge --info if it matters:
Portage 2.2_rc67 (default/linux/amd64/10.0/no-multilib, gcc-4.5.1, glibc-2.11.2-r0, 2.6.35-core2 x86_64)
=================================================================
System uname: Linux-2.6.35-core2-x86_64-with-gentoo-2.0.1
Timestamp of tree: Mon, 09 Aug 2010 11:00:20 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.5.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -ftracer -ftree-loop-linear -fpredictive-commoning -floop-block -fgraphite-identity"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -ftracer -ftree-loop-linear -fpredictive-commoning -floop-block -fgraphite-identity"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/lib/layman/qting-edge /var/lib/layman/multimedia /var/lib/layman/kde"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bidi bzip2 cjk cli cracklib crypt cups cxx dbus dri enca external-ffmpeg fortran gdbm gpm iconv ipv6 kde kerberos libedit lzma mmx modules mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png postgres pppd python qt3support qt4 rdesktop readline reflection scim semantic-desktop session spl sql sse sse2 ssl subversion svg sysfs tcpd threads truetype unicode vanilla webkit xcomposite xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i915 nouveau" 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, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS