大佬有时间再给看下,又进步了一点。
我又重新ll-builder build -v 下,没有错误。然后 export成uab
./*.uab 安装后,
james@UOS1070:~/linglong/wechat$ ./com.tencent.wechat_arm64_4.0.0.23_main.uab
(6707) /build/linglong-1.6.3/libs/linglong/src/linglong/cli/cli.cpp:522 install from file "/home/james/linglong/wechat/com.tencent.wechat_arm64_4.0.0.23_main.uab"
0% prepare for installing uabError: CODE=-1
/build/linglong-1.6.3/libs/linglong/src/linglong/cli/cli.cpp:125 download status:
/build/linglong-1.6.3/libs/linglong/src/linglong/package/uab_file.cpp:210 mount uab bundle
/build/linglong-1.6.3/libs/utils/src/linglong/utils/command/env.cpp:78 exec erofsfuse --offset=4955320 /proc/857/fd/14 /tmp/runtime-deepin-linglong/linglong/UAB/0ca4424e-94fe-4c64-b007-4e54ebfd9a94: disk: /proc/857/fd/14
offset: 4955320
mountpoint: /tmp/runtime-deepin-linglong/linglong/UAB/0ca4424e-94fe-4c64-b007-4e54ebfd9a94
dbglevel: 0
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
import uab to linglong successfully, delegate running operation to linglong.
Error: CODE=-1
/build/linglong-1.6.3/libs/linglong/src/linglong/repo/ostree_repo.cpp:1281 clear fuzzy reference unknown:com.tencent.wechat/unknown/unknown
/build/linglong-1.6.3/libs/linglong/src/linglong/repo/ostree_repo.cpp:524 clear fuzzy reference locally: channel not found
然后貌似没装成功。版本是4.0.0.23 商店deb
然后又把官方的包,重新按照公众号的方法打包了一次。版本4.0.0.30 腾讯deb arm包
手动安装后,有以下输出,缺少依赖。
james@UOS1070:~/linglong/wechat-tencent$ ./com.tencent.wechat_arm64_4.0.0.30_main.uab
(7956) /build/linglong-1.6.3/libs/linglong/src/linglong/cli/cli.cpp:522 install from file "/home/james/linglong/wechat-tencent/com.tencent.wechat_arm64_4.0.0.30_main.uab"
100% install uab successfully
import uab to linglong successfully, delegate running operation to linglong.
./wechat: error while loading shared libraries: libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory
Error: CODE=-1
/build/linglong-1.6.3/libs/linglong/src/linglong/runtime/container.cpp:186 run container bWFpbjpjb20udGVuY2VudC53ZWNoYXQvNC4wLjAuMzAvYXJtNjQtezkwOTdhNWZkLWYzN2ItNDdmMy1iYjhjLTY5ODY2ZTc5NGVjNn0=: cli run: run command failed: /usr/bin/ll-box --cgroup-manager=disabled run -b /run/user/1000/linglong/bWFpbjpjb20udGVuY2VudC53ZWNoYXQvNC4wLjAuMzAvYXJtNjQtezkwOTdhNWZkLWYzN2ItNDdmMy1iYjhjLTY5ODY2ZTc5NGVjNn0= bWFpbjpjb20udGVuY2VudC53ZWNoYXQvNC4wLjAuMzAvYXJtNjQtezkwOTdhNWZkLWYzN2ItNDdmMy1iYjhjLTY5ODY2ZTc5NGVjNn0= retval=65280
ll-cli list 能看到,运行后,说缺少依赖。
james@UOS1070:~/linglong/wechat-tencent$ ll-cli list
id name version arch channel module description
com.baidu.baidunetdisk com.baidu.baidunetdisk 4.17.7.0 arm64 main runtime com.baidu.baidunetdisk
com.tencent.wechat WeChat 4.0.0.30 arm64 main binary linglongsha
james@UOS1070:~/linglong/wechat-tencent$ ll-cli run com.tencent.wechat
./wechat: error while loading shared libraries: libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory
Error: CODE=-1
/build/linglong-1.6.3/libs/linglong/src/linglong/runtime/container.cpp:186 run container bWFpbjpjb20udGVuY2VudC53ZWNoYXQvNC4wLjAuMzAvYXJtNjQtezQ4M2QxMjhlLWFkNzUtNDJiOC05OGYyLTMwOTczZDU3YzIyZn0=: cli run: run command failed: /usr/bin/ll-box --cgroup-manager=disabled run -b /run/user/1000/linglong/bWFpbjpjb20udGVuY2VudC53ZWNoYXQvNC4wLjAuMzAvYXJtNjQtezQ4M2QxMjhlLWFkNzUtNDJiOC05OGYyLTMwOTczZDU3YzIyZn0= bWFpbjpjb20udGVuY2VudC53ZWNoYXQvNC4wLjAuMzAvYXJtNjQtezQ4M2QxMjhlLWFkNzUtNDJiOC05OGYyLTMwOTczZDU3YzIyZn0= retval=65280
可能是20的Runtime里还没有xcb这个库,我在x86_64下使用23 Runtime不存在此问题。
可以按照下面几个文档依次安装ll-pica和参考案例手动添加这个库对应的包
https://linglong.dev/guide/start/install.html
https://linglong.dev/guide/ll-pica/adep.html
https://bbs.deepin.org/post/277728
root@UOS1070:/home/james/wechat/com.tencent.wechat# ll-builder build -v
[Build Target]
com.tencent.wechat
[Project Info]
Package Name: WeChat
Version: 4.0.0.30
Package Type: app
Build Arch: arm64
[Current Repo]
Name: stable
Url: https://mirror-repo-linglong.deepin.com
[Processing Dependency]
Package Version Module Status
(21193) /build/linglong-1.6.3/apps/ll-builder/src/main.cpp:377 [code -1 ] message:
/build/linglong-1.6.3/libs/linglong/src/linglong/builder/linglong_builder.cpp:425 build project /home/james/wechat/com.tencent.wechat/linglong.yaml: pull runtime
/build/linglong-1.6.3/libs/linglong/src/linglong/builder/linglong_builder.cpp:131 pull unknown:org.deepin.Runtime/23.0.1/unknown
/build/linglong-1.6.3/libs/linglong/src/linglong/repo/ostree_repo.cpp:1294 clear fuzzy reference unknown:org.deepin.Runtime/23.0.1/unknown
/build/linglong-1.6.3/libs/linglong/src/linglong/repo/ostree_repo.cpp:689 clear reference remotely: not found
/build/linglong-1.6.3/libs/linglong/src/linglong/repo/ostree_repo.cpp:620 clear reference remotely: unknown error