From patchwork Wed Sep 27 02:15:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 818896 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="tBdBFpoj"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y21dd5cV4z9sCZ for ; Wed, 27 Sep 2017 12:16:04 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F0D1E8958A; Wed, 27 Sep 2017 02:16:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hJ6L67loVIUv; Wed, 27 Sep 2017 02:16:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id D403989443; Wed, 27 Sep 2017 02:15:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id A04AB1BFFFA for ; Wed, 27 Sep 2017 02:15:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 98B0B300EB for ; Wed, 27 Sep 2017 02:15:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EJVGRc2EgT6J for ; Wed, 27 Sep 2017 02:15:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by silver.osuosl.org (Postfix) with ESMTPS id A9B022FD76 for ; Wed, 27 Sep 2017 02:15:57 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id j16so7818335pga.2 for ; Tue, 26 Sep 2017 19:15:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=/9hV2q7DUa+oApM3WNA5HWNwjAkhEX56Q6zr4JTDOqQ=; b=tBdBFpojJytA2IshP4PKhOVsO5C8iQV586Koi2jrPCr6ej00ubW6acnbrm88m9JLMY 3s980oD3v6pVGyUWDBN/TgExF3xKW2XZjauigY4wq1ZBF9WCpivxLJ3o6ORPDQasnW4A PGjGT8A7wwTpLBvqH1Qs+M6rbos+6v4XGl/8qhUuC4PX1DgDnY7KzFKnWJD2HNxLGLSo /WSkIBdpngdJR3K1uI8gzxVr75HQ+u1P65Sf0MCtdYWmCqtxfOkl7zBfPlBvti5ZOfFz jxupCVLmvSYAUjdAHhFx4ejW+H9ZggFphwWDiAB7xNUcN79FftqPQiOwAHaNSFSDsm6l vUPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=/9hV2q7DUa+oApM3WNA5HWNwjAkhEX56Q6zr4JTDOqQ=; b=A9Fo+VaN6+lJsrHgIf+GblKCjMaSZcS4itD/DSlvOCNZZFIi+ufupL3VIL1Z0DrZLh 03RCwQ+7SbXtXz8MBplfHDNXnd7dW0vsPVyl5geJXvueNNOkJcX8hf7MpbH93g+s+lVD EofPwzs/2HNZDnw4T3LdtlDifSEzfw3lyttEjwBw96+gj4gbTUVKaNxfHwqP90O5yoUG kEMwUp7H/ZOGrkWhv/4rU8Atl20a9yox6eTYwCg9CsNW10dSv/mXmzJUi5EajpsUQym8 Eluh1q6w5xbvJtn+hmdj1NstNA+24qIhsNwsQq8NmHCat0HUpeuQMeD9JeDMINRyGJCE 2F3A== X-Gm-Message-State: AHPjjUin6+6xWmkv2rhxVN8yaFTIXC0hijM0tDtlTNM4UoJo+iTg4NhG /tJr8GInRAEaJowiM6n87j9gB+7H X-Google-Smtp-Source: AOwi7QC3saYA28HMZpqG6tVNW8chBtiEJbSHy7IaC6LU4sFIECCij4M7g265KZT692taq0TtNstxnQ== X-Received: by 10.99.117.65 with SMTP id f1mr12920048pgn.104.1506478556726; Tue, 26 Sep 2017 19:15:56 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id n19sm23116525pfj.114.2017.09.26.19.15.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Sep 2017 19:15:54 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Wed, 27 Sep 2017 11:45:48 +0930 From: Joel Stanley To: buildroot@buildroot.org Date: Wed, 27 Sep 2017 11:45:47 +0930 Message-Id: <20170927021547.19421-1-joel@jms.id.au> X-Mailer: git-send-email 2.14.1 Cc: Alistair Popple Subject: [Buildroot] [PATCH] pdbg: bump version to latest 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" I got this error when attempting to build: aclocal: error: couldn't open directory 'm4': No such file or directory So we now have the post patch hook to ensure the m4 directory is present. In addition, the package now sets a variable with the Git SHA1 so that the binary contians the expected output for --version. Signed-off-by: Joel Stanley --- package/pdbg/pdbg.hash | 2 +- package/pdbg/pdbg.mk | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/package/pdbg/pdbg.hash b/package/pdbg/pdbg.hash index 16bf58024c61..2aec71817770 100644 --- a/package/pdbg/pdbg.hash +++ b/package/pdbg/pdbg.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 8edabb9ae98ce3b1892b768f2ee5e779a00476b63cdcc6f905e8464a0b7d96a3 pdbg-90a7370a11e727f1482dea6ff2bd6aec20c64805.tar.gz +sha256 e0b81fc65eb83692c5c07d7ae109882cefebf663444b7ea804d0544451c1a72f pdbg-77158819158d1d7053a737ac090d04fdfbfe9265.tar.gz diff --git a/package/pdbg/pdbg.mk b/package/pdbg/pdbg.mk index 184de8650d37..0864a6de9cd8 100644 --- a/package/pdbg/pdbg.mk +++ b/package/pdbg/pdbg.mk @@ -4,10 +4,17 @@ # ################################################################################ -PDBG_VERSION = 90a7370a11e727f1482dea6ff2bd6aec20c64805 +PDBG_VERSION = 77158819158d1d7053a737ac090d04fdfbfe9265 PDBG_SITE = $(call github,open-power,pdbg,$(PDBG_VERSION)) PDBG_LICENSE = Apache-2.0 PDBG_LICENSE_FILES = COPYING PDBG_AUTORECONF = YES +PDBG_MAKE_OPTS = "GIT_SHA1=\"${PDBG_VERSION}\"" + +define PDBG_PATCH_M4 + mkdir -p $(@D)/m4 +endef +PDBG_POST_PATCH_HOOKS += PDBG_PATCH_M4 + $(eval $(autotools-package))