Thanks David, it looks like this is a bug in emake related to the subbuild feature. The issue is that environment variables are stored in the subbuild database with the name converted to uppercase, so when the environment is recreated in a…
I see that the submake that is missing the environment variable is actually created as a subbuild job, which means that the environment it uses is coming from the subbuild db. That means that your subbuild db may be invalid -- is it possible that it…
Can you attach that XML to your post, rather than pasting it inline? The site seems to have swallowed most of the XML tags. Click the "Upload Files" link beneath the text editing field when you write your reply.
Thanks.
David,
Are you certain this only breaks with SparkBuild emake? I crafted a simple test case based on the information you provided here and it seems to be working correctly as expected, so I think there must be more going on in your environment than…
OK, I tried a newer version of TclXML and it seems that the 3.x line does not support partial input (which is odd, since the 2.x line did). I think the easiest thing to try next is a new wrapped anno2log that includes the patches I've given you…
OK, both of those work fine for me. Perhaps it's a problem with the version of tcl or the TclXML package you are using? I'm using Tcl 8.4.6 with TclXML 2.6.
In any case, the error you're getting really means that the XML parser…
I downloaded texinfo 4.13 and tried the same thing with no problems. What platform are you on? Can you upload the anno.xml that was generated by your build? Maybe there's some special character in there that's tripping up anno2log.
@Alex, I'm not sure why you think it's not working — works as expected when I try it, even with your slow cat (in fact, I had written almost the same thing myself to test the patch before I posted it). One thing to watch out for here…
Here's a patch that I think will help. I'm not sure this is the form that the final fix will take, but it should get you over the hump for now: anno2log_streaming.diff.
Hi Alex,
No, there's nothing secret in anno2log. We noticed the buffering problem recently ourselves. I expect it will be fixed in the next release of SparkBuild, but until then, I've attached the source for you: anno2log
Enjoy!
Eric…
Hi Mark,
The install bundle should have included anno2log, a utility for converting annotation into your familiar build log. For example, on Linux you could do something like this:
% emake --emake-annodetail=basic ... > build.xml 2>&1
%…
Yuri, that's an interesting discovery! Hopefully in a future release we'll be able to make SparkBuild emake write annotation to a file the same way that ElectricAccelerator emake does.
Best Regards,
Eric Melski
Architect
Electric Cloud,…
Yuri, it looks like there are two types of problems with the annotation file. First, you are using the 'clear' command in the middle of your build for some reason. This emits control characters that are normally interpreted by the terminal…