[Opendnssec-develop] Build problems

Alex Dalitz AlexD at nominet.org.uk
Wed Aug 11 09:37:46 UTC 2010


Hi - 

I'm having lots of problems building and testing OpenDNSSEC. I get lots of warning from building libhsm :

gcc -DHAVE_CONFIG_H -I. -I/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src -I../../common  -I/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/common -I../../common -I/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/cryptoki_compat -I/usr/local/include -I/opt/local/include/libxml2   -g -O2 -pedantic -Wall -Wextra -D_THREAD_SAFE  -MT libhsm.o -MD -MP -MF .deps/libhsm.Tpo -c -o libhsm.o /Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c: In function ‘hsm_pkcs11_check_error’:
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:244: warning: implicit declaration of function ‘strlcpy’
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c: In function ‘hsm_pkcs11_load_functions’:
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:297: warning: ISO C forbids conversion of object pointer to function pointer type
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:319: warning: passing argument 1 of ‘pGetFunctionList’ from incompatible pointer type
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c: In function ‘hsm_get_key_algorithm’:
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:759: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:759: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c: In function ‘hsm_get_key_size_rsa’:
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:800: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:800: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c: In function ‘hsm_find_object_handle_for_id’:
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:865: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:865: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:866: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:866: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:866: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c: In function ‘hsm_get_id_for_object’:
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:956: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:956: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c: In function ‘hsm_list_keys_session_internal’:
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1045: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1045: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1052: warning: ISO C90 forbids variable-size array ‘object’
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c: In function ‘hsm_prompt_pin’:
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1797: warning: implicit declaration of function ‘getpass’
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1797: warning: assignment makes pointer from integer without a cast
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c: In function ‘hsm_generate_rsa_key’:
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1980: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1980: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1980: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1981: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1981: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1982: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1982: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1983: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1983: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1984: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1984: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1985: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1985: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1986: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1986: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1987: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1987: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1988: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1988: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1979: warning: ISO C90 forbids mixed declarations and code
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1992: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1992: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1992: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1993: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1993: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1994: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1994: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1995: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1995: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1996: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1996: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1997: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1997: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1998: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1998: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1999: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:1999: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:2000: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:2000: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:2001: warning: initializer element is not computable at load time
/Users/alex/.hudson/jobs/OpenDNSSEC/workspace/src/libhsm/src/libhsm.c:2001: warning: initializer element is not computable at load time

Additionally, the enforcer tests all fail - however, the unit test system tells me that it has PASSed and all is OK :

SQL error near line 91: no such table: keypairs
SQL error near line 92: no such table: keypairs
SQL error near line 93: no such table: keypairs
SQL error near line 94: no such table: keypairs
SQL error near line 95: no such table: keypairs
SQL error near line 96: no such table: keypairs
SQL error near line 97: no such table: keypairs

WARNING - Suite initialization failed for KsmImport.

--Run Summary: Type      Total     Ran  Passed  Failed
               suites       18       8     n/a      10
               tests        78      46      46       0
               asserts     726     726     726       0
PASS: test
=============
1 test passed
=============


Anyone have any idea what is going on here, please?

Thanks!


Alex.




More information about the Opendnssec-develop mailing list