From patchwork Sun Dec 29 18:44:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182599 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5507160ild; Sun, 29 Dec 2019 10:46:20 -0800 (PST) X-Google-Smtp-Source: APXvYqwGPcD4TE9HlKYBcriibWSbT3HQlVzZhkzMa4XKNxGAA9ja95MCv7Vr3HncfqVKnk65gz3K X-Received: by 2002:aa7:8088:: with SMTP id v8mr67215289pff.142.1577645180172; Sun, 29 Dec 2019 10:46:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645180; cv=none; d=google.com; s=arc-20160816; b=ZLinmSULWMk5Nh2hjFKtL/astIJdkCvt/ATDAffJDK+6tC5MeERl4iE0MbRhcMdE6f Gt/tY8ClL5Jf6F0rG1Qea3BWBxMLecsvy7bCubmxDknWIVg2iqTc1I0N5utvC27b1h3h UuENPgN9UDc9CWdfe594pQiGCjmeQu65J9/j+n1NYIo0SV9W8KjDd/HWDaVtZGGPpSmL ZdQLEtH0bKbI9waRcTN/AOWsElIr9TmFaTEOGmNY6h567jnyhcfNG+HLFqocfngAZuz/ rpT+g3jfU9MaBiA+s8Ts4rDJ/X5s65yGyrzSfarrBoPKi/dR/R38ikV0ixAae8djcHfh qicQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=gf1++A+cjRwi2P0YAJvMoSnY0zoG1g8HSgJqRfTorSw=; b=mPywSonyGeDKDnBbQhDiOd9mzPHvzdlr/FqVsF2uPDFevW4cNAwt5UURBrxsEXIOl8 eiEZxpntADZ7PElJk4I3zZHL7nlRxA9hrPkjN9BL2UlH4RWyLqTyoKc6/Dok/YgwNtbu wlmjXRUuBefLTDr+3N+MGxCpNZY5m6dyWMYoqMV4akFb+HRipQfduO7LXcArIEnLRPUz WNCLUunAwT7rZcQaMJI0xhgxtVrwsqHZ6AB2qT/E7wjA61DkPSg967e2CCA05orR6duZ +4/G99U+y/wZn/t6uiiJHWofOqMD4odMdR1Ta4xX7+kLRH0mjiaWowRQIoZzYV382X/m 6uHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=RKi9ivNK; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id c26si35735601pfj.113.2019.12.29.10.46.19; Sun, 29 Dec 2019 10:46:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=RKi9ivNK; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 25A7E7F960; Sun, 29 Dec 2019 18:45:04 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mail.openembedded.org (Postfix) with ESMTP id EEFCA7F888 for ; Sun, 29 Dec 2019 18:44:39 +0000 (UTC) Received: by mail-pl1-f169.google.com with SMTP id g6so13818720plt.2 for ; Sun, 29 Dec 2019 10:44:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pFpcqFStI5VNUZYnZDY19UudTzIxDkdYnUbKkU8IRNU=; b=RKi9ivNKJn4ACbNKyOXs4+68sMZ2fmdXeLCvgabuzfiSf5kL/1DMCCfwxt+YPHZYnQ +uBGPgXeoRoWcCAUY5bJWxxG7cgiN81Y4G+glmW5eQhmQ4szpx0glXcBfx1rqX1c7O8Q smnuFa5GzZEHmEwQvd/ZlrJH+89kYyNn0FFh0l5sMrO0g64A4uQRFKlmiVwKN9unv202 Fmbs/VXEwcnFe8tbzCsHndEAz2CUWr3x649E8M5W4To5c14syGVTOvIgI23kfKyIsCiW uUXvWin7eljFyo8HZ+b6AdoL2ve5UBmqzfyZfUlM/AkvoJW/ujglEf+pr+s2oETOyJhe 4TMQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=pFpcqFStI5VNUZYnZDY19UudTzIxDkdYnUbKkU8IRNU=; b=E8hiEGhxRIOwTsVjMkSCNR1H+I4emmUIjM68cVGIuBYJAq4MT9Ba1dXzHUW6ULN9M0 0tbbeqk0hs03ggFrftYygAQWE3ILgVivf5DazIIAJ7Lvxh2tktQrQ02JcwoNn+dbF0+u CtXihgT2L7Mh+d5axBrEBYehhyxEeZAMvSKwpBaiQpke8ztR7z7m/u8Ukzk5Ncs+8Ckl g8jLSDURY0pOKVgBebP3T+toqs5X4ekmhRr+RhI9ZPiuA5w7bLBpskxNU+zHnB1xeqsf OLIUywok5DcgOSh02QDTED4jLHZEpoxevXANgglkkdM6d8Guv6rBfRnjuPpU7oWVIPIQ N/uA== X-Gm-Message-State: APjAAAWtVvm5rJglvyij6kSyv115U2j9niRwvPkzyk5h89F1Nv+qBpsA H8NVby0P1WYhnVkMFq/57QVg/kmt6Vk= X-Received: by 2002:a17:90a:da01:: with SMTP id e1mr41902504pjv.29.1577645080674; Sun, 29 Dec 2019 10:44:40 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:40 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:11 -0800 Message-Id: <20191229184415.19514-15-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 15/19] libdnf: Include mising X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This header is needed for runtime_error element Signed-off-by: Khem Raj --- ...-include-stdexcept-for-runtime_error.patch | 65 +++++++++++++++++++ meta/recipes-devtools/libdnf/libdnf_0.28.1.bb | 1 + 2 files changed, 66 insertions(+) create mode 100644 meta/recipes-devtools/libdnf/libdnf/0001-include-stdexcept-for-runtime_error.patch -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-include-stdexcept-for-runtime_error.patch b/meta/recipes-devtools/libdnf/libdnf/0001-include-stdexcept-for-runtime_error.patch new file mode 100644 index 0000000000..cedf539243 --- /dev/null +++ b/meta/recipes-devtools/libdnf/libdnf/0001-include-stdexcept-for-runtime_error.patch @@ -0,0 +1,65 @@ +From 5f8eee5040d7074710cd542fc50f7a40918321fc Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Dec 2019 14:30:22 -0800 +Subject: [PATCH] include for runtime_error + +Fixes + +error: class 'libdnf::ModulePackageContainer::Exception' does not have any field named 'runtime_error' + explicit Exception(const std::string &what) : runtime_error(what) {} + ^~~~~~~~~~~~~ + +Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/867] +Signed-off-by: Khem Raj +--- + libdnf/goal/Goal.hpp | 1 + + libdnf/module/ModulePackageContainer.hpp | 1 + + libdnf/repo/solvable/Dependency.cpp | 3 ++- + 3 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/libdnf/goal/Goal.hpp b/libdnf/goal/Goal.hpp +index f33dfa24..7b8d822c 100644 +--- a/libdnf/goal/Goal.hpp ++++ b/libdnf/goal/Goal.hpp +@@ -22,6 +22,7 @@ + #define __GOAL_HPP + + #include ++#include + + #include "../dnf-types.h" + #include "../hy-goal.h" +diff --git a/libdnf/module/ModulePackageContainer.hpp b/libdnf/module/ModulePackageContainer.hpp +index 1f815fda..37a8832d 100644 +--- a/libdnf/module/ModulePackageContainer.hpp ++++ b/libdnf/module/ModulePackageContainer.hpp +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + + //class ModulePackageContainer; + //typedef std::shared_ptr ModulePackageContainerPtr; +diff --git a/libdnf/repo/solvable/Dependency.cpp b/libdnf/repo/solvable/Dependency.cpp +index 6682b729..0fc8b5cd 100644 +--- a/libdnf/repo/solvable/Dependency.cpp ++++ b/libdnf/repo/solvable/Dependency.cpp +@@ -18,6 +18,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + ++#include + #include "Dependency.hpp" + #include "libdnf/utils/utils.hpp" + #include "libdnf/repo/DependencySplitter.hpp" +@@ -106,4 +107,4 @@ Dependency::getReldepId(DnfSack *sack, const char * reldepStr) + } + } + +-} +\ No newline at end of file ++} +-- +2.24.1 + diff --git a/meta/recipes-devtools/libdnf/libdnf_0.28.1.bb b/meta/recipes-devtools/libdnf/libdnf_0.28.1.bb index 3f11e0231f..882c435b32 100644 --- a/meta/recipes-devtools/libdnf/libdnf_0.28.1.bb +++ b/meta/recipes-devtools/libdnf/libdnf_0.28.1.bb @@ -7,6 +7,7 @@ SRC_URI = "git://github.com/rpm-software-management/libdnf \ file://0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch \ file://0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch \ file://0001-Add-WITH_TESTS-option.patch \ + file://0001-include-stdexcept-for-runtime_error.patch \ " SRCREV = "751f89045b80d58c0d05800f74357cf78cdf7e77"