Mailinglist Archive: opensuse-buildservice (63 mails)

< Previous Next >
Re: [opensuse-buildservice] source_validator and the gpg signature
On Sat, Jan 28, 2017 at 11:23:35AM +0100, Johannes Kastl wrote:
Hi there,

I just tried to add a gpg signature to my lxc-2.0.x package. When
running the source_validator locally, as suggested on [1], I get this:

LANG=C osc service localrun source_validator
(E) error: mentioned in spec file is not tracked.
(E) Macro mentioned in spec file is not tracked.
(E) %beta_rel mentioned in spec file is not tracked.
(E) has mentioned in spec file is not tracked.
(E) empty mentioned in spec file is not tracked.
(E) body mentioned in spec file is not tracked.
gpg: assuming signed data in
gpg: Signature made Mon Jan 23 18:49:45 2017 CET
gpg: using RSA key 0xC638974D64792D67
gpg: Good signature from "St�phane Graber <stgraber@xxxxxxxxxxxx>"
gpg: aka "St�phane Graber <stgraber@xxxxxxxxxx>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to
the owner.
Primary key fingerprint: 602F 5676 63E5 93BC BD14 F338 C638 974D
6479 2D67
Aborting: service call failed:
/usr/lib/obs/service/source_validator --outdir

I am not sure what the source_validator actually does not like (apart
from the beta_rel variable, but it seems to fail. The signature is
verified ok, but some other errors apparently are a problem for the

But I can check in the package and it builds without problems.

Misconfiguration on my local machine?

Tumbleweed (with the openSUSE Tools repo)

Any ideas?

The source validator does not like the complicated macro constructions.

%if "x" != "x"
%global beta_rel
%global beta_dot .%{beta_rel}
%global norm_rel 1

You might be able to define %global beta_rel also in the else branch to help.

Ciao, Marcus
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >