On Friday 01 December 2006 06:28, Andrew Gaydenko wrote:
> After installing sys-kernel/gentoo-sources-2.6.19 I have tried
> to reinstall lirc and got the error shown below.
>
> Where is my fault?
>
>
> ===============================================
> ...
> make[1]: Leaving directory
> `/wrk/tmp/portage/portage/app-misc/lirc-0.8.0-r6/work/lirc-0.8.0'
>
> >>> Source compiled.
>
> --------------------------- ACCESS VIOLATION SUMMARY
> --------------------------- LOG FILE =
> "/var/log/sandbox/sandbox-app-misc_-_lirc-0.8.0-r6-8905.log"
>
> open_wr:   /usr/src/linux-2.6.19-gentoo/astest13467.out
> open_wr:   /usr/src/linux-2.6.19-gentoo/astest13471.out
> open_wr:   /usr/src/linux-2.6.19-gentoo/astest13478.out
> open_wr:   /usr/src/linux-2.6.19-gentoo/astest13482.out
> open_wr:   /usr/src/linux-2.6.19-gentoo/astest13535.out
> open_wr:   /usr/src/linux-2.6.19-gentoo/astest13539.out
> open_wr:   /usr/src/linux-2.6.19-gentoo/astest13546.out
> open_wr:   /usr/src/linux-2.6.19-gentoo/astest13550.out
> open_wr:   /usr/src/linux-2.6.19-gentoo/astest13601.out
> open_wr:   /usr/src/linux-2.6.19-gentoo/astest13605.out
> open_wr:   /usr/src/linux-2.6.19-gentoo/astest13612.out
> open_wr:   /usr/src/linux-2.6.19-gentoo/astest13616.out
> ---------------------------------------------------------------------------
>-----


Andrew...

If you are still following this thread... It's not your problem... it's an 
unexpected reaction between kbuild in latter version of kernels and portage. 
The simple fix is to patch kbuild in /usr/src/linux...

Here's the relevent patch from gentoo-sources...

Index: linux-2.6.19/scripts/Kbuild.include
===================================================================
--- linux-2.6.19.orig/scripts/Kbuild.include
+++ linux-2.6.19/scripts/Kbuild.include
@@ -66,9 +66,11 @@ as-option = $(shell if $(CC) $(CFLAGS) $
 # as-instr
 # Usage: cflags-y += $(call as-instr, instr, option1, option2)
 
-as-instr = $(shell if echo -e "$(1)" | $(AS) >/dev/null 2>&1 -W -Z -o 
astest$$$$.out ; \
+as-instr = $(shell if echo -e "$(1)" | $(AS) >/dev/null 2>&1 -W -Z -o \
+                  $(if $(KBUILD_EXTMOD),$(firstword 
$(KBUILD_EXTMOD))/)astest$$$$.out ; \
                   then echo "$(2)"; else echo "$(3)"; fi; \
-                  rm -f astest$$$$.out)
+                  rm -f \
+                  $(if $(KBUILD_EXTMOD),$(firstword 
$(KBUILD_EXTMOD))/)astest$$$$.out)
 
 # cc-option
 # Usage: cflags-y += $(call cc-option, -march=winchip-c6, -march=i586)


Basicly what it does is prevents emerge process from writing 
into /usr/src/linux...

Cheers...

--

Jerry McBride
-- 
gentoo-user@gentoo.org mailing list

Reply via email to