[tahoe-dev] n00b build problems on freebsd

Francois Deppierraz francois at ctrlaltdel.ch
Thu Jun 24 13:58:44 UTC 2010


Hello,

On 06/24/2010 07:27 AM, Randy Bush wrote:

> src/SHA256.c: In function 'hash_digest':
> src/SHA256.c:225: warning: passing argument 1 of 'hash_copy' discards qualifiers from pointer target type
> src/SHA256.c: In function 'ALG_new':
> src/SHA256.c:208: warning: passing argument 2 of 'sha_process' discards qualifiers from pointer target type
> src/SHA256.c: In function 'ALG_update':
> src/SHA256.c:208: warning: passing argument 2 of 'sha_process' discards qualifiers from pointer target type
> In file included from src/libtom/tomcrypt.h:72,
>                  from src/libtom/tomcrypt_des.c:11,
>                  from src/DES.c:32:
> src/libtom/tomcrypt_pk.h:502: error: conflicting types for 'wchar_t'
> /usr/include/stdlib.h:58: error: previous declaration of 'wchar_t' was here
> error: Setup script exited with error: command 'cc' failed with exit status 1

Looks like a bug in pycrypto.

This module is only being used by the Tahoe SFTP frontend, so if you
don't need it yet, a possible workaround is to comment out the pycrypto
dependency in file '_auto_deps.py' and the run the build again.

François



More information about the tahoe-dev mailing list