Hi experts,
I find this mail list in the packaging training presentation, would
you please help me solve a build problem in OBS?
This is my first time introducing new package to OBS, I want to
create a package for libiscsi, I did such things:
1 download libiscsi from
github(https://github.com/sahlberg/libiscsi), remove .git and
gitignore.
2 tar the source folder,get libiscsi-1.15.0.tar.gz.
Use libiscsi/packaging/RPM/makerpms.sh to generate the spec file.
3 upload the tar file and spec file to my branch
My branch is :
https://build.opensuse.org/package/show/home:LSZhu/libiscsi
When build, get an error in the build log:
79s] Processing files: libiscsi-testsuite-1.15.0-6.1.x86_64
[ 79s] error: File not found:
/home/abuild/rpmbuild/BUILDROOT/libiscsi-1.15.0-6.1.x86_64/usr/bin/iscsi-test-cu
What I tried:
I have tried to delete iscsi-test-cu from spec file, because I did
not install it when I build locally using "make".
I tried to change some path
Not working, this is my first time packaging.
What I know for sure is, if I try to run "./autogen, ./configure
and make" I can make it.
Any help are quite welcome, thanks for your time!
Thanks for your help
BR
Zhu Lingshan