From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc30.google.com (mail-oo1-xc30.google.com [IPv6:2607:f8b0:4864:20::c30]) by sourceware.org (Postfix) with ESMTPS id 47FA0385782F for ; Fri, 20 Nov 2020 13:43:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 47FA0385782F Received: by mail-oo1-xc30.google.com with SMTP id q28so2227428oof.1 for ; Fri, 20 Nov 2020 05:43:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=a81JQmY08FU77WzmEUtfiZwjGQGWOFQhSaslEKBO9iM=; b=lP+D143HHA1kzsK3VKP8AtkUvfIWt9QDBJ9eongstt2i3Vc1v2Gs8KIRm1gyx+V40k y9e+jtDa+KK0Als7pvalJPOV8aKKUfGplrNH2MWRGVKbKng93COdoaphpbPwDXl+mqLQ IyBK1FfdgUdqXDzJUvzI2q2sFeJKN2dU4sBvZV+1GPzFOrx2wgvqlEAQQwQ0XQjOBVvM JWUaSK88qbXR84GFgW2+lIymZsWDhh7/kZhIwv9f5JlThXd2aJBDJSqNR+MYBKbIRexU pBtCMa+VOIAMNuAZlhsI0h0vq0qNK+C3ef0b4U96WBnxtV0m9TG/ePOHxIBXA37Uti+y F19w== X-Gm-Message-State: AOAM533u+TgtUR6B4FUeH7UgCAd/iyvA9wRiPopSZhfFkt2n75fYBP+w +/H3jAWQcY57RnMdfu8EJCk/oUv2shdXuI9Lsi31dTeGBSo= X-Google-Smtp-Source: ABdhPJy5jbR4esjMSGPa4HfMdGa3Krtha1rpUsXAIX8LThsZOCB0X77JcGo5ROH+kTMLAmM1Baih0YqUA8QjTuL9UE8= X-Received: by 2002:a4a:9b56:: with SMTP id e22mr1158370ook.58.1605879809624; Fri, 20 Nov 2020 05:43:29 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "H.J. Lu" Date: Fri, 20 Nov 2020 05:42:53 -0800 Message-ID: Subject: Re: broken check: You should edit tm.texi.in rather than tm.texi To: =?UTF-8?Q?Martin_Li=C5=A1ka?= Cc: GCC Development Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3030.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2020 13:43:34 -0000 On Fri, Nov 20, 2020 at 5:24 AM Martin Li=C5=A1ka wrote: > > Hello. > > I hit the following issue: > /bin/sh /home/marxin/Programming/gcc/gcc/../move-if-change tmp-tm.texi tm= .texi > You should edit /home/marxin/Programming/gcc/gcc/doc/tm.texi.in rather th= an /home/marxin/Programming/gcc/gcc/doc/tm.texi . > > Steps to reproduce: > 1) modify target.def > 2) you will see: > > Verify that you have permission to grant a GFDL license for all > new text in /dev/shm/objdir/gcc/tm.texi, then copy it to /home/marxin/Pro= gramming/gcc/gcc/doc/tm.texi. > > I copy and commit the changes. > > 3) I made another modification to target.def > > Now I face the issue as > elif test $(srcdir)/doc/tm.texi -nt $(srcdir)/doc/tm.texi.in \ > && ( test $(srcdir)/doc/tm.texi -nt $(srcdir)/target.def \ > > So tm.texi.in is older that tm.texi, but it's fine as both tm.texi.in > and tm.texi are not modified. > > Ideas how to improve the error message? It took me some time to realize > that 'touch tm.texi.in' is what I need. Should contrib/gcc_update handle it? --=20 H.J.