Overview Description: When trying to install lirc-0.7.0_pre3 with "emerge lirc" , The install fails with the following: >>>>>>>>>>> SNIP <<<<<<<<<< CONFIG_HEADERS= CONFIG_LINKS= \ CONFIG_FILES=drivers/lirc_dev/Makefile /bin/sh ./config.status config.status: creating drivers/lirc_dev/Makefile config.status: executing default-1 commands make[3]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre3/work/lirc-0.7.0pre3/drivers/lirc_dev' make[3]: Entering directory `/var/tmp/portage/lirc-0.7.0_pre3/work/lirc-0.7.0pre3/drivers/lirc_dev' mv Makefile Makefile.automake cp ../Makefile.kernel Makefile make -C /usr/src/linux/ SUBDIRS=/var/tmp/portage/lirc-0.7.0_pre3/work/lirc-0.7.0pre3/drivers/lirc_dev modules \ KBUILD_VERBOSE=1 make[4]: Entering directory `/usr/src/linux-2.4.25' gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c ACCESS DENIED open_wr: /usr/src/linux-2.4.25/scripts/split-include /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot open output file scripts/split-include: Permission denied collect2: ld returned 1 exit status ACCESS DENIED unlink: /usr/src/linux-2.4.25/scripts/split-include make[4]: *** [scripts/split-include] Error 1 make[4]: Leaving directory `/usr/src/linux-2.4.25' make[3]: *** [lirc_dev.o] Error 2 make[3]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre3/work/lirc-0.7.0pre3/drivers/lirc_dev' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre3/work/lirc-0.7.0pre3/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre3/work/lirc-0.7.0pre3' make: *** [all] Error 2 !!! ERROR: app-misc/lirc-0.7.0_pre3 failed. !!! Function src_compile, Line 94, Exitcode 2 !!! (no error message) --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-app-misc_-_lirc-0.7.0_pre3-9899.log" open_wr: /usr/src/linux-2.4.25/scripts/split-include unlink: /usr/src/linux-2.4.25/scripts/split-include -------------------------------------------------------------------------------- >>>>>>>>>>>>>>>> SNIP <<<<<<<<<<<<<<<<<< Output og emerge info >>>>>>>>>>>>>> SNIP <<<<<<<<<<<<<<<<<<<< Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-nc6000-ntfs) ================================================================= System uname: 2.4.25-nc6000-ntfs i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -fomit-frame-pointer -O2 -pipe -mmmx -msse -msse2 -mfpmath=sse,387" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -fomit-frame-pointer -O2 -pipe -mmmx -msse -msse2 -mfpmath=sse,387" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://eurolinux.grenoble.hp.com/pub/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d acpi alsa apm arts avi berkdb cdr crypt cups curl dvd encode esd ethereal evo foomaticdb gd gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imap imlib jabber java jpeg kde ldap libg++ libwww lirc mad mcal mikmod mmx motif mozilla mpeg msn ncurses nls oggvorbis opengl oss pam pcmcia pda pdflib perl plotutils png pnp python qt quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd tiff truetype trusted usb wmf wxWindows x86 xinerama xml xml2 xmms xosd xv zlib" >>>>>>>>>>>>> SNIP <<<<<<<<<<<<<<<<<<<< emerge =lirc-0.7.0_pre2 exhibits the same behavior. emerge =lirc-0.6.6-r1 exhibits the same behavior.
*** Bug 47421 has been marked as a duplicate of this bug. ***
maybe we have a chance with the same as done in media-sound/alsa-driver/alsa-driver-1.0.4-r1.ebuild in which the whole kernel source is copied to PORTAGE_TEMP
I had the same problem with kernel 2.4.26 and lirc-0.7.0_pre3 (other lirc versions failed also). I got mine working by doing the following steps: - Installing linux-headers-2.4.26 (masked, needs some adjustment) - Re-emerge glibc - Copying /usr/src/linux/* -> /var/tmp/portage/linux-2.4.26 (as per advice in comment #2, I
I had the same problem with kernel 2.4.26 and lirc-0.7.0_pre3 (other lirc versions failed also). I got mine working by doing the following steps: - Installing linux-headers-2.4.26 (masked, needs some adjustment) - Re-emerge glibc - Copying /usr/src/linux/* -> /var/tmp/portage/linux-2.4.26 (as per advice in comment #2, I´m not sure if this helped or is necessary, since emerge lirc didn't work until after doing the kernel steps) - Going to /usr/src/linux and doing make mrproper - Copying the old config back - Make menuconfig (and saved the config unchanged) - Make dep After this emerge lirc worked. I´m not sure if all these steps are necessary, and don´t dare to change bugs status or anything since I´m a newbie with this bugreporting stuff. I hope this helps anyway.
latexer: does the new kmod elcass copy the kernel sources for kernel 2.4 as well?
does this bug still occur with lirc-0.7.0_pre7 ?
No, with lirc-0.7.0_pre7 you'll get: cc1: Permission denied: opening dependency file scripts/basic/.fixdep.d ... only if in /etc/make.conf you have FEATURES="userpriv"
so it builds fine without userpriv?
I have now duplicated this bug on kernel 2.4.26-gentoo-r9 when emerging lirc-0.7.0_pre7. This is a fresh gentoo install: make[4]: Entering directory `/usr/src/linux-2.4.26-gentoo-r9' gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c ACCESS DENIED open_wr: /usr/src/linux-2.4.26-gentoo-r9/scripts/split-include /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot open output file scripts/split-include: Permission denied collect2: ld returned 1 exit status ACCESS DENIED unlink: /usr/src/linux-2.4.26-gentoo-r9/scripts/split-include ... --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-app-misc_-_lirc-0.7.0_pre7-13508.log" open_wr: /usr/src/linux-2.4.26-gentoo-r9/scripts/split-include unlink: /usr/src/linux-2.4.26-gentoo-r9/scripts/split-include --------------------------------------------------------------------------------
what about lirc-0.7.0?
please test lirc-0.7.0-r1