I always like to see brave people set off for a new adventure. I'm glad you're
working on your first packaging adventure.
And you're doing great so far. I actually haven't looked specifically at the
cause of your problem; I haven't looked at the content of the sources and the details
of the build process. But what I recommend that you do now -- before asking one of your
friendly packaging buddies for help -- is to look at what others have already done. For
osc search libiscsi
You will see that there are a few other attempts to package libiscsi already. Those other
copies of the package, from other similar packagers, should be very helpful for you. I
suspect that you will find an answer to the specific question that you have, as well as
answers to future questions. I don't know exactly your motivation for wanting to
build libiscsi, but it's possible that you simply want to have the end-result: a
usable RPM package. If that's your goal, you might just want to take the RPMs from
one of these other prjects. That's what's so remarkably helpful about OBS:
sharing knowledge, sharing results, and reducing work.
If one of your objectives is simply to learn how to package, you're doing a great job
getting started. The examples from the other existing libiscsi packages should be a great
guide for you.
11/19/2015 at 02:58 AM, Zhu Lingshan <lszhu(a)suse.com> wrote:
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:
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
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org