From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id E219E3858283 for ; Wed, 28 Sep 2022 12:59:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E219E3858283 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664369973; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oDBsbILdF99VcIcvUzEolXUSaESI7yFv2t6eU4CjWtE=; b=TavPLAAn2UaHDZYCAerLHPYcWglddHL/+PG1JX33Y20v7HWQwI79D+G2dEYtQI+9LttcEM X8fE8nZtBMTEK6FLFBQI10PN/Z+4ditSoW40Y6hLRT8HxVINTUO+EGHKd/YpkaZ3iVwGjC GDoWT15hdvmL4lvphJ5qZxWVeFnM18M= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-60-hWIp2LeaNEOfINyhVRD27w-1; Wed, 28 Sep 2022 08:59:32 -0400 X-MC-Unique: hWIp2LeaNEOfINyhVRD27w-1 Received: by mail-wm1-f69.google.com with SMTP id 7-20020a05600c020700b003b4ce6e6b12so544915wmi.0 for ; Wed, 28 Sep 2022 05:59:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date; bh=oDBsbILdF99VcIcvUzEolXUSaESI7yFv2t6eU4CjWtE=; b=MWAatxXF/qCUb4aJYp9SuBDoNsXrDpl6pYkn9nBuy9jQKATZlcNXK8bniK0/aNktqP wzlikNBtGdnZ/zjGlm276D0sgIqZZ2JDNEFKMe3zzJteHkyjLaW3CAw+2RCLuL7YQ5Xt Z8QRqsyqeREUETlWKY7JdH+4mW4Bfh1e9bd0MYRjjHx0fObfWxuo8ecwNqXKVPCCiQRg 0H0Mazz/aafrXVotSpX/nzq/i87iMaS7OHES8NRyiCk7FvwJGzqFXVgW7JULFIYojdgZ QS/Gm/yPClYMUDA0P6zYv6osUsj9nhYd/GOOgkFPGWSmfS+qUMNLOGY4XeHtroAM+/Jj Q2aw== X-Gm-Message-State: ACrzQf3rTjb71zDEyuwCksBYZsIM3RRWKNqPhjwThv4dy3fABqibT/rI RfszoquvbzFfLgXpzXIcTQycunFJT7vmc/tqLvYn9e1Y1M+d6X9G18KB6C4nmil7mcso5g4MI1z RCFDBXJ6LK9Lx9EZ8CyqTK2p3G/7o+ih/MhlwKJH6wGJA9mo1/ZucZJ0GscDBOtxGOg== X-Received: by 2002:a5d:4887:0:b0:226:ed34:7bbd with SMTP id g7-20020a5d4887000000b00226ed347bbdmr19787940wrq.561.1664369970104; Wed, 28 Sep 2022 05:59:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6QTYyGM1yGrEXXTUVBxiyG2P++ttiE+wHaIvyXrxqtNaty1WVVAC8VW2k3YY7CEk7IPuewgw== X-Received: by 2002:a5d:4887:0:b0:226:ed34:7bbd with SMTP id g7-20020a5d4887000000b00226ed347bbdmr19787925wrq.561.1664369969857; Wed, 28 Sep 2022 05:59:29 -0700 (PDT) Received: from [192.168.1.18] ([212.126.151.172]) by smtp.gmail.com with ESMTPSA id a3-20020a05600c348300b003b3365b38f9sm1739319wmq.10.2022.09.28.05.59.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Sep 2022 05:59:28 -0700 (PDT) Message-ID: <02ea8f50-7b68-6c4e-75db-e919121e8707@redhat.com> Date: Wed, 28 Sep 2022 13:59:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 To: Binutils , gdb-patches@sourceware.org Cc: Tzvetelin Katchov From: Nick Clifton Subject: RFC: Sort tarballs created by the src-release.sh script X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Guys, A contributor recently pointed out that the binutils release tarballs are not sorted by name, making it hard to reproducibly recreate them. At first we thought that using tar's --sort=name option would solve this, but it turns out that the src-release.sh script creates its own list of input file names, so instead I am proposing this patch: diff --git a/src-release.sh b/src-release.sh index 079b545ae7c..caae5148034 100755 --- a/src-release.sh +++ b/src-release.sh @@ -185,7 +185,7 @@ do_tar() echo "==> Making $package-$ver.tar" rm -f $package-$ver.tar find $package-$ver -follow \( $CVS_NAMES \) -prune \ - -o -type f -print \ + -o -type f -print | sort \ | tar cTfh - $package-$ver.tar } Any comments or objections ? Cheers Nick