From patchwork Mon Dec 28 13:30:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?UTF-8?q?No=C3=A9=20Rubinstein?= X-Patchwork-Id: 561298 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 217E6140C71 for ; Tue, 29 Dec 2015 00:31:18 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=XCY7IXUl; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 60A7D8B626; Mon, 28 Dec 2015 13:31:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RSSnCKjHDMhy; Mon, 28 Dec 2015 13:31:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 68FE58B609; Mon, 28 Dec 2015 13:31:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 016EA1C0F70 for ; Mon, 28 Dec 2015 13:31:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F32088B609 for ; Mon, 28 Dec 2015 13:31:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3Y3-ZKbwirCS for ; Mon, 28 Dec 2015 13:31:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 513B18B601 for ; Mon, 28 Dec 2015 13:31:10 +0000 (UTC) Received: by mail-wm0-f49.google.com with SMTP id l126so261974020wml.1 for ; Mon, 28 Dec 2015 05:31:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=CWSIujUCkSWuP9PSYGinrg7q0YOYPH7Umi8v7hP2DHc=; b=XCY7IXUlu603gM+Zw5HGQPtg8an+kvyKYiKrRS/e/T2nlUvvikLFi6gHGv0u6fmQSK hzKZRom2g2hxCJvYXtPhIbpkx8kG5yt/j0G8fLCRToD20mqA+lEuqc9Ka5DQuiYmuXo/ ay7H8c2MHwXnn7AtprBrslFwOpBT8+uqt7a3Z73RHOh2x0eYiVOCbvrU7QT3IT+Gd65n I62HO+qxO+zh6Zh94+nHQzHjIjml7kmSnFmYGT4GFSzOmIil/VdqhIi4q8OX3Tskecl0 v3lzq+D+sJ1+YAhwpM6BqI8HiaYm4rS/OasB9FanCYwKY56Fitl1m11K40fqOU799kFh RdZA== X-Received: by 10.28.89.69 with SMTP id n66mr62943738wmb.63.1451309468647; Mon, 28 Dec 2015 05:31:08 -0800 (PST) Received: from nrubinstein-de.aldebaran.lan ([195.190.86.18]) by smtp.gmail.com with ESMTPSA id 67sm2638370wmp.20.2015.12.28.05.31.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Dec 2015 05:31:08 -0800 (PST) From: "=?UTF-8?q?No=C3=A9=20Rubinstein?=" X-Google-Original-From: =?UTF-8?q?No=C3=A9=20Rubinstein?= To: buildroot@buildroot.org Date: Mon, 28 Dec 2015 14:30:56 +0100 Message-Id: <1451309456-27538-1-git-send-email-nrubinstein@aldebaran.com> X-Mailer: git-send-email 2.1.4 Cc: Thomas Petazzoni , =?UTF-8?q?No=C3=A9=20Rubinstein?= Subject: [Buildroot] [PATCH] tpm-tools: fix build failures caused by -Werror X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Change-Id: I1797d19039938e750c92bb89d05b2f05c10668ad --- I am aware there is another tpm-tools build issue, related to libintl: http://autobuild.buildroot.org/results/ce7/ce7d971c1e590b39a3e457ee59c3031817a3c969/build-end.log I'm leaving this one to smartin, who is currently working on a fix. --- .../0002-configure.in-remove-Werror.patch | 26 ++++++++++++++++++++++ package/tpm-tools/tpm-tools.mk | 1 + 2 files changed, 27 insertions(+) create mode 100644 package/tpm-tools/0002-configure.in-remove-Werror.patch diff --git a/package/tpm-tools/0002-configure.in-remove-Werror.patch b/package/tpm-tools/0002-configure.in-remove-Werror.patch new file mode 100644 index 0000000..4baae70 --- /dev/null +++ b/package/tpm-tools/0002-configure.in-remove-Werror.patch @@ -0,0 +1,26 @@ +From b060873f444d79f3f5aa388427cb1ede6665834a Mon Sep 17 00:00:00 2001 +From: Kent Yoder +Date: Mon, 5 Nov 2012 14:58:31 -0600 +Subject: [PATCH] configure.in: remove -Werror + +Signed-off-by: Kent Yoder +--- + configure.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.in b/configure.in +index da170d0..0f175be 100644 +--- a/configure.in ++++ b/configure.in +@@ -138,7 +138,7 @@ AC_TYPE_SIZE_T + AC_TYPE_SIGNAL + AC_TYPE_UID_T + +-CFLAGS="$CFLAGS -Wall -Werror -Wreturn-type -Wsign-compare" ++CFLAGS="$CFLAGS -Wall -Wreturn-type -Wsign-compare" + + AC_CONFIG_FILES(./Makefile \ + po/Makefile.in \ +-- +2.1.4 + diff --git a/package/tpm-tools/tpm-tools.mk b/package/tpm-tools/tpm-tools.mk index 20df489..9e4d66a 100644 --- a/package/tpm-tools/tpm-tools.mk +++ b/package/tpm-tools/tpm-tools.mk @@ -11,6 +11,7 @@ TPM_TOOLS_STRIP_COMPONENTS = 2 TPM_TOOLS_LICENSE = Common Public License Version 1.0 TPM_TOOLS_LICENSE_FILES = LICENSE TPM_TOOLS_DEPENDENCIES = trousers openssl +TPM_TOOLS_AUTORECONF = yes TPM_TOOLS_CONF_OPTS = --disable-pkcs11-support