-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
pypy: bump to 7.3.18 #23474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pypy: bump to 7.3.18 #23474
Conversation
| -b $HOME | ||
| -b $TERMUX_PKG_TMPDIR | ||
| -b /proc -b /dev -b /sys | ||
| -b $TERMUX_PREFIX/opt/bionic-host:/system |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good, since this appears to be working, should this line elsewhere in the codebase be removed, and pypy3 also adjusted to have a -b argument like this?
termux-packages/scripts/setup-ubuntu.sh
Line 345 in c444bff
| $SUDO ln -sf /data/data/com.termux/files/usr/opt/bionic-host /system |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
meaning, the references to /system in pypy3 could be replaced with $TERMUX_PREFIX/opt/bionic-host, and then that line removed?
termux-packages/packages/pypy3/build.sh
Line 164 in 49e37c6
| -b /system/:/target-termux-rootfs/system/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
termux-packages/packages/pypy/build.sh
Line 95 in acca5f9
| -b $TERMUX_PREFIX/opt/bionic-host:/system |
If /system is symlinked to $TERMUX_PREFIX/opt/bionic-host, this line can be removed.
termux-packages/packages/pypy3/build.sh
Line 164 in 49e37c6
| -b /system/:/target-termux-rootfs/system/ |
This line is always necessary because it tries to call proot inside another proot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, what I was trying to ask is, do you think it is better for /system to be symlinked to $TERMUX_PREFIX/opt/bionic-host, or instead for all (top-level) proot invocations to have $TERMUX_PREFIX/opt/bionic-host mounted in the place where /system was mounted before?
I am not sure which you think is better.
This line is always necessary because it tries to call proot inside another proot.
Ok, thank you for explaining, I understand that now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahhh.. The first one should be
termux-packages/packages/pypy/build.sh
Line 95 in acca5f9
| -b $TERMUX_PREFIX/opt/bionic-host:/system |
|
About this in the build for I have bisected it to this commit pypy/pypy@0012011 I have not calculated the absolute best patch yet to fix the error, but at the very least, if we cannot find any better way, one option is to revert that whole commit with a patch. The commit indicates that it was for this issue, which is an Alpine-Linux-related issue. pypy/pypy#5071 It looks like they wrote |
Co-Authord-By: Robert Kirkman <misternumberone@live.com>
Closes #23466