tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pbulk change to tee output

* On 2017-01-27 at 06:44 GMT, Johnny C. Lam wrote:

> In the #pkgsrc channel on freenode, it was suggested that having a way
> to examine the normal output from making each package in real-time
> would be a nice feature. Looking at the pkg-build script, it uses this
> idiom to capture the normal output to individual log files for each
> phase of a pkgsrc build:
>     make target > $bulklog/$pkg/target.log 2>&1 || cleanup
> I would like to duplicate that output to another file (realtime.log)
> in real-time, but the only way I can keep the same output semantics
> seems to be by doing:

I'm not sure why this is desired rather than simply tailing each
package logfile as required, but note that at least in my environment
I build across 6 hosts with 12 chroots each, so you would have 72
individual builds writing to realtime.log simultaneously.  I'm not
sure how useful that would be.

Jonathan Perkin  -  Joyent, Inc.  -

Home | Main Index | Thread Index | Old Index