From patchwork Fri Jan 4 10:38:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: WK X-Patchwork-Id: 1020675 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=onet.eu Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=onet.eu header.i=@onet.eu header.b="DIMxh9GG"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43WLq05tkqz9s7T for ; Fri, 4 Jan 2019 21:38:20 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C3A7687535; Fri, 4 Jan 2019 10:38:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AY9KS9mtez6n; Fri, 4 Jan 2019 10:38:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 442E987530; Fri, 4 Jan 2019 10:38:15 +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 E014E1C0C89 for ; Fri, 4 Jan 2019 10:38:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DBE0D86508 for ; Fri, 4 Jan 2019 10:38:13 +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 E3WauCRqeSTd for ; Fri, 4 Jan 2019 10:38:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtpo97.poczta.onet.pl (smtpo97.poczta.onet.pl [213.180.149.150]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4BBE6864EA for ; Fri, 4 Jan 2019 10:38:11 +0000 (UTC) Received: from [192.168.1.146] (87-204-112-33.static.ip.netia.com.pl [87.204.112.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sdrb@onet.eu) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 43WLph4RrBz1XRJLC; Fri, 4 Jan 2019 11:38:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onet.eu; s=2011; t=1546598285; bh=MUhtaD0XX/9zTWaxHRQdUG0qq+wB8Ho4VUkzcbcdKUw=; h=From:Subject:To:Date:From; b=DIMxh9GGMv2cpjSt1MsRyQcdnetfM4K04jk9KNxnIMmD/rm9qpsoz7WqiRHdpGAdS 4zL7DUcJ2eMoAhKRCF1qBE48jsYSR3zOuM2C89SzsLwAoU/UljAi8d+F8LNVCnD7z5 faCTrJAn6ANpSoeFy6CKL7gldEgd9LurZ7rgj50k= From: WK To: buildroot@busybox.net Message-ID: Date: Fri, 4 Jan 2019 11:38:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 MIME-Version: 1.0 Subject: [Buildroot] Generation of locales 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Hello, I noticed that compiling buildroot a few times without "make clean" the size of locale-archive file in $(TARGET_DIR)/usr/lib/locale is increasing. The strange thing is that it occures about three times and then it stops increasing. My solution for this issue is following: Is that patch proper as a fix for this problem? Or maybe there is better solution? Kind Regards, Witold Kowolik --- Makefile 2019-01-04 10:03:37.136971246 +0100 +++ Makefile 2019-01-04 10:39:15.298119675 +0100 @@ -647,6 +647,7 @@ PACKAGES += host-localedef define GENERATE_GLIBC_LOCALES $(Q)mkdir -p $(TARGET_DIR)/usr/lib/locale/ + $(Q)rm -f $(TARGET_DIR)/usr/lib/locale/locale-archive $(Q)for locale in $(GLIBC_GENERATE_LOCALES) ; do \ inputfile=`echo $${locale} | cut -f1 -d'.'` ; \ charmap=`echo $${locale} | cut -f2 -d'.' -s` ; \