Subject: Re: build.sh fails in libpam
To: Havard Eidnes <he@netbsd.org>
From: Arto Selonen <arto@selonen.org>
List: current-users
Date: 01/20/2005 21:12:04
Hi!

On Thu, 20 Jan 2005, Havard Eidnes wrote:

> Which version of openpam_impl.h and openpam_borrow_cred.c do you
> have (both in dist/openpam/lib/)?  My local source tree has
> version 1.3 of both.  The sha1 checksums of both files are as
> follows:
>
> stegg# openssl sha1 openpam_borrow_cred.c openpam_impl.h
> SHA1(openpam_borrow_cred.c)= 54624414bd4daf8e87417b63ff483ac71e8a9928
> SHA1(openpam_impl.h)= 37831c2a3c504c1686940645935af2b284643f7d
> stegg#

openpam_impl.h does not seem to have NetBSD version (or I failed to
figure out the version from the file itself). Very cursory look
shows it be to *similar* to
http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/dist/openpam/lib/openpam_impl.h?rev=1.3&content-type=text/plain

openssl sha1 openpam_borrow_cred.c openpam_impl.h
SHA1(openpam_borrow_cred.c)= 54624414bd4daf8e87417b63ff483ac71e8a9928
SHA1(openpam_impl.h)= 3abdac86936b5884a88bf43995be6dedc8405aa0

So, the header file does not match with what there should be.

> I suspect some leftover corruption which has not yet been overwritten.
> It may help to remove the offending file and re-update it.

This was one suspicion I had, but I did not go as far as trying to
checkout the sources from different mirror every time it failed. :)

I don't think merely updating it helps, as I have thrown all sources
away and checked them out *twice* (first time forgot -P, and since
it still failed decided to just do it from scratch again). The versions
I have came from the anoncvs2.us.NetBSD.org mirror, so somebody might
want to check openpam_impl.h in there, just in case.

I'll try another mirror, and hopefully get the proper files.
Thanks for the hashes, and checking into this!


Artsi
-- 
#######======------  http://www.selonen.org/arto/  --------========########
Everstinkuja 5 B 35                               Don't mind doing it.
FIN-02600 Espoo        arto@selonen.org         Don't mind not doing it.
Finland              tel +358 50 560 4826     Don't know anything about it.