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

Bug #2052443 reported by Joanmarie
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3.11 (Ubuntu)
New
Undecided
Unassigned

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 Ubuntu are being hit by this problem. Therefore, it would be great if it could be fixed downstream.

Thanks in advance!

affects: python3.10 (Ubuntu) → python3.11 (Ubuntu)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.