Mailinglist Archive: opensuse-packaging (174 mails)

< Previous Next >
Re: [opensuse-packaging] Problem with %cmake macro - "fg: no job control"
  • From: "Dmitriy Perlow" <dap@xxxxxxx>
  • Date: Wed, 13 Nov 2013 18:46:52 +0300
  • Message-id: <op.w6hvgegsodbuyo@darkness>
Michal Srb <msrb@xxxxxxxx> Wed, 13 Nov 2013 18:36:04 +0300:

Hello,

I am trying to package program build using cmake (not kde).
(home:michalsrb:branches:X11:XOrg/tigervnc)

I try to use the cmake macro as is defined in /etc/rpm/macros.cmake from cmake package.

I use it by simply calling it, it doesn't require any arguments:
%cmake

It works fine locally, but in buildservice I get following error:
[ 203s] + '%cmake'
[ 203s] /var/tmp/rpm-tmp.fYOMWM: line 31: fg: no job control
[ 203s] error: Bad exit status from /var/tmp/rpm-tmp.fYOMWM (%build)

That is shell complaining about % character, so the cmake macro looks to be expanded into nothing (?).

I have cmake in BuildRequires.

Any ideas what I am doing wrong?

Michal

Hello.
"fg: no job control" means that there are no such macro. Could you use simple cmake?

--
Best regards,
Dmitriy DA(P).DarkneSS Perlow @ Linux x64
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
References