CC [M] /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/dib0700_core.o CC [M] /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/dib0700_devices.o /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cxusb.c: In function 'bluebird_patch_dvico_firmware_download': /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cxusb.c:795: error: assignment of read-only location /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cxusb.c:797: error: assignment of read-only location make[2]: *** [/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cxusb.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [_module_/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r7' make: *** [default] Error 2 * * ERROR: media-tv/v4l-dvb-hg-0.1-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3194: Called linux-mod_src_compile * environment, line 2406: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KDIR=/usr/src/linux default * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/temp/environment'. * * Messages for package media-tv/v4l-dvb-hg-0.1-r2: * Removing autoload-entry from stradis-driver. * Removing depmod-calls * * ERROR: media-tv/v4l-dvb-hg-0.1-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3194: Called linux-mod_src_compile * environment, line 2406: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KDIR=/usr/src/linux default * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/temp/environment'. *
Please, can you submit your "emerge --info" output, and attach the full build.log? We will assign the bug to the proper developer as soon as you have submitted the information I asked.
Created attachment 176454 [details] emerge --info Here's emerge --info
Created attachment 176456 [details] environment environment file
Created attachment 176458 [details] build.log build.log
There is also, a 2.6.28 gentoo-sources kernel available. Maybe you should try with the new one too.
on 2.6.28 it fails exactly on the same place CC [M] /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/au6610.o CC [M] /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cxusb.o CC [M] /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/dib0700_core.o /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cxusb.c: In function 'bluebird_patch_dvico_firmware_download': /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cxusb.c:795: error: assignment of read-only location /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cxusb.c:797: error: assignment of read-only location make[2]: *** [/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cxusb.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [_module_/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.28-gentoo' make: *** [default] Error 2
v4l-dvb-hg fetches the latest development dvb drivers, so one should expect it failing to compile against some kernels sometimes. As we cannot do much about this, but v4l/dvb maintainers can do, it is better to report the bugs there. We also can forward it for you, but first we need to know: * Bug still existing? * With which kernel version? If gentoo-sources, could you try if the bug also accours when compiling against vanilla-sources. In case you do not use the cxusb driver it could at least help you to have a way to choose drivers to be compiled. There should already be a bug open for this.
* Bug still existing? Yes it is, but I've found a temporary solution: I boot to 2.6.26 kernel and compile/emerge it there. Then switch back to 2.6.28 and all is fine. * With which kernel version? If gentoo-sources, could you try if the bug also accours when compiling against vanilla-sources. It exists at least in gentoo-sources 2.6.27-r1 2.6.27-r2 2.6.27-r3 2.6.27-r4, 2.6.27-r7 and in 2.6.28. Those are the ones i've tried. I can try out also the vanilla souces, but I will get back to you on that later.
(In reply to comment #8) > * Bug still existing? > Yes it is, but I've found a temporary solution: I boot to 2.6.26 kernel and > compile/emerge it there. Then switch back to 2.6.28 and all is fine. > Compiling kernel modules should only depend on the kernel sources linked in /usr/src/linux, and not on the currently booted kernel.
my bad... I had it in the kernel and tried also to compile it externally.