下午好! 请教一个问题。 我在提交代码时遇到了一个自动化测试的错误,编译失败了。 PMC RAID 卡驱动代码提交 ・ Pull Request !1 ・ src-oepkgs/smartHBA-2100-8i-driver - Gitee.com api.compass-ci.openeuler.org/result/rpmbuild/2023-07-28/vm-2p32g/openeuler-22.03-LTS-x86_64/x86_64-https--gitee.com-src-oepkgs-smartH/z9.25605689/output
测试报告中看起来是什么都没做就退出了, Nothing to do, 然后 complete 。最后显示编译失败了。请问这个是什么原因呢?
来自 https://gitee.com/src-oepkgs/smartHBA-2100-8i-driver * branch refs/pull/1/head ->; FETCH_HEAD
==>; /tmp/stdout Last metadata expiration check: 0:00:10 ago on 2023 年 07 月 28 日 星期五 13 时 13 分 50 秒 . Dependencies resolved. Nothing to do. Complete!
==>; /tmp/stderr find: '/lib/modules/5.10.0-60.18.0.50.oe2203.x86_64/*/include/linux': No such file or directory find: '/lib/modules/5.10.0-60.18.0.50.oe2203.x86_64/build': No such file or directory find: '/lib/modules/5.10.0-60.18.0.50.oe2203.x86_64/build': No such file or directory find: '/lib/modules/5.10.0-60.18.0.50.oe2203.x86_64/*/include/linux': No such file or directory find: '/lib/modules/5.10.0-60.18.0.50.oe2203.x86_64/build': No such file or directory find: '/lib/modules/5.10.0-60.18.0.50.oe2203.x86_64/build': No such file or directory install: cannot stat '5.10.0-60.18.0.50.oe2203.x86_64/smartpqi.ko': No such file or directory make: *** [Makefile:221: install] Error 1 错误: /var/tmp/rpm-tmp.VbSl43 (%install) 退出状态不好 /var/tmp/rpm-tmp.VbSl43 (%install) 退出状态不好
==>; /tmp/stdout failed to build rpms
Thanks, Siyu