1 |
On Monday 08 August 2005 15:58, Zac Medico wrote: |
2 |
> Drake Wyrm wrote: |
3 |
> > Jason Stubbs <jstubbs@g.o> wrote: |
4 |
> >>When logging is enabled, ebuild output is passed via tee. Running |
5 |
> >>anything that checks for terminal type inside of pkg_config therefore |
6 |
> >>doesn't work correctly. This patch disables logging during pkg_config |
7 |
> >>altogether. |
8 |
> > |
9 |
> > There was a thread about this recently, and I'm almost certain that my |
10 |
> > input was lost in the noise. A cleaner way of accomplishing that is to |
11 |
> > write the ebuild such that portions which need a terminal either attach |
12 |
> > to a terminal (`make menuconfig </dev/tty >/dev/tty`) or simply check |
13 |
> > for a terminal (`tty -s || die "I need a terminal."`). I almost never |
14 |
> > use the `ebuild ... config` feature, but just on general principle I'd |
15 |
> > rather the logging capability remain intact. |
16 |
> |
17 |
> Is this type of /dev/tty device functionality portable among all gentoo |
18 |
> supported (non-Linux) operating systems? This is a concern that comes to |
19 |
> my mind. |
20 |
|
21 |
Good point. I often forget about 'those others'. ;) |
22 |
|
23 |
By the way, you might want to drop by #gentoo-portage on irc.freenode.net |
24 |
sometime as a lot of discussion tends to happen there... |
25 |
|
26 |
-- |
27 |
Jason Stubbs |