Mailinglist Archive: opensuse-buildservice (116 mails)

< Previous Next >
Re: [opensuse-buildservice] OBS private instance: Weird rpmbuild behaviour...
On Thu, Aug 02, 2012 at 02:02:02PM +0200, Martin Weber wrote:
Am 02.08.2012 13:54, schrieb Michael Schroeder:
On Thu, Aug 02, 2012 at 01:23:45PM +0200, Martin Weber wrote:
when I enable the Debuginfo flag, rpmbuild seems to skip the %prep phase
and then fails.
What's going on there?

Dunno, can you send me the specfile?

Ok, but how can the specfile affect rpmbuild's behaviour?

It's your

%global debug_package %{nil}

line that exposes a bug (actually some spaces) in build's way
of enabling debug packages. What happens is that


gets translated to


(note the speces at the start of the line). That works ok with the
normal debug_package macro, but with debug_package set to %{nil},
it'll expand to

That renders %prep useless as it must start at the first column.

I'll delete the extra spaces from the build script.


Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups