Your message dated Sun, 6 Aug 2023 11:00:15 +0200
with message-id <20230806090015.mtjfkfc3ialrs...@enricozini.org>
and subject line Re: Bug#1041537: python3 platlib points again to /usr/local
has caused the Debian Bug report #1041537,
regarding python3 platlib points again to /usr/local
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1041537: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1041537
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: meson
Version: 1.2.0-1
Severity: serious

Hello,

Thank you for maintaining Meson!

At first glance it looks like there is a regression of
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026312

On stable:

   $ cat meson.build
   project('test', 'cpp', version: '3.36', license : 'GPL-2.0-or-later')
   
   pymod = import('python')
   python3 = pymod.find_installation('python3', required: false)
   message('PLATLIB', python3.get_path('platlib'))
   
   $ meson setup /tmp/zz
   The Meson build system
   Version: 1.0.1
   Source dir: [...]
   Build dir: /tmp/zz
   Build type: native build
   Project name: test
   Project version: 3.36
   C++ compiler for the host machine: ccache c++ (gcc 12.2.0 "c++ (Debian 
12.2.0-14) 12.2.0")
   C++ linker for the host machine: c++ ld.bfd 2.40
   Host machine cpu family: x86_64
   Host machine cpu: x86_64
   Program python3 found: YES (/usr/bin/python3)
   Message: PLATLIB /usr/lib/python3/dist-packages


On sid:

   $ cat meson.build
   project('test', 'cpp', version: '3.36', license : 'GPL-2.0-or-later')
   
   pymod = import('python')
   python3 = pymod.find_installation('python3', required: false)
   message('PLATLIB', python3.get_path('platlib'))
   
   $ meson setup /tmp/zz
   The Meson build system
   Version: 1.2.0
   Source dir: [...]
   Build dir: /tmp/zz
   Build type: native build
   Project name: test
   Project version: 3.36
   C++ compiler for the host machine: c++ (gcc 13.1.0 "c++ (Debian 13.1.0-8) 
13.1.0")
   C++ linker for the host machine: c++ ld.bfd 2.40.90.20230714
   Host machine cpu family: x86_64
   Host machine cpu: x86_64
   Program python3 found: YES (/usr/bin/python3)
   Message: PLATLIB /usr/local/lib/python3.11/dist-packages


This is affecting wreport, and I guess the same list of packages as
#1026312


Enrico


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages meson depends on:
ii  ninja-build            1.11.1-1
ii  python3                3.11.4-5
ii  python3-pkg-resources  68.0.0-1
ii  python3-setuptools     68.0.0-1

Versions of packages meson recommends:
ii  dpkg-dev  1.21.22

meson suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On Thu, Aug 03, 2023 at 12:34:45PM +0300, Jussi Pakkanen wrote:

> Based on that thread I'd say that this is not a bug in Meson at all.
> Can I just close it or should it be reassigned to some other package
> so it is not forgotten?

I agree that it can be closed (closing it), especially since the proper
fix for this issue seems to have landed in dh-python in sid:
https://lists.debian.org/debian-devel/2023/08/msg00017.html

Thank you!

Enrico

-- 
GPG key: 4096R/634F4BD1E7AD5568 2009-05-08 Enrico Zini <enr...@enricozini.org>

--- End Message ---

Reply via email to