Gentoo Archives: gentoo-portage-dev

From: Drake Wyrm <wyrm@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] PATCH: Disable logging during pkg_config (#99527)
Date: Wed, 20 Jul 2005 06:39:13
Message-Id: 20050720063837.GA7905@phaenix.haell.com
In Reply to: [gentoo-portage-dev] PATCH: Disable logging during pkg_config (#99527) by Jason Stubbs
1 Jason Stubbs <jstubbs@g.o> wrote:
2 > When logging is enabled, ebuild output is passed via tee. Running
3 > anything that checks for terminal type inside of pkg_config therefore
4 > doesn't work correctly. This patch disables logging during pkg_config
5 > altogether.
6
7 There was a thread about this recently, and I'm almost certain that my
8 input was lost in the noise. A cleaner way of accomplishing that is to
9 write the ebuild such that portions which need a terminal either attach
10 to a terminal (`make menuconfig </dev/tty >/dev/tty`) or simply check
11 for a terminal (`tty -s || die "I need a terminal."`). I almost never
12 use the `ebuild ... config` feature, but just on general principle I'd
13 rather the logging capability remain intact.
14
15 --
16 Batou: Hey, Major... You ever hear of "human rights"?
17 Kusanagi: I understand the concept, but I've never seen it in action.
18 -- "Ghost in the Shell", Shirow Masamune

Replies