Hi @1zumisagiri. It seems that you are using rustup there. Try switching to the rust package instead or build in a chroot via --chroot.
host-tuple should be automatically substituted with your machine's target.
| Git Clone URL: | https://aur.archlinux.org/portable.git (read-only, click to copy) |
|---|---|
| Package Base: | portable |
| Description: | Fast, private, efficient sandbox for Linux desktop. |
| Upstream URL: | https://github.com/Kraftland/portable |
| Keywords: | dbus filter launch portable portals sandbox script |
| Licenses: | GPL-3.0-or-later |
| Provides: | portable |
| Submitter: | Kimiblock |
| Maintainer: | Kimiblock (lilac) |
| Last Packager: | lilac |
| Votes: | 5 |
| Popularity: | 0.79 |
| First Submitted: | 2024-11-21 02:22 (UTC) |
| Last Updated: | 2026-09-18 17:37 (UTC) |
Hi @1zumisagiri. It seems that you are using rustup there. Try switching to the rust package instead or build in a chroot via --chroot.
host-tuple should be automatically substituted with your machine's target.
I encountered an issue when trying to upgrade to version 18:
portable-1:18.0.1-1: parsing pkg list...
==> Making package: portable 1:18.0.1-1 (Wed 22 Jul 2026 12:17:44 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Submodule 'lib/init' (https://github.com/Kraftland/portable-init.git) registered for path 'lib/init'
Cloning into '/home/abc/.cache/paru/clone/portable/src/portable/lib/init'...
Submodule path 'lib/init': checked out '0a3e4e7c01dc82762e3d1008bf77cab98d78df8c'
error: failed to run `rustc` to learn about target-specific information
Caused by:
process didn't exit successfully: `/home/abc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc - --crate-name ___ --print=file-names -C force-frame-pointers=yes --target host-tuple --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1)
--- stderr
error: error loading target specification: could not find specification for target "host-tuple"
|
= help: run `rustc --print target-list` for a list of built-in targets
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'portable-1:18.0.1-1':
error: packages failed to build: portable-1:18.0.1-1
Not sure if it is because in lib\build.sh
29 cargo fetch --locked --target host-tuple
Upgrading to version 15 may require manual intervention when using AUR helper without chroot building:
You must build portable-packer, and then build the main package via extra-x86_64-build -- -I /path/to/packer.zst
After which, install both packages using pacman -U
Please consider using chroot builds?
add export GOPATH=$HOME/.cache/go to avoid creating ~/go
@w568w Portable 10.0.1 已经发布, 请尝试更新最新版 (archlinuxcn: sudo pacman -U https://repo.archlinuxcn.org/any/portable-1%3A10.0.1-1-any.pkg.tar.zst 或 AUR 手动 rebuild)
@w568w 好的, 我来修复一下
1:10.0-1 再次出现了 @Small_Fox 之前所述问题的回归。结合 strace 分析,是卡在了等待 pwSecContext 的死循环上,文件 ${XDG_RUNTIME_DIR}/portable/${appID}/pipewire-socket 始终没有出现。
DEBUG 日志如下:
[Info] Configuration specified as global name /usr/lib/portable/info/com.qq.weixin/config
[Info] XDG Config Home defined @ /home/w568w/.config
[Debug] Chosen readiness code 20526
[Info] Application argument interpreted as:
[Warn] Launching com.qq.weixin (unsafe)...
/usr/bin/portable: 行 1419: /run/user/1000/portable/com.qq.weixin/portable-generated.env: 没有那个文件或目录
[Info] GTK_IM_MODULE is fcitx
[Info] QT_IM_MODULE is fcitx
[Debug] Not exposing input devices
[Debug] Detecting Camera...
[Debug] Waiting for component: pwSecContext...
[Debug] Waiting for component: cameraBind...
[Debug] Readiness set for inputBind
[Debug] Generated Camera bind parameter: --dev-bind /dev/video0 /dev/video0 --dev-bind /dev/video1 /dev/video1 --dev-bind /dev/video2 /dev/video2 --dev-bind /dev/video3 /dev/video3
[Debug] Readiness set for cameraBind
[Debug] Done waiting for cameraBind...
[Debug] Single or no GPU, binding all devices
[Debug] Waiting for component: miscBind...
[Debug] Generated GPU bind parameter: --setenv portableDiscrete 1
[Debug] Readiness set for hybridBind
Running as unit: WeChat.service
Press ^] three times within 1s to disconnect TTY.
[Debug] Readiness set for bindCheck
[Debug] Readiness set for sanityCheck
从源码来看,只有 safe launching 才会去执行 pwSecContext() 来启动 pipewire,但 unsafe launching 里的逻辑也会等待 pwSecContext,导致了该问题。
@Small_Fox 请尝试执行 PORTABLE_LOGGING=debug wechat 然后贴出完整的日志以解决问题. 另 portable 已降级回 8.1, 请全量更新系统和 AUR 包以暂时解决问题.
https://aur.archlinux.org/packages/wechat-bin 此軟件包在4.1.0.10-1版本中 使用了 https://aur.archlinux.org/packages/wechat軟件包 版本爲1:7-1 wechat軟件包需要此軟件 但是在今天更新後 此軟件包出現了一直佔用cpu的問題 cpu佔用率、溫度被持續拉高 結束此進程後系統恢復正常
Pinned Comments
Kimiblock commented on 2025-09-10 14:50 (UTC) (edited on 2026-07-23 02:56 (UTC) by Kimiblock)
Attention to all users: portable apps are available on portable-arch repository.