From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5D0B8138252 for ; Wed, 11 May 2016 02:19:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1C6321C07D; Wed, 11 May 2016 02:19:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BCEB121C012 for ; Wed, 11 May 2016 02:19:22 +0000 (UTC) Received: from mail-oi0-f41.google.com (mail-oi0-f41.google.com [209.85.218.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 9998B340B35 for ; Wed, 11 May 2016 02:19:21 +0000 (UTC) Received: by mail-oi0-f41.google.com with SMTP id k142so46115071oib.1 for ; Tue, 10 May 2016 19:19:21 -0700 (PDT) X-Gm-Message-State: AOPr4FURAfr9qJFgd14Gixfnw+9TZNQ5n12cAZ2JGlvIIsbGIK17gyYtkf/PSAkJhh45Tg/9WQ5IBkY9oqGCyg== X-Received: by 10.202.104.133 with SMTP id o5mr435076oik.148.1462933159486; Tue, 10 May 2016 19:19:19 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.202.75.195 with HTTP; Tue, 10 May 2016 19:19:00 -0700 (PDT) In-Reply-To: References: <1462729330-24788-1-git-send-email-floppym@gentoo.org> <5731F960.50205@gentoo.org> <573251B8.8090103@gentoo.org> From: Mike Gilbert Date: Tue, 10 May 2016 22:19:00 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-dev] [PATCH] ebuild-writing/variables: better describe ROOT To: Gentoo Dev Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 2e033023-8851-451b-a6e2-3ff0ec6ee748 X-Archives-Hash: 8c87c2ce72a6cac4db57acb9f8338b86 On Tue, May 10, 2016 at 9:42 PM, Mike Gilbert wrote: >> Anywhere that you need addpredict() it also seems reasonable. The >> v4l-dvb-saa716x ebuilds use "${ROOT}/usr/src/linux/" where EPREFIX would >> not be a good replacement. > > Nah, usually addpredict is dealing with stuff in the system that is > performing the build. Sandboxed phases should never be looking at > ROOT. > > Those ebuilds should probably do addpredict /usr/src/linux instead. Oh, I see. It's compiling kernel modules based on linux sources installed in ROOT. Given the definition in PMS, I would say that's undefined behavior at best. I think SYSROOT might be a better fit here.