Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113920 - glibc should only require timezone for native builds
Summary: glibc should only require timezone for native builds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 117715 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-29 10:02 UTC by Nick Pollitt
Modified: 2006-01-04 07:22 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 Nick Pollitt 2005-11-29 10:02:16 UTC
I used crossdev like this:
crossdev --target powerpc-unknown-linux-gnu

When that was done I sync my portage tree and tried 'emerge -Dup world' and
received the following error message:
These are the packages that I would merge, in order:

Calculating world dependencies \
!!! All ebuilds that could satisfy "sys-libs/timezone-data" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-libs/timezone-data-2005n-r1 (masked by: ~x86 keyword)
- sys-libs/timezone-data-2005o (masked by: ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
!!!    (dependency required by "cross-powerpc-unknown-linux-gnu/glibc-2.3.5-r3"
[ebuild])


!!! Problem with ebuild cross-powerpc-unknown-linux-gnu/glibc-2.3.5-r3
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.

So I unmerged the crossdev stuff:
emerge -C =cross-powerpc-unknown-linux-gnu/binutils-2.16.1
=cross-powerpc-unknown-linux-gnu/gcc-3.4.4-r1
=cross-powerpc-unknown-linux-gnu/glibc-2.3.5-r3
=cross-powerpc-unknown-linux-gnu/linux-headers-2.6.11-r3

And when that was done, 'emerge -Dup world' worked fine again.  I haven't tried
to reproduce yet, since crossdev takes a while.

Reproducible: Always
Steps to Reproduce:
1. crossdev --target powerpc-unknown-linux-gnu
2. emerge -Dup world (error occurs)
3. emerge -C =(crossdev packages)
4. emerge -Dup world (works)



Expected Results:  
I would expect 'crossdev' to have no effect on normal system maintenance.

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.14.3 i686)
=================================================================
System uname: 2.6.14.3 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -msse -msse2 -mmmx "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -msse -msse2 -mmmx "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig confcache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/
http://64.50.238.52/ ftp://130.207.108.135/pub/gentoo
ftp://130.207.108.136/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acl acpi aim alsa apm audiofile avi bash-completion berkdb
bitmap-fonts bonobo browserplugin bzip2 bzlib calendar canna cdparanoia cdr
cpudetection crypt cscope cups curl custom-cflags dga dio directfb divx4linux
dmx dv dvd dvdr dvdread eds emboss encode ethereal exif expat fam fbcon ffmpeg
flac flash font-server foomaticdb fortran ftp gcj gd gdbm ggi gif glut gmp
gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile i8x0 idn imagemagick imap imlib
innodb ipv6 java jpeg kde kdeenablefinal kdepim lcms ldap libg++ libwww
logitech-mouse mad md5sum mhash mikmod ming mjpeg mmap mmx mng motif mozilla mp3
mpeg mysql ncurses nis nls nodrm nptl nptlonly nsplugin ogg oggvorbis
on-the-fly-crypt opengl pam pcre pda pdflib perl php png posix postgres povray
python qt quicktime readline real rtc samba sdl slang snmp spell sqlite sse sse2
ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev
unicode usb v4l vcd vidix vorbis wifi win32codecs wmf xine xinerama xml xml2
xmms xv xvid xvmc zlib video_cards_i810 video_cards_i865 userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-29 10:11:06 UTC
glibc-2.3.5-r3 depends on timezone-data, so you need to put it into
package.keywords as well.
Comment 2 Nick Pollitt 2005-11-29 10:18:05 UTC
------- Additional Comments From jakub@gentoo.org 2005-11-29 10:11 PDT -------
> glibc-2.3.5-r3 depends on timezone-data, so you need to put it into
> package.keywords as well.

So crossdev needs to do that, just like it puts the other stuff into
package.keywords (in the set_keywords function).
Comment 3 SpanKY gentoo-dev 2005-11-29 19:28:29 UTC
this isnt a bug in crossdev, you're mixing stable with unstable KEYWORDS
Comment 4 Nick Pollitt 2005-11-30 09:14:04 UTC
(In reply to comment #3)
> this isnt a bug in crossdev, you're mixing stable with unstable KEYWORDS

ACCEPT_KEYWORDS="x86" is stable, so it looks like it's crossdev that's choosing
the unstable branch for the specified arch (powerpc).  crossdev should Do The
Right Thing without messing up the host system.
Comment 5 SpanKY gentoo-dev 2005-12-01 00:15:44 UTC
that's the trouble you have to live with when cross-compiling

crossdev picks the latest versions by default because that's where we add
cross-compile fixes
Comment 6 SpanKY gentoo-dev 2005-12-01 00:16:25 UTC
fixed in 2.3.6-r1
Comment 7 SpanKY gentoo-dev 2006-01-04 06:37:41 UTC
*** Bug 117715 has been marked as a duplicate of this bug. ***
Comment 8 Alan Hourihane 2006-01-04 07:22:28 UTC
So we have to wait until glibc 2.3.6-r1 is stable on x86 ???

Can't this be fixed for glibc-2.3.5 as well ?