Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2016 14:59:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 209714] security/tpm-tools: does not build on modern gcc with -Werror set
Message-ID:  <bug-209714-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209714

            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@FreeBSD.org
          Reporter: marino@FreeBSD.org
             Flags: maintainer-feedback?(hrs@FreeBSD.org)
          Assignee: hrs@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 upd=
ate
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=3Dbool-compare]
     if (!aArg[offset+numbytes] =3D=3D '|' &&
                                ^
tpm_nvcommon.c:143:32: error: logical not is only applied to the left hand =
side
of comparison [-Werror=3Dlogical-not-parentheses]
tpm_nvcommon.c:167:31: error: comparison of constant '124' with boolean
expression is always false [-Werror=3Dbool-compare]
    if (!aArg[offset+numbytes] =3D=3D '|' &&
                               ^
tpm_nvcommon.c:167:31: error: logical not is only applied to the left hand =
side
of comparison [-Werror=3Dlogical-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....

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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