I have tried it on two different machines one with a 2.6.32 kernel the other with a 2.6.36 kernel both with the same result. >>> Emerging (1 of 1) media-tv/v4l-dvb-hg-0.1-r3 >>> Failed to emerge media-tv/v4l-dvb-hg-0.1-r3, Log file: >>> '/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r3/temp/build.log' >>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.46, 0.27, 0.88 * Package: media-tv/v4l-dvb-hg-0.1-r3 * Repository: gentoo * Maintainer: media-tv@gentoo.org * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.36-gentoo-r3-lxc-autofs-patch * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... * Updating /auto/distfiles/hg-src/v4l-dvb-hg/v4l-dvb from http://linuxtv.org/hg/v4l-dvb * Creating working directory in /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r3/work/v4l-dvb/v4l (target revision: tip) * Work directory: /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r3/work/v4l-dvb/v4l global id: abd3aac6644e branch: default >>> Source unpacked in /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r3/work >>> Preparing source in /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r3/work/v4l-dvb/v4l ... * Removing modules-install * No additional local patches to use make -C /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r3/work/v4l-dvb/v4l/v4l allmodconfig make[1]: Entering directory `/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r3/work/v4l-dvb/v4l/v4l' Searching in /usr/src/linux/Makefile for kernel version. Forcing compiling to version 2.6.36-gentoo-r3 ./scripts/make_kconfig.pl /lib/modules//build /lib/modules//build 1 Preparing to compile for kernel version 2.6.36 File not found: /lib/modules//build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4. make[1]: *** [allmodconfig] Error 2 make[1]: Leaving directory `/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r3/work/v4l-dvb/v4l/v4l' make: *** [allmodconfig] Error 2 * Removing autoload-entry from stradis-driver. sed: can't read /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r3/work/v4l-dvb/v4l/../linux/drivers/media/video/stradis.c: No such file or directory * Removing depmod-calls sed: can't read scripts/make_makefile.pl: No such file or directory sed: can't read scripts/make_kconfig.pl: No such file or directory * ERROR: media-tv/v4l-dvb-hg-0.1-r3 failed: * Failed removing depmod call from Makefile * * Call stack: * ebuild.sh, line 56: Called src_prepare * environment, line 3758: Called die * The specific snippet of code: * sed -e '/depmod/d' -i Makefile* scripts/make_makefile.pl scripts/make_kconfig.pl || die "Failed removing depmod call from Makefile"; * * If you need support, post the output of 'emerge --info =media-tv/v4l-dvb-hg-0.1-r3', * the complete build log and the output of 'emerge -pqv =media-tv/v4l-dvb-hg-0.1-r3'. * The complete build log is located at '/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r3/temp/environment'. * S: '/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r3/work/v4l-dvb/v4l' * * The following package has failed to build or install: * * (media-tv/v4l-dvb-hg-0.1-r3::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r3/temp/build.log' * * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items.
Ahh. The problem is that the directory structure has changed. An extra v4l level was introduced. I have patched my own ebuild but have to test the patch against the official ebuilds.
Created attachment 255353 [details, diff] Patch to fix this issue for v4l-dvb-hg-r3.ebuild This patch fixes the issue for me.
Should be fixed in media-tv/v4l-dvb-hg-0.1-r4. Please reopen if the problem persists.