Summary: | svgalib-1.9.21-r1 fails to build with userpriv enabled in features | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tom Fredrik Blenning Klaussen <bfg-dev> |
Component: | New packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | johnm |
Priority: | Low | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build error |
Description
Tom Fredrik Blenning Klaussen
2006-03-23 00:33:33 UTC
Created attachment 82924 [details]
Build error
Log of build error
SUBDIRS is incorrect. check out the linux-mod:use_m() function. its simple as pie to use in an ebuild. inherit linux-mod and at the end of pkg_unpack: convert_to_m Makefile; assuming of course Makefile is the correct file which exports the SUBDIR declaration. Tom, could you please try the above? in pkg_unpack at the end just add: convert_to_m Makefile; see if it fixes your problem? It might actually need O= defined as well thinking abiout it, since M= isnt neccessarily a sole fix. For the record, if you do need O= then I would suggest: pkg_unpack: convert_to_m Makefile src_compile: mkdir ${WORKDIR}/kmod/ make O=${WORKDIR}/kmod/ yadda src_install: insinto ${ROOT}/usr/src/${KV_FULL}/video/ doins ${WORKDIR}/kmod/modulename.${KV_OBJ} of course, MODULE_NAMES="modulename(video:${S})" would handle a lot of it for you in linux_mod-src_compile 1.9.25 works for me with userpriv enabled, please reopen if this is still a problem |