From unknown Fri Jun 13 11:35:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28241: man page in r-minimal contains timestamp Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 26 Aug 2017 13:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28241 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 28241@debbugs.gnu.org X-Debbugs-Original-To: "'bug-guix\@gnu.org'" Received: via spool by submit@debbugs.gnu.org id=B.150375240814353 (code B ref -1); Sat, 26 Aug 2017 13:01:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Aug 2017 13:00:08 +0000 Received: from localhost ([127.0.0.1]:56132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlah6-0003jR-LB for submit@debbugs.gnu.org; Sat, 26 Aug 2017 09:00:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlah4-0003hY-1M for submit@debbugs.gnu.org; Sat, 26 Aug 2017 09:00:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlagy-00073N-1j for submit@debbugs.gnu.org; Sat, 26 Aug 2017 09:00:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36258) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dlagx-00073F-Uc for submit@debbugs.gnu.org; Sat, 26 Aug 2017 08:59:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlagw-0006vZ-Kv for bug-guix@gnu.org; Sat, 26 Aug 2017 08:59:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlagt-00072P-Jz for bug-guix@gnu.org; Sat, 26 Aug 2017 08:59:58 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21049) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dlagt-000725-EI for bug-guix@gnu.org; Sat, 26 Aug 2017 08:59:55 -0400 Received: from localhost (ip-109-40-3-39.web.vodafone.de [109.40.3.39]) by mx.zohomail.com with SMTPS id 1503752390875846.3538161776911; Sat, 26 Aug 2017 05:59:50 -0700 (PDT) User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 26 Aug 2017 14:59:47 +0200 Message-ID: <878ti6v60s.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.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: -4.0 (----) The compressed man page at “share/man/man1/R.1.gz” provided by r-minimal contains a time-dependent string. Comparing the uncompressed man pages built at different times on different machines shows me this: --8<---------------cut here---------------start------------->8--- diff /tmp/berlin/share/man/man1/R.1 /tmp/hydra/share/man/man1/R.1 2c2 < .TH R "1" "July 2017" "R 3.4.0" FSF --- > .TH R "1" "May 2017" "R 3.4.0" FSF --8<---------------cut here---------------end--------------->8--- The man page is created with a rule in “doc/Makefile.in”: @$(HELP2MAN) --include=$(srcdir)/R.aux --no-info --output=R.1 \ --name="a language for data analysis and graphics" \ $(top_builddir)/bin/R “doc/R.aux” does not contain a timestamp, nor does the help output of R itself. Is help2man to blame here? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From unknown Fri Jun 13 11:35:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28241: man page in r-minimal contains timestamp Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 26 Aug 2017 13:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28241 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 28241@debbugs.gnu.org Received: via spool by 28241-submit@debbugs.gnu.org id=B28241.150375307515357 (code B ref 28241); Sat, 26 Aug 2017 13:12:01 +0000 Received: (at 28241) by debbugs.gnu.org; 26 Aug 2017 13:11:15 +0000 Received: from localhost ([127.0.0.1]:56147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlarr-0003zd-An for submit@debbugs.gnu.org; Sat, 26 Aug 2017 09:11:15 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlarp-0003zV-G7 for 28241@debbugs.gnu.org; Sat, 26 Aug 2017 09:11:13 -0400 Received: from localhost (ip-109-40-3-39.web.vodafone.de [109.40.3.39]) by mx.zohomail.com with SMTPS id 1503753069930191.2273846490441; Sat, 26 Aug 2017 06:11:09 -0700 (PDT) References: <878ti6v60s.fsf@elephly.net> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus In-reply-to: <878ti6v60s.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 26 Aug 2017 15:11:06 +0200 Message-ID: <877exqv5hx.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: 1.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 (+) Ricardo Wurmus writes: > The man page is created with a rule in “doc/Makefile.in”: > > @$(HELP2MAN) --include=$(srcdir)/R.aux --no-info --output=R.1 \ > --name="a language for data analysis and graphics" \ > $(top_builddir)/bin/R > > “doc/R.aux” does not contain a timestamp, nor does the help output of R > itself. Is help2man to blame here? help2man supports SOURCE_DATE_EPOCH and it does the right thing when it is set. --8<---------------cut here---------------start------------->8--- $ guix environment --ad-hoc r-minimal help2man $ help2man --include=R-3.4.0/doc/R.aux --no-info --output foo.1 R $ grep August foo.1 .TH R "1" "August 2017" "R version 3.4.0 (2017-04-21) -- "You Stupid Darkness"" "User Commands" $ SOURCE_DATE_EPOCH=0 help2man --include=R-3.4.0/doc/R.aux --no-info --output foo.1 R $ grep August foo.1 $ grep January foo.1 .TH R "1" "January 1970" "R version 3.4.0 (2017-04-21) -- "You Stupid Darkness"" "User Commands" --8<---------------cut here---------------end--------------->8--- Is SOURCE_DATE_EPOCH not set at the time help2man runs? “r-minimal” uses the gnu-build-system, which has a build phase set-SOURCE-DATE-EPOCH that sets SOURCE_DATE_EPOCH to 1. Where is this lost? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From unknown Fri Jun 13 11:35:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28241: man page in r-minimal contains timestamp Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 27 Aug 2017 00:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28241 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 28241@debbugs.gnu.org Received: via spool by 28241-submit@debbugs.gnu.org id=B28241.150379478712918 (code B ref 28241); Sun, 27 Aug 2017 00:47:02 +0000 Received: (at 28241) by debbugs.gnu.org; 27 Aug 2017 00:46:27 +0000 Received: from localhost ([127.0.0.1]:56919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dllid-0003MH-JQ for submit@debbugs.gnu.org; Sat, 26 Aug 2017 20:46:27 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dllic-0003M9-40 for 28241@debbugs.gnu.org; Sat, 26 Aug 2017 20:46:26 -0400 Received: from localhost (ip-109-40-3-39.web.vodafone.de [109.40.3.39]) by mx.zohomail.com with SMTPS id 1503794782822706.5140333555848; Sat, 26 Aug 2017 17:46:22 -0700 (PDT) References: <878ti6v60s.fsf@elephly.net> <877exqv5hx.fsf@elephly.net> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus In-reply-to: <877exqv5hx.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sun, 27 Aug 2017 02:46:17 +0200 Message-ID: <87378dvnvq.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: 1.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 (+) Ricardo Wurmus writes: > Is SOURCE_DATE_EPOCH not set at the time help2man runs? “r-minimal” > uses the gnu-build-system, which has a build phase set-SOURCE-DATE-EPOCH > that sets SOURCE_DATE_EPOCH to 1. > > Where is this lost? Simple: R simply doesn’t use our help2man. It comes with tools/help2man.pl, which does not respect SOURCE_DATE_EPOCH. Overwriting the HELP2MAN variable causes the tests to fail, so I need to investigate how these versions differ. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From unknown Fri Jun 13 11:35:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ricardo Wurmus Subject: bug#28241: closed (Re: bug#28241: man page in r-minimal contains timestamp) Message-ID: References: <87k21nhk7w.fsf@elephly.net> <878ti6v60s.fsf@elephly.net> X-Gnu-PR-Message: they-closed 28241 X-Gnu-PR-Package: guix Reply-To: 28241@debbugs.gnu.org Date: Mon, 28 Aug 2017 13:54:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1503928442-19660-1" This is a multi-part message in MIME format... ------------=_1503928442-19660-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #28241: man page in r-minimal contains timestamp which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 28241@debbugs.gnu.org. --=20 28241: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28241 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1503928442-19660-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 28241-done) by debbugs.gnu.org; 28 Aug 2017 13:53:48 +0000 Received: from localhost ([127.0.0.1]:58966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmKU8-00056f-9x for submit@debbugs.gnu.org; Mon, 28 Aug 2017 09:53:48 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmKU6-00056W-QT for 28241-done@debbugs.gnu.org; Mon, 28 Aug 2017 09:53:47 -0400 Received: from localhost (141.80.246.138 [141.80.246.138]) by mx.zohomail.com with SMTPS id 1503928422566259.2002345021468; Mon, 28 Aug 2017 06:53:42 -0700 (PDT) References: <878ti6v60s.fsf@elephly.net> <877exqv5hx.fsf@elephly.net> <87378dvnvq.fsf@elephly.net> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus To: 28241-done@debbugs.gnu.org Subject: Re: bug#28241: man page in r-minimal contains timestamp In-reply-to: <87378dvnvq.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 28 Aug 2017 15:53:39 +0200 Message-ID: <87k21nhk7w.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 28241-done 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 (+) Ricardo Wurmus writes: > Ricardo Wurmus writes: > >> Is SOURCE_DATE_EPOCH not set at the time help2man runs? “r-minimal” >> uses the gnu-build-system, which has a build phase set-SOURCE-DATE-EPOCH >> that sets SOURCE_DATE_EPOCH to 1. >> >> Where is this lost? > > Simple: R simply doesn’t use our help2man. It comes with > tools/help2man.pl, which does not respect SOURCE_DATE_EPOCH. > > Overwriting the HELP2MAN variable causes the tests to fail, so I need to > investigate how these versions differ. This is now fixed with commit 174fbd5f3b2f286cf06e58787853db6b8f0f5b35. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net ------------=_1503928442-19660-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 26 Aug 2017 13:00:08 +0000 Received: from localhost ([127.0.0.1]:56132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlah6-0003jR-LB for submit@debbugs.gnu.org; Sat, 26 Aug 2017 09:00:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlah4-0003hY-1M for submit@debbugs.gnu.org; Sat, 26 Aug 2017 09:00:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlagy-00073N-1j for submit@debbugs.gnu.org; Sat, 26 Aug 2017 09:00:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36258) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dlagx-00073F-Uc for submit@debbugs.gnu.org; Sat, 26 Aug 2017 08:59:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlagw-0006vZ-Kv for bug-guix@gnu.org; Sat, 26 Aug 2017 08:59:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlagt-00072P-Jz for bug-guix@gnu.org; Sat, 26 Aug 2017 08:59:58 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21049) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dlagt-000725-EI for bug-guix@gnu.org; Sat, 26 Aug 2017 08:59:55 -0400 Received: from localhost (ip-109-40-3-39.web.vodafone.de [109.40.3.39]) by mx.zohomail.com with SMTPS id 1503752390875846.3538161776911; Sat, 26 Aug 2017 05:59:50 -0700 (PDT) User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus To: "'bug-guix\@gnu.org'" Subject: man page in r-minimal contains timestamp X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 26 Aug 2017 14:59:47 +0200 Message-ID: <878ti6v60s.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -4.0 (----) The compressed man page at “share/man/man1/R.1.gz” provided by r-minimal contains a time-dependent string. Comparing the uncompressed man pages built at different times on different machines shows me this: --8<---------------cut here---------------start------------->8--- diff /tmp/berlin/share/man/man1/R.1 /tmp/hydra/share/man/man1/R.1 2c2 < .TH R "1" "July 2017" "R 3.4.0" FSF --- > .TH R "1" "May 2017" "R 3.4.0" FSF --8<---------------cut here---------------end--------------->8--- The man page is created with a rule in “doc/Makefile.in”: @$(HELP2MAN) --include=$(srcdir)/R.aux --no-info --output=R.1 \ --name="a language for data analysis and graphics" \ $(top_builddir)/bin/R “doc/R.aux” does not contain a timestamp, nor does the help output of R itself. Is help2man to blame here? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net ------------=_1503928442-19660-1--