Discovered during emerge -e world for ~amd64. Consultation on freenode/#gentoo suggests this is related to bug #159304. Searched tree of said bug, did not find evms as one of the packages. Listing here. x86_64-pc-linux-gnu-gcc -I../../include -I../../intl -DENABLE_NLS -DPACKAGE=\"evms\" -DLOCALEDIR=\"/usr/share/locale\" -DMAJOR_VERSION=1 -DMINOR_VERSION=1 -DPATCH_LEVEL=13 -DVERSION=\"1.1.13\" -DDATE=\"03/06/07\" -Wall -fPIC -fno-strict-aliasing -march=nocona -O2 -pipe -c swapfs.c -o swapfs.o swapfs.c:30:45: error: asm/page.h: No such file or directory swapfs.c:30:45: error: asm/page.h: No such file or directory swapfs.c: In function 'get_swapfs_super_block': swapfs.c:214: error: 'PAGE_SIZE' undeclared (first use in this function) swapfs.c:214: error: (Each undeclared identifier is reported only once swapfs.c:214: error: for each function it appears in.) swapfs.c: In function 'swap_get_fs_limits': swapfs.c:344: error: 'PAGE_SIZE' undeclared (first use in this function) swapfs.c: In function 'swap_can_mkfs': swapfs.c:366: error: 'PAGE_SIZE' undeclared (first use in this function) swapfs.c: In function 'swap_unmkfs': swapfs.c:514: error: 'PAGE_SIZE' undeclared (first use in this function) swapfs.c: In function 'init_mkfs_acceptable_objects': swapfs.c:629: error: 'PAGE_SIZE' undeclared (first use in this function) swapfs.c: In function 'swap_set_volumes': swapfs.c:898: error: 'PAGE_SIZE' undeclared (first use in this function) make[2]: *** [.depend] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [swapfs.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-fs/evms-2.5.5-r5/work/evms-2.5.5/plugins/swap' make[1]: *** [all] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-fs/evms-2.5.5-r5/work/evms-2.5.5/plugins' make: *** [all] Error 1 !!! ERROR: sys-fs/evms-2.5.5-r5 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3747: Called src_compile evms-2.5.5-r5.ebuild, line 72: Called die !!! Failed emake !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/sys-fs/evms-2.5.5-r5/temp/build.log'. Reproducible: Always Steps to Reproduce: 1. emerge --sync (with ~) 2. emerge evms Actual Results: See Description. Expected Results: Should have compiled :)
Portage 2.1.2.1 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64) ================================================================= System uname: 2.6.19-gentoo-r5 x86_64 Intel(R) Pentium(R) D CPU 2.80GHz Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 06 Mar 2007 02:20:01 +0000 ccache version 2.4 [disabled] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 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.15 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://gentoo.arcticnetwork.ca/" MAKEOPTS="-j4" 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" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X amd64 berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gnome gpm iconv ipv6 isdnlog libg++ midi ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode xorg 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
hmm, bad. Tests linux-headers fail 2.6.20-r1 anyway. Will have to look into it.
Created attachment 112342 [details, diff] evms-2.5.5-pagesize.patch evms-2.5.5-pagesize.patch, applied cleanly from Debian patchset. Ebuild compiles perfectly. Don't use evms, somebody please test. Ebuild to follow.
Created attachment 112343 [details] evms-2.5.5-r5.ebuild evms-2.5.5-r5.ebuild for evms-2.5.5-pagesize.patch. Please test.
hehe, I fixed that bug yesterday but was too tired to close bug here. I replaced my patch with the one from Debian. Thanks for reporting!