From nobody Thu Jun 30 15:27:38 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 5615987D331; Thu, 30 Jun 2022 15:27:40 +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 4LYhzJ21G2z3M1Q; Thu, 30 Jun 2022 15:27:40 +0000 (UTC) (envelope-from bapt@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656602860; 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=NiYIVFBKmozkQPjMJGqipGwoE3UiNfiq6TdOnDWwqLU=; b=hodEkUX2pIidzxQLintlzD/UbOGzezuT3Kj/NigDICoXRw9boHEfAix0zkTcfbRGF2m9Bx dVLsNA+VauuhIl1i8tXvb5Ft018TNcC+7oarP9f9ul1qnrqPNYU59Z3/OYUbd2rUS63jOi SCTnLQw3ZgLF+5Fv8tw7iP8de1OdGETsOMdrE0JQw03JUZCf9Zhk0WUvs5fqgCn6/U605c OWrdzr1qfEeDcmXGQJSJda4JtQWnugCmIzbmzmcSjbevBkWQ80yTtutOZ/J8FV2zJ9Agno 0st3Z2YMu5ccrUer/hCmTQAZlJX6Z/BFBl9f4KMAxoVJjm/Rr9aSDVuZFQvxoQ== Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (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 0A3FB2A4F3; Thu, 30 Jun 2022 15:27:40 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id C6C7C1D9BC; Thu, 30 Jun 2022 17:27:38 +0200 (CEST) Date: Thu, 30 Jun 2022 17:27:38 +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: <20220630152738.th4hnfuere4goybe@aniel.nours.eu> References: <202206262043.25QKhwcE052157@gitrepo.freebsd.org> 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: <202206262043.25QKhwcE052157@gitrepo.freebsd.org> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656602860; 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=NiYIVFBKmozkQPjMJGqipGwoE3UiNfiq6TdOnDWwqLU=; b=r6qtxT83lGyDnTLO8EUs/4LLpiDOh13Cjrq/TqZfOvD9McwByhm2jDk2FG2anH4kpuOE1o Hu/YDgmpbYfInYZXCjp8ghyj6jN5VuFtwkfRA79gaVXTEqa/iwO9zyovnx+5FuBzz2Abf7 ZXQtRYr0kLufGqMci1rHIrpy6VUQ5a8WCm3euashqJykmV1afqTFTgAJ/0pTLJWLaPboik k6qzSKerSfJeJgGzlZwRGfonNRst2EoqBzVU7kFk+/3Y2i0Sw3JJ8kVjxVyddj3ss+NwCO wEnWe1c62/2fnnE8ukR0ECV337q9zH+atpu2BxJdsUlKb8blJ3yfDdTxv+iI5Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656602860; a=rsa-sha256; cv=none; b=K5zsYqkixVfx+OBdWddd7Oi6ZItrHG/wUZJJjxFodzRiFYArpx0kWxgm7sfB0pDqGA4lKA j0utkXVLkNcrHraRHfq1Qqp9cM4xAiFgTqNQu9xJ1NwjqxLZ68NnJOPcBuwXH/S1Xa2GXZ 1wyMyEnctCxxDT9eu/n2YVGTqIeIaYBi8/i36PCShbu2Wg441jm/w9PvAtVNjhLLEUL9tz v+8sxdS/wZ19PdFGRPMYbAn/NipTG5CC0yZyS8sta8t3eKpicABrsRG3RAbudWYf+B0sVc gL6Bd2oD0FBhlJ2W3wh7gYegM74W+hsSRDv8H1tkW8l3O53ATF83cJNMi+wLjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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