Skip to content
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

net-im/wechat-universal-bwrap-1.0.0.241: stat /proc/sys/kernel/yama/ptrace_scope: 函数未实现 (38) #4631

Closed
HougeLangley opened this issue May 11, 2024 · 7 comments

Comments

@HougeLangley
Copy link
Collaborator

houge@LoongArch-Gentoo ~ $ wechat-universal
Workaround for fcitx applied
Hint: Custom binds could be declared in '~/.config/wechat-universal/binds.list', each line a path, absolute or relative to your HOME
/opt/wechat-universal/wechat: /lib64/libtiff.so.5: no version information available (required by /opt/wechat-universal/wechat)
[0511/160126.885876:ERROR:filesystem_posix.cc(80)] stat /proc/sys/kernel/yama/ptrace_scope: 函数未实现 (38)
/opt/wechat-universal/RadiumWMPF/runtime/WeChatAppEx: error while loading shared libraries: libilink_network.so: cannot open shared object file: No such file or directory
/opt/wechat-universal/RadiumWMPF/runtime/WeChatAppEx: error while loading shared libraries: libilink_network.so: cannot open shared object file: No such file or directory
/opt/wechat-universal/RadiumWMPF/runtime/WeChatAppEx: error while loading shared libraries: libilink_network.so: cannot open shared object file: No such file or directory
/opt/wechat-universal/RadiumWMPF/runtime/WeChatAppEx: error while loading shared libraries: libilink_network.so: cannot open shared object file: No such file or directory
/opt/wechat-universal/RadiumWMPF/runtime/WeChatAppEx: error while loading shared libraries: libilink_network.so: cannot open shared object file: No such file or directory
/opt/wechat-universal/RadiumWMPF/runtime/WeChatAppEx: error while loading shared libraries: libilink_network.so: cannot open shared object file: No such file or directory
/opt/wechat-universal/RadiumWMPF/runtime/WeChatAppEx: error while loading shared libraries: libilink_network.so: cannot open shared object file: No such file or directory
/opt/wechat-universal/RadiumWMPF/runtime/WeChatAppEx: error while loading shared libraries: libilink_network.so: cannot open shared object file: No such file or directory
/opt/wechat-universal/RadiumWMPF/runtime/WeChatAppEx: error while loading shared libraries: libilink_network.so: cannot open shared object file: No such file or directory
/opt/wechat-universal/RadiumWMPF/runtime/WeChatAppEx: error while loading shared libraries: libilink_network.so: cannot open shared object file: No such file or directory
/opt/wechat-universal/RadiumWMPF/runtime/WeChatAppEx: error while loading shared libraries: libilink_network.so: cannot open shared object file: No such file or directory
libpng warning: iCCP: known incorrect sRGB profile
[0511/160136.877050:ERROR:filesystem_posix.cc(80)] stat /proc/sys/kernel/yama/ptrace_scope: Function not implemented (38)
[0511/160136.877199:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[0511/160138.289965:ERROR:exception_handler_server.cc(53)] EPOLLERR: Connection reset by peer (104)
@HougeLangley
Copy link
Collaborator Author

@haowuge 朋友那里有没有这个问题?

@HougeLangley
Copy link
Collaborator Author

@xen0n 白老师帮忙看看?

@xen0n
Copy link
Contributor

xen0n commented May 12, 2024

首次安装 libLoL 之后,需要手工 modprobe la_ow_syscall。本处打包的 la-ow-syscall 虽然会安装 modprobe 配置文件,但重启之前不会自动帮你 modprobe

@Universebenzene
Copy link
Contributor

@xen0n 这种情况需不需要在postinst里写几句elog

@xen0n
Copy link
Contributor

xen0n commented May 12, 2024

@xen0n 这种情况需不需要在postinst里写几句elog

已经写了

pkg_postinst() {
elog "Be sure to load the kernel module before running any old-world program:"
elog
elog "# modprobe la_ow_syscall"
elog
elog "A config file has been installed under /usr/lib/modules-load.d for"
elog "automatic loading of the compatibility patch on system start-up."
}

@Universebenzene
Copy link
Contributor

@xen0n 找错ebuild了……又丢人了😞

@HougeLangley
Copy link
Collaborator Author

HougeLangley commented May 12, 2024

@xen0n 找错ebuild了……又丢人了😞

这里存在一些小插曲。

目前 la_ow_syscall 模块安装后,需要重新编译一遍内核,之前 @liangyongxiang 兄踩完的坑在这里,如果有看到这里的朋友记得看下这里 #4112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants