Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2006 17:06:25 -0700 (MST)
From:      "Aaron Dalton" <aaron@daltons.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/94889: Build Error - security/libtomcrypt
Message-ID:  <200603240006.k2O06P2E035719@moondance.itsy-bitsy.net>
Resent-Message-ID: <200603240010.k2O0AH2t039425@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94889
>Category:       ports
>Synopsis:       Build Error - security/libtomcrypt
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 24 00:10:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Aaron Dalton
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD moondance.itsy-bitsy.net 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
Error occurs when trying to 'make' security/libtomcrypt.  Build log 
attached.

>How-To-Repeat:
# cd /usr/ports/security/libtomcrypt && make

>Fix:

	

--- putty.log begins here ---
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2006.03.23 17:03:30 =~=~=~=~=~=~=~=~=~=~=~=
pwd

/usr/ports/security/libtomcrypt
moondance# make

===>  Found saved configuration for libtomcrypt-1.08
===>  Extracting for libtomcrypt-1.10
=> MD5 Checksum OK for crypt-1.10.tar.bz2.
=> SHA256 Checksum OK for crypt-1.10.tar.bz2.
===>  Patching for libtomcrypt-1.10
===>  Applying FreeBSD patches for libtomcrypt-1.10
===>   libtomcrypt-1.10 depends on file: /usr/local/include/tommath.h - found
===>   libtomcrypt-1.10 depends on file: /usr/local/include/tfm.h - found
===>   libtomcrypt-1.10 depends on executable: gmake - found
===>  Configuring for libtomcrypt-1.10
===>  Building for libtomcrypt-1.10
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE -DENCRYPT_ONLY -c src/ciphers/aes/aes.c -o src/ciphers/aes/aes_enc.o
src/ciphers/aes/aes.c: In function `rijndael_enc_ecb_encrypt':
src/ciphers/aes/aes.c:292: warning: 's0' might be used uninitialized in this function
src/ciphers/aes/aes.c:292: warning: 's1' might be used uninitialized in this function
src/ciphers/aes/aes.c:292: warning: 's2' might be used uninitialized in this function
src/ciphers/aes/aes.c:292: warning: 's3' might be used uninitialized in this function
src/ciphers/aes/aes.c: At top level:
src/ciphers/aes/aes.c:728: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/aes/aes.o src/ciphers/aes/aes.c
src/ciphers/aes/aes.c: In function `rijndael_ecb_encrypt':
src/ciphers/aes/aes.c:292: warning: 's0' might be used uninitialized in this function
src/ciphers/aes/aes.c:292: warning: 's1' might be used uninitialized in this function
src/ciphers/aes/aes.c:292: warning: 's2' might be used uninitialized in this function
src/ciphers/aes/aes.c:292: warning: 's3' might be used uninitialized in this function
src/ciphers/aes/aes.c: In function `rijndael_ecb_decrypt':
src/ciphers/aes/aes.c:472: warning: 's0' might be used uninitialized in this function
src/ciphers/aes/aes.c:472: warning: 's1' might be used uninitialized in this function
src/ciphers/aes/aes.c:472: warning: 's2' might be used uninitialized in this function
src/ciphers/aes/aes.c:472: warning: 's3' might be used uninitialized in this function
src/ciphers/aes/aes.c: At top level:
src/ciphers/aes/aes.c:728: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/anubis.o src/ciphers/anubis.c
src/ciphers/anubis.c:1521: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/blowfish.o src/ciphers/blowfish.c
src/ciphers/blowfish.c: In function `blowfish_ecb_encrypt':
src/ciphers/blowfish.c:396: warning: 'L' might be used uninitialized in this function
src/ciphers/blowfish.c:396: warning: 'R' might be used uninitialized in this function
src/ciphers/blowfish.c: In function `blowfish_ecb_decrypt':
src/ciphers/blowfish.c:458: warning: 'L' might be used uninitialized in this function
src/ciphers/blowfish.c:458: warning: 'R' might be used uninitialized in this function
src/ciphers/blowfish.c: At top level:
src/ciphers/blowfish.c:568: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/cast5.o src/ciphers/cast5.c
src/ciphers/cast5.c: In function `cast5_ecb_encrypt':
src/ciphers/cast5.c:544: warning: 'R' might be used uninitialized in this function
src/ciphers/cast5.c:544: warning: 'L' might be used uninitialized in this function
src/ciphers/cast5.c: In function `cast5_ecb_decrypt':
src/ciphers/cast5.c:597: warning: 'R' might be used uninitialized in this function
src/ciphers/cast5.c:597: warning: 'L' might be used uninitialized in this function
src/ciphers/cast5.c: At top level:
src/ciphers/cast5.c:696: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/des.o src/ciphers/des.c
src/ciphers/des.c:1855: warning: unused parameter 'skey'
src/ciphers/des.c:1862: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/khazad.o src/ciphers/khazad.c
src/ciphers/khazad.c:831: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/noekeon.o src/ciphers/noekeon.c
src/ciphers/noekeon.c: In function `noekeon_ecb_encrypt':
src/ciphers/noekeon.c:118: warning: 'a' might be used uninitialized in this function
src/ciphers/noekeon.c:118: warning: 'b' might be used uninitialized in this function
src/ciphers/noekeon.c:118: warning: 'c' might be used uninitialized in this function
src/ciphers/noekeon.c:118: warning: 'd' might be used uninitialized in this function
src/ciphers/noekeon.c: In function `noekeon_ecb_decrypt':
src/ciphers/noekeon.c:172: warning: 'a' might be used uninitialized in this function
src/ciphers/noekeon.c:172: warning: 'b' might be used uninitialized in this function
src/ciphers/noekeon.c:172: warning: 'c' might be used uninitialized in this function
src/ciphers/noekeon.c:172: warning: 'd' might be used uninitialized in this function
src/ciphers/noekeon.c: At top level:
src/ciphers/noekeon.c:278: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/rc2.o src/ciphers/rc2.c
src/ciphers/rc2.c:335: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/rc5.o src/ciphers/rc5.c
src/ciphers/rc5.c:295: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/rc6.o src/ciphers/rc6.c
src/ciphers/rc6.c:322: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/safer/safer.o src/ciphers/safer/safer.c
src/ciphers/safer/safer.c:446: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/safer/safer_tab.o src/ciphers/safer/safer_tab.c
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/safer/saferp.o src/ciphers/safer/saferp.c
src/ciphers/safer/saferp.c:528: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/skipjack.o src/ciphers/skipjack.c
src/ciphers/skipjack.c:319: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/twofish/twofish.o src/ciphers/twofish/twofish.c
src/ciphers/twofish/twofish.c:680: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/ciphers/xtea.o src/ciphers/xtea.c
src/ciphers/xtea.c:184: warning: unused parameter 'skey'
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/encauth/ccm/ccm_memory.o src/encauth/ccm/ccm_memory.c
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/encauth/ccm/ccm_test.o src/encauth/ccm/ccm_test.c
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/encauth/eax/eax_addheader.o src/encauth/eax/eax_addheader.c
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/encauth/eax/eax_decrypt.o src/encauth/eax/eax_decrypt.c
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/encauth/eax/eax_decrypt_verify_memory.o src/encauth/eax/eax_decrypt_verify_memory.c
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/encauth/eax/eax_done.o src/encauth/eax/eax_done.c
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/encauth/eax/eax_encrypt.o src/encauth/eax/eax_encrypt.c
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/encauth/eax/eax_encrypt_authenticate_memory.o src/encauth/eax/eax_encrypt_authenticate_memory.c
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/encauth/eax/eax_init.o src/encauth/eax/eax_init.c
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/encauth/eax/eax_test.o src/encauth/eax/eax_test.c
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/encauth/gcm/gcm_add_aad.o src/encauth/gcm/gcm_add_aad.c
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/encauth/gcm/gcm_add_iv.o src/encauth/gcm/gcm_add_iv.c
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/encauth/gcm/gcm_done.o src/encauth/gcm/gcm_done.c
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/encauth/gcm/gcm_gf_mult.o src/encauth/gcm/gcm_gf_mult.c
cc -O -pipe  -I/usr/local/include -DLTM_DESC -DTFM_DESC -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE   -c -o src/encauth/gcm/gcm_init.o src/encauth/gcm/gcm_init.c
src/encauth/gcm/gcm_init.c: In function `gcm_init':
src/encauth/gcm/gcm_init.c:93: error: `gcm_shift_table' undeclared (first use in this function)
src/encauth/gcm/gcm_init.c:93: error: (Each undeclared identifier is reported only once
src/encauth/gcm/gcm_init.c:93: error: for each function it appears in.)
gmake: *** [src/encauth/gcm/gcm_init.o] Error 1
*** Error code 2

Stop in /usr/ports/security/libtomcrypt.
moondance# 
--- putty.log ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603240006.k2O06P2E035719>