From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 31 21:23:47 2023 Received: (at submit) by debbugs.gnu.org; 1 Aug 2023 01:23:47 +0000 Received: from localhost ([127.0.0.1]:46896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQe70-0003L5-Sb for submit@debbugs.gnu.org; Mon, 31 Jul 2023 21:23:47 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQe6z-0003Kr-8n for submit@debbugs.gnu.org; Mon, 31 Jul 2023 21:23:45 -0400 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 1qQe6t-00082D-Oz for bug-guile@gnu.org; Mon, 31 Jul 2023 21:23:39 -0400 Received: from host2.hosts.geeklan.co.uk ([2001:470:1f13:8c2::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qQe6r-00070O-Oj for bug-guile@gnu.org; Mon, 31 Jul 2023 21:23:39 -0400 Received: from host2.hosts.geeklan.co.uk (localhost [127.0.0.1]) by host2.hosts.geeklan.co.uk (OpenSMTPD) with ESMTP id 95752075 for ; Tue, 1 Aug 2023 02:23:31 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=geeklan.co.uk; h= message-id:date:mime-version:to:from:subject:content-type :content-transfer-encoding; s=geeklan; bh=t5SIp/FPWkRTy58RmPpCWN kGgRw=; b=uflAUMHhd5EsnSmyfU7bEsRqdfptn3qx7jK6bs5zuXa0leTADR3Rix /sO2wKXJjrh4XD3BHnQnWLfSDaEr67DzdXSQ5VLkcFHBviLxgTuvf5C1qPaejZqp YHCbqMYVVW08e/imyEXRnIgNZqI4aQL8+trmU5eeF4xX4lWaKVrQ4g+m81Fhl7I+ sdn5xES4NLwM+lYuu4Bs5G2XR1cbpcIeAgxkGbKmkmNCog9sJc2Z2icZvdyHGM8c iJhJb2BqtIuZTQML+yNW8eLebIgLjnDXce87XiXBUIJX/vvUJrYyTczanKKqcgxS +16BzDwuMIq4PVXdmkh4scmJpK6qzt+A== DomainKey-Signature: a=rsa-sha1; c=nofws; d=geeklan.co.uk; h=message-id :date:mime-version:to:from:subject:content-type :content-transfer-encoding; q=dns; s=geeklan; b=AHnEi58y4LGWPBBg DmLw6DK/G3rAatf6z+G5j34qJYLNs2pcfM8jpQWDfssb+/udMMiohcQlqY/RxVrr aIBPBRmiUyWX3mPkdu57xvF5HGPFCJ8I2KcJ9lYvHyqcPW4z0k6+pSo/iatDW/oG 5SUgyszF3igOrPKbqKL0nj+CtBV2DIjkTBftn7QeZa078RX7s6LIdMNpCQePwwXS Pb020bHSrLpvvkkB50fvBmRiz4JvZgmPXCxM3vNDMZmqeQwnuDxjgiWqaUeIwcrS +2GAzbtS7KKqafKgAshs0LxntSY7ZSL+3/s8YWxHo0rwWp/3tu4I26SSm4t5LXIt l0wXew== Received: by host2.hosts.geeklan.co.uk (OpenSMTPD) with ESMTPSA id eaef5a0c (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 1 Aug 2023 02:23:24 +0100 (BST) Message-ID: <72db7211-6230-a10e-6e77-161d526cbd0e@geeklan.co.uk> Date: Tue, 1 Aug 2023 02:23:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: bug-guile@gnu.org Content-Language: en-GB From: Sevan Janiyan Subject: call to date(1) uses non-portable flag Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2001:470:1f13:8c2::1; envelope-from=venture37@geeklan.co.uk; helo=host2.hosts.geeklan.co.uk X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit 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: -0.1 (/) Hi, In libguile/Makefile there is a call to date(1) for recording the build stamp as so: @BUILD_DATE="$${SOURCE_DATE_EPOCH:-`date '+%s'`}" ; \ echo ' { "buildstamp", "'`date -u +'%Y-%m-%d %T' -d @$$BUILD_DATE`'" }, \' >> libpath.tmp The -d flag doesn't necessarily mean the same thing across different operating systems, e.g on macOS it means "Set the kernel's value for daylight saving time." vs the coreutils version which means "display time described by STRING, not 'now'" The command errors but the build continues so it is non-fatal which is perhaps why it has gone undetected? Sevan