Summary: | meson.eclass - _meson_env_array calls python directly | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | cyrillic <cyrilmaley> |
Component: | Current packages | Assignee: | Mike Gilbert <floppym> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flow, jstein, python, williamh |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=905852 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
cyrillic
2020-12-11 02:04:45 UTC
It's going to break a lot of things, it's a flag more intended for internal testing. Any reason it isn't in package.use.force like binutils/gcc-config's native-symlinks flags? (In reply to Ionen Wolkens from comment #1) > It's going to break a lot of things ... I think that is the plan. Anyways, dev-util/meson should be one of the first ones to get fixed because it affects so many other packages. (In reply to cyrillic from comment #2) > (In reply to Ionen Wolkens from comment #1) > > It's going to break a lot of things ... > > I think that is the plan. > Anyways, dev-util/meson should be one of the first ones to get fixed because > it affects so many other packages. I see, given summary started with python-exec it made it look like you were filling this against python-exec rather than meson. The issue seems to be in meson.eclass, specifically the _meson_env_array function which calls python directly. I don't really have any intention of "fixing" this unless someone comes up with a clever solution. We could solve this by installing a python-exec compatible script instead of calling python with an inline program. Patch sent to gentoo-dev for review. As I said on the ml, I'm strongly against this use flag in dev-lang/python-exec unless upstream python is going the way of removing /usr/bin/python from its native builds. If upstream python is not doing this, we shouldn't in Gentoo either. On the other hand, if they are moving toward this, I agree we should start figuring out a plan. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=496198d0ab1971e26e01129cff736fb4073739b8 commit 496198d0ab1971e26e01129cff736fb4073739b8 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-12-28 22:24:09 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-12-28 22:34:16 +0000 meson.eclass: use meson-format-array Closes: https://bugs.gentoo.org/759433 Signed-off-by: Mike Gilbert <floppym@gentoo.org> eclass/meson.eclass | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e391ef7abaf60b6a6966121a586b6e69b43f080 commit 3e391ef7abaf60b6a6966121a586b6e69b43f080 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-12-28 22:22:14 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-12-28 22:32:58 +0000 dev-util/meson-format-array: new package Bug: https://bugs.gentoo.org/759433 Signed-off-by: Mike Gilbert <floppym@gentoo.org> .../meson-format-array/files/meson-format-array | 24 ++++++++++++++++++++++ .../meson-format-array/meson-format-array-0.ebuild | 22 ++++++++++++++++++++ dev-util/meson-format-array/metadata.xml | 8 ++++++++ 3 files changed, 54 insertions(+) |