From nobody Thu Jun 30 15:50:14 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4D1A187FD45; Thu, 30 Jun 2022 15:50:17 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LYjTP1Pj4z3NT8; Thu, 30 Jun 2022 15:50:17 +0000 (UTC) (envelope-from bapt@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656604217; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rOlGaIzvl7EErcJQyzhsnfg4iY+UhxlrOaFUKQrtw+A=; b=Nxh0XVp0UBNSLu0Hr/qe1cE/YdP9QD2eu7n+nILV4F1kWpE4xAm1mdqYGVG0iiUvZaiu2E GKBfavBLC4Sc5sUh676pA02FAb3OHnos9vZmxZEcmCecpvFP20BPGaFaxjr6/JR9k96MrL cDq763zXTi2kvnrTGjfn+mMCejWXXNRMdYbxEOMibe1SWKFgpgVLkx1eq3NJYWHwqjUoe0 i2vLyLDCYpN6sMmAKir8seTlZzGHciQp1OfFXhZnunC6dOsB1CoxAqPM2nVJkvMY9MJlwF D+k0CU3dOrXhuA5SF4RK4HBc9yKHezE8mGLHEKjvoRxsPSI5DNS0DjXxTEHOsA== Received: from aniel.nours.eu (nours.eu [IPv6:2001:41d0:8:3a4d::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id E58BF2AA01; Thu, 30 Jun 2022 15:50:16 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id B36371DB1C; Thu, 30 Jun 2022 17:50:14 +0200 (CEST) Date: Thu, 30 Jun 2022 17:50:14 +0200 From: Baptiste Daroussin To: Thierry Thomas , portmgr@FreeBSD.org Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: ad2d6b8e4888 - main - Mk/bsd.default-versions.mk: chase the switch to Python 3.9 Message-ID: <20220630155014.ekmkdz2sdkt7llfs@aniel.nours.eu> References: <202206262043.25QKhwcE052157@gitrepo.freebsd.org> <20220630152738.th4hnfuere4goybe@aniel.nours.eu> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220630152738.th4hnfuere4goybe@aniel.nours.eu> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656604217; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rOlGaIzvl7EErcJQyzhsnfg4iY+UhxlrOaFUKQrtw+A=; b=ooYpNeqj5IMjeVaTo07Z7SWA1mk7fNY421sGtzJ6/UlNPjTuO0lf2TiwlgvuPt8YFFOqey RjYPi6Gnz9ox9zMfUuxfcF3diY32qKamlpGiy+5h2/dMbq+cPQBcKPHdt++KxICV7swGTK r5JkOdrh/34xclv3MwHXzz/DZYbkhLJ4yaDQiHK+irGP1iPeA7nbNUcnYeV2VM8TDt8Di2 GXUZCzrprtiiizH9uBlqFEC7rP9awx6nc53AQRlUsyUQamCBx76X9kMtrULv2/DzTBPjP1 nwSMnDRR0XG9rew0V8bJYkpgQPoJI45BQ2h0KJvIxRVJXv+qj/f6djRqEbpaSQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656604217; a=rsa-sha256; cv=none; b=DSPWm8T1tKf3LbaK4hBy2xjaNJiV+tRS5Uyqh0z5yYUXmR2qXkrdtn70kmFrbkZmb/daOw hGiN/XcGKz1rYPD/yYGA5QZQ+zGvPWmZmJw19nRNZM1WM+C7nHTihd9VojlQ3dsxMYrKVz +Q9+Enh0U+QVuugjwSnQ9Sfb1LBOS26o1Ebyveb5dAiNt9GiCwv95dmTeuCpVNisfKzRO9 j2+rLqIZzL+mPbZsIuKuGPd5NEIUk0GSrI2STMg+Tc5cMsajb0fl95rQp7wosi+fIKnvxI Qc4fmCn/qe8MKfvP4Dvjs0lDLVzCLFTbwZoUNEu4aSIUVXHULGJv8nJR+DpfUA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On Thu, Jun 30, 2022 at 05:27:38PM +0200, Baptiste Daroussin wrote: > On Sun, Jun 26, 2022 at 08:43:58PM +0000, Thierry Thomas wrote: > > The branch main has been updated by thierry: > > > > URL: https://cgit.FreeBSD.org/ports/commit/?id=ad2d6b8e488819a85ade85ecbf1fc16db82b49b9 > > > > commit ad2d6b8e488819a85ade85ecbf1fc16db82b49b9 > > Author: Thierry Thomas > > AuthorDate: 2022-06-26 20:36:53 +0000 > > Commit: Thierry Thomas > > CommitDate: 2022-06-26 20:36:53 +0000 > > > > Mk/bsd.default-versions.mk: chase the switch to Python 3.9 > > > > Following the rules of > > > > > > PR: 261703 > > It seems that with the upgrade of python 3.8 to 3.9 is broken some egg-info are > changing from files to directories, which has too side effects: > > FOr all the packages where the plist is hard coded meaning potentially the > following: > databases/rrdtool/pkg-plist:%%PYTHON%%%%PYTHON_SITELIBDIR%%/rrdtool-0.1.10-py%%PYTHON_VER%%.egg-info > devel/py-gobject3/pkg-plist:%%PYTHON_SITELIBDIR%%/PyGObject-%%VERSION%%.egg-info > emulators/virtualbox-ose-legacy/pkg-plist:%%PYTHON%%%%PYTHON_SITELIBDIR%%/vboxapi-1.0-py%%PYTHON_VER%%.egg-info > graphics/lensfun/pkg-plist:%%PYHELPERS%%%%PYTHON_SITELIBDIR%%/lensfun-0.3.95-py%%PYTHON_VER%%.egg-info > java/eclipse-pydev/pkg-plist:share/eclipse/dropins/pydev/eclipse/plugins/org.python.pydev.jython_8.2.0.202102211157/Lib/wsgiref.egg-info > math/sage/pkg-plist:%%PYTHON_SITELIBDIR%%/sage-%%VER%%-py%%PYTHON_VER%%.egg-info > science/agrum/pkg-plist:%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum-%%VERSION%%-py%%PYTHON_VER_MAJ%%.egg-info > science/yoda/pkg-plist:%%PYTHON%%%%PYTHON_SITELIBDIR%%/yoda-%%VERSION%%-py%%PYTHON_VER%%.egg-info > security/libpreludedb/pkg-plist:%%PYTHON_SITELIBDIR%%/preludedb-5.2.0-py%%PYTHON_VER%%.egg-info > security/libpwquality/pkg-plist:%%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%.egg-info > security/sssd/pkg-plist:%%NO_SMB%%%%PYTHON_SITELIBDIR%%/SSSDConfig-1.16.5-py%%PYTHON_VER%%.egg-info > sysutils/xen-tools/pkg-plist:%%PYTHON_SITELIBDIR%%/pygrub-0.6-py%%PYTHON_VER%%.egg-info > sysutils/xen-tools/pkg-plist:%%PYTHON_SITELIBDIR%%/xen-3.0-py%%PYTHON_VER%%.egg-info > > > pkg will fail to create the package: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264962 > > I don't know why this hasn't arised from the exp-run, but still an issue but not > the worse > > for all the python packages which are using the autoplist feature, this is > change is silently done, so some might say "hurray", but no, it means we cannot > track which one is concerned, so an exp-run does not catch the issue. > > What issue? pkg is not able to deal with such changes a file which becomes a > directory in the upgrade process or a directory that becomes a file! > > While I need to address this, it means that there will probably be a shitload of > issues when the packages will be built, because the packages set will not be > upgradable! > > Can someone with python knowledge of the egg-info thing can weight here and > please tell me I am wrong! > > Best regards, > Bapt Reply to myself ;) Apparently, only the port listed above are impacted, the others are fine, so the issue is quite "isolated" and not "directly" related to the switch. Best regards, Bapt