Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152616 - glibc fails on sparc64 with "FATAL: kernel too old"
Summary: glibc fails on sparc64 with "FATAL: kernel too old"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-23 19:32 UTC by Justin Patrin
Modified: 2006-10-23 23:46 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 Justin Patrin 2006-10-23 19:32:18 UTC
When trying to emerge -auv world I get:

# emerge -auv world

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

Calculating world dependencies... done!
[ebuild     U ] sys-libs/glibc-2.3.6-r4 [2.3.3.20040420-r2] USE="nls nptl* nptlonly%* -build -erandom -glibc-compat20% -glibc-omitfp% (-hardened) (-multilib) -profile% (-selinux) (-debug%) (-pic%)" 0 kB
[ebuild     U ] sys-fs/devfsd-1.3.25-r9 [1.3.25-r8] USE="(-debug%) (-uclibc%)" 41 kB
[ebuild     U ] dev-libs/libol-0.3.17 [0.3.16] 337 kB
[ebuild     U ] app-admin/syslog-ng-1.6.9 [1.6.8-r1] USE="tcpd (-hardened) (-selinux) -static" 747 kB
[ebuild  NS   ] sys-kernel/sparc-sources-2.4.33.3  USE="-build -symlink -ultra1" 30,624 kB

Total size of downloads: 31,750 kB

but trying to emerge these packages gives me this while emerging glibc:
CPP='sparc-unknown-linux-gnu-gcc -E -x c-header'  /var/tmp/portage/glibc-2.3.6-r4/work/build-sparc32-sparc-unknown-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.3.6-r4/work/build-sparc32-sparc-unknown-linux-gnu-nptl:/var/tmp/portage/glibc-2.3.6-r4/work/build-sparc32-sparc-unknown-linux-gnu-nptl/math:/var/tmp/portage/glibc-2.3.6-r4/work/build-sparc32-sparc-unknown-linux-gnu-nptl/elf:/var/tmp/portage/glibc-2.3.6-r4/work/build-sparc32-sparc-unknown-linux-gnu-nptl/dlfcn:/var/tmp/portage/glibc-2.3.6-r4/work/build-sparc32-sparc-unknown-linux-gnu-nptl/nss:/var/tmp/portage/glibc-2.3.6-r4/work/build-sparc32-sparc-unknown-linux-gnu-nptl/nis:/var/tmp/portage/glibc-2.3.6-r4/work/build-sparc32-sparc-unknown-linux-gnu-nptl/rt:/var/tmp/portage/glibc-2.3.6-r4/work/build-sparc32-sparc-unknown-linux-gnu-nptl/resolv:/var/tmp/portage/glibc-2.3.6-r4/work/build-sparc32-sparc-unknown-linux-gnu-nptl/crypt:/var/tmp/portage/glibc-2.3.6-r4/work/build-sparc32-sparc-unknown-linux-gnu-nptl/nptl /var/tmp/portage/glibc-2.3.6-r4/work/build-sparc32-sparc-unknown-linux-gnu-nptl/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /var/tmp/portage/glibc-2.3.6-r4/work/build-sparc32-sparc-unknown-linux-gnu-nptl/sunrpc/xbootparam_prot.T
FATAL: kernel too old
make[2]: *** [/var/tmp/portage/glibc-2.3.6-r4/work/build-sparc32-sparc-unknown-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r4/work/glibc-2.3.6/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r4/work/glibc-2.3.6'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.6-r4 failed.


I would update kernels, but sys-kernel/sparc-sources-2.4.33.3 requires glibc to be updated through devfsd, hence I'm in a circular dependency.
# emerge -tpuv sparc-sources

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

Calculating dependencies... done!
[ebuild  NS   ] sys-kernel/sparc-sources-2.4.33.3  USE="-build -symlink -ultra1" 30,624 kB
[ebuild     U ]  sys-fs/devfsd-1.3.25-r9 [1.3.25-r8] USE="(-debug%) (-uclibc%)" 41 kB
[ebuild     U ]   sys-libs/glibc-2.3.6-r4 [2.3.3.20040420-r2] USE="nls nptl* nptlonly%* -build -erandom -glibc-compat20% -glibc-omitfp% (-hardened) (-multilib) -profile% (-selinux) (-debug%) (-pic%)" 0 kB


$ uname -a
Linux purple 2.4.30-sparc #1 SMP Mon Jun 27 14:56:13 PDT 2005 sparc64 sun4u GNU/Linux


# emerge --info
Portage 2.1.1 (default-linux/sparc/sparc64/2006.1, gcc-20050130, glibc-2.3.3.20040420-r2, 2.4.30-sparc sparc64)
=================================================================
System uname: 2.4.30-sparc sparc64 sun4u
Gentoo Base System version 1.12.5
Last Sync: Mon, 23 Oct 2006 17:30:01 +0000
distcc 2.18.3 sparc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r6
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=ultrasparc -O3 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mcpu=ultrasparc -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/"
LINGUAS=""
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rrlrrll/gentoo-portage"
USE="sparc apache2 arts berkdb bitmap-fonts bzip2 cli cracklib crypt cups dlloader dri eds elibc_glibc emacs encode esd fbcon foomaticdb fortran gcc64 gdbm gif gstreamer gtk2 gzip imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux libwww mad mikmod motif mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png pppd python qt3 readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev userland_GNU video_cards_ati video_cards_dummy video_cards_fbdev video_cards_glint video_cards_mga video_cards_savage video_cards_sisusb video_cards_sunbw2 video_cards_suncg14 video_cards_suncg3 video_cards_suncg6 video_cards_sunffb video_cards_sunleo video_cards_tdfx video_cards_v4l video_cards_voodoo vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-23 23:46:36 UTC
You have wrong profile set for 2.4 kernels. You need default-linux/sparc/sparc64/2006.1/2.4