Control: tag -1 + confirmed
Control: found -1 1:7.0+dfsg-2

I just tried to reproduce this and was able to see the same issue
with qemu-user-static 7.0.

However the issues here is not with python failing.

lyx does not even try to run the python script.
It first spawns /bin/sh -c "python3 -tt -V" in a separate process,
which appears to be successful, next it searches python3 in the $PATH again
(from lyx itself, not from /bin/sh), next it does this:

1790405 faccessat(AT_FDCWD, "/usr/bin/python3", X_OK) = 0
1790405 waitid(P_PIDFD, 2147483647, 0x7fff2c60db70, WNOHANG|WEXITED, NULL) = -1 
EBADF (Bad file descriptor)
...
1790405 ppoll([{fd=-1}, {fd=7, events=POLLIN}, {fd=9, events=POLLIN}, {fd=57157936, events=POLLIN}], 4, {tv_sec=180, tv_nsec=0}, NULL, 8) = 3 ([{fd=7, revents=POLLHUP}, {fd=9, revents=POLLHUP}, {fd=57157936, revents=POLLNVAL}], left {tv_sec=179, tv_nsec=999998170})
...
1790405 fcntl(57157936, F_GETFL)        = -1 EBADF (Bad file descriptor)
1790405 read(57157936, 0x5503682800, 152) = -1 EBADF (Bad file descriptor)
1790405 write(3, "\1\0\0\0\0\0\0\0", 8) = 8
1790405 close(57157936)                 = -1 EBADF (Bad file descriptor)
...
1790405 write(2, "support/Systemcall.cpp", 22) = 22

(the last one comes from
 support/Systemcall.cpp (276): Systemcall: 'python3 -tt "/usr/share/lyx/configure.py" 
--binary-dir="/usr/bin/"' finished with exit code -1
message).

(fd 57157936 is not referenced anywhere except at this place).

I dunno where this fd 57157936 comes from.
And apparently this makes lyx confused.

/mjt

Reply via email to