Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169623 - sys-fs/evms does not compile with sys-kernel/linux-headers 2.6.20-r1
Summary: sys-fs/evms does not compile with sys-kernel/linux-headers 2.6.20-r1
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Tiziano Müller (RETIRED)
Depends on:
Blocks: sane-linux-headers
  Show dependency tree
Reported: 2007-03-06 15:59 UTC by Bart Kus
Modified: 2007-03-07 09:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

evms-2.5.5-pagesize.patch (evms-2.5.5-pagesize.patch,2.23 KB, patch)
2007-03-07 00:33 UTC, Peter Alfredsen (RETIRED)
Details | Diff
evms-2.5.5-r5.ebuild (evms-2.5.5-r5.ebuild,4.76 KB, text/plain)
2007-03-07 00:34 UTC, Peter Alfredsen (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Kus 2007-03-06 15:59:55 UTC
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:, line 1614:   Called dyn_compile, 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 :)
Comment 1 Bart Kus 2007-03-06 16:01:19 UTC
Portage (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-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"
CFLAGS="-march=nocona -O2 -pipe"
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"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
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-*"
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"
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2007-03-06 18:28:12 UTC
hmm, bad. Tests linux-headers fail 2.6.20-r1 anyway. Will have to look into it.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2007-03-07 00:33:28 UTC
Created attachment 112342 [details, diff]

evms-2.5.5-pagesize.patch, applied cleanly from Debian patchset. Ebuild compiles perfectly. Don't use evms, somebody please test. Ebuild to follow.
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2007-03-07 00:34:28 UTC
Created attachment 112343 [details]

evms-2.5.5-r5.ebuild for evms-2.5.5-pagesize.patch. Please test.
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2007-03-07 09:19:07 UTC
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!