Package Details: osc 0.174.0-1

Git Clone URL: https://aur.archlinux.org/osc.git (read-only, click to copy)
Package Base: osc
Description: Command line client for the openSUSE Build Service
Upstream URL: https://github.com/openSUSE/osc
Licenses: GPL2
Conflicts: osc-bash-completion, osc-git, zsh-completion-osc
Replaces: osc-bash-completion, zsh-completion-osc
Submitter: bwalle
Maintainer: Thaodan
Last Packager: Thaodan
Votes: 44
Popularity: 0.000016
First Submitted: 2008-04-05 17:38
Last Updated: 2021-07-31 10:59

Dependencies (9)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

pnorcks commented on 2013-02-13 20:57

JonnyJD: Interesting. I have never, to my knowledge, used an OBS instance that enabled any source services, so that must be why I haven't seen this issue before.

From the documentation, it appears that you can run `osc commit --noservice ...` if you want to skip source services execution.

Since this is clearly an issue that may arise in everyday usage with OBS, but is not a strict requirement for the tool, I will add 'obs-service-format_spec_file' as an optdepend.

JonnyJD commented on 2013-02-12 22:55

Quite interesting, so there is both, python-m2crypto and python2-m2crypto are in fact python2. python2-* should be on the safe side.


I also can't find a direct reference in osc or any other package (except the obvious) for "obs-service-format_spec_file".
However, when doing a "osc commit" for my libdiscid fork, it greets me with:

*** Error: Package obs-service-format_spec_file is required for this operation

when it isn't installed. So this must come from the server?
I also never needed this when working on my personal package, only for the libdiscid fork. Maybe official repositories (and their forks) have some special rules?
I tried wireshark. There is communication with the server before the error message is given, but I can't have an easy look, since it is https. Strace also only tells me there is a https connection to api.opensuse.org before it tries to access
stat("/usr/lib/obs/service/format_spec_file", 0x7fff69041380) = -1 ENOENT (No such file or directory)
I also didn't find anything in the build server git repos.

So I can only tell you, that this error message is real ;-)
(it works after installing my package, though.)


Anyways, just leave it like it is. Anybody interested can find the package in AUR or in the comments. Thanks anyways.

pnorcks commented on 2013-02-12 21:54

JonnyJD: the python-m2crypto *is* still a python2 lib, though I will change the dependency as the new package does exist now. Also updated the obs-build dependency.

Can you provide any more details about how the obs-service-format_spec_file hooks into "osc commit"? BTW, this looks similar to the old spec-cleaner project (http://gitorious.org/opensuse/spec-cleaner/) ...

pnorcks commented on 2013-02-12 21:52

JonnyJD: the python-m2crypto *is* still a python2 lib, though I will change the dependency as the new package does exist now. Also updated the obs-build dependency.

Can you provide any more details about the obs-service-format_spec_file hooks into "osc commit"? BTW, this looks similar to the old spec-cleaner project (http://gitorious.org/opensuse/spec-cleaner/) ...

JonnyJD commented on 2013-02-12 16:36

https://aur.archlinux.org/packages/obs-service-format_spec_file seems to be necessary for some "osc commit"s. I adopted and updated the package.

JonnyJD commented on 2013-01-19 01:56

Should depend on python2-m2crypto, not the Python 3 version of the lib.

Optdepend for "obs-build":
https://aur.archlinux.org/packages/obs-build-git

obs-build is the official name and my git package provides that name.

pnorcks commented on 2012-01-19 02:12

Adopting and bumping to the latest release (version control is now hosted on github).

Anonymous comment on 2011-10-14 20:32

I did some (major) rework of the PKGBUILD and updated it to the latest version (0.132.6).
New PKGBUILD is here: http://pastebin.com/1fiKcB1i

Main points I changed:
* use 'makedepends' instead of 'builddepends', which does not exist in ArchLinux
* use 'git pull' instead of 'git clone' if git-tree is already available
* build in a separate build-directory instead of the original git-directory
* changes to avoid a build error if 'makepkg' is used without '--holdver' option

But it is still advisable to build with --holdver option to not mess up the package version!

-Armin

Huulivoide commented on 2011-07-14 09:04

Oh and python and urlgrabber off from the makedepends

Huulivoide commented on 2011-07-13 18:30

updated PKGBUILD
http://paste.pocoo.org/show/437951/