Does Dorsal save a build log?

Asked by Garth Wells

Does Dorsal save the output from the configure and build of each package to a log somewhere?

Question information

Language:
English Edit question
Status:
Solved
For:
Dorsal Edit question
Assignee:
No assignee Edit question
Solved by:
Harish Narayanan
Solved:
Last query:
Last reply:
Revision history for this message
Best Harish Narayanan (hnarayanan) said :
#1

No, it does not. It only saves the command it runs and corresponding environment for the configure and build of each package.

Revision history for this message
Garth Wells (garth-wells) said :
#2

Thanks Harish Narayanan, that solved my question.

Revision history for this message
Garth Wells (garth-wells) said :
#3

Could it be easily added?

Revision history for this message
Harish Narayanan (hnarayanan) said :
#4

It is not difficult to add, I think. Will attempt some creative tee use.

Revision history for this message
Harish Narayanan (hnarayanan) said :
#5

I've added this feature. dorsal_configure.log and dorsal_build.log hold the logs.

Revision history for this message
Joachim Haga (jobh) said :
#6

Just a heads-up. This used to be in dorsal.sh, but was removed (don't
remember why):

    if [ $BASH_VERSINFO -ge 3 ]
    then
 set -o pipefail
 ./dorsal_build 2>&1 | tee build_log
    else
 ./dorsal_build
    fi
    quit_if_fail "There was a problem building ${NAME}."

Without the pipefail option, errors are not propagated (reliably). I
think. And pipefail is only in new bash versions.

-j.

On 5 October 2011 15:30, Harish Narayanan
<email address hidden> wrote:
> Question #173297 on Dorsal changed:
> https://answers.launchpad.net/dorsal/+question/173297
>
> Harish Narayanan posted a new comment:
> I've added this feature. dorsal_configure.log and dorsal_build.log hold
> the logs.
>
> --
> You received this question notification because you are a member of
> Dorsal Team, which is an answer contact for Dorsal.
>

Revision history for this message
Harish Narayanan (hnarayanan) said :
#7

I vaguely remember this too, and do not remember when or why it was
removed. Thanks for pointing it out; I've readded it.

Harish

On 10/5/11 11:01 PM, Joachim Haga wrote:
> Question #173297 on Dorsal changed:
> https://answers.launchpad.net/dorsal/+question/173297
>
> Joachim Haga posted a new comment:
> Just a heads-up. This used to be in dorsal.sh, but was removed (don't
> remember why):
>
> if [ $BASH_VERSINFO -ge 3 ]
> then
> set -o pipefail
> ./dorsal_build 2>&1 | tee build_log
> else
> ./dorsal_build
> fi
> quit_if_fail "There was a problem building ${NAME}."
>
> Without the pipefail option, errors are not propagated (reliably). I
> think. And pipefail is only in new bash versions.
>
> -j.
>
>
> On 5 October 2011 15:30, Harish Narayanan
> <email address hidden> wrote:
>> Question #173297 on Dorsal changed:
>> https://answers.launchpad.net/dorsal/+question/173297
>>
>> Harish Narayanan posted a new comment:
>> I've added this feature. dorsal_configure.log and dorsal_build.log hold
>> the logs.
>>
>> --
>> You received this question notification because you are a member of
>> Dorsal Team, which is an answer contact for Dorsal.
>>
>