Thanks !
That fixed the issue.
I was also wondering why nested macros like this
one are not working:
%{_%{mpichName}_load}
This works, but is longer:
%if %mpichName == "mpich"
%{_mpich_load}
%else
%{_mpich2_load}
%endif
----------------------------------------
> Date: Tue, 25 Feb 2014 08:48:03 +0200
> From: jussilehtola(a)fedoraproject.org
> To: seb(a)boisvert.info; scitech(a)lists.fedoraproject.org
> Subject: Re: mpich in el6
>
> On Mon, 24 Feb 2014 16:38:18 -0500
> Sébastien Boisvert <seb(a)boisvert.info> wrote:
>> In build.log, I get:
>>
>> /var/tmp/rpm-tmp.u87pWh: line 50: fg: no job control
>> error: Bad exit status from /var/tmp/rpm-tmp.u87pWh (%build)
>>
>>
>> el6 build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=6566767 (the i696
build fails).
>>
>>
>> I am not sure what is going on.
>
> It's failing in the
> %{_mpich_load}
> macro, which should be
> %{_mpich2_load}
> for MPICH2 in EL6.
>
> And the same for %{_mpich2_unload}.
> --
> Susi Lehtola
> Fedora Project Contributor
> jussilehtola(a)fedoraproject.org