The Termux people are looking into this.

Question:   if the objective of the line env["LD_PRELOAD"] = "" is to 
unset (or remove) LD_PRELOAD from the environment, wouldn't it be more 
appropriate to use env.pop("LD_PRELOAD","") ?    That would remove any 
pair with the key LD_PRELOAD.  That sounds like a better match than 
setting it to "".

It might not matter on most systems, but on my device running Android 
7.0 it does make a difference.

Paul Cosway

[email protected]
Phone: +1 617 407 3230

On 3/21/26 1:04 PM, Paul Cosway wrote:
> Thanks. I have reported it, they understand and have confirmed the 
> problem (limited to Android 7) and are working on a fix.
>
> Paul Cosway
>
> [email protected]
> Phone: +1 617 407 3230
>
> On 3/20/26 6:41 PM, Stefano Rivera wrote:
>> Please report this bug to termux.
>>
>> If there is an issue in py3compile, a termux developer who understands
>> what's going on and how their environment is triggering the bug can
>> explain it to us in Debian's bugtracker.
>>
>> ** Changed in: python3-defaults (Ubuntu)
>>         Status: New => Invalid
>>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2145034

Title:
  py3compile fails due to LD_PRELOAD ='' in environment (in some cases)

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to