Hello,
This is a follow up from an older thread by leio in the mailing list: https://archives.gentoo.org/gentoo-dev/message/bf36c4c50f9c15db222faa6a66b0c6c9
The problem is that, at present time, we are getting more and more bugs coming from flatpak users that get build failures due to having those variables "polluted".
Personally, I would opt for unsetting them too and properly set them to
known values for packages needing it. But I am unsure if we could
probably do a tinderbox run to find&fix packages needing them to be set
:-/
On Wed, Jul 17, 2024 at 2:57 PM Pacho Ramos <pacho@gentoo.org> wrote:
Hello,
This is a follow up from an older thread by leio in the mailing
list: https://archives.gentoo.org/gentoo-dev/message/bf36c4c50f9c15db222faa6a66b0c6c9
The problem is that, at present time, we are getting more and more
bugs
coming from flatpak users that get build failures due to having
those
variables "polluted".
Personally, I would opt for unsetting them too and properly set
them to
known values for packages needing it. But I am unsure if we could
probably do a tinderbox run to find&fix packages needing them to be
set
:-/
I'm not really familiar with the packages that require these
variables. I agree with the idea in principle though.
It seems like x11-libs/gtk+ is one example given by leio. How would
we
fix that one? Can the same strategy be applied to similar ebuilds?
Another possible idea would be to source /etc/profile.env in a
subshell and pick out the relevant XDG variables in
xdg_environment_reset.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 407 |
Nodes: | 16 (2 / 14) |
Uptime: | 15:42:01 |
Calls: | 8,555 |
Calls today: | 7 |
Files: | 13,219 |
Messages: | 5,925,786 |