<div dir="auto">我觉得:</div><div dir="auto"><br></div><div dir="auto">这个不会造成编译失败,只是会打印错误信息而已。</div><div dir="auto"><br></div><div dir="auto">之前超时不是这个原因,而是fork后的进程,如果没有找到浏览器,就要退出,结果返回了。</div><div dir="auto"><br></div><div dir="auto">之前没这个问题,是因为之前 meson test 不检查子进程是否都已经关闭。<br clear="all"><br clear="all"><div dir="auto"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Sent from Gmail Mobile</div></div></div><div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 13, 2024 at 18:56 xiao sheng wen(肖盛文) <<a href="mailto:atzlinux@sina.com">atzlinux@sina.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
Hi all,<br>
<br>
0.9.1 新版本已经上传到 Debian sid,可以在 Debian 的编译构建机器 buildd 64 位 CPU
架构上编译通过[1]。<br>
<br>
32 位 CPU 的架构,编译失败,已经提交 issue。<br>
<br>
<a href="https://github.com/iptux-src/iptux/issues/581" target="_blank">https://github.com/iptux-src/iptux/issues/581</a><br>
<br>
但是在我自己的笔记本电脑上,编译打包,还是有这个超时问题。<br>
附件是我这边的构建日志。<br>
<br>
如果单独运行 dh_auto_test 或者 xvfb-run -a dh_auto_test -- --verbose,<br>
<br>
屏幕会弹出 浏览器 和 文本编辑器打开网站和文件,但是还是在编译终端报同样的超时错误。<br>
<br>
后查看 Debian builldd 上的构建日志,发现因为没有安装 浏览器 和 文本编辑器,反而不执行打开操作,不超时,所以编译成功。<br>
<br>
<a href="https://buildd.debian.org/status/fetch.php?pkg=iptux&arch=amd64&ver=0.9.1-1&stamp=1715595216&raw=0" target="_blank">https://buildd.debian.org/status/fetch.php?pkg=iptux&arch=amd64&ver=0.9.1-1&stamp=1715595216&raw=0</a><br>
<br>
amd64 构建日志里面,有如下几行:<br>
<br>
[2024-05-13 10:13:17.465][iptux-139880792674752][WARN
]iptux/UiHelper.cpp:54:iptux_open_url:Can't open URL:
<a href="https://github.com/iptux-src/iptux/blob/master/NEWS" target="_blank">https://github.com/iptux-src/iptux/blob/master/NEWS</a>, reason:
Operation not supported<br>
[2024-05-13 10:13:17.465][iptux-139880792674752][WARN
]iptux/UiHelper.cpp:33:iptux_open_path:Can't open path:
/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.config/iptux/log/communicate.log,
reason: No application is registered as handling this file<br>
[2024-05-13 10:13:17.465][iptux-139880792674752][WARN
]iptux/UiHelper.cpp:33:iptux_open_path:Can't open path:
/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.config/iptux/log/system.log,
reason: No application is registered as handling this file<br>
<br>
提示: 打开 URL 的操作不支持,没有应用注册处理这个文件。<br>
<br>
<br>
<br>
[1]
<a href="https://buildd.debian.org/status/package.php?p=iptux&suite=sid" target="_blank">https://buildd.debian.org/status/package.php?p=iptux&suite=sid</a></div><div><br>
<br>
<br>
<div>在 2024/5/13 09:55, LI Daobing (Nikko)
写道:<br>
</div>
<blockquote type="cite">
<div dir="auto">Hi all,</div>
<div dir="auto"><br>
</div>
<div dir="auto">I found the problem, fork+exec are used in iptux
to open the url.</div>
<div dir="auto"><br>
</div>
<div dir="auto">But it will have problem if no browser found in
the system. The forked process will not quit.</div>
<div dir="auto"><br>
</div>
<div dir="auto">That’s why the test timeout.</div>
<div dir="auto"><br>
</div>
<div dir="auto">I will release 0.9.1 soon</div>
<div dir="auto"><br clear="all">
<div dir="auto">
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Sent from Gmail Mobile</div>
</div>
</div>
</blockquote>
<pre cols="72">--
肖盛文 xiao sheng wen
<a href="https://www.atzlinux.com" target="_blank">https://www.atzlinux.com</a> 《铜豌豆 Linux》基于 Debian 的 Linux 中文 桌面 操作系统
Debian QA page: <a href="https://qa.debian.org/developer.php?login=atzlinux%40sina.com" target="_blank">https://qa.debian.org/developer.php?login=atzlinux%40sina.com</a>
Debian salsa: <a href="https://salsa.debian.org/atzlinux-guest" target="_blank">https://salsa.debian.org/atzlinux-guest</a>
GnuPG Public Key: 0x00186602339240CB</pre>
</div>
</blockquote></div></div>