View Single Post
Old 1st February 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Quote:
Originally Posted by daemonfowl View Post
is there a way to copy the whole message from xterm to links page on here ?
Here's a step-by-step "How to":
  1. Use script(1), which I mentioned above. Run your build.
  2. Exit script and filter the typescript output with col(1), which I mentioned above, to produce a readable and editable log.
  3. 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
Reply With Quote