From: Alex Riesen Date: Wed, 25 Jul 2007 20:48:17 GMT Subject: Re: index-pack died on pread Message-ID: <20070725204817.GA3645@steel.home> In-Reply-To: <333e1ca10707251307k21b5f58bjb8e5803173e3d9b3@mail.gmail.com> Michal Rokos, Wed, Jul 25, 2007 22:07:50 +0200: > On 7/23/07, Alex Riesen wrote: > >On 7/23/07, Michal Rokos 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.