Hi,

Niko Tyni wrote:
> On Tue, Jul 11, 2006 at 02:12:03PM +0200, Samuel Mimram wrote:
>> Julien Danjou wrote:
>>> There was a problem while autobuilding your package:
>>>
>>>> Automatic build of menhir_20060615.dfsg-1 on avidan by sbuild/i386 0.47
>>>> Build started at 20060711-1327
>> I don't really understand, what buildd is that? Yours? Apparently menhir
>> was cleanly compiled on every official buildd [1], and I cannot
>> reproduce your error.
>>
>>>> /usr/bin/ocamlfind ocamlfind ocamldep *.ml *.mli > .depend
>> It should be simply "ocamlfind ocamldep *.ml *.mli > .depend" (the
>> /usr/bin/ocamlfind should not be there). The error is most likely to be
>> a makefile error, so it should be mostly arch-independent, and -- again
>> -- I cannot reproduce it.
> 
> I can reproduce this with /bin/sh pointing to dash.
>  
>> Do you see anything wrong with this assignation? Could you try to
>> execute this shell command and send me the output? In particular, do you
>> see anything when you type "which ocamlfind &>/dev/null"?
> 
> % bash -c 'which ocamlfind &>/dev/null' ; echo $?
> 0
> % dash -c 'which ocamlfind &>/dev/null' ; echo $?
> /usr/bin/ocamlfind
> 0

Yes, I had a discussion with Julien on IRC and it turned out that it is
due to &>/dev/null which is a bashism and should be replaced by 2>&1
>/dev/null.

Thanks for your help!

Cheers,

Samuel.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to