Mailinglist Archive: opensuse-packaging (284 mails)

< Previous Next >
Re: [opensuse-packaging] Content of %build section ignored
  • From: Volker Stoppe <grenzlaeufer@xxxxxxx>
  • Date: Mon, 21 Feb 2011 12:11:41 +0100
  • Message-id: <4D62486D.7070503@gmx.net>
Thanks for you quick response Ismail and Dave,

Am 18.02.2011 14:00, schrieb İsmail Dönmez:
Has anyone had the situation, that the contents of the %build-section of a spec
file is ignored? All source files are extrackted and patches are applied but as
a resault I only get a source.rpm. /var/tmp doesn´t contain any temporary
script files.
My spec worked for a while and I can´t remember what I could have changed.

I see this in %prep section

%define mysqllib -L/usr/lib/mysql
%endif
%ifarch x86_64
%define mysqllib -L/usr/lib64/mysql
%endif

The first %endif has no corresponding %if line. That might be causing problems.

I have added an ifarch and after that I replaced the whole section with the line:

%define mysqllib -L/usr/%{_libdir)/mysql

Unfortunately it doesn´t make a difference. The result is:

-----------------------------------------------------------------
----- building postfix.spec (user abuild)
-----------------------------------------------------------------
-----------------------------------------------------------------
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define  'disturl  obs://build.opensuse.org/home:grenzlaeufer/SLE_11_SP1/04211905f6464106355eee5ce8726060-postfix'  /usr/src/packages/SOURCES/postfix.spec
[   47.676977] System halted.

https://build.opensuse.org/package/show?package=postfix&project=home%3Agrenzlaeufer

I would really like to know what is going wrong. Maybe someone could have a look:
https://build.opensuse.org/package/show?package=postfix&project=home%3Agrenzlaeufer

Greetings

volk
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups