From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: stubdom vtpm build failure in staging Date: Wed, 28 Jan 2015 15:24:53 +0000 Message-ID: <1422458693.5187.19.camel@citrix.com> References: <20150128150850.GA4285@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150128150850.GA4285@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Quan Xu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2015-01-28 at 16:08 +0100, Olaf Hering wrote: > Current staging fails in the install-stubdom target: > > ... > [ 488s] tpm2_types.h:86: error: redefinition of typedef 'BYTE' > [ 488s] tcg.h:404: error: previous declaration of 'BYTE' was here > [ 488s] tpm2_types.h:87: error: redefinition of typedef 'BOOL' > [ 488s] tcg.h:405: error: previous declaration of 'BOOL' was here > [ 488s] tpm2_types.h:89: error: redefinition of typedef 'UINT16' > [ 488s] tcg.h:406: error: previous declaration of 'UINT16' was here > [ 488s] tpm2_types.h:90: error: redefinition of typedef 'UINT32' > [ 488s] tcg.h:407: error: previous declaration of 'UINT32' was here > [ 488s] tpm2_types.h:91: error: redefinition of typedef 'UINT64' > [ 488s] tcg.h:408: error: previous declaration of 'UINT64' was here > [ 488s] tpm2_types.h:219: error: redefinition of typedef 'TPM_HANDLE' > [ 488s] tcg.h:413: error: previous declaration of 'TPM_HANDLE' was here > [ 488s] tpm2_types.h:236: error: redefinition of typedef 'TPM_ALGORITHM_ID' > [ 488s] tcg.h:425: error: previous declaration of 'TPM_ALGORITHM_ID' was here > [ 488s] tpm2_types.h:285: error: redefinition of typedef 'TPMI_RH_HIERARCHY_AUTH' > [ 488s] tpm2_types.h:264: error: previous declaration of 'TPMI_RH_HIERARCHY_AUTH' was here > [ 488s] tpm2_types.h:307: error: redefinition of typedef 'TPM_ALG_ID' > [ 488s] tpm2_types.h:306: error: previous declaration of 'TPM_ALG_ID' was here > [ 488s] make[2]: Entering directory `/usr/src/packages/BUILD/xen-4.6.30230/non-dbg/stubdom/ioemu' > [ 488s] make[2]: *** [vtpmmgr.o] Error 1 I didn't see this on my pre-commit builds, which are debug=y, but I don't see anything in the code where debug= would make a difference. Do you perhaps have a CFLAG override in force which is making the compiler more pedantic about these things? Ian. > .... > > This happens with openSUSE 11.4 and SLES11 with > xen_hg_changeset Wed Jan 28 13:28:46 2015 +0000 hg: 30230:e44b74f5a177 > > Last successful build was: > xen_hg_changeset Wed Jan 28 09:59:46 2015 +0000 hg: 30213:242d3c94e590 > > Olaf > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel