Failure occurs very soon after compilation begins with the first error of: "bin/sh: bc: command not found" followed by: "Kbuild:66: recipe for target 'include/generated/timeconst.h' failed", etc. * Log is attached. * I've tried first with x86 install while using my 64 bit cpu and the x86 tarball and # make && make modules_install but same error. * Next I tried an x86_64 install along with the appropriate tarball - same error. * Tried changing the kernel .config to a default config using # make defconfig - same error. * All the above install cases used a Funtoo host while installing. * So next, I tried using Gentoo Livecd 2014 install host but - same error.
'bc' command is required for a kernel compilation. How did you obtain these kernel sources? 'emerge gentoo-sources' normally pulls in sys-devel/bc as a requirement before the sources are installed. Where is this log you mention? Why is this in SELinux component?
Created attachment 439894 [details] compiler output I could upload my sys-kernel/gentoo-sources emerge log but there is a 1MB limit and the two files generated are 7.7MB and 4.2MB. Sorry about sending this to you; I guess it should have been Current Packages. Should I resubmit or can you forward this?
(In reply to John Stein from comment #2) > Created attachment 439894 [details] > compiler output > > I could upload my sys-kernel/gentoo-sources emerge log but there is a 1MB > limit and the two files generated are 7.7MB and 4.2MB. > > Sorry about sending this to you; I guess it should have been Current > Packages. > Should I resubmit or can you forward this? You can compress the build.log and attach that
* The gentoo-sources were obtained from your servers: GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" and through repos.conf/gentoo.conf usage I suppose.
Created attachment 439896 [details] First gentoo-sources log. Two were created for the same build.
Created attachment 439898 [details] Second part of log
You have USE="build" enabled on gentoo-sources and possibly globally.. don't do that.
reasoning: $ equery u gentoo-sources [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for sys-kernel/gentoo-sources-4.4.6: U I - - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping [make stage1] + + experimental : Apply experimental patches; for more information, see "https://wiki.gentoo.org/wiki/Project:Kernel/Experimental". - - kdbus : Apply the kdbus patch. This also requires the "experimental" use flag. - - symlink : Force kernel ebuilds to automatically update the /usr/src/linux symlink
(In reply to Brian Evans from comment #8) > reasoning: > $ equery u gentoo-sources > [ Legend : U - final flag setting for installation] > [ : I - package is installed with flag ] > [ Colors : set, unset ] > * Found these USE flags for sys-kernel/gentoo-sources-4.4.6: > U I > - - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, > used for creating build images and the first half of bootstrapping [make > stage1] > + + experimental : Apply experimental patches; for more information, see > "https://wiki.gentoo.org/wiki/Project:Kernel/Experimental". > - - kdbus : Apply the kdbus patch. This also requires the > "experimental" use flag. > - - symlink : Force kernel ebuilds to automatically update the > /usr/src/linux symlink Yes, that did the trick. Thank you so much for your help as it was very appreciated. Take care, John Stein