Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

diagnose-tools/rpmbuild/../SOURCE/diagnose-tools/diagnose-tools': No such file or directory #128

Open
zhangguanzhang opened this issue Aug 9, 2021 · 0 comments

Comments

@zhangguanzhang
Copy link

[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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant