| Summary: | x11-misc/lavaps doesn't emerge | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Matteo Spreafico <matteo> |
| Component: | Current packages | Assignee: | Jonathan Smith (RETIRED) <smithj> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | desktop-misc, stian |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
compile-fixes
lavaps-2.7.patch |
||
|
Description
Matteo Spreafico
2005-06-17 06:08:28 UTC
lavaps 2.4 is also broken for me. make[3]: Entering directory `/var/tmp/portage/lavaps-2.4/work/lavaps-2.4/linux/proc' gcc -O2 -g -D_GNU_SOURCE -I.. -Wall -c alloc.c gcc -O2 -g -D_GNU_SOURCE -I.. -Wall -c compare.c gcc -O2 -g -D_GNU_SOURCE -I.. -Wall -c devname.c In file included from devname.c:18: /usr/include/linux/kdev_t.h:26: error: parse error before "old_encode_dev" /usr/include/linux/kdev_t.h:31: error: parse error before "val" /usr/include/linux/kdev_t.h: In function `old_decode_dev': /usr/include/linux/kdev_t.h:33: error: `val' undeclared (first use in this function) /usr/include/linux/kdev_t.h:33: error: (Each undeclared identifier is reported only once /usr/include/linux/kdev_t.h:33: error: for each function it appears in.) /usr/include/linux/kdev_t.h: At top level: /usr/include/linux/kdev_t.h:41: error: parse error before "new_encode_dev" /usr/include/linux/kdev_t.h:48: error: parse error before "dev" /usr/include/linux/kdev_t.h: In function `new_decode_dev': /usr/include/linux/kdev_t.h:50: error: `dev' undeclared (first use in this function) /usr/include/linux/kdev_t.h: At top level: /usr/include/linux/kdev_t.h:60: error: parse error before "huge_encode_dev" /usr/include/linux/kdev_t.h:65: error: parse error before "dev" /usr/include/linux/kdev_t.h: In function `huge_decode_dev': /usr/include/linux/kdev_t.h:67: error: `dev' undeclared (first use in this function) /usr/include/linux/kdev_t.h: At top level: /usr/include/linux/kdev_t.h:75: error: parse error before "sysv_encode_dev" /usr/include/linux/kdev_t.h:80: error: parse error before "dev" /usr/include/linux/kdev_t.h: In function `sysv_major': /usr/include/linux/kdev_t.h:82: error: `dev' undeclared (first use in this function) /usr/include/linux/kdev_t.h: At top level: /usr/include/linux/kdev_t.h:85: error: parse error before "dev" /usr/include/linux/kdev_t.h: In function `sysv_minor': /usr/include/linux/kdev_t.h:87: error: `dev' undeclared (first use in this function) make[3]: *** [devname.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/lavaps-2.4/work/lavaps-2.4/linux/proc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/lavaps-2.4/work/lavaps-2.4/linux' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/lavaps-2.4/work/lavaps-2.4' make: *** [all] Error 2 !!! ERROR: x11-misc/lavaps-2.4 failed. !!! Function src_compile, Line 556, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Created attachment 61396 [details, diff] compile-fixes F* ixes configure.ac to use C and not C++ when checking for libc functions * autoconf ran (not good to have this in patch, but run autoconf in ebuild instead perhaps) * missing header-files includes in linux/proc/* Does NOT fix the doc problemen original mentioned, but the stuff in comment #2 you guys are talking about different packages... the initial report refers to 2.7, while the second refers to 2.4. both of you have abnormal cflags. please recompile with "-O2 -march=foo", and see what happens lavaps 2.7 with CFLAGS="-O2" doesn't work as in comment #1 lavaps 2.4 with CFLAGS="-02" doesn't work as in comment #2 (In reply to comment #2) > Created an attachment (id=61396) [edit] > compile-fixes thats a freaking huge diff which essentially totally replaces the file... i can't reproduce any of this; they both work for me. anyone have any more info to point me in the correct direction? Look at the last 3 hunks in the patch file (the first one comes from regeneration of configure.ac). Some kernelheaders are a bit broken, so you need to include asm/type.h, configure always thinks a libc functions isn't present because it uses c++, and not c when it tests, and another file has a warning about _exit not defined since needed include file isn't included. The person in comment #1 had the kernel-header problem for instance. The orignal doc problem I don't know about yet. Created attachment 61757 [details, diff]
lavaps-2.7.patch
Forgot to comment. The last patch fixes version 2.7. configure patch wasn't needed since generated configure script runs g++ a different way apparently (atleast no failures about senenv in my config.log with 2.7) However both failures from #1 and #2 is fixed in this patch (version 2.7) First patch is for 2.4. fixed in 2.7-r1 thanks for the patch |