红联Linux门户
Linux帮助

在红旗linux7下制作rpm包的问题

发布时间:2009-06-18 17:36:28来源:红联作者:王学松
我是个新手。。在网上找了个制作rpm包的教程。在制作是出现以下问题
[root@song SPECS]# rpmbuild -bb showvbird.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HCWbwc
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf showvbird-1.0
+ /bin/mkdir -p showvbird-1.0
+ cd showvbird-1.0
+ /bin/gzip -dc /root/rpmbuild/SOURCES/showvbird.tar.gz
+ /bin/tar -xvvf -
-rwxr-xr-x root/root 159 2009-06-18 01:52 showvbird.sh
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CJxQQo
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd showvbird-1.0
+ LANG=C
+ export LANG
+ unset DISPLAY
+ install -m 755 showvbird.sh /usr/local/bin/showvbird.sh
+ /usr/lib/rpm/check-buildroot
find: `/root/rpmbuild/BUILDROOT/showvbird-1.0-1.i386': No such file or directory
+ /usr/lib/rpm/redflag/brp-compress
/usr/lib/rpm/redflag/brp-compress: line 8: cd: /root/rpmbuild/BUILDROOT/showvbird-1.0-1.i386: No such file or directory
+ /usr/lib/rpm/redflag/brp-strip /usr/bin/strip
find: `/root/rpmbuild/BUILDROOT/showvbird-1.0-1.i386': No such file or directory
+ /usr/lib/rpm/redflag/brp-strip-static-archive /usr/bin/strip
find: `/root/rpmbuild/BUILDROOT/showvbird-1.0-1.i386': No such file or directory
+ /usr/lib/rpm/redflag/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
find: `/root/rpmbuild/BUILDROOT/showvbird-1.0-1.i386': No such file or directory
+ /usr/lib/rpm/brp-python-bytecompile
find: `/root/rpmbuild/BUILDROOT/showvbird-1.0-1.i386': No such file or directory
+ /usr/lib/rpm/redflag/brp-python-hardlink
find: `/root/rpmbuild/BUILDROOT/showvbird-1.0-1.i386': No such file or directory
+ /usr/lib/rpm/redflag/brp-java-repack-jars
find: `/root/rpmbuild/BUILDROOT/showvbird-1.0-1.i386': No such file or directory
Processing files: showvbird-1.0-1
error: File not found: /root/rpmbuild/BUILDROOT/showvbird-1.0-1.i386/usr/local/bin/showvbird.sh


RPM build errors:
File not found: /root/rpmbuild/BUILDROOT/showvbird-1.0-1.i386/usr/local/bin/showvbird.sh
不知道是什么原因。请各位高手指点下。。谢谢~
文章评论

共有 1 条评论

  1. Ooiqtd 于 2009-06-18 20:30:47发表:

    帮顶顶