ports/185863: security/ossec-hids-client: ossec-hids-* ports don't build on FreeBSD 10 (clang related)
Rainer Duffner
rainer at ultra-secure.de
Sat Feb 15 15:30:02 UTC 2014
The following reply was made to PR ports/185863; it has been noted by GNATS.
From: Rainer Duffner <rainer at ultra-secure.de>
To: Hakisho Nukama <nukama at gmail.com>
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/185863: security/ossec-hids-client: ossec-hids-* ports
don't build on FreeBSD 10 (clang related)
Date: Sat, 15 Feb 2014 16:25:43 +0100
Hi,
now, it does not build anymore
*** Making os_net ***
clang -g -Wall -I../ -I../headers -DUSE_OPENSSL
-DARGV0=\"os_net\" -DXML_VAR=\"var\" -DOSSECHIDS -c os_net.c ar cru
os_net.a os_net.o ranlib os_net.a
*** Making os_crypto ***
clang -g -Wall -I../../ -I../../headers -DUSE_OPENSSL
-DARGV0=\"blowfish_op\" -DXML_VAR=\"var\" -DOSSECHIDS -c bf_op.c
bf_skey.c bf_enc.c ar cru bf_op.a bf_op.o bf_skey.o bf_enc.o ranlib
bf_op.a clang -g -Wall -I../../ -I../../headers -DUSE_OPENSSL
-DARGV0=\"md5_op\" -DXML_VAR=\"var\" -DOSSECHIDS -c md5.c md5_op.c
md5.c:158:27: warning: 'memset' call operates on objects of type
'struct MD5Context' while the size is based on a different type 'struct
MD5Context *' [-Wsizeof-pointer-memaccess] memset(ctx, 0,
sizeof(ctx)); /* In case it's sensitive */ ~~~ ^~~
md5.c:158:27: note: did you mean to dereference the argument to
'sizeof' (and multiply it by the number of elements)? memset(ctx, 0,
sizeof(ctx)); /* In case it's sensitive */ ^~~ 1 warning
generated. ar cru md5_op.a md5_op.o md5.o ranlib md5_op.a
gcc -g -Wall -I../../ -I../../headers -DUSE_OPENSSL
-DARGV0=\"sha1_op\" -DXML_VAR=\"var\" -DOSSECHIDS -c sha1_op.c gcc: not
found *** Error code 127
Stop.
make[3]: stopped
in /wrkdirs/usr/ports/security/ossec-hids-server/work/ossec-hids-2.7/src/os_crypto/sha1
*** Error code 1
Stop.
make[2]: stopped
in /wrkdirs/usr/ports/security/ossec-hids-server/work/ossec-hids-2.7/src/os_crypto
Error Making os_crypto
*** Error code 1
Stop.
make[1]: stopped
in /wrkdirs/usr/ports/security/ossec-hids-server/work/ossec-hids-2.7/src
*** Error code 1
Stop.
make: stopped in /usr/ports/security/ossec-hids-server
===> Cleaning for ossec-hids-server-2.7
build of /usr/ports/security/ossec-hids-server ended at Sat Feb 15
16:07:35 CET 2014
More information about the freebsd-ports-bugs
mailing list