From patchwork Wed Dec 18 02:48:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 181959 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp59352ile; Tue, 17 Dec 2019 18:48:31 -0800 (PST) X-Google-Smtp-Source: APXvYqxsK9PJ0sLFGhr+SA+UG1lnOBxjlsR2uuZT7gJSB5jO3Mk0uQf1I0EoB3BKinF5fIouYXaZ X-Received: by 2002:a17:90a:b002:: with SMTP id x2mr401925pjq.38.1576637311332; Tue, 17 Dec 2019 18:48:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576637311; cv=none; d=google.com; s=arc-20160816; b=rux1oKNAqlYbQ+Aez7IJoBof0Umb6SRCo3xbIlu23TVeiCZVMqsYMBj098EZvNWe6R Gz2R5Y8Prw9TPdLKnV515rR+sGoGUChtLh0OnYY2aff0kpznW58iWvPlOuVN3KcFRz0t 2XglZJueC0/Zl2ToHYS+90hlSu6UPtMjT9xQm0cbAxGQwLISNBi3Odn5S1yb76HXoUeF dlA261IZffqJwVBt2yA5yv16sdb6IZ/gO6yvCY+wnrNGNdp/L+/wHZDjOgqDd3ILvITP NyvBMttCg4D/joN9658DfLD/AgWWN71PY05QmkcmXEQDOPuc1tj9bWHTa7oFyJ7SEX04 XWLg== 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 :cc:mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=FTrga3bFNFuVcVaZn5gXTUrSI7xpK/ckekCzeZEEQyM=; b=GFfQesceMBIU4hjQOuuok+ehJgvhTt605VbPZ4ZKwyEcYMKZvfUqaT98qt/Z23z8oP /GebbgBxPcSm7F3cIR/oOzLXFo+9y8KPRWZVOCs6fbMKe1xzCeH5RO3O1YczS9po6weO Z/68rSnjLYRgTDRNpJuUQbAVozbBRIrYSD7Z3yxd/uzxDLiqXFN2urT1v0sIkvsk/AOK IbMyVdJWdoJfGOJxJBOMS4c8GtUqtdk2c7fLY9rBFdw534YhDRcqKvSgifF81ES74WF8 q2cwHl0iVq+i4KYrsLtFIEPNOlYKWS4XiGoBBxSWk4+hbGd70UkppxJUkhIEmHaxCGy6 F7nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=C4QJyVlC; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 o14si967701pgb.587.2019.12.17.18.48.30; Tue, 17 Dec 2019 18:48:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=C4QJyVlC; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 93C2D7FF3C; Wed, 18 Dec 2019 02:48:22 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mail.openembedded.org (Postfix) with ESMTP id 7FC537FEB1 for ; Wed, 18 Dec 2019 02:48:20 +0000 (UTC) Received: by mail-pj1-f41.google.com with SMTP id u63so648659pjb.0 for ; Tue, 17 Dec 2019 18:48:21 -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:mime-version :content-transfer-encoding; bh=EpxNRPuSc4LrM7cZxedskdMT6VpgwrY3Q8EeD4RnG6M=; b=C4QJyVlCD2J0fTTU5XJuUE577LSDFoNh3ZrEsbIkfOuJrMciFLqjegj5Lc3PQQ/+cW bpbtZJnFXovXp9tvF6MoH7K3MKZVW+FBE53Qfio7sZGkEw0Y/ZcQvWEuOTErsV0UA2G8 o81t3ouA0piuCfbkqpwYZQkUOH5IadghU7EThx7hmhX4jXnkgoJZB6Vv0VrE5a5P9+y6 1MU/7IfWSPhHQaDznqRrJ5frFJcC9k+59PKVRaAd/y3OmUkNQb98AEOXKCin4iuMMlBP IQ2sKHWV/12AEDYxwUfT0qCqVGvHJs7hlocGe6R9DALrv77rEoTa32MRzKf2dYCwtrW9 m6PQ== 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:mime-version :content-transfer-encoding; bh=EpxNRPuSc4LrM7cZxedskdMT6VpgwrY3Q8EeD4RnG6M=; b=jS+8M/7suGBPakOizmtqhAv3Htww9v8ODa8iQ/fCg27aJr+4zEQqSvbSAkOA5hFFJK webrbOLZrT8Iqvo7vM0qa2LED3UdIrgNrKQ3dDI6jLrKagp+SlHm533PJlVrRrS4d6RX RdDHBE5WkFdPQZq4jf4GM+Y+wUwAs0dHcoX4vS+gXkG2qZMN1nb4+ekBvikQh64GuyTM yU57p0yJC85cYnQQY8Vm4fN/QCbPX0455nOg7dRavSUPu4FgAOaLqZaoKzoHukrkDwaU 6+DqgMb3rSClRwS8+q6KBNZz3KikfHB/xFBrPpn+nku7FRbw2c9VgjSUqRKPrPJl6/tO tHag== X-Gm-Message-State: APjAAAW812QRVN2e/wggUJR6ZdengV3r9O49cVltZNOtPCHJdpM6lLyT vwDJw4+FUFfoRj/mF9WjbD+dFpBiLKw= X-Received: by 2002:a17:902:bf0b:: with SMTP id bi11mr4807plb.282.1576637300914; Tue, 17 Dec 2019 18:48:20 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2ebb]) by smtp.gmail.com with ESMTPSA id o7sm506370pfg.138.2019.12.17.18.48.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Dec 2019 18:48:20 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 17 Dec 2019 18:48:08 -0800 Message-Id: <20191218024810.2874990-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Cc: =?utf-8?q?Andreas_M=C3=BCller?= Subject: [oe] [meta-multimedia][PATCH 1/3] tinyalsa: fix installation libdir path to match multilibs X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Fixes ERROR: tinyalsa-1.1.1+gitAUTOINC+8449529c7e-r0 do_package: QA Issue: tinyalsa: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/libtinyalsa.a Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. Signed-off-by: Khem Raj Cc: Andreas Müller Acked-by: Andreas Müller --- .../recipes-multimedia/tinyalsa/tinyalsa.bb | 4 +- ...L_-path-instead-of-hardcoding-bin-li.patch | 46 +++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa/0001-Use-CMAKE_INSTALL_-path-instead-of-hardcoding-bin-li.patch diff --git a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb index 8b86f82430..062096892e 100644 --- a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb +++ b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb @@ -7,7 +7,9 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://NOTICE;md5=dbdefe400d894b510a9de14813181d0b" SRCREV = "8449529c7e50f432091539ba7b438e79b04059b5" -SRC_URI = "git://github.com/tinyalsa/tinyalsa" +SRC_URI = "git://github.com/tinyalsa/tinyalsa \ + file://0001-Use-CMAKE_INSTALL_-path-instead-of-hardcoding-bin-li.patch \ + " PV = "1.1.1+git${SRCPV}" S = "${WORKDIR}/git" diff --git a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa/0001-Use-CMAKE_INSTALL_-path-instead-of-hardcoding-bin-li.patch b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa/0001-Use-CMAKE_INSTALL_-path-instead-of-hardcoding-bin-li.patch new file mode 100644 index 0000000000..6f9c39996b --- /dev/null +++ b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa/0001-Use-CMAKE_INSTALL_-path-instead-of-hardcoding-bin-li.patch @@ -0,0 +1,46 @@ +From fe4f3c2a37a81201f463ff962364f014f50c9896 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 16 Dec 2019 22:58:41 -0800 +Subject: [PATCH] Use CMAKE_INSTALL_ instead of hardcoding bin/lib/ + install paths + +Helps fix build/packaging issues on machines where default libdir is not +lib but say lib64 + +Upstream-Status: Submitted [https://github.com/tinyalsa/tinyalsa/pull/143] +Signed-off-by: Khem Raj +--- + CMakeLists.txt | 14 +++++++++++--- + 1 file changed, 11 insertions(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index cb31c58..1cc4a85 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -41,12 +41,20 @@ add_util("tinymix" "utils/tinymix.c") + install(FILES ${HDRS} + DESTINATION "include/tinyalsa") + ++if(NOT DEFINED CMAKE_INSTALL_LIBDIR) ++ set(CMAKE_INSTALL_LIBDIR lib) ++endif() ++ ++if(NOT DEFINED CMAKE_INSTALL_BINDIR) ++ set(CMAKE_INSTALL_BINDIR bin) ++endif() ++ + install(TARGETS "tinyalsa" + "tinyplay" + "tinycap" + "tinymix" + "tinypcminfo" +- RUNTIME DESTINATION "bin" +- ARCHIVE DESTINATION "lib" +- LIBRARY DESTINATION "lib") ++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) + +-- +2.24.1 + From patchwork Wed Dec 18 02:48:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 181960 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp59844ile; Tue, 17 Dec 2019 18:49:13 -0800 (PST) X-Google-Smtp-Source: APXvYqybqO770HXcPM4eyOO4ADcRYn6nGlP/EG25Nt2Lr2Tw3nVJRbZsaVBr0KuiZFSBcVouWrx0 X-Received: by 2002:a17:902:9a8f:: with SMTP id w15mr1586926plp.149.1576637353413; Tue, 17 Dec 2019 18:49:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576637353; cv=none; d=google.com; s=arc-20160816; b=q3P0JSb2XzRZUgl6ZvD5s5gkcJypMUcQaBWxlBKCNV2Zlb+WZkqXRoD4fj3QpktEbb 7SQpvDzVnlbuHVkIx7sonWXnPSu3xkUG+tkdfbAUBE/PWw8Nuz1uZ1BlE96uVw28kgsU Bk2hfIUg3AmrPCIkFQmSql/r6tMBCM5z34DDIgdVnzcqri1pzVDGxmLu0JoZtihjvS1s aE0ux3fhoasFUW7e7briy6vpkvZyFNfR6FojQAU3gws4y6IQKVUAmOM2R4h08eY8F8N5 Kwl+zmjhmyRCNq66RUJIAi/OL+k+zaDQ4JFab7ftzwTyCunc9vwQOh+CoTb27RHUJ2ZU Ep2w== 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=JVa5goGdUGGS+WESLe6RGLOSL1ipwGg15NPeSfu1IdA=; b=PRXNJhRX5gCJ/pIyqgJIkZKEo1NrkktlFni6vP+zUdi85Ia168iDi2QuW6AtwYImoP xE0I37gXUT/ATH+ta6nc/rpeMp+m8SBy8H2zCHnFijxF2JHAyKxKtbqkfWtnYRgU9YpF KfnRo+m+66yeIx18f9/9LsD7mFUFcxytT+jxiFbpFZBXHncsPtXK2cUeNO6giqYEYloL 7ehlqaACMtbIH8co3OGGB8CmpIRz3hDSjBxlNml27/PIAOwSpqGf2J0GnEHk6D/c4w1z qG2PeZ8k4TQ1G+wrH+rs+7CdrzdEOKQpjdqCkwWZOzr+9oUXuL6Etj5udp0i6hXnA8I+ M7RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=magmKimn; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 c12si1033559pgn.567.2019.12.17.18.49.13; Tue, 17 Dec 2019 18:49:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=magmKimn; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 358117FF3C; Wed, 18 Dec 2019 02:49:10 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by mail.openembedded.org (Postfix) with ESMTP id CD15D7FEB1 for ; Wed, 18 Dec 2019 02:48:20 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id 4so344409pfz.9 for ; Tue, 17 Dec 2019 18:48:22 -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=R9gmQxaqli4c/cy2MeWSzUYbNDknSmhJCEpKwdniNxY=; b=magmKimnESBal0A7j+a3tEFoHgclYNk7Vwz5CP79L3yp6ZTNSGItxJVSn7j6OSYq9b C/6G1gFSYEyx5XgsVQWeQd8CWP+aEwGwhIgShzOuy/6Gqvb2yiKwQHuc4oumtJgs5sVT 8zMhvjN87xesPtj+5TAbxJn8IZiRJ+E5Y8ShDzdRh7oAugf9LE+3TISm2xFVTO/bY/RC H3eGwmaQM3oDWJl2HRw5PnskyQlsxd74acMsNari+7BTH9J9mNC07DbYOigSicBMJbkF mBvi88ADNKo+P9JCtborVpgqhu+7OZquPLkVyH5Cnu7viF3mX1tRazagLxecEOwouPE5 5ERQ== 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=R9gmQxaqli4c/cy2MeWSzUYbNDknSmhJCEpKwdniNxY=; b=BIrj/6Y4PIbIVxw74mddyxMQiH1DqlINp5JgmtXbUTkgPpls9Fm8vox8oQ4+k35WCd dYwIZ1foIqT4V4Q8iW1iAdyEMpsNrDa+cb/OJzCdtousGf/t5iG/oVPlKwbNFmfmW30V 5BbqYN2REI6hVlDnTgK4iOBH4e5XIcX6d+SQrwYp3qMj0GADu+zXU9XMNqDZGn6uC/oO 7zb16dwpmszHoBkoETm05IwiKS+miTCqY7RF+ZWtRDDGwGD/FwnyWgjw+QmtK13bzw1f lQsv+hw10xeXAdPIs06DxcphTqiK4GwTyI3nqFxrKBn1r4VMkAqMD02ygswaxpQ5lf6u qiHA== X-Gm-Message-State: APjAAAVvuRHEzklsqjyFn48yoJoJvpYkUzzJeWavurIQnMhgAqiIso1h 91TquGppLj2gYHXuAOGGg2CbVEOGFTQ= X-Received: by 2002:a62:7c58:: with SMTP id x85mr358694pfc.76.1576637301642; Tue, 17 Dec 2019 18:48:21 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2ebb]) by smtp.gmail.com with ESMTPSA id o7sm506370pfg.138.2019.12.17.18.48.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Dec 2019 18:48:21 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 17 Dec 2019 18:48:09 -0800 Message-Id: <20191218024810.2874990-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191218024810.2874990-1-raj.khem@gmail.com> References: <20191218024810.2874990-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 2/3] libqb: Add --enable-nosection-fallback with mips64/clang X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Same issue happens with clang/mips64 so extend the gold fix to cover for this case Signed-off-by: Khem Raj --- meta-oe/recipes-extended/libqb/libqb_1.0.5.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.24.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb b/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb index b205186e0b..82503a168b 100644 --- a/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb +++ b/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb @@ -22,9 +22,13 @@ S = "${WORKDIR}/git" # WORKDIR/libqb/1.0.3+gitAUTOINC+c235284b5f-r0/recipe-sysroot-native/usr/bin/i586-oe-linux/../../libexec/i586-oe-linux/gcc/i586-oe-linux/8.1.0/ld: error: conftest.ld: SECTIONS seen after other input files; try -T/--script # WORKDIR/libqb/1.0.3+gitAUTOINC+c235284b5f-r0/recipe-sysroot-native/usr/bin/i586-oe-linux/../../libexec/i586-oe-linux/gcc/i586-oe-linux/8.1.0/ld: internal error in write_sections, at ../../gold/reloc.cc:791 # collect2: error: ld returned 1 exit status -EXTRA_OECONF_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' --enable-nosection-fallback', '', d)}" +NOSECTION_FALLBACK = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-nosection-fallback', '', d)}" +NOSECTION_FALLBACK_toolchain-clang_mips64 = "--enable-nosection-fallback" + +EXTRA_OECONF += "${NOSECTION_FALLBACK}" CFLAGS += "-pthread -D_REENTRANT" + do_configure_prepend() { ( cd ${S} ${S}/autogen.sh ) From patchwork Wed Dec 18 02:48:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 181961 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp59924ile; Tue, 17 Dec 2019 18:49:19 -0800 (PST) X-Google-Smtp-Source: APXvYqxgCD94nrLKhC0Rw0LT/mDPF6kd2IUWpkNgbsbMaaGRe8qo8EBOtDVjOYDBtcPmYKRbMJP5 X-Received: by 2002:a17:902:8d95:: with SMTP id v21mr14821plo.228.1576637359527; Tue, 17 Dec 2019 18:49:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576637359; cv=none; d=google.com; s=arc-20160816; b=uj3zjmyipc/UxU0Kx7I4K7uxxj6mNV2SYkMN/khZIempmHomx2/kkoS4Z85d5nWWzS ig5DediIblYYNbT2VjCn4YshGtKcaYGiQ7WOU0ibe2sZ9BnYT2Fbv0HVg1z+D+HZhggq 2JQ2ktoTqepnVElvCiwAQSGpeS2sl7FQERnASpa9WHPWlv5ssdFypA/GPuC4hFE2VMeg ruDfXIraEBW38rG32mUsDXimztS8vOrg1Zqb4G8clUO4FOup3N0eqZbpL7JonbaR3F44 3ekt2P0WU+Z3TU7hof4APWb2s3fT49aCIv/fSZv2tYJaG+J7NYTuynnGd5K8w0U3PFFV 3MRQ== 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=2JT4WckqaD7qZCcIw4b6xQfbaRUPp/mis9ctSbTX28g=; b=uvwJlxZpaKDAHQx9sSUh7aLQJW4Xrb3/MDWIHP0ljiSJkef8TdihQokKAf1agOsXqf 9oOFCACIjnY2JhAs2XbFf5+RUyc8/o4aC4jDQmy69wpcAcAxz/Fl0AU/oBhiVEXn7fw6 YlD9cl3f6Rcx7sJ4ivyZ7E/+DG+dUg/4VtXKuijaJmh4v8To3NEyuWjKM7Cg57sCKORK aKr0/eMh8sQZ0n19IGf2kvNYdKsZU3Y8ikRtfYoUIxTJBUY8yyWk3PL2D4DZ6xogeSpS Xug9kClVx5UFQ+IWFOGEGVPYDuta92LNdwaYdZF8qwxtGdaqUKccjhK9PSsIDJPsVcDf BwsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=A9UPJ0nr; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 d7si995059pga.523.2019.12.17.18.49.19; Tue, 17 Dec 2019 18:49:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=A9UPJ0nr; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 6A20B7FF70; Wed, 18 Dec 2019 02:49:11 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pj1-f66.google.com (mail-pj1-f66.google.com [209.85.216.66]) by mail.openembedded.org (Postfix) with ESMTP id 7F08D7FF39 for ; Wed, 18 Dec 2019 02:48:22 +0000 (UTC) Received: by mail-pj1-f66.google.com with SMTP id m13so164439pjb.2 for ; Tue, 17 Dec 2019 18:48:23 -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=oIi8WsjfBeHCmpqAwZoAS8yv8l0MttE6Rrbi4Fwo5kE=; b=A9UPJ0nr7p9VaurvzENZ0Y7PycDAGa71ehpGypX/ZwukS6PAasi36dsq+ZmK8bhge9 dR/fK+udw58lAK4+5XyHFFiAYJUxpuxnq1XKlLXWj+AEsPwQM9UeuMXn26tfn3aUFuiT mSY2EgiT81iTE+bXHOQyHDyPcOsVRf9I0IiuGI9JdZRPqDemyrCNjDpeYE/OuuSkj7Ib 81rS/xkwfJhky3IvE9yRgXhzAujKddtBgvL/RhPq+gsWy6QtVMDaAnZMvU/VfVZ+DuqY GyFHIHr3gzKZWBE28OmVVUG9oxigZQ/3bZeTIE6EgSXoPB2hT5k6nIvfUdCcqJKmvJNL ewkg== 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=oIi8WsjfBeHCmpqAwZoAS8yv8l0MttE6Rrbi4Fwo5kE=; b=aok+f/6K0uSqEkNUNrkFWFhBzPzGv7X9dWNN677daNkj8KKgv9nHNEH7bzyHqqVmKo +S7odiphtPGIEGim0n8dq6Ao4SRHB2cNdME1Z4konLYoeKf1J2OG5TQwn9Y39xMrT6wo 6dIdIGtXxlR8n/0bgGsrLqkIoleBpNBw1Gfhqky8hqZn+XmpsexXFAf22yKMABfW/8Mx umCDHVtHX004OaY5guRPMAZwVz7HivXGgWtN0EpMfUAJXNxEdL7g7R0XrsuAN6wLv0Ey 5z1DlgppsvLE81RwT7BKtYNS9e01VY/vZf0eVgf3is33FVu52nwnsDlqiyfWgMQgWcz2 cbqw== X-Gm-Message-State: APjAAAUuUtA/ZwjNE9HetPt3III/L/t63m3FZSjWAsgE/fKlUvPKA+kR dOqHcYU+Vtvx9KuBKeepNnyZZNOtxP4= X-Received: by 2002:a17:902:9a04:: with SMTP id v4mr17230plp.192.1576637303052; Tue, 17 Dec 2019 18:48:23 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2ebb]) by smtp.gmail.com with ESMTPSA id o7sm506370pfg.138.2019.12.17.18.48.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Dec 2019 18:48:21 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 17 Dec 2019 18:48:10 -0800 Message-Id: <20191218024810.2874990-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191218024810.2874990-1-raj.khem@gmail.com> References: <20191218024810.2874990-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 3/3] lcdproc: Upgrade to latest top of tree X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org * Drop BASEPV, used only once * serialVFD needs to use ioperm, inb and outb which are only on x86 32/64 Signed-off-by: Khem Raj --- ...ld-fix-port-internal-make-dependenci.patch | 12 +++--- ...ude-limits.h-for-PATH_MAX-definition.patch | 41 +++++++++++++++++++ .../0003-Fix-non-x86-platforms-on-musl.patch | 35 ++++++++++++++++ .../recipes-extended/lcdproc/lcdproc_git.bb | 17 ++++---- 4 files changed, 92 insertions(+), 13 deletions(-) create mode 100644 meta-oe/recipes-extended/lcdproc/lcdproc/0002-Include-limits.h-for-PATH_MAX-definition.patch create mode 100644 meta-oe/recipes-extended/lcdproc/lcdproc/0003-Fix-non-x86-platforms-on-musl.patch -- 2.24.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/lcdproc/lcdproc/0001-Fix-parallel-build-fix-port-internal-make-dependenci.patch b/meta-oe/recipes-extended/lcdproc/lcdproc/0001-Fix-parallel-build-fix-port-internal-make-dependenci.patch index 8505ea34c8..f6a7956db2 100644 --- a/meta-oe/recipes-extended/lcdproc/lcdproc/0001-Fix-parallel-build-fix-port-internal-make-dependenci.patch +++ b/meta-oe/recipes-extended/lcdproc/lcdproc/0001-Fix-parallel-build-fix-port-internal-make-dependenci.patch @@ -1,17 +1,17 @@ -From 67d808b8739817c122bed8ba1a8308d01cb5ad0b Mon Sep 17 00:00:00 2001 +From a20feee4963bc38975fbaf44bbe85a31825f59db Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 6 Apr 2019 17:28:28 -0700 -Subject: [PATCH] Fix parallel build (fix port-internal make dependencies) on - many cores +Subject: [PATCH 1/3] Fix parallel build (fix port-internal make dependencies) + on many cores -Upstream-Status: Pending +Upstream-Status: Submitted [https://github.com/lcdproc/lcdproc/pull/142] Signed-off-by: Khem Raj --- server/drivers/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/drivers/Makefile.am b/server/drivers/Makefile.am -index 0c23a9b..6777047 100644 +index e08f2b2d..4fd2e3f1 100644 --- a/server/drivers/Makefile.am +++ b/server/drivers/Makefile.am @@ -47,11 +47,11 @@ CwLnx_LDADD = libLCD.a libbignum.a @@ -29,5 +29,5 @@ index 0c23a9b..6777047 100644 imon_LDADD = libLCD.a libbignum.a imonlcd_LDADD = libLCD.a -- -2.21.0 +2.24.1 diff --git a/meta-oe/recipes-extended/lcdproc/lcdproc/0002-Include-limits.h-for-PATH_MAX-definition.patch b/meta-oe/recipes-extended/lcdproc/lcdproc/0002-Include-limits.h-for-PATH_MAX-definition.patch new file mode 100644 index 0000000000..eb866bf10a --- /dev/null +++ b/meta-oe/recipes-extended/lcdproc/lcdproc/0002-Include-limits.h-for-PATH_MAX-definition.patch @@ -0,0 +1,41 @@ +From d447a05ee560ba5894d2ed4cd93d0475c2f3c08e Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 17 Dec 2019 17:39:32 -0800 +Subject: [PATCH 2/3] Include for PATH_MAX definition + +musl libc exposes the missing include + +Upstream-Status: Submitted [https://github.com/lcdproc/lcdproc/pull/142] +Signed-off-by: Khem Raj +--- + server/drivers/hidraw_lib.c | 1 + + server/drivers/linux_input.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/server/drivers/hidraw_lib.c b/server/drivers/hidraw_lib.c +index 49b03f20..3b51f279 100644 +--- a/server/drivers/hidraw_lib.c ++++ b/server/drivers/hidraw_lib.c +@@ -8,6 +8,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff --git a/server/drivers/linux_input.c b/server/drivers/linux_input.c +index 5b914d4c..6fcfc591 100644 +--- a/server/drivers/linux_input.c ++++ b/server/drivers/linux_input.c +@@ -5,6 +5,7 @@ + + #include + #include ++#include + #include + #include + #include +-- +2.24.1 + diff --git a/meta-oe/recipes-extended/lcdproc/lcdproc/0003-Fix-non-x86-platforms-on-musl.patch b/meta-oe/recipes-extended/lcdproc/lcdproc/0003-Fix-non-x86-platforms-on-musl.patch new file mode 100644 index 0000000000..e39e9bda14 --- /dev/null +++ b/meta-oe/recipes-extended/lcdproc/lcdproc/0003-Fix-non-x86-platforms-on-musl.patch @@ -0,0 +1,35 @@ +From 7fd144f101fa5c9316d3468ed26f55629afe1305 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 17 Dec 2019 17:55:54 -0800 +Subject: [PATCH 3/3] Fix non x86 platforms on musl + +Musl only specifies in/outb for x86/x86. Use the fallback path in case +musl is used. + +This should fail compilation during the linking stage but for some reason +does not. Will do if -Werror=implicit-function-declaration is specified. + +Original here: https://github.com/openwrt/packages/blob/master/utils/lcdproc/patches/110-in-outb.patch +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + server/drivers/port.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/server/drivers/port.h b/server/drivers/port.h +index c584cd4e..bde235b3 100644 +--- a/server/drivers/port.h ++++ b/server/drivers/port.h +@@ -94,7 +94,7 @@ static inline int port_deny_multiple(unsigned short port, unsigned short count); + /* ---------------------------- Linux ------------------------------------ */ + /* Use ioperm, inb and outb in (Linux) */ + /* And iopl for higher addresses of PCI LPT cards */ +-#if defined HAVE_IOPERM ++#if defined(__GLIBC__) || (defined(__x86__) || defined(__x86_64__)) + + /* Glibc2 and Glibc1 */ + # ifdef HAVE_SYS_IO_H +-- +2.24.1 + diff --git a/meta-oe/recipes-extended/lcdproc/lcdproc_git.bb b/meta-oe/recipes-extended/lcdproc/lcdproc_git.bb index 7ddc55f5e7..275b984e47 100644 --- a/meta-oe/recipes-extended/lcdproc/lcdproc_git.bb +++ b/meta-oe/recipes-extended/lcdproc/lcdproc_git.bb @@ -7,22 +7,25 @@ LICENSE = "GPLv2+" DEPENDS = "ncurses lirc" LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760 \ - file://README.md;beginline=107;md5=5c927ce1742d6d5cddc45b7ad6230f75" + file://README.md;beginline=107;md5=5db392f043253a2d64b1737068ce6b58" -BASEPV = "0.5.9" -PV = "${BASEPV}+git${SRCPV}" -SRCREV = "e08546c13a4157ed98cd4a8e9086e7acd66f93c0" +PV = "0.5.9+git${SRCPV}" +SRCREV = "3a3d622d9bb74c44fa67bc20573751a207514134" SRC_URI = "git://github.com/lcdproc/lcdproc \ file://0001-Fix-parallel-build-fix-port-internal-make-dependenci.patch \ + file://0002-Include-limits.h-for-PATH_MAX-definition.patch \ + file://0003-Fix-non-x86-platforms-on-musl.patch \ " S = "${WORKDIR}/git" inherit autotools pkgconfig update-rc.d -LCD_DRIVERS ?= "all,!irman,!svga" -LCD_DRIVERS_append_aarch64 = ",!serialVFD" -LCD_DRIVERS_append_arm = ",!serialVFD" +LCD_DRIVERS ?= "all,!irman,!svga${SERIALVFD}" +SERIALVFD ?= "" +SERIALVFD_libc-musl = ",!serialVFD" +SERIALVFD_libc-musl_x86 = "" +SERIALVFD_libc-musl_x86-64 = "" LCD_DEFAULT_DRIVER ?= "curses"