From patchwork Sun Oct 27 09:02:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilles Talis X-Patchwork-Id: 1184948 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="T6h1nfv1"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 471BhV2XkYz9sPK for ; Sun, 27 Oct 2019 20:03:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C2DF48584F; Sun, 27 Oct 2019 09:03:04 +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 f+iQ3BOef9Ea; Sun, 27 Oct 2019 09:03:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id E882184353; Sun, 27 Oct 2019 09:03:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 0BBD71BF304 for ; Sun, 27 Oct 2019 09:03:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E501784353 for ; Sun, 27 Oct 2019 09:03: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 ryt5wMxGpbZ5 for ; Sun, 27 Oct 2019 09:03:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by whitealder.osuosl.org (Postfix) with ESMTPS id F3873838B8 for ; Sun, 27 Oct 2019 09:03:00 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id 11so6378417wmk.0 for ; Sun, 27 Oct 2019 02:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=rFEJ9TPX6s/iVZ5hOszzhw5yg4XGrL9Gr1ONi2qWCj8=; b=T6h1nfv1E2Uwb9XxNfaOV0snjc9+TlFizfB6kALPEcedEhWoE2bye+viiIQM/y9nQX 3A8tNaWU7iTCdp/AhzeRe92MhZdxrO9WPie5PCBda+0djepRv/Bmi2c3jSW9IGHVechE hV7Qv1JEoWuoTA8ePoY5rwU2T6QjgGKxmHza708QeRpl2FRpClxDEIeZlw5hRhpIDyi0 yFbSSFLbDkKEbzmVKlbiJDgA8edJZHx9qy317BYZf1ephhcDXMC2c/CSTTYKmOoigwZq dCwBif7yeDAZcCM34ToIFNRF5K+04gr2j/Mf8d9qpyfoAJgbHXj2WbvuWcerMFWODSz+ LbbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=rFEJ9TPX6s/iVZ5hOszzhw5yg4XGrL9Gr1ONi2qWCj8=; b=dyeKwNcg5VdMy2b3WTKLqM1IRAlgLFgPdJH+G3oWdsIml0wdj0LTaH2ia+8X06qM0I plKQacY7IEAVLTTADnP8LrmbLTT78D28pP5ZuVSRr2DICF2TQHGpfPS+UerLeG+6SRsP yPDcnHvVcaDLG5anlCmv+UCUJU6U7tL8AHbGcxvk2MDgLUmzl1iTmC7R4HB0mCNvnsMu S51l1OFEoqTFozQDbHD9yzAs1D8gattVTJYRV+ROCgcFHk1mP4F8xAgeTO7zO2y2SOo9 TfLVPPUJUkhTDyt2zAIEQdEwpaRqM81Pg8IynGIlCLdnFavcQnv2+i6UHsGoeyzPnqFA M2wg== X-Gm-Message-State: APjAAAXcmBriZbKQYw4jCbs6AY4DYg5XluUDSlssJ5oisia9hBH+3wG7 kDZ/6FIbqAjJyirV9rVZAejxhzGf X-Google-Smtp-Source: APXvYqyC5OoDqU1zx/Y/eLhVEw4X1hxq/wGckNpLHK0nVtZibEZWWdXiQaH2iG1lmilm1tCUeXrC2Q== X-Received: by 2002:a1c:e386:: with SMTP id a128mr1315862wmh.52.1572166979085; Sun, 27 Oct 2019 02:02:59 -0700 (PDT) Received: from gilles-Gazelle-Professional.home ([2a01:cb1d:b6:bd00:842c:7034:d2cd:2b79]) by smtp.gmail.com with ESMTPSA id r81sm7483946wme.16.2019.10.27.02.02.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2019 02:02:58 -0700 (PDT) From: Gilles Talis To: buildroot@buildroot.org Date: Sun, 27 Oct 2019 10:02:52 +0100 Message-Id: <20191027090252.28853-1-gilles.talis@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH] package/glog: bump to version 0.4.0 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gilles Talis , Rahul Bedarkar MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Also fixed a build issue reported by test-pkg. Signed-off-by: Gilles Talis --- ...ts-some-tests-require-HAVE_STACKTRAC.patch | 39 +++++++++++++++++++ package/glog/glog.hash | 2 +- package/glog/glog.mk | 5 ++- 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 package/glog/0001-symbolize_unitests-some-tests-require-HAVE_STACKTRAC.patch diff --git a/package/glog/0001-symbolize_unitests-some-tests-require-HAVE_STACKTRAC.patch b/package/glog/0001-symbolize_unitests-some-tests-require-HAVE_STACKTRAC.patch new file mode 100644 index 0000000000..10a84fbbe0 --- /dev/null +++ b/package/glog/0001-symbolize_unitests-some-tests-require-HAVE_STACKTRAC.patch @@ -0,0 +1,39 @@ +From 87b41094299cdc626876085549725ed0205ca830 Mon Sep 17 00:00:00 2001 +From: Gilles Talis +Date: Sat, 26 Oct 2019 19:10:43 +0200 +Subject: [PATCH] symbolize_unitests: some tests require HAVE_STACKTRACE + defined to be run + +The following test cases functions: +- TestWithPCInsideInlineFunction +- TestWithPCInsideNonInlineFunction +- TestWithReturnAddress +are defined if HAVE_STACKTRACE is defined + +Make sure they are invoked under the same condition + +Signed-off-by: Gilles Talis +--- + src/symbolize_unittest.cc | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/symbolize_unittest.cc b/src/symbolize_unittest.cc +index 9a17e7b..e11470e 100644 +--- a/src/symbolize_unittest.cc ++++ b/src/symbolize_unittest.cc +@@ -407,9 +407,12 @@ int main(int argc, char **argv) { + // used to install some callback function at InitGoogle() time. + InstallSymbolizeCallback(NULL); + ++# if defined(HAVE_STACKTRACE) + TestWithPCInsideInlineFunction(); + TestWithPCInsideNonInlineFunction(); + TestWithReturnAddress(); ++# endif ++ + return RUN_ALL_TESTS(); + # elif defined(OS_WINDOWS) || defined(OS_CYGWIN) + TestWithReturnAddress(); +-- +2.17.1 + diff --git a/package/glog/glog.hash b/package/glog/glog.hash index 6d75c32284..b9ba665400 100644 --- a/package/glog/glog.hash +++ b/package/glog/glog.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 7580e408a2c0b5a89ca214739978ce6ff480b5e7d8d7698a2aa92fadc484d1e0 glog-0.3.5.tar.gz +sha256 f28359aeba12f30d73d9e4711ef356dc842886968112162bc73002645139c39c glog-0.4.0.tar.gz # Hash for License file: sha256 0fc497129c5c69ff6f22da6933c7e4aaef082fde8437fd57680c2780100772a4 COPYING diff --git a/package/glog/glog.mk b/package/glog/glog.mk index 39bcf82ef8..6974f7bac7 100644 --- a/package/glog/glog.mk +++ b/package/glog/glog.mk @@ -4,12 +4,15 @@ # ################################################################################ -GLOG_VERSION = 0.3.5 +GLOG_VERSION = 0.4.0 GLOG_SITE = $(call github,google,glog,v$(GLOG_VERSION)) GLOG_INSTALL_STAGING = YES GLOG_LICENSE = BSD-3-Clause GLOG_LICENSE_FILES = COPYING +# No configure script provided, so we need autoreconf +GLOG_AUTORECONF = YES + ifeq ($(BR2_PACKAGE_GFLAGS),y) GLOG_DEPENDENCIES = gflags endif