From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=DATE_IN_PAST_12_24,DMARC_NONE, INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from mailgw2.netvision.net.il ([194.90.1.9]) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 15ac8j-0002t3-00 for gentoo-dev@cvs.gentoo.org; Sat, 25 Aug 2001 06:02:13 -0600 Received: from there (ras4-p45.rlz.netvision.net.il [62.0.85.173]) by mailgw2.netvision.net.il (8.9.3/8.9.3) with SMTP id PAA02471 for ; Sat, 25 Aug 2001 15:05:00 +0300 (IDT) Message-Id: <200108251205.PAA02471@mailgw2.netvision.net.il> Content-Type: text/plain; charset="iso-8859-1" From: Dan Armak To: gentoo-dev@cvs.gentoo.org X-Mailer: KMail [version 1.3] Organization: Gentoo Linux MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [gentoo-dev] Debug and strip control, USE flags/$DEBUG Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Sat Aug 25 06:03:01 2001 X-Original-Date: Sat, 25 Aug 2001 14:15:16 +0300 X-Archives-Salt: 3438d62c-d845-4dee-a0a7-e12c59b95fb5 X-Archives-Hash: 980831c2ead7dfa8aa0f00ba5f01d259 Hi all, The adding of USE flags is currently unregulated, so I thought I'd post to get a consensus. Current status: a few ebuilds use env. var. $DEBUG, not explicitly set anywhere in gentoo config files, to enable debugging. The portage system uses it to disable automatic binary stripping. The flag is nowhere mentioned in gentoo docs (AFAIK), a user would have to know about it to enable debugging. Suggestion: 1. make a $STRIP variable for portage instead. On by default. Set from make.* so the user can see it. 2. make a USE variable "debug", off by default, for all ebuilds to use. Note: Right now there are several USE flags which don't have to do with packages: 3dnow mmx sse build final and maybe some other I missed. Hallski says adding of USE vars should be regulated somehow, I agree. Ideas? comments? -- Dan Armak Gentoo Linux Developer, Desktop Team Matan, Israel