Open zhangguanzhang opened 3 years ago
[root@centos7 diagnose-tools]# make pkg cd rpmbuild; sh rpmbuild.sh args1: args2: args3: args4: Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mxCeUT + umask 022 + cd /root/github/diagnose-tools/rpmbuild/BUILD + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ep4adt + umask 022 + cd /root/github/diagnose-tools/rpmbuild/BUILD + '[' /root/github/diagnose-tools/rpmbuild/BUILDROOT/diagnose-tools-2.1-release.el7.x86_64 '!=' / ']' + rm -rf /root/github/diagnose-tools/rpmbuild/BUILDROOT/diagnose-tools-2.1-release.el7.x86_64 ++ dirname /root/github/diagnose-tools/rpmbuild/BUILDROOT/diagnose-tools-2.1-release.el7.x86_64 + mkdir -p /root/github/diagnose-tools/rpmbuild/BUILDROOT + mkdir /root/github/diagnose-tools/rpmbuild/BUILDROOT/diagnose-tools-2.1-release.el7.x86_64 + mkdir -p /root/github/diagnose-tools/rpmbuild/BUILDROOT/diagnose-tools-2.1-release.el7.x86_64/usr/diagnose-tools/ + mkdir -p /root/github/diagnose-tools/rpmbuild/BUILDROOT/diagnose-tools-2.1-release.el7.x86_64/usr/bin/ + /bin/cp -rf /root/github/diagnose-tools/build/lib /root/github/diagnose-tools/rpmbuild/BUILDROOT/diagnose-tools-2.1-release.el7.x86_64/usr/diagnose-tools/ + /bin/cp -rf /root/github/diagnose-tools/build/bin /root/github/diagnose-tools/rpmbuild/BUILDROOT/diagnose-tools-2.1-release.el7.x86_64/usr/diagnose-tools/ + /bin/cp -rf /root/github/diagnose-tools/rpmbuild/../SOURCE/diagnose-tools/diagnose-tools /root/github/diagnose-tools/rpmbuild/BUILDROOT/diagnose-tools-2.1-release.el7.x86_64/usr/bin/ /bin/cp: cannot stat '/root/github/diagnose-tools/rpmbuild/../SOURCE/diagnose-tools/diagnose-tools': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.Ep4adt (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Ep4adt (%install) make: *** [pkg] Error 1