[GMP build] rm: invalid argument: `' with coreutils 8.0

Marc Glisse marc.glisse at normalesup.org
Tue Jan 12 13:12:27 CET 2010


On Mon, 11 Jan 2010, Marc Glisse wrote:

> It looks like the problem is inside libtool. Did you try adding set -x to 
> libtool and rerunning this command to see which rm fails this way?

I just checked, and there is in libtool:
       $run $rm "$lobj" "$output_obj"
where output_obj may be empty. There is also a similar line with obj 
instead of lobj. You can try to report it against libtool if you want.

>> Note that with the coreutils 8.0,
>>
>>  rm -f ''
>> 
>> is an error.
>
> A bit painful, and apparently they changed a few things related to empty 
> string arguments in the following releases...

And in fact, rm -f '' is not an error in 8.3.

-- 
Marc Glisse


More information about the gmp-bugs mailing list