Re: Re: [ANNOUNCE] git-pasky-0.3

Petr Baudis
2005-04-13T09:46:42Z

Dear diary, on Wed, Apr 13, 2005 at 11:35:21AM CEST, I got a letter
where Russell King <rmk+lkml@arm.linux.org.uk> told me that...
> On Mon, Apr 11, 2005 at 03:57:58PM +0200, Petr Baudis wrote:
> > here goes git-pasky-0.3, my set of patches and scripts upon
> > Linus' git, aimed at human usability and to an extent a SCM-like usage.
>
> I tried this today, applied my patch for BE<->LE conversions and
> glibc-2.2 compatibility (attached, still requires cleaning though),
> and then tried git pull. Umm, whoops.
>
> Here's just a small sample of what happened:
>
> diff: /9a30ec42a6c4860d3f11ad90c1052823a020de32/show-files.c: No such file or directory
> diff: /85bf824bd24f034896f5820a2628148a246f8fd1/show-files.c: No such file or directory
> mkdir: cannot create directory `/9a30ec42a6c4860d3f11ad90c1052823a020de32': Permission denied
> mkdir: cannot create directory `/85bf824bd24f034896f5820a2628148a246f8fd1': Permission denied
> ./gitdiff-do: /9a30ec42a6c4860d3f11ad90c1052823a020de32/update-cache.c: No such
> file or directory
> ./gitdiff-do: /85bf824bd24f034896f5820a2628148a246f8fd1/update-cache.c: No such
> file or directory
> diff: /9a30ec42a6c4860d3f11ad90c1052823a020de32/update-cache.c: No such file or
> directory
> diff: /85bf824bd24f034896f5820a2628148a246f8fd1/update-cache.c: No such file or
> directory
> patch: **** Only garbage was found in the patch input.

I'll bet at the top of this you have a mktemp error.

mktemp turns out to be a PITA to use - on some older systems (e.g.
Mandrake 10 stock install) it has incompatible usage to the rest of the
world. When I will get a convenient infrastructure for making a shell
library, I will probably add a test for this to it.

Try to upgrade your mktemp. That Mandrake 10 user said that urpmi should
have a newer (correct) version.

I will make a patch which will refer to ?time instead instead of
?tim.sec for seconds. That should fix your problem.

--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
98% of the time I am right. Why worry about the other 3%.