- 论坛徽章:
- 0
|
linux编译rpm包错误
an -c -P'cat > /dev/null' e1000e || true
======================== Installation successful ==========================
Copying files to the temporary directory...OK
Stripping ELF binaries...OK
Compressing man pages...OK
Building file list...OK
Kernel modules found. Calling depmod in the postinstall script
Building RPM package... FAILED!
*** Failed to build the package
Do you want to see the log file? [y]: y
Building target platforms: x86_64
Building for target x86_64
Processing files: src-20180530-1.x86_64
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib/modules
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib/modules/2.6.32-431.el6.x86_64
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib/modules/2.6.32-431.el6.x86_64/updates
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib/modules/2.6.32-431.el6.x86_64/updates/drivers
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib/modules/2.6.32-431.el6.x86_64/updates/drivers/net
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib/modules/2.6.32-431.el6.x86_64/updates/drivers/net/e1000e
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib/modules/2.6.32-431.el6.x86_64/updates/drivers/net/e1000e/e1000e.ko
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/usr
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/usr/share
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/usr/share/man
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/usr/share/man/man7
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/usr/share/man/man7/e1000e.7.gz
求指教,正常checkinstall应该就会done,产生一个rpm安装包
这个报错是什么情况?
|
|