git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Test t9500 fails if Time::HiRes is missing

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 27, 2012, 05:48 UTC
Message-ID
<7v8vkt1yry.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CACBZZX4cjcY5d3mPJAV+rbSTqCEUOrF=_dd3ny_jSM++G-Bg1Q@mail.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> This doesn't actually fix the issue, it only sweeps it under the rug
> by making the tests pass, gitweb will still fail to compile on Red
> Hat once installed.
In the short term for 1.7.9, let's at least warn users about this issue.
-- >8 --
Subject: INSTALL: warn about recent Fedora breakage

Recent releases of Redhat/Fedora are reported to ship Perl binary package with some core modules stripped away (see http://lwn.net/Articles/477234/) against the upstream Perl5 people's wishes. The Time::HiRes module used by gitweb one of them.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 * Hopefully, this may resolve itself over time.
 INSTALL |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/INSTALL b/INSTALL
index 8120641..6fa83fe 100644
--- a/INSTALL
+++ b/INSTALL
@@ -83,7 +83,11 @@ Issues of note:
 	- "Perl" version 5.8 or later is needed to use some of the
 	  features (e.g. preparing a partial commit using "git add -i/-p",
 	  interacting with svn repositories with "git svn").  If you can
-	  live without these, use NO_PERL.
+	  live without these, use NO_PERL.  Note that recent releases of
+	  Redhat/Fedora are reported to ship Perl binary package with some
+	  core modules stripped away (see http://lwn.net/Articles/477234/),
+	  so you might need to install additional packages other than Perl
+	  itself, e.g. Time::HiRes.
 
 	- "openssl" library is used by git-imap-send to use IMAP over SSL.
 	  If you don't need it, use NO_OPENSSL.
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 4 of 13 in “Test t9500 fails if Time::HiRes is missing”
  1. Hallvard Breien FurusethJan 23, 2012
  2. Hallvard Breien FurusethJan 23, 2012
  3. Ævar Arnfjörð BjarmasonJan 23, 2012
  4. Junio C HamanoJan 27, 2012
  5. Ævar Arnfjörð BjarmasonJan 27, 2012
  6. Jakub NarębskiJan 27, 2012
  7. Hallvard B FurusethJan 27, 2012
  8. Jakub NarębskiJan 27, 2012
  9. Revert "gitweb: Time::HiRes is in core for Perl 5.8"Jakub Narebski, Jan 27, 2012
  10. Junio C HamanoJan 27, 2012
  11. Jakub NarebskiJan 28, 2012
  12. Ævar Arnfjörð BjarmasonJan 29, 2012
  13. Ævar Arnfjörð BjarmasonJan 29, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.