From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 97DF6C54EE9 for ; Sun, 25 Sep 2022 20:49:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 2C6BD60E22; Sun, 25 Sep 2022 20:49:40 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 2C6BD60E22 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TgA-FJdL0MSD; Sun, 25 Sep 2022 20:49:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 33D2F60E13; Sun, 25 Sep 2022 20:49:38 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 33D2F60E13 Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 9BA1A1BF321 for ; Sun, 25 Sep 2022 20:49:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 778834058F for ; Sun, 25 Sep 2022 20:49:24 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 778834058F X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z3cj1iQ2OGpw for ; Sun, 25 Sep 2022 20:49:23 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp2.osuosl.org (Postfix) with ESMTP id 8E8D040517 for ; Sun, 25 Sep 2022 20:49:23 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 8E8D040517 Received: by busybox.osuosl.org (Postfix, from userid 4053) id 7EA3986021; Sun, 25 Sep 2022 20:49:23 +0000 (UTC) From: Peter Korsgaard To: buildroot@buildroot.org Date: Sun, 25 Sep 2022 22:48:09 +0200 X-Git-Refname: refs/heads/2022.05.x X-Git-Oldrev: 2efa57cc0e0ecfaa18b482a6e40c220ee2d75069 X-Git-Newrev: 3c3356e6709f3195b2b39105dc94cda9608a3198 X-Patchwork-Hint: ignore Message-Id: <20220925204923.7EA3986021@busybox.osuosl.org> Subject: [Buildroot] [git commit branch/2022.05.x] package/icu: clear TARGET env variable X-BeenThere: buildroot@buildroot.org 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: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" commit: https://git.buildroot.net/buildroot/commit/?id=3c3356e6709f3195b2b39105dc94cda9608a3198 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.05.x If the TARGET env variable is set icu may try to use it. To prevent this from causing issues clear it from the icu env. Fixes: >>> host-icu 70-1 Building PATH="/home/buildroot/buildroot/output/per-package/host-icu/host/bin:/home/buildroot/buildroot/output/per-package/host-icu/host/sbin:/home/buildroot/bin:/home/buildroot/.local/bin:/home/buildroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PKG_CONFIG="/home/buildroot/buildroot/output/per-package/host-icu/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/buildroot/output/per-package/host-icu/host/lib/pkgconfig:/home/buildroot/buildroot/output/per-package/host-icu/host/share/pkgconfig" /usr/bin/make -j33 -C /home/buildroot/buildroot/output/build/host-icu-70-1/source cd ./config; \ /usr/bin/make -f pkgdataMakefile rm -rf config/icu-config rebuilding config/icucross.mk rebuilding config/icucross.inc /bin/bash ./mkinstalldirs lib /bin/bash ./mkinstalldirs bin /usr/bin/install -c ./config/icu-config-top config/icu-config rm -rf pkgdata.inc chmod u+w config/icu-config mkdir lib mkdir bin LC_ALL=C /usr/bin/sed -f ./config/make2sh.sed < ./config/Makefile.inc | grep -v '#M#' | uniq >> config/icu-config config/icu-uc.pc updated. config/icu-i18n.pc updated. /usr/bin/make[2]: Making `all' in `stubdata' LC_ALL=C /usr/bin/sed -f ./config/make2sh.sed < ./config/mh-linux | grep -v '#M#' | uniq >> config/icu-config cat ./config/icu-config-bottom >> config/icu-config (deps) stubdata.cpp chmod u-w config/icu-config Note: rebuild with "/usr/bin/make VERBOSE=1 " to show all compiler parameters. make[3]: *** No rule to make target 'bpf', needed by 'all-local'. Stop. Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni (cherry picked from commit 17b6372790c33fa317ab6134ad6d5b8882b9cedd) Signed-off-by: Peter Korsgaard --- package/icu/icu.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/icu/icu.mk b/package/icu/icu.mk index ebbb1968fc..8107796ae9 100644 --- a/package/icu/icu.mk +++ b/package/icu/icu.mk @@ -28,6 +28,13 @@ ICU_CONF_OPTS = \ --disable-samples \ --disable-tests +# the icu build process breaks if the TARGET environment variable is +# non-empty +ICU_CONF_ENV += TARGET="" +ICU_MAKE_ENV += TARGET="" +HOST_ICU_CONF_ENV += TARGET="" +HOST_ICU_MAKE_ENV += TARGET="" + # When available, icu prefers to use C++11 atomics, which rely on the # __atomic builtins. On certain architectures, this requires linking # with libatomic starting from gcc 4.8. _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot