Re: index-pack died on pread
Michal Rokos, Wed, Jul 25, 2007 22:07:50 +0200:
Show 13 quoted lines
> On 7/23/07, Alex Riesen <raa.lkml@gmail.com> wrote:
> >On 7/23/07, Michal Rokos <michal.rokos@gmail.com> wrote:
> >> fatal: cannot pread pack file: No such file or directory (n=0,
> >> errno=2, fd=3, ptr=40452958, len=428, rdy=0, off=123601)
> >> fatal: index-pack died with error code 128
> >
> >strange. pread(2) should not return ENOENT. Not in HP-UX
> >not anywhere.
> >
> >Could you recompile with NO_PREAD=1 and try again?
> >Maybe HP-UX pread(2) implementation is just broken.
>
> When I tried to recompile with NO_PREAD=1 the problem disappeared.
I think that's a fair indication for HP-UX has a broken pread(2).
> Do you want me to try something more with it?
No. Put NO_PREAD=1 in your config.mak on HP-UX.