[opensuse-buildservice] No job control
Hi guys... I was trying to build a frankenpacket, OpenSUSE's latest kernel (from tumbleweed) for Fedora. Because I'm trying to build a package that needs the latest kernel (>= 2.6.36), and thought... OBS! Anyway, I'm getting this weird error: + %fdupes /home/abuild/rpmbuild/BUILDROOT/kernel-default-2.6.38.5-44.1.i386/lib /var/tmp/rpm-tmp.piWZCQ: line 279: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.piWZCQ (%install) Ok, not so weird. fdupes is trying to use fg/bg job control, and it seems fedora's build environment doesn't support it. Does anyone know a way around it? Without removing the fdupes line? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Freitag, 6. Mai 2011, 14:25:49 schrieb Claudio Freire:
Hi guys...
I was trying to build a frankenpacket, OpenSUSE's latest kernel (from tumbleweed) for Fedora. Because I'm trying to build a package that needs the latest kernel (>= 2.6.36), and thought... OBS!
Anyway, I'm getting this weird error:
+ %fdupes /home/abuild/rpmbuild/BUILDROOT/kernel-default-2.6.38.5-44.1.i386/lib /var/tmp/rpm-tmp.piWZCQ: line 279: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.piWZCQ (%install)
Ok, not so weird. fdupes is trying to use fg/bg job control, and it seems fedora's build environment doesn't support it. Does anyone know a way around it? Without removing the fdupes line?
define %fdupes echo in prjconf maybe.
-- 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
On Fri, May 6, 2011 at 2:30 PM, Adrian Schröter
define %fdupes echo
That would disable fdupes, I would like to keep it, as it's good packaging practice. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Fri, 2011-05-06 at 14:25 +0200, Claudio Freire wrote:
Hi guys...
I was trying to build a frankenpacket, OpenSUSE's latest kernel (from tumbleweed) for Fedora. Because I'm trying to build a package that needs the latest kernel (>= 2.6.36), and thought... OBS!
Anyway, I'm getting this weird error:
+ %fdupes /home/abuild/rpmbuild/BUILDROOT/kernel-default-2.6.38.5-44.1.i386/lib /var/tmp/rpm-tmp.piWZCQ: line 279: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.piWZCQ (%install)
BuildRequires: fdupes %fdupes is a macro that in your case is not yet defined. Dominqiue -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Fri, May 6, 2011 at 2:32 PM, Dimstar / Dominique Leuenberger
BuildRequires: fdupes
%fdupes is a macro that in your case is not yet defined.
I know, I already have that BuildRequires line. In fact, fdupes seems to be defined, only not working properly. Here: https://build.opensuse.org/package/live_build_log?arch=i586&package=kernel-default&project=home%3Aklaussfreire%3Abranches%3AopenSUSE%3ATumbleweed&repository=Fedora_12 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Fri, May 06, 2011 at 02:34:29PM +0200, Claudio Freire wrote:
On Fri, May 6, 2011 at 2:32 PM, Dimstar / Dominique Leuenberger
wrote: BuildRequires: fdupes
%fdupes is a macro that in your case is not yet defined.
I know, I already have that BuildRequires line. In fact, fdupes seems to be defined, only not working properly.
"No job control" means that it is not defined. Rpm does not change macros that aren't defined, thus %fdupes stays unchanged. The shell then interprets %<name> as "bring job <name> into the foreground", and prints an error. Just use %if 0%{?suse_version} %fdupes ... %endif Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Adrian Schröter
-
Claudio Freire
-
Dimstar / Dominique Leuenberger
-
Michael Schroeder