[opensuse-buildservice] Unresolvable?
Hi all, I made a dummy spec file to test out whether the obs was resolving dependencies correctly, and it hasn't. https://build.opensuse.org/package/show?package=test&project=home%3Abravoall1552%3Atrinity It should not show unresolvable, it should build successfully (I built the same thing on my local obs and it succeeded) -- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Samstag, 29. Januar 2011, 12:36:15 schrieb Robert Xu:
Hi all,
I made a dummy spec file to test out whether the obs was resolving dependencies correctly, and it hasn't. https://build.opensuse.org/package/show?package=test&project=home%3Abravoall 1552%3Atrinity
It should not show unresolvable, it should build successfully (I built the same thing on my local obs and it succeeded)
This line will lead to a parse error: %if %{with_crap} It is an empty line behin %if, if that macro is not defined. Use something like %if 0%{?with_crap:1} instead -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Adrian Schröter wrote:
Am Samstag, 29. Januar 2011, 12:36:15 schrieb Robert Xu:
Hi all,
I made a dummy spec file to test out whether the obs was resolving dependencies correctly, and it hasn't. https://build.opensuse.org/package/show?package=test&project=home%3Abravoall 1552%3Atrinity
It should not show unresolvable, it should build successfully (I built the same thing on my local obs and it succeeded)
This line will lead to a parse error:
%if %{with_crap}
It is an empty line behin %if, if that macro is not defined. Use something like
%if 0%{?with_crap:1}
instead
Or use %bcond. You don't need to edit the spec file to change the flag then. %bcond_with crap ... %if %{with crap} ... cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Jan 31, 2011 at 04:16, Ludwig Nussel <ludwig.nussel@suse.de> wrote:
Adrian Schröter wrote:
Am Samstag, 29. Januar 2011, 12:36:15 schrieb Robert Xu:
Hi all,
I made a dummy spec file to test out whether the obs was resolving dependencies correctly, and it hasn't. https://build.opensuse.org/package/show?package=test&project=home%3Abravoall 1552%3Atrinity
It should not show unresolvable, it should build successfully (I built the same thing on my local obs and it succeeded)
This line will lead to a parse error:
%if %{with_crap}
It is an empty line behin %if, if that macro is not defined. Use something like
%if 0%{?with_crap:1}
instead
Or use %bcond. You don't need to edit the spec file to change the flag then.
%bcond_with crap ... %if %{with crap} ...
cu Ludwig
These work on my local obs, but they do not work at all on the build.opensuse.org buildservice. I can give write permissions if you want to experiment, but I just tried both ways (see revisions) and they both give me back unresolvable. Note - this is a test spec file, I don't care what happens to it. -- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Ludwig Nussel
-
Robert Xu