[Bug 1967920] [NEW] sysconfig installation scheme change breaks stuff

Dan Streetman 1967920 at bugs.launchpad.net
Tue Apr 5 17:05:04 UTC 2022


Public bug reported:

the 3.10 version of python in debian and ubuntu appears to have changed its installation scheme from 'posix_prefix' to the debian-specific 'posix_local', which breaks things, for example meson is no longer buildable:
https://launchpadlibrarian.net/595057055/buildlog_ubuntu-jammy-amd64.meson_0.61.2-1_BUILDING.txt.gz

I suspect the problem is an incomplete patching of python to correctly
use the 'local' path, as (for example) distutils/setuptools doesn't
appear to be using the new 'local' path (in the above build output,
search for 'test_meson_installed' to see the failure of meson getting
installed to the sysconfig 'scripts' path, which is now '/usr/local/bin'
instead of '/usr/bin').

** Affects: python3.10 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: python3.10 (Ubuntu Jammy)
     Importance: Undecided
         Status: New

** Also affects: python3.10 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.10 in Ubuntu.
https://bugs.launchpad.net/bugs/1967920

Title:
  sysconfig installation scheme change breaks stuff

Status in python3.10 package in Ubuntu:
  New
Status in python3.10 source package in Jammy:
  New

Bug description:
  the 3.10 version of python in debian and ubuntu appears to have changed its installation scheme from 'posix_prefix' to the debian-specific 'posix_local', which breaks things, for example meson is no longer buildable:
  https://launchpadlibrarian.net/595057055/buildlog_ubuntu-jammy-amd64.meson_0.61.2-1_BUILDING.txt.gz

  I suspect the problem is an incomplete patching of python to correctly
  use the 'local' path, as (for example) distutils/setuptools doesn't
  appear to be using the new 'local' path (in the above build output,
  search for 'test_meson_installed' to see the failure of meson getting
  installed to the sysconfig 'scripts' path, which is now
  '/usr/local/bin' instead of '/usr/bin').

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.10/+bug/1967920/+subscriptions




More information about the foundations-bugs mailing list