From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9F68813835C for ; Tue, 30 Mar 2021 18:15:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB4CBE0BC2; Tue, 30 Mar 2021 18:15:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D477EE0BC2 for ; Tue, 30 Mar 2021 18:15:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D7213340D01 for ; Tue, 30 Mar 2021 18:15:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 76A32633 for ; Tue, 30 Mar 2021 18:15:50 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1617128092.fd90736ea1141e95c63a9634d424aa843454ca45.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/common-mistakes/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/common-mistakes/text.xml X-VCS-Directories: ebuild-writing/common-mistakes/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: fd90736ea1141e95c63a9634d424aa843454ca45 X-VCS-Branch: master Date: Tue, 30 Mar 2021 18:15:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 147c3869-4d9f-4e36-9724-312c9f5b46af X-Archives-Hash: 917e9f54a10ac807aebd47cdddd52b4c commit: fd90736ea1141e95c63a9634d424aa843454ca45 Author: Sam James gentoo org> AuthorDate: Sun Mar 21 02:31:00 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Tue Mar 30 18:14:52 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=fd90736e ebuild-writing/common-mistakes: give more information on invalid ${ROOT} usage Bug: https://bugs.gentoo.org/775191 Signed-off-by: Sam James gentoo.org> [Add bug number to link text.] Signed-off-by: Ulrich Müller gentoo.org> ebuild-writing/common-mistakes/text.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ebuild-writing/common-mistakes/text.xml b/ebuild-writing/common-mistakes/text.xml index d77b143..c92813f 100644 --- a/ebuild-writing/common-mistakes/text.xml +++ b/ebuild-writing/common-mistakes/text.xml @@ -31,8 +31,11 @@ this.

The usage of ROOT is only designed to influence the way the package is installed (ie. into ROOT) building and compiling should not depend -on ROOT. As a consequence of this the usage of ROOT in -src_* functions is not allowed. +on ROOT. As a consequence of this, the usage of ROOT in +src_* functions is not allowed. pkgcheck can now detect some +such cases via its MisplacedVariable check. +See bug 775191 for more +information.