作者holishing ( )
看板Maple
标题Fw: [闲聊] Test build pttbbs on Debian Bullseye
时间Mon Feb 22 01:19:53 2021
※ [本文转录自 PttCurrent 看板 #1WCfJ4Gj ]
作者: holishing ( ) 看板: PttCurrent
标题: [闲聊] Test build pttbbs on Debian Bullseye
时间: Mon Feb 22 01:13:35 2021
因为偷瞄 telnet ptt.cc 22 的版号资讯猜 pttbbs 系统还在 Debian Buster (10)
没偷跑到 testing (bullseye)
而 bullseye (11) 已经进入 Soft Freeze 了
https://wiki.debian.org/DebianBullseye
於是就让我们从粗略的方法来看将 pttbbs 程式移植到新系统可能有哪些
细节需要确认处理
目前是将容器的 base image 换成 bullseye 来测试
概略心得记录如下:
1. openresty 还没提供给 bullseye 的版本
如果 bbs server 和 websocket server 环境是分开来的可能还好
但我就不会分:p 而且也懒得找他们的套件打包脚本了...
结果发现硬装 buster repository 的 openresty 也没什麽问题
( 他自己一堆函式库像是 openssl 都另外命名自己再装一次了,
如此叠床架屋还有相依性问题也太惨? )
2. bmake 从 20160220 升级到 20200710 版 (虽然最新已经到 202102XX 了)
然後发现一堆 bsd.*.mk 的 rule 竟然都不能用了?
只好先忍痛 alias bmake="bmake -m /usr/share/bmake/mk-netbsd/" 後
再继续奋斗下去了, 本来以爲 bmake install 会跟 Arch 一样踩到雷但
现在看起来还没事?
3. multiple definition caught on clang 11
本来想说想办法加个 -fcommon ? (类似让 gcc 10 高兴一样的感觉 (
但还是不确定这个有没有关, 加上只要删掉三行就可以过了
所以还是生了个 patch 来代替
https://github.com/bbsdocker/imageptt/blob/87c0ec3/multipledef.patch
之後再看怎麽处理
其他需要自行解读的细节细节见:
https://github.com/bbsdocker/imageptt/actions
如果板友有更好更可信的测试方法,欢迎分享
--
目前已知现存的 BBS 站台列表:
https://bbslist.github.io (2021-1-25 更新)
https://hackmd.io/s/r1pdt-59b (即时更新,自由编辑)
自己的 ptt 自己架 :
https://github.com/ptt/pttbbs/wiki
让自己的 ptt 有转信 :
https://github.com/clamtestbbs/pttbbs-inndtest
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 140.116.246.190 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/PttCurrent/M.1613927620.A.42D.html
※ 发信站: 批踢踢实业坊(ptt.cc)
※ 转录者: holishing (140.116.246.190 台湾), 02/22/2021 01:19:53
1F:推 pichubaby: OxO" 02/22 18:28
2F:→ diabolica: 感谢分享 04/22 23:56