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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A2100158015 for ; Thu, 28 Dec 2023 18:38:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 293542BC0CC; Thu, 28 Dec 2023 18:38:08 +0000 (UTC) Received: from mail.pissmail.com (mail.pissmail.com [173.249.47.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 834E82BC016 for ; Thu, 28 Dec 2023 18:38:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shitposting.expert; s=dkim; t=1703788684; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9fEqbBVQA8eJg2BrVgzZSCqwwVBqph77tj576Hp/yE8=; b=owXpqV57Y5ZAT1J9zaCCUmolih7ewtje0D4XtX9nIRlC6ug8rsswInGBTKUhQ3KVXwAYQv 9yGoq1XL2cFrfppJ23lZcDj48AAzYCmhXuGeGTkdYd4cSip0u+N5+1lFIXya7phwbW5mLa doEdSr07jEQQJcOEb/a/RcCM+xvIxwt+lWIFaTpz7ut8eINrPs//TIvqEO5q7tYquCG3Cw 6AHFcF5wI7A8cuyG6TUimJAruWrWDYRg1ohB9DZDtVYVHBM9Wj2w+ayyA6SrEer1rjf+x9 UTlIEISH3cpMJv6DdNrcGxjjb83JLwWHYcdvJ94CRtTLOH4Gn0LjIw6PKJ3y6g== Date: Thu, 28 Dec 2023 18:38:04 +0000 From: stefan11111 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Python 3.11 USE flags being flipped on In-Reply-To: References: <34880f9a50de15dbd925603483ac1525@shitposting.expert> <2353b9167eaa803e5dce5b842090a3c0@shitposting.expert> <13fbb95f93a7ffa32a0c288a2dd1f6fc@shitposting.expert> Message-ID: <4842e83e5fc524d86d536c267f072b5e@shitposting.expert> X-Sender: stefan11111@shitposting.expert Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Authentication-Results: mail.pissmail.com; auth=pass smtp.mailfrom=stefan11111@shitposting.expert X-Spamd-Bar: / X-Archives-Salt: 82589ea7-3917-4de8-ac07-32c226a588d4 X-Archives-Hash: 7fbfed986294342fc752059ed0107249 On 2023-12-28 15:21, Martin Vaeth wrote: > stefan11111 wrote: >> This got me wondering though, is there no way to fix this globally >> via make.conf instead of adding patched ebuilds to my overlay? > > No. Until https://bugs.gentoo.org/209653 is fixed (which did not > happen since 16 years and presumably never will), there is no > other way to fix dependencies than to copy the ebuild to some > overlay. Interesting read. Would be nice is there was a way to set PYTHON_COMPAT through envvars/make.conf vars like MYMESONARGS. This seems like such an easy fix too. Just set PYTHON_COMPAT to include python 3.12 and be done with it. Another thing would be if adding dev-lang/python-3.11.7 to package.provided only made portage pretend that dev-lang/python-3.11.7 is installed, and not every version of python3. Or if we had an easy way to patch ebuilds like we have /etc/portage/patches... I can't even make a dummy ebuild for python 3.11, since those ebuilds won't use python 3.12 even if it is installed if it isn't part of PYTHON_COMPAT(which is a reasonable choice). Anyway, at least I don't have many ebuilds to patch to support python 3.12. -- Linux-gentoo-x86_64-Intel-R-_Core-TM-_i5-7400_CPU_@_3.00GHz COMMON_FLAGS="-O3 -pipe -march=native -ftree-vectorize -ffast-math -funswitch-loops -fuse-linker-plugin -flto -fdevirtualize-at-ltrans -fno-plt -fno-semantic-interposition -fno-common -falign-functions=32 -fgraphite-identity -floop-nest-optimize" USE="-* git verify-sig rsync-verify man alsa X grub ssl ipv6 lto libressl olde-gentoo asm native-symlinks threads jit jumbo-build minimal strip system-man" INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /lib/udev /usr/share/icons /usr/share/applications /usr/share/gtk-3.0/emoji /usr/lib64/palemoon/gtk2"