[Internal testing communication] 花了一天给v25手动升完Rust系统依赖库的感想
Tofloor
poster avatar
mozixun
Moderator
15 hours ago
Author

到我发文为止, Better Deepin Repo的Rust编译器版本已升级至1.95

1.Debian写的依赖库并非完整, 实际编译时仍然有版本过低导致cargo报错的问题, 点名wasm-tools的子依赖各种版本限制不写

image.png

2.嵌套依赖缺失: 一个我新拉的代码居然依赖这个rust-ahash-0.7废弃源码包,令人很不可思议

5ef824f3747a29f1c7c64934ae045a53.png

于是我用apt模拟出完整依赖计算关系,排查出原因是这包依赖一个叫rust-tracing-log的依赖,而deepin v25的rust-tracing-log版本老因此依赖librust-ahash-0.7这个废弃包, 于是我升级了rust-tracing-log及其配套依赖解决了这个问题

3.刚解决了一个依赖, 新的依赖问题就冒了出来, 因此我一口气更新了150+个Rust系统库依赖一起更了, wasm-tools及其子依赖漏写的版本控制,睡醒再搞
image.png

Reply Favorite View the author
All Replies
avatar
lyhdzxf
deepin
6 hours ago
#1

膜拜大佬like

Reply View the author
avatar
晚秋(lateautumn)
Moderator
6 hours ago
#2

厉害applaud

Reply View the author
avatar
153******35
deepin
5 hours ago
#3

专业,专注,就会有回报,建议直接开发编译linux7.0.6内核,适配deepin23.1 和25.1.0,这个内核有自动修复系统的功能。

Reply View the author
avatar
mozixun
Moderator
5 hours ago
#4
153******35

专业,专注,就会有回报,建议直接开发编译linux7.0.6内核,适配deepin23.1 和25.1.0,这个内核有自动修复系统的功能。

我7.0.8内核都编译完了

Reply View the author
avatar
153******35
deepin
4 hours ago
#5
mozixun

我7.0.8内核都编译完了

能不能发个链接给我,适配deepin23.1 吗?

Reply View the author
avatar
mozixun
Moderator
4 hours ago
#6
153******35

能不能发个链接给我,适配deepin23.1 吗?

不适配23.1, 因为我懒得适配, 23.1用6.12 LTS就行了, 如果你要升级可以git clone下https://github.com/deepin-community/kernel.git 然后自行make出deb包, 个人没有使用deepin v23.1的任何需求

Reply View the author