I'm creating an ebuild for the rocketraid kernel module. It fails during the making because it tries to access an makefile in the kernel dir (wich it shouldn't). Reproducible: Always Actual Results: ebuild rocketraid231x-2.5.ebuild compile * rr231x_0x-linux-src-v2.5-091022-1618.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking rr231x_0x-linux-src-v2.5-091022-1618.tar.gz ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.31-tuxonice/build * Found sources for kernel version: * 2.6.31-tuxonice >>> Unpacking source... >>> Unpacking rr231x_0x-linux-src-v2.5-091022-1618.tar.gz to /var/tmp/portage/sys-kernel/rocketraid231x-2.5/work >>> Source unpacked in /var/tmp/portage/sys-kernel/rocketraid231x-2.5/work >>> Compiling source in /var/tmp/portage/sys-kernel/rocketraid231x-2.5/work/rr231x_0x-linux-src-v2.5 ... * Preparing rr2310_00 module make -j3 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= make[1]: Entering directory `/usr/src/linux-2.6.31-tuxonice' Makefile:527: /usr/src/linux-2.6.31-tuxonice/arch/i686/Makefile: No such file or directory make[1]: *** No rule to make target `/usr/src/linux-2.6.31-tuxonice/arch/i686/Makefile'. Stop. make[1]: Leaving directory `/usr/src/linux-2.6.31-tuxonice' make: *** [rr2310_00.ko] Error 2 * ERROR: sys-kernel/rocketraid231x-2.5 failed: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= * * Call stack: * ebuild.sh, line 55: Called src_compile * environment, line 3454: Called linux-mod_src_compile * environment, line 2682: 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}"; * * If you need support, post the output of 'emerge --info =sys-kernel/rocketraid231x-2.5', * the complete build log and the output of 'emerge -pqv =sys-kernel/rocketraid231x-2.5'. * This ebuild is from an overlay: '/usr/local/portage/' * The complete build log is located at '/var/tmp/portage/sys-kernel/rocketraid231x-2.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/rocketraid231x-2.5/temp/environment'. * S: '/var/tmp/portage/sys-kernel/rocketraid231x-2.5/work/rr231x_0x-linux-src-v2.5'
Created attachment 210503 [details] rocketraid231x-2.5.ebuild Not usable