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 8D73C138334 for ; Fri, 20 Dec 2019 14:26:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20830E09CB; Fri, 20 Dec 2019 14:25:58 +0000 (UTC) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) (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 D224CE09C2 for ; Fri, 20 Dec 2019 14:25:57 +0000 (UTC) Received: by mail-pj1-f48.google.com with SMTP id m13so4209092pjb.2 for ; Fri, 20 Dec 2019 06:25:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=vdJkOAAsOWDMUXRD1ngeqbFCzmzicUUdl2Qj43P6aCI=; b=MDYB1M6OG4iMj9ieP69FLUJRQqmmE6CbjTYCMITiDDLQOyuGm9IK8KgzpSvf3Nn858 jQ6T2DIZFqP8rabCIkQ0yrHlE3dJF+W6IwCb1hP6qqS12dUIOEegUqYo+ZYUySSfMrVF HBJtqiPeqmu3TELtD0lU32fFv4rDDdxjePiHBIaOeND1ut5zWo7TF+XAFfIJJ1lm30zy srq0/JwqRpwcvTJ4tmTvOHKN3z6sxSw1eGRDR21VQ0v1uXmCfRnOYpqeWwURodE2/SWb BsUXKJfi3QRHFJLH2EwHbYUQgQPlqy81O/wIHOzHr/TSWZ0IykUy51tuNaL/Hj2lHoS0 UonQ== X-Gm-Message-State: APjAAAUtfOfZAU3ePy8CfumXUwtkKPhmnYR4wQ9rUd31MNtd4+GLeUvO hVasKV1rE+sAE+IFaYB+CR80sK11y666WmlFOOpAsdFQ X-Google-Smtp-Source: APXvYqzqmaDCLW8s05mtJ5WhMSmWCARowu1fpFyzWgRwgCyaK+9s0jqcij5zkeiJ04d18yYwLqUib9SHEp24168if/U= X-Received: by 2002:a17:90a:ead3:: with SMTP id ev19mr16260686pjb.80.1576851956368; Fri, 20 Dec 2019 06:25:56 -0800 (PST) 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <1a722f8f-36b5-c313-b6e1-eac75e0839c5@gentoo.org> <6c75f3fe-1a89-680b-a60b-d62c4172d33f@gentoo.org> <4696869.rFTB5HQvXR@falbala> In-Reply-To: <4696869.rFTB5HQvXR@falbala> From: Rich Freeman Date: Fri, 20 Dec 2019 09:25:44 -0500 Message-ID: Subject: Re: [gentoo-dev] Needs ideas: Upcoming circular dependency: expat <> CMake To: gentoo-dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 5e0acf5e-ac70-472c-8e17-9af2542aeae8 X-Archives-Hash: a1744f4b612c68d52e58824cb0e8ae90 On Fri, Dec 20, 2019 at 8:41 AM Gerion Entrup wrot= e: > > Am Donnerstag, 19. Dezember 2019, 19:43:37 CET schrieb Sebastian Pipping: > > On 19.12.19 18:37, Micha=C5=82 G=C3=B3rny wrote: > > > We have a better alternative that lets us limit the impact on the use= rs. > > > Why not use it? > > > > Which one? The CMake bootstrap copy? The adding to stage3 one? > > If an error message can be shown, maybe this is enough as a hint: > "expat and cmake have circular dependencies. Emerge it the first time wit= h: > USE=3Dbundled-cmake emerge -1 cmake expat > and then just don't care anymore about this use flag." > Not sure about custom error messages but in any case when using that bundled-cmake USE flag it would probably make sense to do an ewarn that the bundling took place and is only intended for temporary use, and that the package should be re-merged without the flag once expat is working. That would also cover users who inadvertently set the flag. I think that bundled-cmake also might make more sense than system-cmake, even though the latter is more established. We have a lot of users who set USE=3D-* and that means they're going to end up with lots of stuff bundled that doesn't need to be. I'm no fan of USE=3D-* in general but it seems like we should try to avoid making not setting a USE flag the less secure option since it does happen a lot. I'm just commenting on the USE-based solution. The compat package solution obviously bypasses this particular problem entirely. --=20 Rich