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 45D563858D35 for ; Tue, 29 Aug 2023 15:22:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 45D563858D35 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=1693322535; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=7TxX43ZkN041l7kVv7uuYsxN1teN7suYBeGmU8ZAiqs=; b=W0GGMJQ94DyCUgvbP4KC0baYG2q31xyks67j0EK62Gr+SYI74iSvpd4Fto9iaHOSrbJXCG UpoK0ZDqKKS94qiK0y3gwM4mehoBDDSUI1E2+zPlrP7AGUUJlIJzYqge6B3/zkIKXq57NM iXAH4MKad7W0tDA+ZORhvry/uBl9JwM= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-314-PrHtvNcdN1S9gktLEQvjkQ-1; Tue, 29 Aug 2023 11:22:11 -0400 X-MC-Unique: PrHtvNcdN1S9gktLEQvjkQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 32ABC8EE598; Tue, 29 Aug 2023 15:21:46 +0000 (UTC) Received: from prancer.redhat.com (unknown [10.42.28.53]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 97A472026D68; Tue, 29 Aug 2023 15:21:45 +0000 (UTC) From: Nick Clifton To: gcc-patches@gcc.gnu.org, gdb-patches@sourceware.org, binutils@sourceware.org Subject: RFC: Top level configure: Require a minimum version 6.8 texinfo Date: Tue, 29 Aug 2023 16:21:44 +0100 Message-ID: <87wmxd50xj.fsf@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-9.7 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,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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, Currently the top level configure.ac file sets the minimum required version of texinfo to be 4.7. I would like to propose changing this to 6.8. The reason for the change is that the bfd documentation now needs at least version 6.8 in order to build[1][2]. Given that 4.7 is now almost 20 years old (it was released in April 2004), updating the requirement to a newer version does seem reasonable. On the other hand 6.8 is quite new (it was released in March 2021), so a lot of systems out there may not have it. Thoughts ? Cheers Nick [1] https://sourceware.org/bugzilla/show_bug.cgi?id=30703 [2] https://sourceware.org/pipermail/binutils/2023-February/125943.html Suggested patch: diff --git a/configure.ac b/configure.ac index 01cfd017273..10bfef1c6c5 100644 --- a/configure.ac +++ b/configure.ac @@ -3678,10 +3678,10 @@ case " $build_configdirs " in *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;; *) changequote(,) - # For an installed makeinfo, we require it to be from texinfo 4.7 or + # For an installed makeinfo, we require it to be from texinfo 6.8 or # higher, else we use the "missing" dummy. if ${MAKEINFO} --version \ - | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then + | egrep 'texinfo[^0-9]*(6\.([8-9]|[1-9][0-9])|[7-9]|[1-9][0-9])' >/dev/null 2>&1; then : else MAKEINFO="$MISSING makeinfo"