下午好!
请教一个问题。
我在提交代码时遇到了一个自动化测试的错误,编译失败了。
PMC RAID卡驱动代码提交 ・ Pull Request !1 ・ src-oepkgs/smartHBA-2100-8i-driver - Gitee.com<https://gitee.com/src-oepkgs/smartHBA-2100-8i-driver/pulls/1>
api.compass-ci.openeuler.org/result/rpmbuild/2023-07-28/vm-2p32g/openeuler-…<https://api.compass-ci.openeuler.org/result/rpmbuild/2023-07-28/vm-2p32g/op…>
测试报告中看起来是什么都没做就退出了,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