From patchwork Mon Sep 8 16:53:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Marie Lemetayer X-Patchwork-Id: 386997 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 33ECD140142 for ; Tue, 9 Sep 2014 02:53:38 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=wOFeUiMrp5EtocLA834kaI0zjPOHoF9+90yQCG5t56NV7dNulc14f yu8O1qZvGy3zW66rNP5joas/SoQkPP4duJiLSJYj1VKln9fHzbS/mn7R6X6XE9Rn LBvgADdNu/DNlZBFXfwMmdKnBGjFmZVRva2dktv+WtZ2kgfjCme/qQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; s=default; bh=vsxDdvO3b8TN7F5xcsP8xDbdvCQ=; b=Y+WGQko1FSHwndNcvrgvcwlkIju0 GBTXHJhXKOvn146CdAzJWxuizNa2YFDk24pq4AYxJX3M9KVw+IuadH8oBCXumrpC sQirGX4UCQKum8xtgiBg7OnbUBIYsNecHiTFQbiB/hcKCzGPWghawlCEsRWdpmz9 DEHx1KADj9qwi9U= Received: (qmail 25834 invoked by alias); 8 Sep 2014 16:53:32 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 25823 invoked by uid 89); 8 Sep 2014 16:53:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f175.google.com Received: from mail-wi0-f175.google.com (HELO mail-wi0-f175.google.com) (209.85.212.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 08 Sep 2014 16:53:30 +0000 Received: by mail-wi0-f175.google.com with SMTP id ex7so2871313wid.14 for ; Mon, 08 Sep 2014 09:53:27 -0700 (PDT) X-Received: by 10.180.35.134 with SMTP id h6mr24601325wij.0.1410195207103; Mon, 08 Sep 2014 09:53:27 -0700 (PDT) Received: from immol0184.aviwest.local (32-200-190-109.dsl.ovh.fr. [109.190.200.32]) by mx.google.com with ESMTPSA id hy9sm11739519wjb.27.2014.09.08.09.53.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Sep 2014 09:53:26 -0700 (PDT) From: Jean-Marie Lemetayer To: crossgcc@sourceware.org Cc: Jean-Marie Lemetayer Subject: [PATCH 1/1] populate: fix empty files.list Date: Mon, 8 Sep 2014 18:53:18 +0200 Message-Id: <1410195198-13085-1-git-send-email-jeanmarie.lemetayer@gmail.com> The output format of the file(1) command have changed since (at least) the version 5.14. We need to to take care of an extra space. Signed-off-by: Jean-Marie Lemetayer --- scripts/populate.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/populate.in b/scripts/populate.in index 28a9740..c29be1c 100644 --- a/scripts/populate.in +++ b/scripts/populate.in @@ -280,9 +280,9 @@ CT_TMP_DIR="${TMPDIR:-/tmp}/populate-${rand}-${$}" trap "rm -rf ${CT_TMP_DIR}" EXIT # List all ELF (executables|shared objects)... -find . -type f -exec file {} \; \ -|"${grep}" -E ': ELF [[:digit:]]+-bit (L|M)SB (executable|shared object),' \ -|cut -d ":" -f 1 \ +find . -type f -exec file {} \; \ +|"${grep}" -E ': ELF [[:digit:]]+-bit (L|M)SB +(executable|shared object),' \ +|cut -d ":" -f 1 \ >"${CT_TMP_DIR}/files.list" # ... and use that list to find missing dependencies