[Bug 209714] security/tpm-tools: does not build on modern gcc with -Werror set
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 23 14:59:59 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209714
Bug ID: 209714
Summary: security/tpm-tools: does not build on modern gcc with
-Werror set
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: hrs at FreeBSD.org
Reporter: marino at FreeBSD.org
Flags: maintainer-feedback?(hrs at FreeBSD.org)
Assignee: hrs at FreeBSD.org
Please either remove the -Werror flag (which is supposed to be disabled for
ports anyway) or fix the following "error" that arrived with the recent update
of tpm:
Thanks!
tpm_nvrelease.o -MD -MP -MF .deps/tpm_nvrelease.Tpo -c -o tpm_nvrelease.o
tpm_nvrelease.c
tpm_nvcommon.c: In function 'parseStringWithValues':
tpm_nvcommon.c:143:32: error: comparison of constant '124' with boolean
expression is always false [-Werror=bool-compare]
if (!aArg[offset+numbytes] == '|' &&
^
tpm_nvcommon.c:143:32: error: logical not is only applied to the left hand side
of comparison [-Werror=logical-not-parentheses]
tpm_nvcommon.c:167:31: error: comparison of constant '124' with boolean
expression is always false [-Werror=bool-compare]
if (!aArg[offset+numbytes] == '|' &&
^
tpm_nvcommon.c:167:31: error: logical not is only applied to the left hand side
of comparison [-Werror=logical-not-parentheses]
mv -f .deps/tpm_nvdefine.Tpo .deps/tpm_nvdefine.Po
cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_LINUX -DTSS_LIB_IS_12
-DLIBICONV_PLUG -I/usr/local/include -pipe -Wno-unused-but-set-variable
-DLIBICONV_PLUG -O2 -fno-strict-aliasing -m64 -Wall -Werror -Wreturn-type
-Wsign-compare -MT tpm_nvwrite.o -MD -MP -MF .deps/tpm_nvwrite.Tpo -c -o
tpm_nvwrite.o tpm_nvwrite.c
cc1: all warnings being treated as errors
mv -f .deps/tpm_nvinfo.Tpo .deps/tpm_nvinfo.Po
Makefile:604: recipe for target 'tpm_nvcommon.o' failed
gmake[5]: *** [tpm_nvcommon.o] Error 1
gmake[5]: *** Waiting for unfinished jobs....
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list