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

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

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Jan 27, 2012, 09:32 UTC
Message-ID
<CACBZZX5Y5u=8U4s2aohr6wERuybCMRTamQK7v=JRUOr+ZpJjxQ@mail.gmail.com>
In-Reply-To
<7v8vkt1yry.fsf@alter.siamese.dyndns.org>
On Fri, Jan 27, 2012 at 06:48, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> Æ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.

Since I wrote that E-Mail I learned what RedHat was doing, I think that's a far better option. They're splitting up the perl core into multiple packages, and anyone who has issues with this on RedHat can trivially just install those packages. So we should just note it in the INSTALL file as a platform-specific issue and leave it at that.

We *could* deal with this in our code, but I don't think dealing with every vendor's slightly different perl version is a viable strategy in the long run.

Previous: Junio C HamanoNext: Jakub Narębski
Message 5 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.