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.129.124]) by sourceware.org (Postfix) with ESMTPS id BE57E387084B for ; Sat, 15 Jun 2024 14:59:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BE57E387084B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BE57E387084B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718463579; cv=none; b=robmrIoosYOLKD/LKcaoLYIe6FbDl7pf+th6H6ZL7iaE9gqclehRR2S5LJ3004WOplmuOwfLcB/6fB+74X4VMA3RdrZCjF4ipP1emOwNDe3JmXZTeQnDYs3WcoSPVpVpuwt9fxuOTq20LwHHVBlyXce+UkOEui+J2cq8QA9aSpM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718463579; c=relaxed/simple; bh=XUY4Wn3Lt3sws2Xte+Z6WVcjzJSOkA/piAF1IScvguo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=MveliwOGFwB2IpczMKVkVu1bI7sdTgCUEQenk+r/SzBISXgjhLkgTgF7oMGvD8IdwyYEcO+NMpXvw2ySHXqFONaW7CYUpS3pIGFpdWv5R7TTkfSyNsw989cKOVQFVb14JuaAZhRIJR0jObP3WFZxS0mcy0dSEECGAu53Az0yEHQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1718463577; 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: in-reply-to:in-reply-to:references:references; bh=AV25bhg41ZQs7Ss0QSkIqo1ksQXJMAiPaTQ80ZJnAnU=; b=EthOYa9s383chUUNQUOH0hIEaqbw3vpywG/xAtlxnQTxHj9c++DlTT7URP0kJyANBPS9uB weXDYx3KGvisB8GoxUYmdlndzbVFq/lcrFbSRO+VwzkFv8zt3zfSA+sdy4F/j/m5YIfmlM hX9HwjSYzf4XH+sIe5pGf0iZldPQyF4= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-519-_31f1an8N-WrY0WOwFUuXg-1; Sat, 15 Jun 2024 10:59:36 -0400 X-MC-Unique: _31f1an8N-WrY0WOwFUuXg-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-4219cb14a23so27370215e9.3 for ; Sat, 15 Jun 2024 07:59:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718463574; x=1719068374; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AV25bhg41ZQs7Ss0QSkIqo1ksQXJMAiPaTQ80ZJnAnU=; b=g+x4FppHM5JrVArQXr222zbwuX2Qk2fX7Of8YupKAYQFepMQk824+f7IxqpZHfA8kb w3oGTiMi5UL/Iu+BDskTR+fVlX4PvhAWp0YBSvXJgH8fgcfq4HKA3qKgOjfjbHK6K8tC mk/CqxJp9QUlY9YF8MfdM+rNO2EIYmZFTTRxdeCMYtPbC0NC0yGry4EKZwEiIozRZl1/ oZzGhh8Vtmh8JLoZUVNIALejjwnZHicYsy+KatJR5uvEyOB7ZAMVIn6oRQ/F8iAV/7nv ptIePsxYeRcagu3Tp/jtdVtLbXXw0/CEWtUQ8nGTNYLZlr5MOoTvdkvGsrY79DwpsHZg 8ueA== X-Forwarded-Encrypted: i=1; AJvYcCVDHQfw7iaSXkm780GA6Soh0gygGpJnp7XZJnXjWZLEb1Nqxpjzfgigpt5DClZLgk+C7gcehjzYY5EHT0aviAMDCYZc8UxH2xoKFA== X-Gm-Message-State: AOJu0YwIbKD4OqEDc5gOEQ8Jg4qo07XQjBU6hYnNA0M6WVyWexCzV7kn ZewtOWmEnbcEy7GcTxBSJFFUijI3vHVku+6obVrvy9UPfhRucqHmaOMFi1Q5Wc7e8eIpK84zT4i PUcUwTaNzRGXw6+4qwVk9grIHAunO+YrCPGWKow4Ah/QoqN92aHK9kC9hNX6ti8K9KHo= X-Received: by 2002:a05:600c:4448:b0:421:81b7:785e with SMTP id 5b1f17b1804b1-4230481a0a5mr60173525e9.2.1718463574429; Sat, 15 Jun 2024 07:59:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGGhxXPqNETlK6FoO4bGlqiAqw7gqhz08/CS214WavKYmFD3FhjRCiNTe2ZvPbxFNuoKhSUOw== X-Received: by 2002:a05:600c:4448:b0:421:81b7:785e with SMTP id 5b1f17b1804b1-4230481a0a5mr60173385e9.2.1718463573852; Sat, 15 Jun 2024 07:59:33 -0700 (PDT) Received: from localhost ([31.111.84.186]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-422869d4f2esm139868655e9.0.2024.06.15.07.59.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jun 2024 07:59:33 -0700 (PDT) From: Andrew Burgess To: Eli Zaretskii Cc: pedro@palves.net, gdb-patches@sourceware.org, tom@tromey.com Subject: Re: [PATCHv3 6/6] gdb/doc: fix parallel build of pdf and dvi files In-Reply-To: <86sexetm5b.fsf@gnu.org> References: <412817c6d07836aa2ba2026ac9047fb283c481ea.1717696065.git.aburgess@redhat.com> <871q4y8rrm.fsf@redhat.com> <86sexetm5b.fsf@gnu.org> Date: Sat, 15 Jun 2024 15:59:32 +0100 Message-ID: <87msnm6yln.fsf@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Eli Zaretskii writes: >> From: Andrew Burgess >> Cc: Tom Tromey >> Date: Sat, 15 Jun 2024 10:44:13 +0100 >> >> > If we care about old versions enough to support them like this, then >> > couldn't we instead make the subdirectories ourselves and build there, >> > instead of using --build? That way, we would only have one code path, >> > and it would work the same in new or old texi2dvi? >> > >> > I mean, make the rule do something like: >> > >> > mkdir -p pdf && cd pdf && texi2dvi ... >> >> I took a look at this approach and the problem is fixing all the include >> paths passed to the texi2dvi command, it all gets a bit messy as we need >> to add '../' to the start of every include path. >> >> I'm happy to drop the configure part of this patch, looking at the >> texinfo NEWS file the --build=tidy option was added in release 4.9 which >> came out in June 2007. >> >> So if we're willing to make texinfo 4.9 a (doc) build requirement then >> I'll update the patch. > > Does the manual even build with such an old version of Texinfo? I > very much doubt that, as there were many additions to the language > since then. You're right. I tried with texinfo 4.13 (I had that kicking around already) and the docs build fails with errors from the .texi files, so I guess we already require a version > 4.13. I'll update the patch and post a new version. Thanks, Andrew