Is this your top level make instance that is generating the warning, or is it a submake? If it is a submake, how are you invoking the submake in your build?
Would it be possible for you to provide emake debug logging? (--emake-debug=jpn --emake-logfile=dlog)
The way I invoke this is:
- created a symlink in the emake installation directory pointing to the emake executable
- prepended the the emake installation directory to the PATH
- ran the build as usual, whenever make is called it invokes emake
I attached the log files, the jpn I could not find
Yuri, what's the command line you used to invoke emake? It looks like you invoked emake with a non-existent filename for --emake-subbuild-db, without the --emake-gen-subbuild-db=1 option.
Yuri, I'm not sure why you say this is a failed build. I agree there are some issues loading the annotation from phase1 in SparkBuild Insight, but it appears that the build ran to completion successfully. There are no jobs marked as have a non-zero exit code, and nothing that looks like an error in the build output. Can you provide some more explanation?
A-ha, I see the trouble: you've enabled annotation on the build, so now Commander's postp matcher is scanning the annotated build log, rather than the "normal" build log. The annotated log, of course, contains all the command-lines for all the commands that were executed by the build, including this one:
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo;
As you can see, the 'echo "ERROR ..."' will only be run under specific conditions, and in fact it was not run in your build -- but postp is not smart enough to distinguish between this text, which is just a command-line, and output text that would have appeared in the normal build log.
I believe the easiest fix is to use the standard Unix utility tee to save a copy of the annotation to a different file than the build log, and anno2log, which should have been installed with SparkBuild emake, to convert the annotation back to a normal build log. That is, you need to change your emake invocation from this:
emake --emake-annodetail=basic,env,waiting
... to this:
emake --emake-annodetail=basic,env,waiting | tee build.anno | anno2log
Yuri, this warning is not coming from anno2log but from emake, but besides that I can't tell you much else without more information. The images you attached appear to be the same images you attached to a previous message, so they are not useful. Is this new warning message reproducible? Can you generate an emake debug log by adding --emake-debug=jn --emake-logfile=emake.dlog, then upload emake.dlog?