media-gfx/bootsplash can't find the file asm/page.h because it's gone from newer kernels. This is with 2.6.21-r1: progress.c:22:22: error: asm/page.h: No such file or directory progress.c: In function 'fb_init': progress.c:241: error: 'PAGE_MASK' undeclared (first use in this function) progress.c:241: error: (Each undeclared identifier is reported only once progress.c:241: error: for each function it appears in.) make: *** [progress] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory `/var/tmp/portage/media-gfx/bootsplash-0.6.1-r7/work/utils/splashutils' !!! ERROR: media-gfx/bootsplash-0.6.1-r7 failed. Call stack: ebuild.sh, line 1621: Called dyn_compile ebuild.sh, line 973: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile bootsplash-0.6.1-r7.ebuild, line 40: Called die I can reproduce on a system running 2.6.19-suspend2 as well. Reproducible: Always Steps to Reproduce: 1. emerge =media-gfx/bootsplash-0.6.1-r7 2. 3. Portage 2.1.2.9 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r1 i686) ================================================================= System uname: 2.6.21-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System release 1.12.10 Timestamp of tree: Mon, 04 Jun 2007 21:20:01 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.3.6-r2, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/" LANG="en_US.ISO-8859-15" LC_ALL="en_US.ISO-8859-15" LINGUAS="en da de" MAKEOPTS="-j3" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/deathwing00 /usr/portage/local/layman/xeffects /usr/portage/local/layman/sunrise /usr/portage/local/layman/armagetron" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X aac aalib acpi alsa apache2 asf avi bash-completion berkdb bitmap-fonts branding browserplugin cairo cdr cli cracklib crypt cups dbus divxi dlloader doc dri dvd dvdr dvdread eds emboss encode esd exif fam ffmpeg firefox flac flash fortran ftp gcj gd gdbm gif glitz gnome gphoto2 gpm gstreamer gtk hal hali iconv imagemagick ipv6 isdnlog java jpeg kde ldap libcaca libg++ live lm_sensors logitech-mouse logrotate mad matroska midi mikmod mp3 mp4 mpeg msn mudflap mysql ncurses nls no-seamonkey nptl nptlonly nsplugin offensive ogg oggvorbis opengl openmp oss pam pcre pdf perl php png ppds pppd python qt qt3 qt4 quicktime readline real reflection samba sdl session spell spl ssl svg svga symlink tcpd theora tidy truetype truetype-fonts type1-fonts unicode use vcd videos vorbis win32codecs wmf x86 xanim xcomposite xine xml xorg xpm xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en da de" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 124848 [details, diff] Change asm/page.h with linux/asm/page.h Even if http://article.gmane.org/gmane.linux.gentoo.devel/46590/ says that tweeking asm/page is not recommanded, as linux/ headers are already included, it should be ok to include linux/asm/page.h. Hope this helps.
media-gfx/bootsplash has been removed from the tree.