Description of problem: python3-3.7.7-3 introduces a regression in distutils module: python3-3.7.7-1.fc31: $ python3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LIBPL'))" /usr/lib64/python3.7/config-3.7m-x86_64-linux-gnu python3-3.7.7-3.fc31: $ python3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LIBPL'))" /usr/lib64/python3.7/config-m-x86_64-linux-gnu The regression causes Vim to fail to build in F31 branch. Version-Release number of selected component (if applicable): python3-3.7.7-3.fc31 How reproducible: Always Steps to Reproduce: See above Actual results: prints an incorrect path Expected results: prints a correct path Additional info:
Thanks for the report. Victor, can you please have a look? $ python3.6 -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LIBPL'))" /usr/lib64/python3.6/config-m-x86_64-linux-gnu $ python3.7 -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LIBPL'))" /usr/lib64/python3.7/config-m-x86_64-linux-gnu $ python3.8 -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LIBPL'))" /usr/lib64/python3.8/config-3.8-x86_64-linux-gnu
Oh no! I broke sysconfig LIBPL variable when fixing "python3-config --configdir" in bz#1772988 :-( bz#1772988 fixed a first downstream bug, and this issue is about a second downstream bug: the 00178-dont-duplicate-flags-in-sysconfig.patch downstream patch is wrong and should be removed. It causes this bug. If I revert it, distutils.sysconfig.get_config_var('LIBPL') returns /usr/lib64/python3.7/config-3.7m-x86_64-linux-gnu as expected.
This issue is basically the same than https://bugzilla.redhat.com/show_bug.cgi?id=1710767 which was fixed by removing 00178-dont-duplicate-flags-in-sysconfig.patch in the Python 3.8 package. I proposed https://src.fedoraproject.org/rpms/python3.7/pull-request/4 to remove the patch.
And https://src.fedoraproject.org/rpms/python3.6/pull-request/4 for Python 3.6.
> This issue is basically the same than https://bugzilla.redhat.com/show_bug.cgi?id=1710767 which was fixed by removing 00178-dont-duplicate-flags-in-sysconfig.patch in the Python 3.8 package. The patch 178 comes from https://src.fedoraproject.org/rpms/python3/c/58f477b403222ea6c13d5d7358551b606cddc0f8?branch=master It was supposed to fix https://bugs.python.org/issue17679: I rejected this issue since it wasn't a real bug. sysconfig should simply parse the Makefile variables, it should not modify its content ("remove duplicated flags"). Also the patch was wrong (see the issue for the details). The patch was removed in the Python 3.8 package of Fedora and the full Python test suite still pass. I am not sure why tests failed when https://bugs.python.org/issue17679 was reported. Maybe the test was fixed in the meanwhile.
Zdenek, we have fixed this in rawhide in python3.7-3.7.8~rc1-2.fc33. I plan to backport this to Fedora 31 together with the 3.7.8 final update (upstream release planned for tmrw, might get to Fedora early next week). Let me know if that's too late -- I can help you build vim with python3-3.7.7-1.fc31 if it is urgent.
I have no urgent bug which is blocked by FTBFS - I just update Vim weekly to be on the same patchlevel as upstream. If the bug will be solved in a week or two, I'm okay with it.
FEDORA-2020-8bdd3fd7a4 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-8bdd3fd7a4
FEDORA-2020-ea5bdbcc90 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ea5bdbcc90
FEDORA-2020-ea5bdbcc90 has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ea5bdbcc90` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ea5bdbcc90 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-8bdd3fd7a4 has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-8bdd3fd7a4` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-8bdd3fd7a4 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-13460f5613 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-13460f5613
FEDORA-2020-56e5d11739 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-56e5d11739
FEDORA-2020-56e5d11739 has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-56e5d11739` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-56e5d11739 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-13460f5613 has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-13460f5613` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-13460f5613 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-8bdd3fd7a4 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2020-ea5bdbcc90 has been pushed to the Fedora 31 stable repository. If problem still persists, please make note of it in this bug report.
Status: python37-3.7.8-1.fc32 is not pushed to stable yet, https://bodhi.fedoraproject.org/updates/FEDORA-2020-13460f5613 It should be pushed soon: updated created one week ago with "Stable by Time: 7 days".
Status: python3-3.7.8-1.fc31 is not pushed to stable yet: https://bodhi.fedoraproject.org/updates/FEDORA-2020-56e5d11739 "Stable by Time: 14 days" still require one week. Also, it has a karma of 0 ("Stable by Karma: 5").
FEDORA-2020-13460f5613 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.
Victor, F31 update can be pushed now, would you mind pushing it?
Victor is on vacation. The update should be pushed automatically any time now. Do you want a buildroot override?
Aha, I missed a new option 'Stable by time' - I was recently surprised that my updates hanged in testing even after 14 days, so I thought it is a new default. But my alias for bodhi doesn't have the new option... No problem, the automatic push is okay.
FEDORA-2020-56e5d11739 has been pushed to the Fedora 31 stable repository. If problem still persists, please make note of it in this bug report.