[Bug 2052443] [NEW] Python apps installed with Meson wind up in /usr/local/local

Joanmarie 2052443 at bugs.launchpad.net
Mon Feb 5 15:19:38 UTC 2024


Public bug reported:

Step to reproduce:

1. Attempt to install one of the following packages from upstream/GNOME using default options:
   a. Orca (which I maintain)
   b. Accerciser
   c. Secrets

Expected results: Libraries would be installed in
/usr/local/lib/python3.x/...

Actual results: Libraries are installed in
/usr/local/local/lib/python3.x/...

The install location is coming from Meson via
`python.find_installation('python3').get_install_dir()`. And the value
appears to be correct in other distros.

Note: I found an upstream (Meson) bug in which Fedora 36 had the same
problem. It was fixed in Fedora. See
https://github.com/mesonbuild/meson/issues/10459

Aside from potential packaging issues, there are quite a few end users
of Orca who build and test development versions of Orca. Now that Orca
has switched from autotools to Meson, those users who also use Orca are
being hit by this problem. Therefore, it would be great if it could be
fixed downstream.

Thanks in advance!

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

** Package changed: python3.10 (Ubuntu) => python3.11 (Ubuntu)

-- 
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/2052443

Title:
  Python apps installed with Meson wind up in /usr/local/local

Status in python3.11 package in Ubuntu:
  New

Bug description:
  Step to reproduce:

  1. Attempt to install one of the following packages from upstream/GNOME using default options:
     a. Orca (which I maintain)
     b. Accerciser
     c. Secrets

  Expected results: Libraries would be installed in
  /usr/local/lib/python3.x/...

  Actual results: Libraries are installed in
  /usr/local/local/lib/python3.x/...

  The install location is coming from Meson via
  `python.find_installation('python3').get_install_dir()`. And the value
  appears to be correct in other distros.

  Note: I found an upstream (Meson) bug in which Fedora 36 had the same
  problem. It was fixed in Fedora. See
  https://github.com/mesonbuild/meson/issues/10459

  Aside from potential packaging issues, there are quite a few end users
  of Orca who build and test development versions of Orca. Now that Orca
  has switched from autotools to Meson, those users who also use Orca
  are being hit by this problem. Therefore, it would be great if it
  could be fixed downstream.

  Thanks in advance!

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




More information about the foundations-bugs mailing list