From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] improve high-res file timestamp in Automake Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Thu, 02 Feb 2023 22:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: 61240@debbugs.gnu.org X-Debbugs-Original-To: automake-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167537671221030 (code B ref -1); Thu, 02 Feb 2023 22:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Feb 2023 22:25:12 +0000 Received: from localhost ([127.0.0.1]:36090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNi11-0005T5-CB for submit@debbugs.gnu.org; Thu, 02 Feb 2023 17:25:12 -0500 Received: from lists.gnu.org ([209.51.188.17]:45356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNi0y-0005Sv-04 for submit@debbugs.gnu.org; Thu, 02 Feb 2023 17:25:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNi0x-0004PW-LW for automake-patches@gnu.org; Thu, 02 Feb 2023 17:25:07 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNi0u-0004cb-9R for automake-patches@gnu.org; Thu, 02 Feb 2023 17:25:07 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2C1C6160054 for ; Thu, 2 Feb 2023 14:25:02 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id UlwN7lZcbU7h for ; Thu, 2 Feb 2023 14:25:00 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3F3C4160070 for ; Thu, 2 Feb 2023 14:25:00 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.9.2 zimbra.cs.ucla.edu 3F3C4160070 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=78364E5A-2AF3-11ED-87FA-8298ECA2D365; t=1675376700; bh=k6+iRZkhdQWvNtMhx8iGsXcUUfkL5Ce5n51H2deOK3s=; h=Content-Type:Message-ID:Date:MIME-Version:To:From:Subject; b=PXGEQMiGs1IWvnAqXCuE1tv70PpoKi5pnl5naew+U1YuvvCUsOXQNH8zaDWEc8gKP guF2h24H7WnVDd+LmWmSLIz8qhEkuQ8Fe56cG1D+vSheetomhEKlncrfa2QIU/snlq gKLxIn4lHU1mYkWbp9wDoc/yqL0uyM8QNXw9g88U= X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3jcGPaWf6GkA for ; Thu, 2 Feb 2023 14:25:00 -0800 (PST) Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 187C5160054 for ; Thu, 2 Feb 2023 14:25:00 -0800 (PST) Content-Type: multipart/mixed; boundary="------------jThYisuA5JKc4M9PyRjqAoqF" Message-ID: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> Date: Thu, 2 Feb 2023 14:24:59 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Content-Language: en-US From: Paul Eggert Organization: UCLA Computer Science Department Received-SPF: pass client-ip=131.179.128.68; envelope-from=eggert@cs.ucla.edu; helo=zimbra.cs.ucla.edu X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) This is a multi-part message in MIME format. --------------jThYisuA5JKc4M9PyRjqAoqF Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I installed the attached to port a FileUtils.pm patch back from Autoconf into Automake. I wish Perl supported file timestamps with nanosecond resolution, but apparently not, so this is the best we could do easily. Although this bumps the required Perl version from 5.6 (2000) to 5.10 (2007), I don't think that's a problem nowadays. --------------jThYisuA5JKc4M9PyRjqAoqF Content-Type: text/x-patch; charset=UTF-8; name="0001-maint-require-perl-5.010-or-later.patch" Content-Disposition: attachment; filename="0001-maint-require-perl-5.010-or-later.patch" Content-Transfer-Encoding: base64 RnJvbSA0ZTM3NDRhMTVjNGQ4YmRiNDZjMTFlYWQyZmI1NmM1ZjU5MWI3MTRiIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLnVjbGEuZWR1 PgpEYXRlOiBUaHUsIDIgRmViIDIwMjMgMTQ6MTM6MjQgLTA4MDAKU3ViamVjdDogW1BBVENI IDEvMl0gbWFpbnQ6IHJlcXVpcmUgcGVybCA1LjAxMCBvciBsYXRlcgoKVGhpcyBpcyBuZWVk ZWQgZm9yIGJldHRlciB0cmVhdG1lbnQgb2YgaGlnaC1yZXMgdGltZXN0YW1wcy4KLS0tCiBO RVdTICAgICAgICAgICAgICAgICAgICAgICAgICAgfCA2ICsrKysrLQogYmluL2FjbG9jYWwu aW4gICAgICAgICAgICAgICAgIHwgMiArLQogYmluL2F1dG9tYWtlLmluICAgICAgICAgICAg ICAgIHwgMiArLQogY29uZmlndXJlLmFjICAgICAgICAgICAgICAgICAgIHwgNSArKy0tLQog bGliL0F1dG9tYWtlL0NoYW5uZWxEZWZzLnBtICAgIHwgMiArLQogbGliL0F1dG9tYWtlL0No YW5uZWxzLnBtICAgICAgIHwgMiArLQogbGliL0F1dG9tYWtlL0NvbmRpdGlvbi5wbSAgICAg IHwgMiArLQogbGliL0F1dG9tYWtlL0NvbmZpZy5pbiAgICAgICAgIHwgMiArLQogbGliL0F1 dG9tYWtlL0NvbmZpZ3VyZV9hYy5wbSAgIHwgMiArLQogbGliL0F1dG9tYWtlL0Rpc2pDb25k aXRpb25zLnBtIHwgMiArLQogbGliL0F1dG9tYWtlL0ZpbGVVdGlscy5wbSAgICAgIHwgMiAr LQogbGliL0F1dG9tYWtlL0dlbmVyYWwucG0gICAgICAgIHwgMiArLQogbGliL0F1dG9tYWtl L0dldG9wdC5wbSAgICAgICAgIHwgMiArLQogbGliL0F1dG9tYWtlL0l0ZW0ucG0gICAgICAg ICAgIHwgMiArLQogbGliL0F1dG9tYWtlL0l0ZW1EZWYucG0gICAgICAgIHwgMiArLQogbGli L0F1dG9tYWtlL0xhbmd1YWdlLnBtICAgICAgIHwgMiArLQogbGliL0F1dG9tYWtlL0xvY2F0 aW9uLnBtICAgICAgIHwgMiArLQogbGliL0F1dG9tYWtlL09wdGlvbnMucG0gICAgICAgIHwg MiArLQogbGliL0F1dG9tYWtlL1J1bGUucG0gICAgICAgICAgIHwgMiArLQogbGliL0F1dG9t YWtlL1J1bGVEZWYucG0gICAgICAgIHwgMiArLQogb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RsaW5lcz4gbWV0aG9kcyB0byB0cmFuc2xhdGUgQzxcclxuPiB0byBDPFxuPi4KIAog PWN1dAogCi11c2UgNS4wMDY7Cit1c2UgNS4wMTA7CiB1c2Ugc3RyaWN0OwogdXNlIHdhcm5p bmdzIEZBVEFMID0+ICdhbGwnOwogCi0tIAoyLjM5LjEKCg== --------------jThYisuA5JKc4M9PyRjqAoqF Content-Type: text/x-patch; charset=UTF-8; name="0002-Use-higher-resolution-file-timestamps.patch" Content-Disposition: attachment; filename="0002-Use-higher-resolution-file-timestamps.patch" Content-Transfer-Encoding: base64 RnJvbSAwMWJmNjVkYWY2ZjY2MjdiNTZmYmU3OGZjNDM2ZmQ4NzdjY2QzNTM3IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLnVjbGEuZWR1 PgpEYXRlOiBUaHUsIDIgRmViIDIwMjMgMTQ6MTc6NTIgLTA4MDAKU3ViamVjdDogW1BBVENI IDIvMl0gVXNlIGhpZ2hlci1yZXNvbHV0aW9uIGZpbGUgdGltZXN0YW1wcwpNSU1FLVZlcnNp b246IDEuMApDb250ZW50LVR5cGU6IHRleHQvcGxhaW47IGNoYXJzZXQ9VVRGLTgKQ29udGVu dC1UcmFuc2Zlci1FbmNvZGluZzogOGJpdAoKKiBsaWIvQXV0b21ha2UvRmlsZVV0aWxzLnBt IChtdGltZSk6ClJldHVybiBoaWdoZXItcmVzb2x1dGlvbiBmaWxlIHRpbWVzdGFtcHMuClRo aXMgaXNu4oCZdCBwZXJmZWN0LCBidXQgaXTigJlzIGJldHRlciB0aGFuIHdoYXQgd2UgaGFk LgpDb2RlIGNoYW5nZSB0YWtlbiBmcm9tIEF1dG9jb25mIHRvIHBhcnRpYWxseSBmaXggYSBy YWNlCjxodHRwczovL2J1Z3MuZ2VudG9vLm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NzgyOTg1Pi4K LS0tCiBsaWIvQXV0b21ha2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ciBjYW4gYmUgaHVuZHJlZHMgb2YgbmFub3NlY29uZHMgZm9yIGNpcmNhLTIwMjMgdGlt ZXN0YW1wcy4KKyAgIyBQZXJoYXBzIHNvbWUgZGF5IFBlcmwgd2lsbCBzdXBwb3J0IGFjY3Vy YXRlIGZpbGUgdGltZXN0YW1wcy4KKyAgIyBGb3Igbm93LCBkbyB0aGUgYmVzdCB3ZSBjYW4g d2l0aG91dCBnb2luZyBvdXRzaWRlIFBlcmwuCisKKyAgcmV0dXJuICRtdGltZTsKIH0KIAog Ci0tIAoyLjM5LjEKCg== --------------jThYisuA5JKc4M9PyRjqAoqF-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 02 18:02:30 2023 Received: (at control) by debbugs.gnu.org; 2 Feb 2023 23:02:30 +0000 Received: from localhost ([127.0.0.1]:36102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNib7-0006Wt-Ul for submit@debbugs.gnu.org; Thu, 02 Feb 2023 18:02:30 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:43452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNib6-0006Wc-8x for control@debbugs.gnu.org; Thu, 02 Feb 2023 18:02:29 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 53B00160070 for ; Thu, 2 Feb 2023 15:02:21 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id knaJj5u_fBhu for ; Thu, 2 Feb 2023 15:02:20 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A3F3A160076 for ; Thu, 2 Feb 2023 15:02:20 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.9.2 zimbra.cs.ucla.edu A3F3A160076 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=78364E5A-2AF3-11ED-87FA-8298ECA2D365; t=1675378940; bh=96db+oGsM2xDxvPTFoNAmOQsjqWmp2vP5YU35kUu4Ik=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type: Content-Transfer-Encoding; b=Wostxk48nXGUs1E5IkMiW1kKFPkl8S+zprycUPM5RDdsr9EgEBAn3jjSF2pGOXXO6 eQEqj4qplAWe2dBCnbAOxm+9X5D9SJbiY0MobY+K5H+AQ6O/oPl7ipjiEfoRfAyzc7 hZv1w4pqu91u+4UyLTnpRX2ug16drXmBd0AbZc4g= X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id j5cGB9dCFsi7 for ; Thu, 2 Feb 2023 15:02:20 -0800 (PST) Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 81DA7160070 for ; Thu, 2 Feb 2023 15:02:20 -0800 (PST) Message-ID: <05843934-84b4-d3c7-1e6b-1f6c9aa47b9c@cs.ucla.edu> Date: Thu, 2 Feb 2023 15:02:20 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Content-Language: en-US To: GNU bug control From: Paul Eggert Subject: close 61240 Organization: UCLA Computer Science Department Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 61240 From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] improve high-res file timestamp in Automake Resent-From: Jacob Bachmeyer Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Sat, 04 Feb 2023 02:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: Paul Eggert Cc: 61240@debbugs.gnu.org Reply-To: jcb62281@gmail.com Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.167547766021069 (code B ref 61240); Sat, 04 Feb 2023 02:28:01 +0000 Received: (at 61240) by debbugs.gnu.org; 4 Feb 2023 02:27:40 +0000 Received: from localhost ([127.0.0.1]:40283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pO8HD-0005Tl-Kt for submit@debbugs.gnu.org; Fri, 03 Feb 2023 21:27:39 -0500 Received: from mail-oi1-f179.google.com ([209.85.167.179]:43974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pO8HB-0005TV-My for 61240@debbugs.gnu.org; Fri, 03 Feb 2023 21:27:38 -0500 Received: by mail-oi1-f179.google.com with SMTP id s17so5724892ois.10 for <61240@debbugs.gnu.org>; Fri, 03 Feb 2023 18:27:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=ul0ZFMQ1OpihIODphO6gSGGKk/k3PPPLAd8q4d/7LII=; b=DTU4vRXEWLOxBi4Dv55lSjyns0OoVvRG6yJkLFeWl2gp5QwIS9Jy3cYzdLCYOSm2P4 rxJ6n2qsLzwAGMadxDakj+gqjCmrJcv+8F/HL+AqCapZ7cE72nJw5XyqVwdXOz/JRuFl RcF4QzYZ0ebMaopsPCHBzYwJM9f0chmV+DUxvfE3jMDc1yX7nDmvABWogxpDxYlf1PSB PvENP2Dc7QJd2dWUAmvc9me44zmsmD2/ki3N3xmJtCbwYzI9/5DAHUOmddQwd8N/pvZn 9sHWq1gy9p9i8zZYjshSIzfh7nieW2OADHQ25nDRIIuGZz14ffl6uONw9BMSegYPo7/i O/Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ul0ZFMQ1OpihIODphO6gSGGKk/k3PPPLAd8q4d/7LII=; b=wowoGgxIJZT76CbQUFN+wXvsB0/BSTjjRq50xR5jT1RLrblxh+K6M4s9+69NW7ChsR hEFl8HWXcwRHR4kn/Z8LHNDYQCSxmkYmbgtdbRscyea9+TPAKbApBnsnns0qjvroVXl/ rphdVxA2q7+dl+pkW0xGGpSbevo4EmYC8LNggOu92I38a/CPbnoN2uKfQCZtqKKjYXnp RcjE/JNpHsYovLHs9sFwfMreHcYRDRQw2hiy1Z+UU8DWt71S0D50fG98uUzw9logJeL+ 38pJKvb6egDZYdzQhLULZqBL1bK1JCAbtvJ/XC+kq6OoR4RC5uxNvEHtvoruC3aI6T10 GpoQ== X-Gm-Message-State: AO0yUKXoe54x5xHAAdzowB+xkfRG53tx/wGvYBJGc5gJMU0kJtj9X0Bh ujVmh0QvGvkZ2IENoc4kW6g= X-Google-Smtp-Source: AK7set+wh8WrQlRQfoDBOn2btx717drkDd+ICHUWwIZKai0KEiOdVNuEqF++Rr1l966/gqa//MLYXQ== X-Received: by 2002:a05:6808:697:b0:378:2279:9f14 with SMTP id k23-20020a056808069700b0037822799f14mr4867582oig.26.1675477651956; Fri, 03 Feb 2023 18:27:31 -0800 (PST) Received: from [127.0.0.1] ([70.133.144.146]) by smtp.gmail.com with ESMTPSA id 9-20020aca2809000000b0035b4b6d1bbfsm1442630oix.28.2023.02.03.18.27.31 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Feb 2023 18:27:31 -0800 (PST) Message-ID: <63DDC291.1090100@gmail.com> Date: Fri, 03 Feb 2023 20:27:29 -0600 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> In-Reply-To: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) Paul Eggert wrote: > I installed the attached to port a FileUtils.pm patch back from > Autoconf into Automake. I wish Perl supported file timestamps with > nanosecond resolution, but apparently not, so this is the best we > could do easily. > > Although this bumps the required Perl version from 5.6 (2000) to 5.10 > (2007), I don't think that's a problem nowadays. Where are you actually using a 5.10 feature? Please do not arbitrarily bump version requirements just to bump version requirements. -- Jacob From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] improve high-res file timestamp in Automake Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Sat, 04 Feb 2023 03:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: jcb62281@gmail.com Cc: 61240@debbugs.gnu.org Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.167547984124787 (code B ref 61240); Sat, 04 Feb 2023 03:04:01 +0000 Received: (at 61240) by debbugs.gnu.org; 4 Feb 2023 03:04:01 +0000 Received: from localhost ([127.0.0.1]:40294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pO8qO-0006Ri-Po for submit@debbugs.gnu.org; Fri, 03 Feb 2023 22:04:01 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:49310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pO8qJ-0006RN-CY for 61240@debbugs.gnu.org; Fri, 03 Feb 2023 22:03:59 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E8CE8160090; Fri, 3 Feb 2023 19:03:48 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id f3jd1Qrf0usK; Fri, 3 Feb 2023 19:03:47 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id AABEB160091; Fri, 3 Feb 2023 19:03:47 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.9.2 zimbra.cs.ucla.edu AABEB160091 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=78364E5A-2AF3-11ED-87FA-8298ECA2D365; t=1675479827; bh=EiPdNIF/PuIqHzu5gE2ZkKq/p2MZ5/lekSoXnt9fbIg=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type: Content-Transfer-Encoding; b=W5eHpYmTJxZXoyj2RpueLsBikfXLD6Qyio3UTIMHoc/HK4X+qqBCyCh4LfFjDf3Ie 5QGSiqA96sOsXsJ9QHdfVk8HWJ8GByaerhE3c2YJfr7d6H19E/MPS5BVjWUpX/FVap TG6xldEiIpHj+mzpKr4HKOFjAOYh6cldqsEtmMiM= X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id mAlGmiitVFRW; Fri, 3 Feb 2023 19:03:47 -0800 (PST) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 8553A160090; Fri, 3 Feb 2023 19:03:47 -0800 (PST) Message-ID: Date: Fri, 3 Feb 2023 19:03:47 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> <63DDC291.1090100@gmail.com> From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <63DDC291.1090100@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) On 2023-02-03 18:27, Jacob Bachmeyer wrote: > Where are you actually using a 5.10 feature? Where lib/Automake/FileUtils.pm says "use Time::HiRes qw(stat);". This does not work with Perl 5.6. For why we bumped the version to 5.10, please see: https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=61901a1a14fd50c03cfb1529d091554376fef286 > Please do not arbitrarily bump version requirements just to bump version requirements. That's not what was done here. The abovementioned URL says version requirements were bumped from 5.6 to 5.10 because the feature is not present in 5.6 (2000), is present in 5.10 (2007), and we lacked access to the museum pieces in the middle. If you are sure that a version number lower than 5.10 will do, please let us know. From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] improve high-res file timestamp in Automake Resent-From: Jacob Bachmeyer Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Sun, 05 Feb 2023 00:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: Paul Eggert Cc: 61240@debbugs.gnu.org Reply-To: jcb62281@gmail.com Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.16755553908363 (code B ref 61240); Sun, 05 Feb 2023 00:04:01 +0000 Received: (at 61240) by debbugs.gnu.org; 5 Feb 2023 00:03:10 +0000 Received: from localhost ([127.0.0.1]:43633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOSUw-0002Ao-06 for submit@debbugs.gnu.org; Sat, 04 Feb 2023 19:03:10 -0500 Received: from mail-ot1-f48.google.com ([209.85.210.48]:44825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOSUs-0002AJ-Sy for 61240@debbugs.gnu.org; Sat, 04 Feb 2023 19:03:08 -0500 Received: by mail-ot1-f48.google.com with SMTP id g21-20020a9d6495000000b0068bb336141dso2363675otl.11 for <61240@debbugs.gnu.org>; Sat, 04 Feb 2023 16:03:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=ChiZSx0+kiYPLNG8Dk7X2CKCIqTH2qmU6Zw9HCxelyA=; b=gkm/Fm3SdcR7pNHSkPjwkoQH3mkVPeGJmqi7DYxNpjG2fpKqn3DwrkzOKqdXrsSA2P fvP5Ph60ThhH2Yozdo46pD4wreVdzS8SiG100h53cEzMpkYwoyef8NsLEMb9CAEPNPP0 wCCaOE3XimBTMG88DxhLRLH8XCy+jNx6vHp7raFXjV8B6xVIucEnKrMPEp3UX2X6Ki9+ hJr3SJEpXGkOWGehyLzcMS4HtVkzvoiezgcB4RAjWs7Ta2W1R1ByUDr7je/zCf8TghAb aagNLwUGM5OaIGjXDNqDXeHDYAo7mCWmG0cg73tfo6VCGjcQLj5DNMbNdfwwywIboih1 Fe5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ChiZSx0+kiYPLNG8Dk7X2CKCIqTH2qmU6Zw9HCxelyA=; b=4CENpnnQYOI2ctFXRf+lIBFbI8cuwZNpk84n5S/FTVLrdWXuxiKpHpLK/GVytieY/d QylHDoL1sqDVbBfpDvep9SkeQh0OGNeGkfrYGv/YvKgVRaQ+1zO9tlQosF5zoeAIyx/p 0Z4N0iVXxIuEmkPpFHEwkCotfdNtkeZN4wObOZRhh+Y2F+zrcb80rkl25NHy1smvP8/d sk9jVmAtHPFVJeNHAfHZz3yrR7wIPwQM95igfKOEFum28rVWiVV79ekG4e6G43e7CnbZ tSvpuinOguQPbD7R4ajpiDW7/01WjBiL+A4jIReyuvPIexEGX66+LJPHZ8uErsa9tgyT XJeQ== X-Gm-Message-State: AO0yUKXJ0X7ixWG8dxYLBIU8t3naxi7/Bh4T6z+kv1iEuXaLz1+0y2xZ UIbMozjzi+GMZIHdwnAIHLU= X-Google-Smtp-Source: AK7set9VRCdUf9vYn+tVxPPBpyyAnvtKXnF7S+8Q+tLBKOK+DtSOorEr31Tdc06vu1GVbi19SB2IHg== X-Received: by 2002:a9d:1a4:0:b0:68b:dabb:34c5 with SMTP id e33-20020a9d01a4000000b0068bdabb34c5mr3524690ote.24.1675555380893; Sat, 04 Feb 2023 16:03:00 -0800 (PST) Received: from [127.0.0.1] ([70.133.144.146]) by smtp.gmail.com with ESMTPSA id n8-20020a0568301e8800b00684bcc9e204sm2796276otr.78.2023.02.04.16.02.59 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 04 Feb 2023 16:03:00 -0800 (PST) Message-ID: <63DEF230.7080204@gmail.com> Date: Sat, 04 Feb 2023 18:02:56 -0600 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> <63DDC291.1090100@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) Paul Eggert wrote: > On 2023-02-03 18:27, Jacob Bachmeyer wrote: >> Where are you actually using a 5.10 feature? > > Where lib/Automake/FileUtils.pm says "use Time::HiRes qw(stat);". This > does not work with Perl 5.6. Time::HiRes is (perhaps was) installable from CPAN and is definitely /not/ a 5.10 feature. I have a Perl 5.8 with it installed, and while my memories that far back are a bit fuzzy, I seem to remember installing Time::HiRes on a Perl 5.6 installation some years ago. Things like "our" variables, PerlIO-by-default, and the defined-or operator are Perl features (those in 5.6, 5.8, and 5.10 if I remember correctly), modules are (with rare exceptions) not Perl features. The correct solution if you do not want to provide for the case where Time::HiRes is not available is to simply "use Time::HiRes qw(stat);" and *let* *that* *fail* if Time::HiRes is not available or cannot export stat(). Time::HiRes was on CPAN long before it was bundled with Perl, so the Perl version does /not/ tell you if it is available. (If Automake::FileUtils is not immediately loaded, put "use Time::HiRes;" somewhere that is. That will be enough to ensure that Time::HiRes is available.) > For why we bumped the version to 5.10, please see: > > https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=61901a1a14fd50c03cfb1529d091554376fef286 > > >> Please do not arbitrarily bump version requirements just to bump >> version requirements. > > That's not what was done here. The abovementioned URL says version > requirements were bumped from 5.6 to 5.10 because the feature is not > present in 5.6 (2000), is present in 5.10 (2007), and we lacked access > to the museum pieces in the middle. If you are sure that a version > number lower than 5.10 will do, please let us know. This was arbitrary because Time::HiRes is not actually dependent on the Perl version in that way. (You should also be able to get access to the museum pieces in the middle fairly easily using perlbrew.) I am fairly sure that Time::HiRes could be installed from CPAN on at least Perl 5.6 and later, and possibly even on Perls older than 5.6. (To add it to a 5.6 installation today may require retrieving it from BackPAN.) I definitely know that it can be installed on 5.8, as I still have a Perl 5.8 that has it, and "use Time::HiRes qw(stat);" succeeds in that Perl. If the requirement is Time::HiRes, then the proper course of action is to "require Time::HiRes;" rather than requiring some version of Perl that you know shipped it as a core module. Doing the latter /is/ arbitrarily bumping the version requirement. In fact, according to my copy of Module::CoreList (or, to be precise, its corelist(1) command-line frontend), Time::HiRes was first bundled with Perl 5.7.3. Note that I ran that query against a Perl 5.34 installation; the Perl community takes backwards compatibility like this very seriously. Note also that I said "bundled"; it could be installed from CPAN in older Perls, so requiring 5.8 (since 5.7 was a development series) is /not/ correct here. There are also the no-runtime-overhead options of using "eval { use Time::HiRes qw(stat) };" which will replace stat() with the hi-res version if it is available and continue with the regular stat() builtin if not, or "use constant HAVE_Time_HiRes => eval { use Time::HiRes };" and a conditional "if (HAVE_Time_HiRes) { ... } else { ... }" as I suggested as an improvement to Mike Frysinger's patch. In any case, you will still need to account for the possibility that Time::HiRes::stat() might not actually have higher resolution, depending on the filesystem. FAT, in particular, is notorious for its 2-second timestamp resolution. (This issue is actually mentioned in the Time::HiRes::stat documentation.) -- Jacob From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] improve high-res file timestamp in Automake Resent-From: Sam James Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Sun, 05 Feb 2023 00:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: jcb62281@gmail.com Cc: 61240@debbugs.gnu.org, Paul Eggert Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.16755555798643 (code B ref 61240); Sun, 05 Feb 2023 00:07:02 +0000 Received: (at 61240) by debbugs.gnu.org; 5 Feb 2023 00:06:19 +0000 Received: from localhost ([127.0.0.1]:43637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOSXy-0002FL-My for submit@debbugs.gnu.org; Sat, 04 Feb 2023 19:06:19 -0500 Received: from supercat.cmpct.info ([71.19.146.230]:43240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOSXv-0002FB-JV for 61240@debbugs.gnu.org; Sat, 04 Feb 2023 19:06:16 -0500 Received: from smtpclient.apple (unknown [82.8.138.118]) by supercat.cmpct.info (Postfix) with ESMTPSA id 0E64B4104C; Sun, 5 Feb 2023 00:06:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpct.info; s=default; t=1675555573; bh=whf8qlI5wYLomIIRe4pvogKNeDt16to/Tvff6WFSjfc=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=rD+BOkSxcMPZNY+FjPAOocfFo9h/ao4BPSec4UmdW5K9JTOCZN8viNuBYEG890uZ3 bGfoix6abAKUlP/1Kc9FYL8+07n05hS2e85kSf7aoovhJ0yMxq37JLyQLnzbb1fGV2 Ju4AzOKThrhb5Sg87+xiftSXxPD5uo6cC7lTInZk= Content-Type: multipart/signed; boundary="Apple-Mail=_3F717226-5C92-4842-8417-B6793CFCEF84"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) From: Sam James In-Reply-To: <63DEF230.7080204@gmail.com> Date: Sun, 5 Feb 2023 00:06:00 +0000 Message-Id: <7A23A1C7-6951-4FB6-8726-4CCB0A7FFD81@cmpct.info> References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> <63DDC291.1090100@gmail.com> <63DEF230.7080204@gmail.com> X-Mailer: Apple Mail (2.3731.300.101.1.3) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --Apple-Mail=_3F717226-5C92-4842-8417-B6793CFCEF84 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 5 Feb 2023, at 00:02, Jacob Bachmeyer wrote: >=20 > Paul Eggert wrote: >> On 2023-02-03 18:27, Jacob Bachmeyer wrote: >>> Where are you actually using a 5.10 feature? >>=20 >> Where lib/Automake/FileUtils.pm says "use Time::HiRes qw(stat);". = This does not work with Perl 5.6. >=20 > Time::HiRes is (perhaps was) installable from CPAN and is definitely = /not/ a 5.10 feature. I have a Perl 5.8 with it installed, and while my = memories that far back are a bit fuzzy, I seem to remember installing = Time::HiRes on a Perl 5.6 installation some years ago. Things like = "our" variables, PerlIO-by-default, and the defined-or operator are Perl = features (those in 5.6, 5.8, and 5.10 if I remember correctly), modules = are (with rare exceptions) not Perl features. >=20 > The correct solution if you do not want to provide for the case where = Time::HiRes is not available is to simply "use Time::HiRes qw(stat);" = and *let* *that* *fail* if Time::HiRes is not available or cannot export = stat(). Time::HiRes was on CPAN long before it was bundled with Perl, = so the Perl version does /not/ tell you if it is available. (If = Automake::FileUtils is not immediately loaded, put "use Time::HiRes;" = somewhere that is. That will be enough to ensure that Time::HiRes is = available.) >=20 >> For why we bumped the version to 5.10, please see: >>=20 >> = https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=3D61901a1a14fd50= c03cfb1529d091554376fef286 >>=20 >>> Please do not arbitrarily bump version requirements just to bump = version requirements. >>=20 >> That's not what was done here. The abovementioned URL says version = requirements were bumped from 5.6 to 5.10 because the feature is not = present in 5.6 (2000), is present in 5.10 (2007), and we lacked access = to the museum pieces in the middle. If you are sure that a version = number lower than 5.10 will do, please let us know. >=20 > This was arbitrary because Time::HiRes is not actually dependent on = the Perl version in that way. (You should also be able to get access to = the museum pieces in the middle fairly easily using perlbrew.) I think you probably mean "a mistake" rather than "arbitrary". He didn't = choose it for no reason or for fun. --Apple-Mail=_3F717226-5C92-4842-8417-B6793CFCEF84 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCY97y6F8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MAAKCRBzhAn1IN+R kFRwAP9OeDU7QeiqvQ9gqQKojx4gOpVtIV/qaNEjUeaJ2utDZAD/RkMAmKKSo4Ro wqMIRY1BcRaRB+LAV1iGoyAcMOzDtQY= =xNsV -----END PGP SIGNATURE----- --Apple-Mail=_3F717226-5C92-4842-8417-B6793CFCEF84-- From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] improve high-res file timestamp in Automake Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Sun, 05 Feb 2023 01:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: jcb62281@gmail.com Cc: 61240@debbugs.gnu.org Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.167556217819387 (code B ref 61240); Sun, 05 Feb 2023 01:57:02 +0000 Received: (at 61240) by debbugs.gnu.org; 5 Feb 2023 01:56:18 +0000 Received: from localhost ([127.0.0.1]:43696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOUGQ-00052c-8k for submit@debbugs.gnu.org; Sat, 04 Feb 2023 20:56:18 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:48888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOUGK-00052I-SC for 61240@debbugs.gnu.org; Sat, 04 Feb 2023 20:56:16 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id CAEA6160093; Sat, 4 Feb 2023 17:56:06 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 1lJ75fgkDEAY; Sat, 4 Feb 2023 17:56:05 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 8561916009C; Sat, 4 Feb 2023 17:56:05 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.9.2 zimbra.cs.ucla.edu 8561916009C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=78364E5A-2AF3-11ED-87FA-8298ECA2D365; t=1675562165; bh=U5p/zodnzukgcYPWOIEbU25ne/m0B3iF8N2OmbB4Koc=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type: Content-Transfer-Encoding; b=OZfagIKapJiWm+n7Dms8nVuP34O4VZQIeansP+dDCfO1JRqVffmksN2+PbMQNGGf4 sZqbmSItXoDwskgWnSmnEpXN1AXnTl1nLmBXN4xKAGcAj+5I1GKNOEfg/Bke1lbLmx 55JaRNm7lXe/MJi3eMCxautLT7uO4FVFaF9Ze0YY= X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id lR89LWYzGW6L; Sat, 4 Feb 2023 17:56:05 -0800 (PST) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 52C8E160093; Sat, 4 Feb 2023 17:56:05 -0800 (PST) Message-ID: Date: Sat, 4 Feb 2023 17:56:05 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> <63DDC291.1090100@gmail.com> <63DEF230.7080204@gmail.com> From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <63DEF230.7080204@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) On 2023-02-04 16:02, Jacob Bachmeyer wrote: > In any case, you will still need to account for the possibility that > Time::HiRes::stat() might not actually have higher resolution, depending > on the filesystem. That's fine. All we want is the exact file timestamp. If the file system timestamp resolution is only 2 s, then we want that multiple of 2. Admittedly we can't get the exact file timestamp on many modern file systems since Time::HiRes is precise only to the nearest ~238 ns for today's timestamps, but the idea is to get what we easily can. > There are also the no-runtime-overhead options of using "eval { use Time::HiRes qw(stat) };" which will replace stat() with the hi-res version if it is available and continue with the regular stat() builtin if not, or "use constant HAVE_Time_HiRes => eval { use Time::HiRes };" and a conditional "if (HAVE_Time_HiRes) { ... } else { ... }" as I suggested as an improvement to Mike Frysinger's patch. Sorry, I don't remember seeing that suggestion. I guess it was in another thread. Could you resend that patch to 61240@debbugs.gnu.org and cc me? Preferably a patch against the latest Automake, in "git format-patch" format; see for how to get bleeding-edge Automake. The idea would be to port bleeding-edge Automake to Perl < 5.10 when that's easy. Please bear in mind that I stopped coding in Perl 30 years ago and so am a bit rusty. From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] improve high-res file timestamp in Automake Resent-From: Jacob Bachmeyer Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Mon, 06 Feb 2023 01:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: Paul Eggert Cc: 61240@debbugs.gnu.org Reply-To: jcb62281@gmail.com Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.16756460599593 (code B ref 61240); Mon, 06 Feb 2023 01:15:02 +0000 Received: (at 61240) by debbugs.gnu.org; 6 Feb 2023 01:14:19 +0000 Received: from localhost ([127.0.0.1]:46860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOq5K-0002Ua-Ol for submit@debbugs.gnu.org; Sun, 05 Feb 2023 20:14:19 -0500 Received: from mail-ot1-f54.google.com ([209.85.210.54]:33593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOq5I-0002UK-Ju for 61240@debbugs.gnu.org; Sun, 05 Feb 2023 20:14:17 -0500 Received: by mail-ot1-f54.google.com with SMTP id x26-20020a056830115a00b0068bbc0ee3eeso2848795otq.0 for <61240@debbugs.gnu.org>; Sun, 05 Feb 2023 17:14:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=F/CoIUrJXgiUvK/VM61c7qTMr8TotE/7CL2ChAHf3Mc=; b=jikLO9Hyz3u+legkGLO+CCG3a8ScJXR37fcCzHB4G0lWoUNdjsue0GN9HT8CRRjOrp QtslFNZ3WrQyricor53IDIcbIc8y6ZfuTOWRMhW6ghfdflIxI3qkZNrWY/lTjod4/TIA Vttg9juGzRDPzSqPpun/FpwsAbIUIJgWReh1rgOx54vrff2+9PLYOxnJxYfdbOH+vR+6 Ubp3SYubO+P32OkSaAU5xAhcvofy+tRmdvDoEhYySRUgVLMjpMS0OFB+Jgo1lknhoLSR hBV3+JGl5auWR+WviAgzfSDvXlNX9INAJuBXAMnbsGYCMiElM/Jg9+gIwkn9TxqEye8O bAXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=F/CoIUrJXgiUvK/VM61c7qTMr8TotE/7CL2ChAHf3Mc=; b=oBK+wrPpHATPILGZwhXBH2w2XHClAtcw6RGjN7wEdZTFZZq+j8XnwE5AefJdZnrkUY rfEm9wzGTf4rzwbqoEDbgXoE2OmfSMjqRnVCHjkZOerY1QcSoNGs1yBSpDYir2rC1N93 Kw5n0EUMhq1R6SyWq0PKrvB6RwP/3jQX49oVQOTA3GB16Es2B57dcQlhgFEsV5920s6b itr0UClg7ZhcTHvqkrwjBkO9kSMtT4aid3wIMz8mRLvRNumSED0Y3r/D8xjvpL7oMcRZ UuY7EnaA/NBaHAo7ZQtCgZPne+oEid8o/vXVL2gi/6puu/x7SodBh3YdAWMCd6Rt5PS2 ZqZQ== X-Gm-Message-State: AO0yUKUpXvz2hFvqUEALQqs4ugqIB0YBIGzCzRA5IIzAmHL23jWOkLOV +Zti4p6YUhb+AL+H91G71OPMCQqtHnHVCg== X-Google-Smtp-Source: AK7set/pJi8GX12uwp06FfYU8EcR/Zrvk2Z8zVbsFDEIa/FXQK3cNcFndq9sDyG04vr7LNUCF74gdQ== X-Received: by 2002:a05:6830:1d4f:b0:68b:dd51:8ab with SMTP id p15-20020a0568301d4f00b0068bdd5108abmr5154603oth.20.1675646050994; Sun, 05 Feb 2023 17:14:10 -0800 (PST) Received: from [127.0.0.1] ([70.133.144.146]) by smtp.gmail.com with ESMTPSA id g17-20020a9d6c51000000b0068d59d15a93sm4297866otq.40.2023.02.05.17.14.10 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Feb 2023 17:14:10 -0800 (PST) Message-ID: <63E05460.7040805@gmail.com> Date: Sun, 05 Feb 2023 19:14:08 -0600 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> <63DDC291.1090100@gmail.com> <63DEF230.7080204@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) Paul Eggert wrote: > On 2023-02-04 16:02, Jacob Bachmeyer wrote: >> In any case, you will still need to account for the possibility that >> Time::HiRes::stat() might not actually have higher resolution, >> depending on the filesystem. > > That's fine. All we want is the exact file timestamp. If the file > system timestamp resolution is only 2 s, then we want that multiple of > 2. Admittedly we can't get the exact file timestamp on many modern > file systems since Time::HiRes is precise only to the nearest ~238 ns > for today's timestamps, but the idea is to get what we easily can. How often is Perl built to use long doubles these days? (That was an option beginning with Perl 5.6.) >> There are also the no-runtime-overhead options of using "eval { use >> Time::HiRes qw(stat) };" which will replace stat() with the hi-res >> version if it is available and continue with the regular stat() >> builtin if not, or "use constant HAVE_Time_HiRes => eval { use >> Time::HiRes };" and a conditional "if (HAVE_Time_HiRes) { ... } else >> { ... }" as I suggested as an improvement to Mike Frysinger's patch. > > Sorry, I don't remember seeing that suggestion. I guess it was in > another thread. Could you resend that patch to 61240@debbugs.gnu.org > and cc me? Preferably a patch against the latest Automake, in "git > format-patch" format; see > for how to get > bleeding-edge Automake. The idea would be to port bleeding-edge > Automake to Perl < 5.10 when that's easy. It was bug#60807. Looking at the patch, I suspect that I will need to take a closer look at the code: the existing code before Mike's patch used File::stat, which I suspect may not be compatible with Time::HiRes::stat (not compatible in the sense that File::stat's override of stat() probably will not use Time::HiRes's override of stat()). If so, then "use Time::HiRes qw(stat);" will not do what you want because either stat() will either cease to return an object or will not have subsecond resolution. Looking at the code, commit 01bf65daf6f6627b56fbe78fc436fd877ccd3537 appears fine, all I am asking is that commit 4e3744a15c4d8bdb46c11ead2fb56c5f591b714b be reverted. The current Automake Git master should actually work on Perl 5.6 if Time::HiRes has been installed, which was possible with 5.6 although it was bundled with Perl beginning with the 5.7.3 development release. In other words, bleeding-edge Automake is already ported to Perl < 5.10, in fact it should run on 5.8 out-of-the-box and 5.6 if Time::HiRes has been installed from CPAN (or perhaps BackPAN today, but Time::HiRes was on CPAN when 5.6 was current). > Please bear in mind that I stopped coding in Perl 30 years ago and so > am a bit rusty. Yes, very---30 years ago would have been before Perl 5.6! Much of modern Perl did not exist then... -- Jacob From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] improve high-res file timestamp in Automake Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Mon, 06 Feb 2023 03:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: jcb62281@gmail.com Cc: 61240@debbugs.gnu.org Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.167565289720728 (code B ref 61240); Mon, 06 Feb 2023 03:09:01 +0000 Received: (at 61240) by debbugs.gnu.org; 6 Feb 2023 03:08:17 +0000 Received: from localhost ([127.0.0.1]:47038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOrrd-0005OG-3C for submit@debbugs.gnu.org; Sun, 05 Feb 2023 22:08:17 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:55110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOrra-0005O3-RK for 61240@debbugs.gnu.org; Sun, 05 Feb 2023 22:08:15 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7F467160048; Sun, 5 Feb 2023 19:08:08 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id J7kZxJCdOigY; Sun, 5 Feb 2023 19:08:07 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 95FA116005E; Sun, 5 Feb 2023 19:08:07 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.9.2 zimbra.cs.ucla.edu 95FA116005E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=78364E5A-2AF3-11ED-87FA-8298ECA2D365; t=1675652887; bh=kgNqHsPXNp/8zfMPF+c2TTUg+nv12iQ7YVs62XH7rO4=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type: Content-Transfer-Encoding; b=BU8B21MME/r8+jD/rETHjeIb7vjg9Q9vztH2M7YS8L9+MYyo08tyrzhXQNDzk+c0A 0fkFOifyvaknV1ZPUkGudYBdlfElEWciX2dKUow1sfyxsG8RrkC2TKXjh+Y4yEjyUM kNO3X0bZeeTdgtZwAkZQhfHJ/LiAAGTBKumJaI6U= X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id KfkLPLADOTZA; Sun, 5 Feb 2023 19:08:07 -0800 (PST) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 71197160048; Sun, 5 Feb 2023 19:08:07 -0800 (PST) Message-ID: Date: Sun, 5 Feb 2023 19:08:07 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> <63DDC291.1090100@gmail.com> <63DEF230.7080204@gmail.com> <63E05460.7040805@gmail.com> From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <63E05460.7040805@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) On 2023-02-05 17:14, Jacob Bachmeyer wrote: > How often is Perl built to use long doubles these days?=C2=A0 (That was= an=20 > option beginning with Perl 5.6.) I doubt it's used much. It's not used in Ubuntu or Fedora, for what it's=20 worth. And on some platforms (e.g., macOS on current Apple silicon)=20 -Duselongdouble doesn't matter because long double is the same as double. Besides, although it's too bad that Perl can't represent file timestamps=20 precisely, that's not something Autoconf can fix. > Looking at the code, commit 01bf65daf6f6627b56fbe78fc436fd877ccd3537=20 > appears fine, all I am asking is that commit=20 > 4e3744a15c4d8bdb46c11ead2fb56c5f591b714b be reverted.=C2=A0 The current= =20 > Automake Git master should actually work on Perl 5.6 if Time::HiRes has= =20 > been installed, which was possible with 5.6 although it was bundled wit= h=20 > Perl beginning with the 5.7.3 development release. Unfortunately the Perl version bump was prompted by evidence in the=20 field that without making it clear that bare Perl 5.6 does not suffice,=20 Autoconf and Automake fail in ways that are mysterious to their users.=20 We can't expect people to install extensions in Perl 5.6 to work around=20 this problem. We must make things simple and easy for installers and=20 users to understand. Particularly since these are old Perl versions that=20 Autoconf and Automake users are unlikely to be running (people who use=20 bleeding-edge Autoconf and Automake almost invariably run recent Perl). It would be OK to go back to requiring only 5.6 if we can write=20 conditionalized code that works with 5.6 but with lower-res timestamps,=20 and quietly switches to higher-res timestamps if available and works=20 fine when they are available. Autoconf and Automake should not rely on=20 users installing optional Perl packages or dealing with Perl's=20 diagnostics when the optional stuff is missing: the code must work out=20 of the box with no expertise required. Can you write an Automake patch to do that, and test it on old Perl=20 installations? 'git format-patch' form preferred. I don't have access to=20 ancient Perl and am a bit squeezed for time, so I'm afraid this will=20 need to be done by a Perl expert such as yourself. From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] improve high-res file timestamp in Automake Resent-From: Jacob Bachmeyer Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Mon, 06 Feb 2023 05:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: Paul Eggert Cc: 61240@debbugs.gnu.org Reply-To: jcb62281@gmail.com Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.167566221212961 (code B ref 61240); Mon, 06 Feb 2023 05:44:02 +0000 Received: (at 61240) by debbugs.gnu.org; 6 Feb 2023 05:43:32 +0000 Received: from localhost ([127.0.0.1]:47180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOuHr-0003Mz-Eh for submit@debbugs.gnu.org; Mon, 06 Feb 2023 00:43:31 -0500 Received: from mail-ot1-f44.google.com ([209.85.210.44]:38834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOuHp-0003Mj-9G for 61240@debbugs.gnu.org; Mon, 06 Feb 2023 00:43:29 -0500 Received: by mail-ot1-f44.google.com with SMTP id e21-20020a9d5615000000b006884e5dce99so2931099oti.5 for <61240@debbugs.gnu.org>; Sun, 05 Feb 2023 21:43:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=E9wVzalrxudldGxmSPbe0bG57nUNagH7RnfqVoZ33QY=; b=KPjKH7HOF+t/rpQOh8OnMR5t6BL5LFu9g45ECVN0BEgiiIBFZbCVavn55UU+xLXUqz 59anlII6fUa3Wk1uRzPPrMjjw3aTY/iyjrC8DOiFVJYgGx6izu1nH5j3sme08EHxUg3d 7SMCiMcQ1cN6L1MAQV1YcoJ7gnoktNsIY6TlNG8u4i33qxVy2HkUElbuAZt7cw7Yd0cv KC5/IYnXR4rqqf/UecYcYenAKeyW0v0YrGouSFFTvAkLZ0tLv5Mmamv1Yw//wnoYES+g As5PFPG6GUA/JvwhBL9Xc6QS3CmbDg0BP2oCT1bJzCQnlksKHIMoK5xzWkgC2ZtjlmBX dbcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=E9wVzalrxudldGxmSPbe0bG57nUNagH7RnfqVoZ33QY=; b=U+2seVwphCqCitnYgeYnX+/9jO11XunwAXxS5AHsAOQkVjzCY4iiuft5YU4fdW6DY7 MwmXmekF522nWkpC6NLA88yoyCdOjt/3C3kB9HB5Ub5uAhVjH4uzuuS+fOhyzKiaEqm3 BkRytGpsGCsPkTZGOS1PauOfM/n0aWvCo3m/gD2uxvlrc4hHMKoyy0qloSXHKxfKDTdX jxBRB6+zHb2+85+AX99IWyF9fNwWOoVuoVR8qYxupFDMWGOeaPsawJscpYJmL0o3MFik fowLYPCo1TnLoaDai0SnSJ1LO7F8sSwf/bAYsX2sO33wRldmGaEV8RruAkurmgs1HrWy 49gg== X-Gm-Message-State: AO0yUKUp2Uh8gdChYb6RwSHa98AC1d2ogP4R/zXY2JVdPzLq/gzxhobq Sespzv4ueytTa0XU3Nf4CgvRUQ68l+2NAQ== X-Google-Smtp-Source: AK7set8cbsPpwmNwr2LpVQcPlJOBrb32jxlN3CvyFLHHcgQcxwlLXfRqnrz04BV8qsyFBHb7gxko2Q== X-Received: by 2002:a05:6830:6707:b0:68b:cb14:ac3e with SMTP id cr7-20020a056830670700b0068bcb14ac3emr10441007otb.30.1675662203533; Sun, 05 Feb 2023 21:43:23 -0800 (PST) Received: from [127.0.0.1] ([70.133.144.146]) by smtp.gmail.com with ESMTPSA id q15-20020a9d4b0f000000b006863ccbf067sm4412877otf.74.2023.02.05.21.43.22 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Feb 2023 21:43:23 -0800 (PST) Message-ID: <63E09379.2050707@gmail.com> Date: Sun, 05 Feb 2023 23:43:21 -0600 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> <63DDC291.1090100@gmail.com> <63DEF230.7080204@gmail.com> <63E05460.7040805@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) Paul Eggert wrote: > On 2023-02-05 17:14, Jacob Bachmeyer wrote: > > [...] >> Looking at the code, commit 01bf65daf6f6627b56fbe78fc436fd877ccd3537 >> appears fine, all I am asking is that commit >> 4e3744a15c4d8bdb46c11ead2fb56c5f591b714b be reverted. The current >> Automake Git master should actually work on Perl 5.6 if Time::HiRes >> has been installed, which was possible with 5.6 although it was >> bundled with Perl beginning with the 5.7.3 development release. > > Unfortunately the Perl version bump was prompted by evidence in the > field that without making it clear that bare Perl 5.6 does not > suffice, Autoconf and Automake fail in ways that are mysterious to > their users. We can't expect people to install extensions in Perl 5.6 > to work around this problem. We must make things simple and easy for > installers and users to understand. Particularly since these are old > Perl versions that Autoconf and Automake users are unlikely to be > running (people who use bleeding-edge Autoconf and Automake almost > invariably run recent Perl). I believe the proper autoconf solution would be for configure to verify that "$PERL -MTime::HiRes -e 1" completes successfully (that is, that $PERL has the Time::HiRes module available) and fail with a diagnostic that Time::HiRes is required if not, perhaps noting that Time::HiRes was bundled beginning with Perl 5.8. (The 5.7 series were development releases.) Note that the real requirement here is not a given Perl version, but the Time::HiRes module (solution to that below), so checking the Perl version is incorrect here. Even though Perl 5.8 and later have Time::HiRes bundled, it is still a module and it is possible for a distribution package builder to separate Time::HiRes from the main perl package, so there is no guarantee that Time::HiRes will actually be available unless you explicitly test for it. I doubt that any major distribution currently does this with Time::HiRes, but the Perl version does not actually imply the availability of any given module. > It would be OK to go back to requiring only 5.6 if we can write > conditionalized code that works with 5.6 but with lower-res > timestamps, and quietly switches to higher-res timestamps if available > and works fine when they are available. Autoconf and Automake should > not rely on users installing optional Perl packages or dealing with > Perl's diagnostics when the optional stuff is missing: the code must > work out of the box with no expertise required. I believe that is quite easy to do: BEGIN { eval { require Time::HiRes; Time::HiRes->import('stat') } } instead of: use Time::HiRes qw(stat); In Perl, "use Module LIST" is shorthand for "BEGIN { require Module; import Module LIST; }", so the above could also be written as "BEGIN { eval { require Time::HiRes; import Time::HiRes qw(stat) } }" if you wanted, although the direct package method call is a more common style. If Time::HiRes is available, that will transparently replace stat() with Time::HiRes::stat(); if not, processing continues using the basic stat(), since require throws an exception immediately if it fails, which the eval BLOCK will catch. This has the advantage of testing for the specific feature, and will give high-resolution timestamps even on 5.6 if Time::HiRes is installed and basic timestamps otherwise. Since Perl 5.8 and later all have Time::HiRes bundled, the import should succeed and high resolution timestamps will be available. I say /should/ because it is possible for distribution packagers to separate bundled modules out from their main perl packages, as I mentioned above. > Can you write an Automake patch to do that, and test it on old Perl > installations? 'git format-patch' form preferred. I don't have access > to ancient Perl and am a bit squeezed for time, so I'm afraid this > will need to be done by a Perl expert such as yourself. The oldest Perl I normally use is a 5.8 installation from source that has (bundled) Time::HiRes, so I have perlbrew cooking up a 5.6.2 to test the fallback as I write this. Should the patch be relative to commit 6d6fc91c472fd84bd71a1b012fa9ab77bd94efea (before the version requirement bump) or should it include reverting commit 4e3744a15c4d8bdb46c11ead2fb56c5f591b714b (the version requirement bump)? -- Jacob From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] improve high-res file timestamp in Automake Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Mon, 06 Feb 2023 05:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: jcb62281@gmail.com Cc: 61240@debbugs.gnu.org Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.167566282314330 (code B ref 61240); Mon, 06 Feb 2023 05:54:01 +0000 Received: (at 61240) by debbugs.gnu.org; 6 Feb 2023 05:53:43 +0000 Received: from localhost ([127.0.0.1]:47210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOuRi-0003j4-Nb for submit@debbugs.gnu.org; Mon, 06 Feb 2023 00:53:42 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:35950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOuRg-0003im-90 for 61240@debbugs.gnu.org; Mon, 06 Feb 2023 00:53:41 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4CD80160048; Sun, 5 Feb 2023 21:53:33 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id wiyBDOcUubv7; Sun, 5 Feb 2023 21:53:32 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A1BBA16005E; Sun, 5 Feb 2023 21:53:32 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.9.2 zimbra.cs.ucla.edu A1BBA16005E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=78364E5A-2AF3-11ED-87FA-8298ECA2D365; t=1675662812; bh=yrACVkUjaTQGMzEbL4LffxR5vVom8l+QH4hkUPhzyTw=; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type: Content-Transfer-Encoding; b=pxCMyUkH6CFAuk5eBiNbF0kM97HkBxC1v4ZvxbCC4qSpVo89XYxWF/x+r0W4HKDky GDGQSD03fkcsMIBLSN+rXzaOzLbfIeihqSwwCVzDkRSJPALza/N5xN9rlscIczVg/8 LI+EFA6lm6DxoU0QffUm3dwdwc694ImjpnX7kRMQ= X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id D5FJhd5iUnPk; Sun, 5 Feb 2023 21:53:32 -0800 (PST) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 7DD43160048; Sun, 5 Feb 2023 21:53:32 -0800 (PST) Message-ID: <29623d9b-6819-d1fa-cfc9-98757cfcf2ff@cs.ucla.edu> Date: Sun, 5 Feb 2023 21:53:32 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> <63DDC291.1090100@gmail.com> <63DEF230.7080204@gmail.com> <63E05460.7040805@gmail.com> <63E09379.2050707@gmail.com> From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <63E09379.2050707@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) On 2023-02-05 21:43, Jacob Bachmeyer wrote: > > Should the patch be relative to commit > 6d6fc91c472fd84bd71a1b012fa9ab77bd94efea (before the version requirement > bump) or should it include reverting commit > 4e3744a15c4d8bdb46c11ead2fb56c5f591b714b (the version requirement bump)? Might as well do it all at once, thanks. From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] [PATCH 0/2] restore support for 5.6 and gracefully degrade timestamps Resent-From: Jacob Bachmeyer Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Wed, 08 Feb 2023 05:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: Paul Eggert Cc: 61240@debbugs.gnu.org Reply-To: jcb62281@gmail.com Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.16758341197380 (code B ref 61240); Wed, 08 Feb 2023 05:29:02 +0000 Received: (at 61240) by debbugs.gnu.org; 8 Feb 2023 05:28:39 +0000 Received: from localhost ([127.0.0.1]:54536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPd0Y-0001uy-V4 for submit@debbugs.gnu.org; Wed, 08 Feb 2023 00:28:39 -0500 Received: from mail-oo1-f49.google.com ([209.85.161.49]:44001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPd0V-0001uh-T2 for 61240@debbugs.gnu.org; Wed, 08 Feb 2023 00:28:36 -0500 Received: by mail-oo1-f49.google.com with SMTP id y81-20020a4a4554000000b0051a7cd153ddso864490ooa.10 for <61240@debbugs.gnu.org>; Tue, 07 Feb 2023 21:28:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=l/2yZxewQ0UoP+0K1qSC94FtpNnrbYyOlP1dExxw+2o=; b=LptZFsdhyV5wFX0LAQQvgZTEb5pMdXwstipc9V9nVfQctn13Iz6BuZv2UpjWZz9wYg eQHvm95mSz5LfPrubRStJUTlPPel1DwL6f5rM+08esBuIKnIoFP9nOXrxjvhh916Y7Vg 4v2hj+ELlCH0NtTzNKNGYxa3MVwfBvpw9/FlywExEjBP3M4AkN+y8qORQc/U1nL6uJ07 Qps80UJNUT8V+XPYL+jH0ZcGQYwsDfVjblw8uFd87lBh92mhvkw6SuzPpIqVMQkrepDE cyDWz0OOTz2rUt1+X4GBY39hbfUr38iPsfE46rRI0furBwDPE0Z/N/Y2FKwLVLCG9dU/ Yb8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=l/2yZxewQ0UoP+0K1qSC94FtpNnrbYyOlP1dExxw+2o=; b=bRI8LmeEw0v63K2aM+33yKLYsAsv9i7i+DW5D1W2Z+IaV3R6X9ouY1fqsyA8Yycefl GjMK7aqgGwezex+nNRzvXc4ForikQMWyuN/kvEfX5bzS6ktjAtdPNHBhE+tH723Hl/Qs ry0nnji+gLgaocsw1/79Kdo0d3vP/OCJ4uxSU9ineHVm2/Q8AjgkOwAatFbgnwgHPiFV dCY1Wi+qfA5CFYBUO5W9uJ9ZOoaL1tggDisoN9JNVVdWfVBZHwp47q+jZvnEdD5sSHQJ MOknoSzY+MjkF/8FSMoFcWCG3baD1RdNaZFftLbT9+orfax0B95TujD3EZPy81ZdDOQT fF+Q== X-Gm-Message-State: AO0yUKVz6qwAoY8QAmnWonlsDdPv2wqkLR1lLx9WY7Hx33Xy26PsJDbs C2pPLTPRpzAQOrKX0XTsgfs= X-Google-Smtp-Source: AK7set+YCYwEpq22c+3+Cwz/r6wcBVqvaGk/mWh3K36Lb7jRr4sQvJ4ZmuDdo6DSk0N4acn6T0HZug== X-Received: by 2002:a4a:d1c3:0:b0:4f3:6e99:e6c1 with SMTP id a3-20020a4ad1c3000000b004f36e99e6c1mr2524151oos.4.1675834110350; Tue, 07 Feb 2023 21:28:30 -0800 (PST) Received: from [127.0.0.1] ([70.133.144.146]) by smtp.gmail.com with ESMTPSA id c20-20020a4ad8d4000000b0050dfbe2460bsm6938565oov.48.2023.02.07.21.28.29 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Feb 2023 21:28:29 -0800 (PST) Message-ID: <63E332FB.3020002@gmail.com> Date: Tue, 07 Feb 2023 23:28:27 -0600 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> <63DDC291.1090100@gmail.com> <63DEF230.7080204@gmail.com> <63E05460.7040805@gmail.com> <63E09379.2050707@gmail.com> <29623d9b-6819-d1fa-cfc9-98757cfcf2ff@cs.ucla.edu> In-Reply-To: <29623d9b-6819-d1fa-cfc9-98757cfcf2ff@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) Paul Eggert wrote: > On 2023-02-05 21:43, Jacob Bachmeyer wrote: >> Should the patch be relative to commit >> 6d6fc91c472fd84bd71a1b012fa9ab77bd94efea (before the version >> requirement bump) or should it include reverting commit >> 4e3744a15c4d8bdb46c11ead2fb56c5f591b714b (the version requirement bump)? > > Might as well do it all at once, thanks. Two patches, generated with git format-patch as requested, follow under separate cover. I had to rework my local repository, where I had previously rolled back to before the version requirement bump instead of reverting it. Using "git diff" confirms no differences between the two local branch tips, so I am sending in the patch now while tests continue to run here. Patch 1 reverts the version requirement bump; patch 2 allows Automake to gracefully degrade if Time::HiRes is not available. While Automake clearly works correctly under Perl 5.6.2 with these patches applied, I am still running down some minor testsuite result differences between the system Perl 5.34.1 and perlbrew Perl 5.6.2 on the machine I am using for the tests. Should patches to correct these issues be sent under this bug or should they be sent separately to automake-patches? Preliminary analysis suggests that the Perl fragment in t/ax/am-test-lib.sh:is_blocked_signal needs a few improvements (to improve compatibility in both directions; an accessor method was introduced in Perl 5.8 and the code fails under Perl 5.6 due to other limitations; [*facepalm*]), and t/pm/General.pl appears to be tickling a compiler bug in Perl 5.6.2 that produces a false syntax error, but Automake itself is unaffected. The only other differences are t/pm/Condition-t.pl and t/pm/DisjConditions-t.pl, which are skipped due to a lack of the required thread support in the older Perl. The failure of is_blocked_signal causes ERRORs in t/parallel-tests-interrupt.tap, t/self-check-exit.tap, t/self-check-is-blocked-signal.tap, and t/tap-signal.tap. No other tests FAIL with either Perl. I also found that t/get-sysconf.sh FAILs if libtool is not installed, but configure does not detect and complain about the unavailability of libtoolize. -- Jacob From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] [PATCH 1/2] revert Perl version requirement bump Resent-From: Jacob Bachmeyer Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Wed, 08 Feb 2023 05:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: Paul Eggert Cc: 61240@debbugs.gnu.org Reply-To: jcb62281@gmail.com Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.16758341507467 (code B ref 61240); Wed, 08 Feb 2023 05:30:02 +0000 Received: (at 61240) by debbugs.gnu.org; 8 Feb 2023 05:29:10 +0000 Received: from localhost ([127.0.0.1]:54541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPd13-0001wK-Ec for submit@debbugs.gnu.org; Wed, 08 Feb 2023 00:29:10 -0500 Received: from mail-oa1-f46.google.com ([209.85.160.46]:38650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPd11-0001vj-Bq for 61240@debbugs.gnu.org; Wed, 08 Feb 2023 00:29:08 -0500 Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-15ff0a1f735so21904734fac.5 for <61240@debbugs.gnu.org>; Tue, 07 Feb 2023 21:29:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=ebXWtNFe3DmvmAsHeceYB8tbUktWVQaQA/8e2ZhwLAU=; b=lBQpk2NP+ZswLBXIXFOPz7sEEwK//856HTZXznXYvxmkRV4RNSlkcbloAwaRy9txVF DHhorznuDbmmOZma4xwJbDcd54El0CxFXtAfDhlm1Jtb4T5q+TXKCqpnbanzX9QzWgrL ZG8VdRsE/WNNGZDjvIEn+dJsWpA+i9o72PddKs3JK75oZk/xJZY6A+V2TRtdq+HfvH4z xk+i6MIjEwz0iB0VjEssuCWViW8JIqJiYgrDfl5E/Z6+cMRKNihW8uviKE6iWETcHXD4 8qgNaWUVSGVeomDWUhJxr6DZcbGx3p/UHhbYRttdmxakmgAdbXEgtkJx9nUzxmaAncT4 wALw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ebXWtNFe3DmvmAsHeceYB8tbUktWVQaQA/8e2ZhwLAU=; b=sVGxCzokYEwux8uNOEYHX166fuqpXUl83rsOR3yLpjAtzSExyGwX8eHAYPbKa6elOC PtsoaKTwyMSvydXgJoMcY2pExORHRFe4dTbcjItsMqj9V+8ZvDfi2cIokTiVm5z49RTK kb0rmhUP/346MBMo36Ok1+Hr9Dw7Rr/FvM01vV/J+s00HV4zu8ROlFHoU4fz2j21CqCI +evnDQnXvSi5lLhcnGVWeurBT7ZYFxIoTlHxygwJOszSNfQzVFLy1wqw9063ZzQk8/2Z hX82BP6iBc9Fo9j3X4oC8OwAhBMoE0H0nkenBO9eT73LCTXYGlRPLrAw+NkITHy9GOq+ uHGg== X-Gm-Message-State: AO0yUKVS/efMpoqP3Q5rm3Dip7/DyRFFDs8QFggodhX1oQ1Ry5flxQ/u yIosNtnEXl3HUNu4LybmRwI= X-Google-Smtp-Source: AK7set/i4L25ee8fe9ueqKYwNQjUx/dSi4c4rVdiA0JpA/uQ6HErnBk4w/wc5MghsKSHDJZfpYillw== X-Received: by 2002:a05:6870:b292:b0:163:3283:f366 with SMTP id c18-20020a056870b29200b001633283f366mr3107454oao.24.1675834141602; Tue, 07 Feb 2023 21:29:01 -0800 (PST) Received: from [127.0.0.1] ([70.133.144.146]) by smtp.gmail.com with ESMTPSA id ee15-20020a056870c80f00b0014fb4bdc746sm6373041oab.8.2023.02.07.21.29.00 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Feb 2023 21:29:01 -0800 (PST) Message-ID: <63E3331B.4010300@gmail.com> Date: Tue, 07 Feb 2023 23:28:59 -0600 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> <63DDC291.1090100@gmail.com> <63DEF230.7080204@gmail.com> <63E05460.7040805@gmail.com> <63E09379.2050707@gmail.com> <29623d9b-6819-d1fa-cfc9-98757cfcf2ff@cs.ucla.edu> In-Reply-To: <29623d9b-6819-d1fa-cfc9-98757cfcf2ff@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) Paul Eggert wrote: > On 2023-02-05 21:43, Jacob Bachmeyer wrote: >> Should the patch be relative to commit >> 6d6fc91c472fd84bd71a1b012fa9ab77bd94efea (before the version >> requirement bump) or should it include reverting commit >> 4e3744a15c4d8bdb46c11ead2fb56c5f591b714b (the version requirement bump)? > > Might as well do it all at once, thanks. This first patch is simply `git revert 4e3744`. 8<------ From: Jacob Bachmeyer Date: Tue, 7 Feb 2023 22:39:29 -0600 Subject: [PATCH 1/2] Revert "maint: require perl 5.010 or later" This reverts commit 4e3744a15c4d8bdb46c11ead2fb56c5f591b714b. --- NEWS | 6 +----- bin/aclocal.in | 2 +- bin/automake.in | 2 +- configure.ac | 5 +++-- lib/Automake/ChannelDefs.pm | 2 +- lib/Automake/Channels.pm | 2 +- lib/Automake/Condition.pm | 2 +- lib/Automake/Config.in | 2 +- lib/Automake/Configure_ac.pm | 2 +- lib/Automake/DisjConditions.pm | 2 +- lib/Automake/FileUtils.pm | 2 +- lib/Automake/General.pm | 2 +- lib/Automake/Getopt.pm | 2 +- lib/Automake/Item.pm | 2 +- lib/Automake/ItemDef.pm | 2 +- lib/Automake/Language.pm | 2 +- lib/Automake/Location.pm | 2 +- lib/Automake/Options.pm | 2 +- lib/Automake/Rule.pm | 2 +- lib/Automake/RuleDef.pm | 2 +- lib/Automake/VarDef.pm | 2 +- lib/Automake/Variable.pm | 2 +- lib/Automake/Version.pm | 2 +- lib/Automake/Wrap.pm | 2 +- lib/Automake/XFile.pm | 2 +- 25 files changed, 27 insertions(+), 30 deletions(-) diff --git a/NEWS b/NEWS index cb32564..8cba8b3 100644 --- a/NEWS +++ b/NEWS @@ -5,10 +5,6 @@ please see NEWS-2.0 and start following the advice there now. New in 1.17: -* Version requirements: - - - Perl 5.10 (2007) or greater is required. - * New features added - RANLIB may be overridden on a per-target basis. @@ -40,7 +36,7 @@ New in 1.17: and -Q is not used, since its support and behavior varies. - Emacs Lisp compilations respects silent make output. - + - distcleancheck ignores "silly rename" files (.nfs* .smb* .__afs*) that can show up on network file systems. diff --git a/bin/aclocal.in b/bin/aclocal.in index 34c2530..f04cb30 100644 --- a/bin/aclocal.in +++ b/bin/aclocal.in @@ -19,7 +19,7 @@ # Written by Tom Tromey , and # Alexandre Duret-Lutz . -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/bin/automake.in b/bin/automake.in index afd296a..139d5ad 100644 --- a/bin/automake.in +++ b/bin/automake.in @@ -22,7 +22,7 @@ package Automake; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/configure.ac b/configure.ac index bf72023..dcf2d95 100644 --- a/configure.ac +++ b/configure.ac @@ -73,9 +73,10 @@ if test -z "$PERL"; then fi # Save details about the selected perl interpreter in config.log. AM_RUN_LOG([$PERL --version]) -$PERL -e 'require 5.010;' || { +$PERL -e 'require 5.006;' || { AC_MSG_ERROR( -[perl 5.10 (2007) or better is required. If you have several perl versions +[perl 5.6 or better is required; perl 5.8.2 or better +is recommended. If you have several perl versions installed, select the one Automake should use using ./configure PERL=/path/to/perl]) } diff --git a/lib/Automake/ChannelDefs.pm b/lib/Automake/ChannelDefs.pm index bfe5ba5..1c43664 100644 --- a/lib/Automake/ChannelDefs.pm +++ b/lib/Automake/ChannelDefs.pm @@ -44,7 +44,7 @@ shorthand function to output on specific channels. =cut -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/Channels.pm b/lib/Automake/Channels.pm index 5a36c93..b4563d3 100644 --- a/lib/Automake/Channels.pm +++ b/lib/Automake/Channels.pm @@ -66,7 +66,7 @@ etc.) that can also be overridden on a per-message basis. =cut -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/Condition.pm b/lib/Automake/Condition.pm index d1e6811..31ac81d 100644 --- a/lib/Automake/Condition.pm +++ b/lib/Automake/Condition.pm @@ -15,7 +15,7 @@ package Automake::Condition; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/Config.in b/lib/Automake/Config.in index 3cc094d..4fc918b 100644 --- a/lib/Automake/Config.in +++ b/lib/Automake/Config.in @@ -17,7 +17,7 @@ package Automake::Config; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/Configure_ac.pm b/lib/Automake/Configure_ac.pm index d4751ee..efd428e 100644 --- a/lib/Automake/Configure_ac.pm +++ b/lib/Automake/Configure_ac.pm @@ -20,7 +20,7 @@ package Automake::Configure_ac; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/DisjConditions.pm b/lib/Automake/DisjConditions.pm index 7612f60..16540e7 100644 --- a/lib/Automake/DisjConditions.pm +++ b/lib/Automake/DisjConditions.pm @@ -15,7 +15,7 @@ package Automake::DisjConditions; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/FileUtils.pm b/lib/Automake/FileUtils.pm index 6e9796a..697ff7e 100644 --- a/lib/Automake/FileUtils.pm +++ b/lib/Automake/FileUtils.pm @@ -34,7 +34,7 @@ This perl module provides various general purpose file handling functions. =cut -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/General.pm b/lib/Automake/General.pm index 4b97750..4c1d063 100644 --- a/lib/Automake/General.pm +++ b/lib/Automake/General.pm @@ -15,7 +15,7 @@ package Automake::General; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/Getopt.pm b/lib/Automake/Getopt.pm index 3b37d64..67958fd 100644 --- a/lib/Automake/Getopt.pm +++ b/lib/Automake/Getopt.pm @@ -30,7 +30,7 @@ line options in conformance to the GNU Coding standards. =cut -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/Item.pm b/lib/Automake/Item.pm index a2e6c14..a2637c6 100644 --- a/lib/Automake/Item.pm +++ b/lib/Automake/Item.pm @@ -15,7 +15,7 @@ package Automake::Item; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/ItemDef.pm b/lib/Automake/ItemDef.pm index ca9bbb1..3e958a8 100644 --- a/lib/Automake/ItemDef.pm +++ b/lib/Automake/ItemDef.pm @@ -15,7 +15,7 @@ package Automake::ItemDef; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/Language.pm b/lib/Automake/Language.pm index 12a29be..8cd866d 100644 --- a/lib/Automake/Language.pm +++ b/lib/Automake/Language.pm @@ -15,7 +15,7 @@ package Automake::Language; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/Location.pm b/lib/Automake/Location.pm index 77b0599..21d08f7 100644 --- a/lib/Automake/Location.pm +++ b/lib/Automake/Location.pm @@ -15,7 +15,7 @@ package Automake::Location; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/Options.pm b/lib/Automake/Options.pm index aee1831..69fc2ec 100644 --- a/lib/Automake/Options.pm +++ b/lib/Automake/Options.pm @@ -15,7 +15,7 @@ package Automake::Options; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/Rule.pm b/lib/Automake/Rule.pm index 6a622e6..9f72d27 100644 --- a/lib/Automake/Rule.pm +++ b/lib/Automake/Rule.pm @@ -15,7 +15,7 @@ package Automake::Rule; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/RuleDef.pm b/lib/Automake/RuleDef.pm index e5b3a1b..1ae8b63 100644 --- a/lib/Automake/RuleDef.pm +++ b/lib/Automake/RuleDef.pm @@ -15,7 +15,7 @@ package Automake::RuleDef; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/VarDef.pm b/lib/Automake/VarDef.pm index 3e13932..9f09411 100644 --- a/lib/Automake/VarDef.pm +++ b/lib/Automake/VarDef.pm @@ -15,7 +15,7 @@ package Automake::VarDef; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/Variable.pm b/lib/Automake/Variable.pm index cc6b12f..2c11831 100644 --- a/lib/Automake/Variable.pm +++ b/lib/Automake/Variable.pm @@ -15,7 +15,7 @@ package Automake::Variable; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/Version.pm b/lib/Automake/Version.pm index 02146a5..369a229 100644 --- a/lib/Automake/Version.pm +++ b/lib/Automake/Version.pm @@ -15,7 +15,7 @@ package Automake::Version; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/Wrap.pm b/lib/Automake/Wrap.pm index 73a6247..9233798 100644 --- a/lib/Automake/Wrap.pm +++ b/lib/Automake/Wrap.pm @@ -15,7 +15,7 @@ package Automake::Wrap; -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; diff --git a/lib/Automake/XFile.pm b/lib/Automake/XFile.pm index fb256c9..05e8b32 100644 --- a/lib/Automake/XFile.pm +++ b/lib/Automake/XFile.pm @@ -69,7 +69,7 @@ and C methods to translate C<\r\n> to C<\n>. =cut -use 5.010; +use 5.006; use strict; use warnings FATAL => 'all'; -- 8<------ -- Jacob From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] [PATCH 2/2] Gracefully degrade if Time::HiRes is not available Resent-From: Jacob Bachmeyer Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Wed, 08 Feb 2023 05:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: Paul Eggert Cc: 61240@debbugs.gnu.org Reply-To: jcb62281@gmail.com Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.16758341797520 (code B ref 61240); Wed, 08 Feb 2023 05:30:03 +0000 Received: (at 61240) by debbugs.gnu.org; 8 Feb 2023 05:29:39 +0000 Received: from localhost ([127.0.0.1]:54544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPd1X-0001xD-E3 for submit@debbugs.gnu.org; Wed, 08 Feb 2023 00:29:39 -0500 Received: from mail-ot1-f48.google.com ([209.85.210.48]:41580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPd1V-0001wz-Jf for 61240@debbugs.gnu.org; Wed, 08 Feb 2023 00:29:38 -0500 Received: by mail-ot1-f48.google.com with SMTP id y11-20020a05683009cb00b0068dbf908574so54156ott.8 for <61240@debbugs.gnu.org>; Tue, 07 Feb 2023 21:29:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=VdthAR1aVClbvQDhJOPxufhsg22xWt7IFlBa5/1Vuq8=; b=DJxGWkvPqCKqCerYjGIYVVZwf5WTC35W3HrfrRGibPuyqne6El5zT/UePhZRItJgzB ZMRr1TpmE/hJrLkKF6sm06YtBQ4/QZcYltzaTHsj46YLTJqMSDVGJGfsjSooP5lERFlb FZPQ9j6wOZHm3ZeEg0PdJpwRD2iLKz+AhonMZWUVZWfVKmub/DznHN1BdEUYN9UeO0jP hIYejKagStaXs2c4m1cu18DbR3PZW8zH5VY8rx7Mm9MXtzsRrIkcpOTHjsxuLnmmBnig Ab/wgKsIKiEESSuZP3rOI6ps9jycioXMKB30h07lyNfi+gKviufSbvxxbAslUf6oRgut sSgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VdthAR1aVClbvQDhJOPxufhsg22xWt7IFlBa5/1Vuq8=; b=KYIxs7+9c2E9OFA3hRAb+OLC/bstkenpq1P5zy7hq+ock4k1sxJGgOkJmA/7XDgkge Y7CcIN3tp0Y2KV/RUlpxlR4K4RePRsE9dkqp4pn2aKTY3YzgOVFAwtw/lnlqok6AIAZM c8aEXGUj+Y0wlBiRhn3kVddbiXIgcSMOrrI23WrtfRcviSUYTY7S8vcpelcq1xz56OUK IBM1L6CKspkpxCEx5ydzt/KvdAEFwU3+qBJkhs0MSoZeIkyz4iKU7e6xwRj3P6/dMpQe b/ofBW0ifAIBPqnvT1pc4w88BDjKUyCYki28B+RIyeq+9izttZmRAWd/fSrCs29kUmth 7Ekw== X-Gm-Message-State: AO0yUKXrf17VNtuD2MeGXg7L5tOi85Sjbl773H0S0CnD8schCsLCHnDe WTTeQn8f0jefqwQ3T3n0kXJiWiPq/6Hikw== X-Google-Smtp-Source: AK7set8besSf/c10BNO9DscPtje76byLxE4GUOWAo1qfn2IeUyNjAe/fhaa70zHuRbv0XU1vZPERJw== X-Received: by 2002:a9d:62c7:0:b0:68b:cec3:7fe5 with SMTP id z7-20020a9d62c7000000b0068bcec37fe5mr3119683otk.4.1675834171961; Tue, 07 Feb 2023 21:29:31 -0800 (PST) Received: from [127.0.0.1] ([70.133.144.146]) by smtp.gmail.com with ESMTPSA id g37-20020a05683030a500b00684e4d974e6sm7582608ots.24.2023.02.07.21.29.31 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Feb 2023 21:29:31 -0800 (PST) Message-ID: <63E3333A.5080307@gmail.com> Date: Tue, 07 Feb 2023 23:29:30 -0600 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> <63DDC291.1090100@gmail.com> <63DEF230.7080204@gmail.com> <63E05460.7040805@gmail.com> <63E09379.2050707@gmail.com> <29623d9b-6819-d1fa-cfc9-98757cfcf2ff@cs.ucla.edu> In-Reply-To: <29623d9b-6819-d1fa-cfc9-98757cfcf2ff@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) Paul Eggert wrote: > On 2023-02-05 21:43, Jacob Bachmeyer wrote: >> Should the patch be relative to commit >> 6d6fc91c472fd84bd71a1b012fa9ab77bd94efea (before the version >> requirement bump) or should it include reverting commit >> 4e3744a15c4d8bdb46c11ead2fb56c5f591b714b (the version requirement bump)? > > Might as well do it all at once, thanks. This second patch is the change I previously suggested. As noted in the patch, please use my gnu.org address for public attribution. (I would prefer to minimize any indirect advertising of GMail.) I have found no better ChangeLog entry than the commit message: * lib/Automake/FileUtils.pm: Gracefully degrade if Time::HiRes is not available. 8<------ From: Jacob Bachmeyer Date: Tue, 7 Feb 2023 22:42:59 -0600 Subject: [PATCH 2/2] Gracefully degrade if Time::HiRes is not available --- lib/Automake/FileUtils.pm | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/lib/Automake/FileUtils.pm b/lib/Automake/FileUtils.pm index 697ff7e..8d0b368 100644 --- a/lib/Automake/FileUtils.pm +++ b/lib/Automake/FileUtils.pm @@ -39,9 +39,12 @@ use strict; use warnings FATAL => 'all'; use Exporter; -use Time::HiRes qw(stat); use IO::File; +# use sub-second resolution timestamps if available, +# carry on with one-second resolution timestamps if that is all we have +BEGIN { eval { require Time::HiRes; import Time::HiRes qw(stat) } } + use Automake::Channels; use Automake::ChannelDefs; -- 8<------ -- Jacob From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 28 12:53:30 2023 Received: (at control) by debbugs.gnu.org; 28 Mar 2023 16:53:30 +0000 Received: from localhost ([127.0.0.1]:50602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phCZe-0006ec-FE for submit@debbugs.gnu.org; Tue, 28 Mar 2023 12:53:30 -0400 Received: from mail.cs.ucla.edu ([131.179.128.66]:35066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phCZb-0006eM-7q for control@debbugs.gnu.org; Tue, 28 Mar 2023 12:53:29 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id EDF3D3C02213D for ; Tue, 28 Mar 2023 09:53:20 -0700 (PDT) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id PdUUR6fVMTQt for ; Tue, 28 Mar 2023 09:53:20 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id B581A3C097AFD for ; Tue, 28 Mar 2023 09:53:20 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu B581A3C097AFD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1680022400; bh=yzMDmr+71Hcxb7osekzcM38zdbDeG0EeufW2mOUEXYo=; h=Message-ID:Date:MIME-Version:To:From; b=nj0Q2p1+otflJl0O98e/EW/q2WiIlczGGxncVgvXZrv7ETKyMLcHEUHswCWo/j/WF dbuVgujDrV1vsDrlxq4GxyiYGvrpbZnhN9nz1I44xDvtB3RPkReiFMYh1BWavtSDiX ht958/UXzBFh+/RYNl9vn/0wGmj6V/4PECiqYvZ3o07t9ckZ1JXCUPiNwkGeMh6yWm xL3rktVCr8WIdQ+UaCbE+VRETjkcVF8tPFkTOKK6Bg01n8C+bXc89MdbBQgzx/br3l B8+CePJVMaFBUdEQb4XPsg4Pl/0wNVwW/tnhwF4u05L+cF1YbwikFTIS/i8cnqSRkc y1lWnUi4grIlA== X-Virus-Scanned: amavisd-new at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id LQuShHG7xlPY for ; Tue, 28 Mar 2023 09:53:20 -0700 (PDT) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 9A8233C02213D for ; Tue, 28 Mar 2023 09:53:20 -0700 (PDT) Message-ID: <1199d217-ba1b-41a3-5301-6a806b3b8254@cs.ucla.edu> Date: Tue, 28 Mar 2023 09:53:20 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Content-Language: en-US To: control@debbugs.gnu.org From: Paul Eggert Subject: unarchive 61240 Organization: UCLA Computer Science Department Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) unarchive 61240 From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] [PATCH 2/2] Gracefully degrade if Time::HiRes is not available Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Tue, 28 Mar 2023 17:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: Warren Young Cc: Dagobert Michelsen , 61240@debbugs.gnu.org, autoconf@gnu.org, Jacob Bachmeyer , Jim Meyering Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.16800229903395 (code B ref 61240); Tue, 28 Mar 2023 17:04:01 +0000 Received: (at 61240) by debbugs.gnu.org; 28 Mar 2023 17:03:10 +0000 Received: from localhost ([127.0.0.1]:50626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phCj0-0000sg-AM for submit@debbugs.gnu.org; Tue, 28 Mar 2023 13:03:10 -0400 Received: from mail.cs.ucla.edu ([131.179.128.66]:39454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phCiy-0000sU-H2 for 61240@debbugs.gnu.org; Tue, 28 Mar 2023 13:03:09 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 167573C097AFA; Tue, 28 Mar 2023 10:03:03 -0700 (PDT) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id KxJo36dKU-4E; Tue, 28 Mar 2023 10:03:02 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id A2F283C097AFC; Tue, 28 Mar 2023 10:03:02 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu A2F283C097AFC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1680022982; bh=k2l96C15t3s0Xqe+vcofdyzJQQ633cCr8qJo3Ns7j1o=; h=Message-ID:Date:MIME-Version:To:From; b=gS4Z2Vrt2X3WyRS7jxq3EiTfip4Ay6rnqzm5qu8unqJm0s3G6YIjLUk7kLyLcTTBQ /eKSx2okikaqwjClIQ6eaHZjohwUUyLMPnNX8EOvCiDFwvg5zQ9d9w6q5fOB5ITAyB fW11u7iu6yVzz9zJzCr5+h/3CeV8ovrtRmI4qKd1lA9A4C6ioXpugSdKD0L9w7Sjqq 6SlJImpewdu2QyXD4W1WW0VsaDbOlOBhReDHR9lOIsWAcN/GmHNzz3ddhQWv+2rGnF FEmO2Sk1nL/108htg3w/hrNbMObFDx4Dz8e/ABjeX9mGWUZMgjvi72jFaDdqmxU4Mo ucP+ztxQCqINw== X-Virus-Scanned: amavisd-new at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id HjivShP4eONA; Tue, 28 Mar 2023 10:03:02 -0700 (PDT) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 70BC43C097AFA; Tue, 28 Mar 2023 10:03:02 -0700 (PDT) Message-ID: Date: Tue, 28 Mar 2023 10:03:02 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> <63DDC291.1090100@gmail.com> <63DEF230.7080204@gmail.com> <63E05460.7040805@gmail.com> <63E09379.2050707@gmail.com> <29623d9b-6819-d1fa-cfc9-98757cfcf2ff@cs.ucla.edu> <63E3333A.5080307@gmail.com> <98b4af1f-a730-8c72-5dfc-68265844e17e@cs.ucla.edu> <8F829B43-0587-4FBE-8887-347E78D0FC4A@etr-usa.com> Content-Language: en-US From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <8F829B43-0587-4FBE-8887-347E78D0FC4A@etr-usa.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On 2023-03-28 08:21, Warren Young wrote: > Surely Solaris 10 (shipped in 2005) is relegated to the role of porting= target, getting nothing but a =E2=80=9Cdist=E2=80=9D tarball? Good point. I'll cc this to Dagobert Michelsen, who maintains the=20 Autoconf port for Solaris 10. Dagobert, are people still running=20 Autoconf on Solaris 10? If not, worrying about porting to older Perl=20 should be even lower priority than it already is. For context, this email is about GNU bug 61240: https://bugs.gnu.org/61240 and the fallout that the latest Autoconf release candidate does not run=20 on the old version of Perl installed by default on Solaris 10. See: https://lists.gnu.org/r/autoconf/2023-03/msg00030.html If OpenCSW already installs a new-enough Perl version then this Autoconf=20 business shouldn't be a real issue. On the other hand if it's really=20 trivial to keep Autoconf portable to older Perl, and if Jacob Bachmeyer=20 or some other Perl expert can vouch for the change, we might as well put=20 it in. PS. I see that msg00030 was not archived at https://bugs.gnu.org/61240,=20 so here is a quoted copy of the contents of msg00030 so that this stuff=20 gets archived there too: > On 2023-02-07 21:29, Jacob Bachmeyer wrote: >> use Exporter; >> -use Time::HiRes qw(stat); >> use IO::File; >> >> +# use sub-second resolution timestamps if available, >> +# carry on with one-second resolution timestamps if that is all we ha= ve >> +BEGIN { eval { require Time::HiRes; import Time::HiRes qw(stat) } } >=20 > Thanks for looking into this. Sorry about the long delay. >=20 > My memory was jogged by the recent Autoconf release candidate, which re= quires Perl 5.10 for what I think is the same reason . This release candidate didn't build= on my Solaris 10 server because Solaris 10 has only Perl 5.8.4. Of cours= e I can work around this by also installing a recent Perl but that is a b= it of a pain. I'll cc this email to autoconf@gnu.org to give them a heads= -up about . >=20 > It'd be nice (though not crucial) if we could get to the bottom of this= for Automake and to sync the result to Autoconf before the new Autoconf = release comes out, so that Solaris 10 users of the new Autoconf need to i= nstall only recent GNU M4, and not also a recent Perl. >=20 > To get back to the proposed patch quoted above: >=20 > Why change from "use Time::HiRes qw(stat);" to "require Time::HiRes; im= port Time::HiRes qw(stat)"? (Again, please bear in mind that my Perl is q= uite rusty.) >=20 > The code formerly had "use File::stat;" before it changed to "use Time:= :HiRes qw(stat);". Why doesn't the proposed patch need to fall back to "u= se File::stat;" on older Perls lacking Time::HiRes? >=20 > Thanks again for any advice you can provide. From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] [PATCH 2/2] Gracefully degrade if Time::HiRes is not available Resent-From: Jacob Bachmeyer Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Wed, 29 Mar 2023 02:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: Paul Eggert Cc: 61240@debbugs.gnu.org, Dagobert Michelsen , Autoconf , Jim Meyering Reply-To: jcb62281@gmail.com Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.168005561113907 (code B ref 61240); Wed, 29 Mar 2023 02:07:01 +0000 Received: (at 61240) by debbugs.gnu.org; 29 Mar 2023 02:06:51 +0000 Received: from localhost ([127.0.0.1]:51030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phLD9-0003cE-2s for submit@debbugs.gnu.org; Tue, 28 Mar 2023 22:06:51 -0400 Received: from mail-ot1-f52.google.com ([209.85.210.52]:46073) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phLD6-0003bw-Vm for 61240@debbugs.gnu.org; Tue, 28 Mar 2023 22:06:49 -0400 Received: by mail-ot1-f52.google.com with SMTP id x8-20020a9d3788000000b0069f922cd5ceso7477559otb.12 for <61240@debbugs.gnu.org>; Tue, 28 Mar 2023 19:06:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680055603; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=7OHRgNw92YJ54SY/N9SrH8CYbE1Kq6AdBu0+y89WafQ=; b=bTaDAG9ZZ4zb1gyM25HWOdtkESUWhNj0yh2Q1MMhjkzrnzPGVNWz0jjKfwAR2XMezx 3yOURA7xw/sJa9xYnN+AiIkvlvl8VkCb5kpXWct3vT+vof5xGnjnj0NhxPusbDXPYdxW CvswIGEp95KdyjlNE5R1bzxbx3boBWRV+pHumReBBHmXNOGapv0paD/VQFD8nGBvZRPZ dpW2D/vQknEVZB5xnZ9y06oz9PQvLQ94uCjRRJDw/OvEMzhTm0LMAdEzSwX4nDe7nB1A TXEAkcMa4Zc6rylbGC8MVlNFY1EecWiPbgWEO47E88Y8r1+N0pA1ReAJjnkWdXwVyU+n 8rog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680055603; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7OHRgNw92YJ54SY/N9SrH8CYbE1Kq6AdBu0+y89WafQ=; b=aBzbEOMBJWQGLZwDh/XHiYeC6tKo2wwIS6nExCzemwoumDTd/cIBIa7wov9+XsPE8A zExjNv8xz13LjuVVkdHjbLqlYgYiUsKs3rTRa2glUXkgTvOrWgZSFBfY2HHfU87gqPJR /dAiq3vg4QS3OBwSMq7CUaibN6FQD48XAPpW8P69P7/rUin7ppsyP2hQvNFf5a+zcNm+ P5l5cHlz8z8tAMrVbuQJP2yXiI7MfkDiyFcr/+6OVGWWR1aNUOTDgFo9zmErG2qMOr7g RX90uex/yC61rLiRU5dYuZmAxr+uI3nnx1Vd4g9Gt9QFfstgM0Md7V3bLZOv6KoITY4V XVNw== X-Gm-Message-State: AAQBX9cr7fQNKwspIz6kc38VDhtR5/fvBG2qbHjHAj9pxLTMJBwe5tk7 a7ys0GldJEC4TFM2kMAbGdw= X-Google-Smtp-Source: AKy350YOS33CMEK15GN10g3GfuLw71gNo1qEkS6nJCZ2Kq+mTButyTkjBB4OTGkO/nY/OF1PeNUvFg== X-Received: by 2002:a9d:4f18:0:b0:6a1:20b9:34b6 with SMTP id d24-20020a9d4f18000000b006a120b934b6mr7244917otl.0.1680055603251; Tue, 28 Mar 2023 19:06:43 -0700 (PDT) Received: from [127.0.0.1] ([70.133.144.20]) by smtp.gmail.com with ESMTPSA id do6-20020a0568300e0600b00690e6d56670sm13734753otb.25.2023.03.28.19.06.41 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Mar 2023 19:06:42 -0700 (PDT) Message-ID: <64239D30.5010409@gmail.com> Date: Tue, 28 Mar 2023 21:06:40 -0500 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> <63DDC291.1090100@gmail.com> <63DEF230.7080204@gmail.com> <63E05460.7040805@gmail.com> <63E09379.2050707@gmail.com> <29623d9b-6819-d1fa-cfc9-98757cfcf2ff@cs.ucla.edu> <63E3333A.5080307@gmail.com> <98b4af1f-a730-8c72-5dfc-68265844e17e@cs.ucla.edu> In-Reply-To: <98b4af1f-a730-8c72-5dfc-68265844e17e@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) [expanding CC list to cover later message] Paul Eggert wrote: > On 2023-02-07 21:29, Jacob Bachmeyer wrote: >> use Exporter; >> -use Time::HiRes qw(stat); >> use IO::File; >> >> +# use sub-second resolution timestamps if available, >> +# carry on with one-second resolution timestamps if that is all we have >> +BEGIN { eval { require Time::HiRes; import Time::HiRes qw(stat) } } > > Thanks for looking into this. Sorry about the long delay. I was about to send another ping this weekend. > My memory was jogged by the recent Autoconf release candidate, which > requires Perl 5.10 for what I think is the same reason > . This release > candidate didn't build on my Solaris 10 server because Solaris 10 has > only Perl 5.8.4. Of course I can work around this by also installing a > recent Perl but that is a bit of a pain. I'll cc this email to > autoconf@gnu.org to give them a heads-up about > . > > It'd be nice (though not crucial) if we could get to the bottom of > this for Automake and to sync the result to Autoconf before the new > Autoconf release comes out, so that Solaris 10 users of the new > Autoconf need to install only recent GNU M4, and not also a recent Perl. > > To get back to the proposed patch quoted above: > > Why change from "use Time::HiRes qw(stat);" to "require Time::HiRes; > import Time::HiRes qw(stat)"? (Again, please bear in mind that my Perl > is quite rusty.) In Perl, "use MODULE LIST;" is shorthand for "BEGIN { require Module; import Module LIST; }". The patch must expand that shorthand in order to insert an "eval BLOCK" to catch the error "require" will throw if Time::HiRes is not available. In this case, we do not worry about actually handling the error, since the fallback is to use the stat builtin instead of replacing it with Time::HiRes::stat. Putting them close together, we have three forms: (1) use Time::HiRes qw(stat); (2) BEGIN { require Time::HiRes; import Time::HiRes qw(stat); } (3) BEGIN { eval { require Time::HiRes; import Time::HiRes qw(stat); } } According to the Perl manual ("use" in perlfunc), (1) and (2) are "exactly equivalent" forms, with a minor syntactic difference not relevant here. (Form (2) is slightly more general.) The patch replaces (1) with (3), which allows the error that occurs if Time::HiRes cannot be loaded to be ignored. Notably, Time::HiRes could be installed from CPAN before it became a core module, so this patch also allows sub-second timestamps with Perl 5.6 if Time::HiRes has been installed. Simply saying "eval { use Time::HiRes qw(stat) };" will not work because it would expand to "eval { BEGIN { require Time::HiRes; ...} };" which would execute the "require" while compiling the "eval" block, and thus fail to catch the error if Time::HiRes is not available because the error is thrown before the "eval" is actually in force. Conversely, "eval 'use Time::HiRes qw(stat)';" would be too *late*: the rest of the program would have already been compiled to use the stat builtin. The import must be executed before the rest of the program is compiled, and an eval must be in force when it is executed to catch the error if Time::HiRes is not available. This requires expanding "use" to its equivalent "BEGIN { require ... }" in order to put the "eval" in the right place. > The code formerly had "use File::stat;" before it changed to "use > Time::HiRes qw(stat);". Why doesn't the proposed patch need to fall > back to "use File::stat;" on older Perls lacking Time::HiRes? File::stat is a convenience wrapper around the stat builtin that modifies it to return an object instead of the 13-element list Perl's core stat produces. File::stat and Time::HiRes::stat are incompatible, so the program had to be modified to remove the use of File::stat before it could use Time::HiRes::stat. The reason that the fallback is to do nothing if requiring Time::HiRes and importing Time::HiRes::stat fails is that Time::HiRes::stat is a drop-in replacement for the stat builtin, which remains available if the import fails. So we attempt to import Time::HiRes::stat (which will transparently replace the stat builtin if it succeeds) and proceed with the stat builtin (that Perl 5 always has) if the import fails. > Thanks again for any advice you can provide. You are welcome. Also note patches at bug#61670 and bug#61671 which resolve some minor testsuite issues with Perl 5.6.2. -- Jacob From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] [PATCH 2/2] Gracefully degrade if Time::HiRes is not available Resent-From: Jacob Bachmeyer Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Wed, 29 Mar 2023 02:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: Paul Eggert Cc: Dagobert Michelsen , 61240@debbugs.gnu.org, autoconf@gnu.org, Jim Meyering , Warren Young Reply-To: jcb62281@gmail.com Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.168005738525933 (code B ref 61240); Wed, 29 Mar 2023 02:37:02 +0000 Received: (at 61240) by debbugs.gnu.org; 29 Mar 2023 02:36:25 +0000 Received: from localhost ([127.0.0.1]:51066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phLfl-0006kD-AC for submit@debbugs.gnu.org; Tue, 28 Mar 2023 22:36:25 -0400 Received: from mail-oa1-f51.google.com ([209.85.160.51]:33785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phLfj-0006k0-BX for 61240@debbugs.gnu.org; Tue, 28 Mar 2023 22:36:23 -0400 Received: by mail-oa1-f51.google.com with SMTP id 586e51a60fabf-17997ccf711so14893312fac.0 for <61240@debbugs.gnu.org>; Tue, 28 Mar 2023 19:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680057377; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=4TlJ7hilAYs7SEIXUsaXT9dXc/KrqP8yd+jKkIxBcTA=; b=TYrqxJ1WhfL5b1obElH+lt7a1RNRYfPrgzVR2lfel2SxU2kUqOY3A0qfy1kdS8nQmf 83gb8UvrCZ0zHNrBie4NRpi32udTJERijXbPeWHhslAXqY9ukvIBRkKepgbpB3K/jXlw bSxhP3Rk+86Kgir8MuqiXCNaiTpDRY4N09eToutn+Hu9UWXH4Llu/Ep+rJbwQjOnNB9y eFV6+oA/CXEups4GykKfQkkObrxjEsTPd1rYlaV4M9/n1uxhwvLutvm1NCEsWMa/0ELt 87wNO4HVJYyXfhnig4SRD8DPTGrzz+o2TkzzweSC1rgYFnxyO6+uceZ8spoPcT7cofTQ k/KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680057377; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4TlJ7hilAYs7SEIXUsaXT9dXc/KrqP8yd+jKkIxBcTA=; b=n2QwJtxDu79b+havkXfbM/FAK4tRPSOhw0jBrQKehsya60sljFd+EHsrvLwcpGy8+/ iGg+yHdQocAd+T+Vo3lLbOrNeEVQV6PHC48jthWbDkEfskIqNdtnBf0p0fYivYTCRIaf PwryRpXS9/2WMZEOHeIqlV1dL9NCZP4GO9zQOSxrkmK9GEbhdh+eN6nauOppQ0YtVFCa StVVgq9+Pto1QVhJq0T67YQfSYRdVsaP1Xs8/IfsARqGX86X2x8tYwB6dJIGOSh04zwv F2eiIQ+A0gfO5pfBtFfUby5qs257kRD6SZg8/9/TM0tTzz+FPdMGdq5JnBU/nIz1dzvf A2og== X-Gm-Message-State: AAQBX9ch58m1XR/9pyJ5GKMGtrSplOtz+1YnQOqdDjW6/5YYaXyUCs/F 9PKu1Yc0IxJh0c9RjShTEoA= X-Google-Smtp-Source: AKy350bIkJUrlu//CR1+8yj+lpD3qgNlX9tVUGhprL2LPn5H3o1H3nk2GDjoep8PKuXRAh/wIZPwKQ== X-Received: by 2002:a05:6871:54a:b0:177:9ed4:9a73 with SMTP id t10-20020a056871054a00b001779ed49a73mr428737oal.15.1680057377247; Tue, 28 Mar 2023 19:36:17 -0700 (PDT) Received: from [127.0.0.1] ([70.133.144.20]) by smtp.gmail.com with ESMTPSA id ao3-20020a056870f90300b001765b2f6c53sm11455289oac.9.2023.03.28.19.36.16 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Mar 2023 19:36:16 -0700 (PDT) Message-ID: <6423A41E.4060402@gmail.com> Date: Tue, 28 Mar 2023 21:36:14 -0500 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> <63DDC291.1090100@gmail.com> <63DEF230.7080204@gmail.com> <63E05460.7040805@gmail.com> <63E09379.2050707@gmail.com> <29623d9b-6819-d1fa-cfc9-98757cfcf2ff@cs.ucla.edu> <63E3333A.5080307@gmail.com> <98b4af1f-a730-8c72-5dfc-68265844e17e@cs.ucla.edu> <8F829B43-0587-4FBE-8887-347E78D0FC4A@etr-usa.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) Paul Eggert wrote: > On 2023-03-28 08:21, Warren Young wrote: >> Surely Solaris 10 (shipped in 2005) is relegated to the role of >> porting target, getting nothing but a “dist” tarball? > > Good point. I'll cc this to Dagobert Michelsen, who maintains the > Autoconf port for Solaris 10. Dagobert, are people still running > Autoconf on Solaris 10? If not, worrying about porting to older Perl > should be even lower priority than it already is. > > For context, this email is about GNU bug 61240: > > https://bugs.gnu.org/61240 > > and the fallout that the latest Autoconf release candidate does not > run on the old version of Perl installed by default on Solaris 10. See: > > https://lists.gnu.org/r/autoconf/2023-03/msg00030.html > > If OpenCSW already installs a new-enough Perl version then this > Autoconf business shouldn't be a real issue. On the other hand if it's > really trivial to keep Autoconf portable to older Perl, and if Jacob > Bachmeyer or some other Perl expert can vouch for the change, we might > as well put it in. I have since checked and it appears that the same patch I submitted for Automake on this bug should also work for Autoconf, applied atop commit 3a9802d60156809c139e9b4620bf04917e143ee2 (also back out the change to "use 5.008" in that commit, which was bogus for the same reasons I have previously explained for the Perl version requirement bump in Automake). Autoconf would also do well to revert commit 61901a1a14fd50c03cfb1529d091554376fef286 and/or possibly split m4/perl-time-hires.m4 out of that commit and remove the "use 5.010;" line from it; the correct test is for a perl that has Time::HiRes::stat, not for any specific version of perl. I find this particularly grating in Autoconf, where the entire point is supposed to be "test for features, not versions". :-/ -- Jacob From unknown Mon Jun 23 11:28:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61240] [PATCH 2/2] Gracefully degrade if Time::HiRes is not available Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Wed, 29 Mar 2023 19:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61240 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: To: jcb62281@gmail.com Cc: 61240@debbugs.gnu.org, Dagobert Michelsen , Autoconf , Jim Meyering Received: via spool by 61240-submit@debbugs.gnu.org id=B61240.16801176176136 (code B ref 61240); Wed, 29 Mar 2023 19:21:02 +0000 Received: (at 61240) by debbugs.gnu.org; 29 Mar 2023 19:20:17 +0000 Received: from localhost ([127.0.0.1]:55013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phbLF-0001at-Ir for submit@debbugs.gnu.org; Wed, 29 Mar 2023 15:20:17 -0400 Received: from mail.cs.ucla.edu ([131.179.128.66]:60156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phbLD-0001ab-H4 for 61240@debbugs.gnu.org; Wed, 29 Mar 2023 15:20:15 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 032D23C020F7C; Wed, 29 Mar 2023 12:20:10 -0700 (PDT) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id baNesLX2yT47; Wed, 29 Mar 2023 12:20:09 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id C2C423C02213D; Wed, 29 Mar 2023 12:20:09 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu C2C423C02213D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1680117609; bh=kVhXLpbu0QJe9CJPMIJ5jxPeTNj7PT1ywuk388GKi5g=; h=Message-ID:Date:MIME-Version:To:From; b=McNuStyW6tpvLmKdMAWX0mEYcWo69tFJbMJ/HM54OmWDVHtxbAGgR2BWrTsjbom8Y MOdgM0SKOj56eflC+OVGyRIYtNuJcM0TsIpKOQ7f5HISsO1DMAbojDnk/3ioWRwBjZ dYTHtlJjXWA1QAXy1SXLM3oDTVw3Tuto0EnJaxNh2BUZCLz00If5qMmrf8A0knOuHh Uj6D5TZonJrWfaFejje5gs3qHtlhbpz9ibunQaBzUcSmxtASDW9RL7Gq0gz83dj8gY e4ltdTvi8J6j6x7ASwgWhjcc+vkbYEoT5LxmTrUw60to0n9PEm3i1yz2n4u624DywV iQ2QI6PnFF37w== X-Virus-Scanned: amavisd-new at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id NS8B0OsrIe9Z; Wed, 29 Mar 2023 12:20:09 -0700 (PDT) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 920F73C020F7C; Wed, 29 Mar 2023 12:20:09 -0700 (PDT) Message-ID: <504b184d-caae-b181-e357-8b53c9452d9c@cs.ucla.edu> Date: Wed, 29 Mar 2023 12:20:09 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Content-Language: en-US References: <62c80aa6-14b7-c6e8-54d0-2e1aa6c9e499@cs.ucla.edu> <63DDC291.1090100@gmail.com> <63DEF230.7080204@gmail.com> <63E05460.7040805@gmail.com> <63E09379.2050707@gmail.com> <29623d9b-6819-d1fa-cfc9-98757cfcf2ff@cs.ucla.edu> <63E3333A.5080307@gmail.com> <98b4af1f-a730-8c72-5dfc-68265844e17e@cs.ucla.edu> <64239D30.5010409@gmail.com> From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <64239D30.5010409@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Thanks for the explanation. I installed those two patches into Automake.