From patchwork Fri Aug 3 17:30:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 143431 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp416074ljj; Fri, 3 Aug 2018 10:30:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdglamcrqA2cbveZzGuArmH5vNq+x4NTZBKbgi3US+cHxlUADvKCCXJh+UIbD0LgszLPqA1 X-Received: by 2002:a62:4ece:: with SMTP id c197-v6mr5599771pfb.240.1533317427605; Fri, 03 Aug 2018 10:30:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533317427; cv=none; d=google.com; s=arc-20160816; b=Qig5r//o6Aue1KlE6U9FhhO9HM9Oyqpm8qxdwae8M5eRgsoFSsR+K4ZSrzVZSh+HWo kBlTp9clY9HzTMwYNf7gB4vCKwjrxxc23ObO7RmD/xz5pCWQhEuqYs/X7oaRePJuXhTu YWP+USFfj0biJbCgO7s1BGGfuM7Avqnopr3YDknSrHCeenAU3EF74VtZaUwQNfCdPzWH wpnBLbxkbk8mON8EDFxAesWJ/hcPGQJPk9MNuay36iHXRjM8F0NOTNdnHnTOV+Q0AW6y TYjPebxSxSrIyq46Gejdt/wOB2xOzoO4jR/cIG2ZAO2LloLhPjdhG7e3C5YT1yUFbFT6 j5DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=oLnbirh0WzklNUnKLlbPnEM9bXNl+u4xnfG5CYlqCsc=; b=TmAZZikoWZAUwqxSkb/SHZFp/Aw/dJndyl3qGqZB5aYtO180NgeTdmp09ZPydg9A7l DWRtz6UdVWxqVQ+f8za0s5NJILlBvWUBaaRSlKX5S/RY0XDWeyPdcbnUo8faBE5CaAQT dAfrxQ3+t9ELUy3Z35Xvzi5tSe5pkknQsgU26Z3l1szXlr39ykh6l5arcs3t310dDx1i CPoi+8vr2xkbig6ShX6HTlxOwrjXOZFdcDjxk7dOIpgpBj6d1JXpAInAnrNAyoW0EvHz 0o3tmFAqoRQ+xu+mQYYQsVqwgxMFnYHLnWNdk/ShC3hVeib8N3RTR+yc0F+Qit/H9cZ2 a8Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=tWzBLGC5; 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 u6-v6si5900396pfu.143.2018.08.03.10.30.26; Fri, 03 Aug 2018 10:30:27 -0700 (PDT) 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=tWzBLGC5; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 2B7C478E6D; Fri, 3 Aug 2018 17:30:24 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by mail.openembedded.org (Postfix) with ESMTP id F20AD746A8 for ; Fri, 3 Aug 2018 17:30:21 +0000 (UTC) Received: by mail-pf1-f196.google.com with SMTP id p12-v6so3608065pfh.2 for ; Fri, 03 Aug 2018 10:30:23 -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=kcRdCS48VQgvtIwNSy/lZeViLlV5xrn/RBzA1ehFkxQ=; b=tWzBLGC5rDTFvPQETjMQM1B5gA7S8lpoZm9IK6G3/d48k/QTU45W50Ba3nJ5052MhO GCGHC5BFtnQaT0rkqVHvAib1EDklZvUfYXTPn+nHYl2zg2+ARw0ek3JBPnvmDCSWaSMu cLxzLVIIh+EihmRPPurBI68mMkHkWJYIZjNx5RDZ9ftV/zGm6VueJxTcbARyNHpv5Jum HD4QserOjSd4AM09FEn6WcmgHKz/03uZhMrjassuj0PZYd39T/rG72lbLLfU804dnU7H MWRsDwQsjCuWNWVhPJhyyOPluSBPXBk550bnFIaBw+qWKjCu15oNuc/N6h76Bl1mckvy k6tg== 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=kcRdCS48VQgvtIwNSy/lZeViLlV5xrn/RBzA1ehFkxQ=; b=Yhfuyd2ACmQNVvF0Dhv0qmPoRHEEqwfaff8HewT4ln7AQMeTs4L7dcJaS1cAwkU6fC Qwj4m8fsw+IYLGK3CFZ/pOTvKepffSQzaB5A1vIYeQRHn50C9bNAz1FQSatDRsdJvk63 fPjG0BELj/l23k045E94rhNayyHZIMYqqppgrPlBOsgOP7juEoRrCmX52djJfMeAnS1Z 79mwG9ep5HRh3eP1/cW9zga4nKdGSmorkDsljnhuXngpyO6xIYF8XeZMkYeQJh73WTHr TcWD2nQG5f3V+GlKlEhh5hg8RZbU7Donbcal/46N5jMBCRRsA4zyKiGnhkpQUKy6agBO Wz2A== X-Gm-Message-State: AOUpUlEZa6J06DQV6eJiLMwy0bgywl8MBWz+9kTigKnkydczOHaOUrQ6 LOGln3MZawws2iT5Ns9PWVV5IQm2 X-Received: by 2002:a63:af14:: with SMTP id w20-v6mr4793991pge.47.1533317422653; Fri, 03 Aug 2018 10:30:22 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::5b3b]) by smtp.gmail.com with ESMTPSA id 64-v6sm10506185pfi.89.2018.08.03.10.30.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Aug 2018 10:30:22 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 3 Aug 2018 10:30:14 -0700 Message-Id: <20180803173014.20748-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 Subject: [OE-core] [PATCH] libidn2: Fix charset.alias issue with musl 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Fixes ERROR: libidn2-2.0.5-r0 do_package: QA Issue: libidn2: Files/directories were installed but not shipped in any packag e: /usr/lib/charset.alias Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or del ete them within do_install. Signed-off-by: Khem Raj --- ...charset_alias-when-building-for-musl.patch | 23 +++++++++++++++++++ meta/recipes-extended/libidn/libidn2_2.0.5.bb | 4 +++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-extended/libidn/libidn2/Unset-need_charset_alias-when-building-for-musl.patch -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/libidn/libidn2/Unset-need_charset_alias-when-building-for-musl.patch b/meta/recipes-extended/libidn/libidn2/Unset-need_charset_alias-when-building-for-musl.patch new file mode 100644 index 0000000000..ace50bbfde --- /dev/null +++ b/meta/recipes-extended/libidn/libidn2/Unset-need_charset_alias-when-building-for-musl.patch @@ -0,0 +1,23 @@ +Unset need_charset_alias when building for musl + +localcharset uses ac_cv_gnu_library_2_1 from glibc21.m4 +which actually shoudl be fixed in gnulib and then all downstream +projects will get it eventually. For now we apply the fix to +coreutils + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +Index: libidn2-2.0.5/unistring/Makefile.am +=================================================================== +--- libidn2-2.0.5.orig/unistring/Makefile.am ++++ libidn2-2.0.5/unistring/Makefile.am +@@ -293,7 +293,7 @@ install-exec-localcharset: all-local + case '$(host_os)' in \ + darwin[56]*) \ + need_charset_alias=true ;; \ +- darwin* | cygwin* | mingw* | pw32* | cegcc*) \ ++ darwin* | cygwin* | mingw* | pw32* | cegcc* | linux-musl*) \ + need_charset_alias=false ;; \ + *) \ + need_charset_alias=true ;; \ diff --git a/meta/recipes-extended/libidn/libidn2_2.0.5.bb b/meta/recipes-extended/libidn/libidn2_2.0.5.bb index aaf9ecd7e7..0d7bddbc7f 100644 --- a/meta/recipes-extended/libidn/libidn2_2.0.5.bb +++ b/meta/recipes-extended/libidn/libidn2_2.0.5.bb @@ -9,7 +9,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ab90e75ef97cc6318ce4f2fbda62fe4d \ file://src/idn2.c;endline=16;md5=0283aec28e049f5bcaaeee52aa865874 \ file://lib/idn2.h.in;endline=27;md5=c2cd28d3f87260f157f022eabb83714f" -SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz" +SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz \ + file://Unset-need_charset_alias-when-building-for-musl.patch \ + " SRC_URI[md5sum] = "eaf9a5b9d03b0cce3760f34b3124eb36" SRC_URI[sha256sum] = "53f69170886f1fa6fa5b332439c7a77a7d22626a82ef17e2c1224858bb4ca2b8"