On my system sys-kernel/openvz-sources-026.018 fails to build: In file included from arch/i386/kernel/cpu/proc.c:7: include/linux/vsched.h: At top level: include/linux/vsched.h:25: error: expected identifier or '(' before 'int' include/linux/vsched.h:25: error: expected ')' before '==' token make[2]: *** [arch/i386/kernel/cpu/proc.o] Error 1 make[1]: *** [arch/i386/kernel/cpu] Error 2 make: *** [arch/i386/kernel] Error 2 This is possibly an upstream problem, as it also happens with a vanilla kernel manually patched with the patchset from openvz. cat /usr/src/linux-2.6.16-openvz-026.018/.config | grep vz : CONFIG_VZ_QUOTA=m # CONFIG_VZ_QUOTA_UNLOAD is not set CONFIG_VZ_QUOTA_UGID=y # OpenVZ CONFIG_VZ_WDOG=m CONFIG_VZ_CHECKPOINT=m cat /etc/portage/package.keywords: sys-kernel/openvz-sources ~x86 sys-fs/vzquota ~x86 sys-cluster/vzctl ~x86 emerge --info: Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.12.5 Last Sync: Mon, 09 Oct 2006 15:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 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.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://194.117.143.70 ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://212.219.56.133/sites/www.ibiblio.org/gentoo/ ftp://194.117.143.71/mirrors/gentoo" LINGUAS="nl en" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X berkdb bitmap-fonts bzip2 cli cpudetection crypt cups dlloader doc dri dvb dvd elibc_glibc examples fortran gdbm gif gpm gtk imlib input_devices_keyboard input_devices_mouse iproute2 ipv6 isdnlog jpeg kernel_linux libg++ linguas_en linguas_nl mmx mp3 ncurses nls nptl nptlonly oss pam pcre perl png ppds pppd python readline reflection sdl session spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa vorbis win32codecs xmms xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
please try 026.020