[opensuse-packaging] problem with spec file for kdepim3
I tried to build source package for kdepim and rpmbuild complained on missing dependencies. # rpmbuild -bs kdepim3.spec error: Failed build dependencies: pilot-link-devel is needed by kdepim3-3.5.7.enterprise.0.20070904.708012-9.i586 gpgme-devel is needed by kdepim3-3.5.7.enterprise.0.20070904.708012-9.i586 # zypper in pilot-link-devel gpgme-devel package 'pilot-link-devel' not found package 'gpgme-devel' not found I found replacements using YaST search for what provides them and installed them. After that source package was built without complains. # rpm -q --whatprovides pilot-link-devel gpgme-devel libpisock-devel-0.12.2-26 libgpgme-devel-1.1.5-31 I changed kdepim3.spec replacing nonexistant files with above 2. This is the 'diff -u' output: --- kdepim3.spec 2007-09-25 16:59:15.000000000 -0500 +++ kdepim3.spec-new 2007-12-31 14:51:35.000000000 -0600 @@ -18,10 +18,10 @@ BuildRequires: gnokii-devel %endif %if %suse_version > 1010 -BuildRequires: libopensync-devel pilot-link-devel +BuildRequires: libopensync-devel libpisock-devel %endif %if %suse_version > 1000 -BuildRequires: gpgme-devel +BuildRequires: libgpgme-devel %else BuildRequires: gpgme libgpg-error-devel %endif I hope this was correct way to change spec file. -- Regards, Rajko --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Montag 31 Dezember 2007 schrieb Rajko M.:
I tried to build source package for kdepim and rpmbuild complained on missing dependencies.
# rpmbuild -bs kdepim3.spec error: Failed build dependencies: pilot-link-devel is needed by kdepim3-3.5.7.enterprise.0.20070904.708012-9.i586 gpgme-devel is needed by kdepim3-3.5.7.enterprise.0.20070904.708012-9.i586
# zypper in pilot-link-devel gpgme-devel package 'pilot-link-devel' not found package 'gpgme-devel' not found
use zypper install -C and it will install the packages providing it Greetings, Stephan --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Monday 31 December 2007, Rajko M. wrote:
I tried to build source package for kdepim and rpmbuild complained on missing dependencies.
while it might work with rpmbuild, please use "build" (available from openSUSE:Tools iirc) or "osc build" for building opensuse packages. Greetings, Dirk -- RPMLINT information under http://en.opensuse.org/Packaging/RpmLint --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Dirk Mueller <dmueller@suse.de> [2008-01-03 14:19]:
"osc build" for building opensuse packages.
Just a side question: Is it possible to use "osc build" without importing that package into the Build Service? Thanks, Bernhard --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, 3 Jan 2008, Bernhard Walle wrote:
* Dirk Mueller <dmueller@suse.de> [2008-01-03 14:19]:
"osc build" for building opensuse packages.
Just a side question: Is it possible to use "osc build" without importing that package into the Build Service?
Only if you fix osc. Richard. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 2008-01-03 15:49:23 +0100, Richard Guenther wrote:
On Thu, 3 Jan 2008, Bernhard Walle wrote:
* Dirk Mueller <dmueller@suse.de> [2008-01-03 14:19]:
"osc build" for building opensuse packages.
Just a side question: Is it possible to use "osc build" without importing that package into the Build Service?
Only if you fix osc.
Hmm it's not osc's fault. At the moment the api only supports: GET /build/<project>/<repository>/<arch>/<package>/_buildinfo POST /build/<project>/<repository>/<arch>/<package>/_buildinfo I think something like: POST /build/<build_target>/<arch>/_buildinfo [1] is needed to get the buildinfo without importing anything to the BS. Marcus [1]: the spec file will be send via POST to the server and the BS calculates the dependencies etc. for this build-target. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thursday 03 January 2008 23:25:05 wrote Marcus Hüwe:
On 2008-01-03 15:49:23 +0100, Richard Guenther wrote:
On Thu, 3 Jan 2008, Bernhard Walle wrote:
* Dirk Mueller <dmueller@suse.de> [2008-01-03 14:19]:
"osc build" for building opensuse packages.
Just a side question: Is it possible to use "osc build" without importing that package into the Build Service?
Only if you fix osc.
Hmm it's not osc's fault. At the moment the api only supports:
GET /build/<project>/<repository>/<arch>/<package>/_buildinfo POST /build/<project>/<repository>/<arch>/<package>/_buildinfo
I think something like:
POST /build/<build_target>/<arch>/_buildinfo [1]
is needed to get the buildinfo without importing anything to the BS.
This would also need to be added to the backend ... One open question is, which release numbers shall the backend use in that case ? Maybe simply falling back to "0" ... I think the package name is not needed for anything else atm. best is you create an enhancement bugreport in bugzilla for this. thanks adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 2008-01-04 12:10:36 +0100, Adrian Schröter wrote:
On Thursday 03 January 2008 23:25:05 wrote Marcus Hüwe:
On 2008-01-03 15:49:23 +0100, Richard Guenther wrote:
On Thu, 3 Jan 2008, Bernhard Walle wrote:
* Dirk Mueller <dmueller@suse.de> [2008-01-03 14:19]:
"osc build" for building opensuse packages.
Just a side question: Is it possible to use "osc build" without importing that package into the Build Service?
Only if you fix osc.
Hmm it's not osc's fault. At the moment the api only supports:
GET /build/<project>/<repository>/<arch>/<package>/_buildinfo POST /build/<project>/<repository>/<arch>/<package>/_buildinfo
I think something like:
POST /build/<build_target>/<arch>/_buildinfo [1]
is needed to get the buildinfo without importing anything to the BS.
This would also need to be added to the backend ...
One open question is, which release numbers shall the backend use in that case ? Maybe simply falling back to "0" ...
I think the package name is not needed for anything else atm.
best is you create an enhancement bugreport in bugzilla for this.
No need to create an enhancement report for the backend because it already supports it;) If you use "_repository" as a package name you can retrieve the buildinfo for a package which doesn't exist in the BS (this feature is hidden in "bs_repserver", sub getbuildinfo_post). Example: curl -u <username>:<pass> -X POST -d "$(cat <specfile>)" \ https://api.opensuse.org/build/openSUSE:10.3/standard/i586/_repository/_buil... Maybe we should add this to the apidocs page? Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Friday 04 January 2008 14:08:25 wrote Marcus Hüwe:
On 2008-01-04 12:10:36 +0100, Adrian Schröter wrote:
On Thursday 03 January 2008 23:25:05 wrote Marcus Hüwe:
On 2008-01-03 15:49:23 +0100, Richard Guenther wrote:
On Thu, 3 Jan 2008, Bernhard Walle wrote:
* Dirk Mueller <dmueller@suse.de> [2008-01-03 14:19]:
"osc build" for building opensuse packages.
Just a side question: Is it possible to use "osc build" without importing that package into the Build Service?
Only if you fix osc.
Hmm it's not osc's fault. At the moment the api only supports:
GET /build/<project>/<repository>/<arch>/<package>/_buildinfo POST /build/<project>/<repository>/<arch>/<package>/_buildinfo
I think something like:
POST /build/<build_target>/<arch>/_buildinfo [1]
is needed to get the buildinfo without importing anything to the BS.
This would also need to be added to the backend ...
One open question is, which release numbers shall the backend use in that case ? Maybe simply falling back to "0" ...
I think the package name is not needed for anything else atm.
best is you create an enhancement bugreport in bugzilla for this.
No need to create an enhancement report for the backend because it already supports it;) If you use "_repository" as a package name you can retrieve the buildinfo for a package which doesn't exist in the BS (this feature is hidden in "bs_repserver", sub getbuildinfo_post).
Example: curl -u <username>:<pass> -X POST -d "$(cat <specfile>)" \ https://api.opensuse.org/build/openSUSE:10.3/standard/i586/_repository/_bui ldinfo
Maybe we should add this to the apidocs page?
right .... I have added some lines to the api doc in svn (not yet online). your are the hero of the day (hotd :) adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
2008/1/3, Bernhard Walle <bwalle@suse.de>:
* Dirk Mueller <dmueller@suse.de> [2008-01-03 14:19]:
"osc build" for building opensuse packages.
Just a side question: Is it possible to use "osc build" without importing that package into the Build Service?
Yes, it is sufficient to have the source tarball, patches and spec file on your local hard disk. Regards Ladislav.
Thanks, Bernhard --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Ladislav Michnovič <ladislav.michnovic@gmail.com> [2008-01-03 15:50]:
2008/1/3, Bernhard Walle <bwalle@suse.de>:
* Dirk Mueller <dmueller@suse.de> [2008-01-03 14:19]:
"osc build" for building opensuse packages.
Just a side question: Is it possible to use "osc build" without importing that package into the Build Service?
Yes, it is sufficient to have the source tarball, patches and spec file on your local hard disk.
But you have to create the package in the BS, right? Thanks, Bernhard --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
MjAwOC8xLzMsIEJlcm5oYXJkIFdhbGxlIDxid2FsbGVAc3VzZS5kZT46Cj4gKiBMYWRpc2xhdiBNaWNobm92acSNIDxsYWRpc2xhdi5taWNobm92aWNAZ21haWwuY29tPiBbMjAwOC0wMS0wMyAxNTo1MF06Cj4gPiAyMDA4LzEvMywgQmVybmhhcmQgV2FsbGUgPGJ3YWxsZUBzdXNlLmRlPjoKPiA+ID4gKiBEaXJrIE11ZWxsZXIgPGRtdWVsbGVyQHN1c2UuZGU+IFsyMDA4LTAxLTAzIDE0OjE5XToKPiA+ID4gPiAib3NjIGJ1aWxkIiBmb3IgYnVpbGRpbmcgb3BlbnN1c2UgcGFja2FnZXMuCj4gPiA+Cj4gPiA+IEp1c3QgYSBzaWRlIHF1ZXN0aW9uOiBJcyBpdCBwb3NzaWJsZSB0byB1c2UgIm9zYyBidWlsZCIgd2l0aG91dAo+ID4gPiBpbXBvcnRpbmcgdGhhdCBwYWNrYWdlIGludG8gdGhlIEJ1aWxkIFNlcnZpY2U/Cj4gPgo+ID4gWWVzLCBpdCBpcyBzdWZmaWNpZW50IHRvIGhhdmUgdGhlIHNvdXJjZSB0YXJiYWxsLCBwYXRjaGVzIGFuZCBzcGVjCj4gPiBmaWxlIG9uIHlvdXIgbG9jYWwgaGFyZCBkaXNrLgo+Cj4gQnV0IHlvdSBoYXZlIHRvIGNyZWF0ZSB0aGUgcGFja2FnZSBpbiB0aGUgQlMsIHJpZ2h0PwoKWWVzLiBZb3UgaGF2ZSB0byBjcmVhdGUgcGFja2FnZSBpbiBCdWlsZCBTZXJ2aWNlLCBidXQgeW91IGRvbid0IG5lZWQKdG8gY29weSBzb3VyY2VzIGludG8gQlMuCiBMYWRpc2xhdi4K---------------------------------------------------------------------To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.orgFor additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (8)
-
Adrian Schröter
-
Bernhard Walle
-
Dirk Mueller
-
Ladislav Michnovič
-
Marcus Hüwe
-
Rajko M.
-
Richard Guenther
-
Stephan Kulow