misc/97442: IPSec-Tools do not compile

Thomas Schweikle tps at vr-web.de
Thu May 18 00:50:17 UTC 2006


>Number:         97442
>Category:       misc
>Synopsis:       IPSec-Tools do not compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 18 00:50:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Schweikle
>Release:        FreeBSD 6.1-STABLE
>Organization:
n.a.
>Environment:
FreeBSD hazel.tps 6.1-STABLE FreeBSD 6.1-STABLE #1: Mon May 15 14:28:37 CEST 2006     screen at hazel.tps:/usr/obj/usr/src/sys/HAZEL  i386
>Description:
# portupgrade ipsec-tools
--->  Upgrading 'ipsec-tools-0.6.5_1' to 'ipsec-tools-0.6.5_2' (security/ipsec-tools)
--->  Building '/usr/ports/security/ipsec-tools'
===>  Cleaning for openssl-0.9.8b
===>  Cleaning for libiconv-1.9.2_2
===>  Cleaning for perl-5.8.8
===>  Cleaning for gdbm-1.8.3_2
===>  Cleaning for gmake-3.80_2
===>  Cleaning for gettext-0.14.5_2
===>  Cleaning for libtool-1.5.22_2
===>  Cleaning for ipsec-tools-0.6.5_2
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for ipsec-tools-0.6.5_2
===>  Extracting for ipsec-tools-0.6.5_2
=> MD5 Checksum OK for ipsec-tools-0.6.5.tar.bz2.
=> SHA256 Checksum OK for ipsec-tools-0.6.5.tar.bz2.
===>  Patching for ipsec-tools-0.6.5_2
===>  Applying FreeBSD patches for ipsec-tools-0.6.5_2
===>   ipsec-tools-0.6.5_2 depends on file: /usr/local/lib/libcrypto.so.4 - found
===>   ipsec-tools-0.6.5_2 depends on shared library: iconv.3 - found
===>  Configuring for ipsec-tools-0.6.5_2
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
[...]
In file included from ./crypto_openssl.c:84:
./../../src/racoon/missing/crypto/sha2/sha2.h:105: error: conflicting types for 'SHA256_CTX'
/usr/local/include/openssl/sha.h:134: error: previous declaration of 'SHA256_CTX' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:110: error: conflicting types for 'SHA512_CTX'
/usr/local/include/openssl/sha.h:180: error: previous declaration of 'SHA512_CTX' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:121: error: conflicting types for 'SHA256_Init'
/usr/local/include/openssl/sha.h:141: error: previous declaration of 'SHA256_Init' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:121: error: conflicting types for 'SHA256_Init'
/usr/local/include/openssl/sha.h:141: error: previous declaration of 'SHA256_Init' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:122: error: conflicting types for 'SHA256_Update'
/usr/local/include/openssl/sha.h:142: error: previous declaration of 'SHA256_Update' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:122: error: conflicting types for 'SHA256_Update'
/usr/local/include/openssl/sha.h:142: error: previous declaration of 'SHA256_Update' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:123: error: conflicting types for 'SHA256_Final'
/usr/local/include/openssl/sha.h:143: error: previous declaration of 'SHA256_Final' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:123: error: conflicting types for 'SHA256_Final'
/usr/local/include/openssl/sha.h:143: error: previous declaration of 'SHA256_Final' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:129: error: conflicting types for 'SHA384_Init'
/usr/local/include/openssl/sha.h:184: error: previous declaration of 'SHA384_Init' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:129: error: conflicting types for 'SHA384_Init'
/usr/local/include/openssl/sha.h:184: error: previous declaration of 'SHA384_Init' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:130: error: conflicting types for 'SHA384_Update'
/usr/local/include/openssl/sha.h:185: error: previous declaration of 'SHA384_Update' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:130: error: conflicting types for 'SHA384_Update'
/usr/local/include/openssl/sha.h:185: error: previous declaration of 'SHA384_Update' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:131: error: conflicting types for 'SHA384_Final'
/usr/local/include/openssl/sha.h:186: error: previous declaration of 'SHA384_Final' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:131: error: conflicting types for 'SHA384_Final'
/usr/local/include/openssl/sha.h:186: error: previous declaration of 'SHA384_Final' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:137: error: conflicting types for 'SHA512_Init'
/usr/local/include/openssl/sha.h:188: error: previous declaration of 'SHA512_Init' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:137: error: conflicting types for 'SHA512_Init'
/usr/local/include/openssl/sha.h:188: error: previous declaration of 'SHA512_Init' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:138: error: conflicting types for 'SHA512_Update'
/usr/local/include/openssl/sha.h:189: error: previous declaration of 'SHA512_Update' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:138: error: conflicting types for 'SHA512_Update'
/usr/local/include/openssl/sha.h:189: error: previous declaration of 'SHA512_Update' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:139: error: conflicting types for 'SHA512_Final'
/usr/local/include/openssl/sha.h:190: error: previous declaration of 'SHA512_Final' was here
./../../src/racoon/missing/crypto/sha2/sha2.h:139: error: conflicting types for 'SHA512_Final'
/usr/local/include/openssl/sha.h:190: error: previous declaration of 'SHA512_Final' was here
*** Error code 1

Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.6.5/src/racoon.
*** Error code 1

Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.6.5/src.
*** Error code 1

Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.6.5.
*** Error code 1

Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.6.5.
*** Error code 1

Stop in /usr/ports/security/ipsec-tools.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade43433.0 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! security/ipsec-tools (ipsec-tools-0.6.5_1)    (compiler error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

>How-To-Repeat:
Just upgrade via portupgrade, or remove ipsec-tools using pkg_deinstall, then try to reinstall using portinstall.
>Fix:

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


More information about the freebsd-bugs mailing list