1st February 2012
|
|
More noise than signal
|
|
Join Date: May 2008
Location: USA
Posts: 7,977
|
|
Quote:
Originally Posted by daemonfowl
is there a way to copy the whole message from xterm to links page on here ?
|
Here's a step-by-step "How to":
- Use script(1), which I mentioned above. Run your build.
- Exit script and filter the typescript output with col(1), which I mentioned above, to produce a readable and editable log.
- Edit the log with your favorite $EDITOR. Show what working directory you were in and your make command. Be sure to show your applicable environment variables from mk.conf or from your shell if not used inline on your make command. Show only the first fatal error and its messages which appears in the log. You may delete what comes before and what comes after.
Builds produce lots and lots of output. We're interested in which port *first* failed to build, so your edited log should show which port was building. We are interested in the fatal error, which shows why it failed to build. And we are uninterested in anything after that, which may go on for hundreds of lines of output, depending on the depth of the dependency chain the build was in at the time of the first failure.
Last edited by jggimi; 1st February 2012 at 08:49 PM.
Reason: comments after step 3 added
|