<font size=2 face="sans-serif">Hello,</font>
<br>
<br><tt><font size=2>christophe.trophime@lncmi.cnrs.fr wrote on 18/06/2011
17:06:10:<br>
<br>
> christophe.trophime@lncmi.cnrs.fr </font></tt>
<br><tt><font size=2>> 18/06/2011 17:06</font></tt>
<br><tt><font size=2>> <br>
> A</font></tt>
<br><tt><font size=2>> <br>
> palazziandrea@yahoo.it</font></tt>
<br><tt><font size=2>> <br>
> cc</font></tt>
<br><tt><font size=2>> <br>
> sylvestre@debian.org, debian-science-<br>
> maintainers@lists.alioth.debian.org, mathieu.courtois@edf.fr</font></tt>
<br><tt><font size=2>> <br>
> Objet</font></tt>
<br><tt><font size=2>> <br>
> Re: Sponsoring of Code Aster [Was: Re: Code aster changelog]</font></tt>
<br><tt><font size=2>> <br>
> <br>
> On Jun 18, 2011, at 4:51 PM, Andrea Palazzi wrote:<br>
> <br>
> > Il giorno sab, 18/06/2011 alle 16.43 +0200, Sylvestre Ledru ha
scritto:<br>
> >> Hello,<br>
> >> <br>
> >> I received your previous email of yesterday but I have been
quite busy.<br>
> > Ok... since my mail to debian-science-maintainers were bounced,
I though<br>
> > that maybe also you didn't receive it; anyway, it's good to have
a copy<br>
> > on the list.<br>
> > <br>
> >>> For code-aster, I have still my issue when building with
cowbuilder:<br>
> >>> maybe it's caused by the bug #627540, that Cristophe
has already fixed<br>
> >>> in the repository;<br>
> >> I haven't uploaded yet because of the lintian error:<br>
> >> <br>
> >> E: code-aster-run: shell-script-fails-syntax-check<br>
> >> usr/lib/codeaster/asrun/data/mpirun_template<br>
> >> N: <br>
> >> N: Running this shell script with the shell's
-n option set fails,<br>
> >> which<br>
> >> N: means that the script has syntax errors.
The most common cause of<br>
> >> this<br>
> >> N: problem is a script expecting /bin/sh to
be bash checked on a<br>
> >> system<br>
> >> N: using dash as /bin/sh.<br>
> >> N: <br>
> >> N: Run e.g. sh -n yourscript to see the errors
yourself.<br>
> >> N: <br>
> >> N: Severity: important, Certainty: certain<br>
> >> N: <br>
> >> N: 2 tags overridden (1 error, 1 warning)<br>
> > This seems rather trivial to fix, if Christophe doesn't have
time I'll<br>
> > fix it this evening, ok? I'll also double-check if other lintian
errors<br>
> > arise.<br>
> > <br>
> > Bye<br>
> > Andrea<br>
> > <br>
> <br>
> I don't rember exactly how it works<br>
> * Does aster replace%() variables in mpirun_template script at runtime<br>
> in which case we can safely lintian-override the error?<br>
> <br>
> * Or do we have to replace %() by definitions found in /etc/codeaster/asrun?<br>
> <br>
> I think that it is the first case. When running aster it fills %()
<br>
> according to /etc/codeaster/asrun<br>
> I 'll try to check that with codeaster upstream<br>
> <br>
> Mathieu what is the right behaviour?<br>
</font></tt>
<br><tt><font size=2>Yes, it's a template script and the "python"
string '%(xxx)s' are replaced at runtime with some values of the configuration
file (/etc/codeaster/asrun) and of course some values depending of the
execution.</font></tt>
<br><tt><font size=2>Why don't just put '/bin/bash' in all the shell scripts
? (there are not run so often, there is no performance problem).</font></tt>
<br>
<br><tt><font size=2>MC</font></tt>
<br>