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

Re: Git 2.25 and failed self tests on OS X

From
JWJeffrey Walton <noloader@gmail.com>
Date
Feb 3, 2020, 11:00 UTC
Message-ID
<CAH8yC8=-ht7D3CyM-YoJSfW3hueaWVp5WQz2+BJOFMjmt8aDsg@mail.gmail.com>
In-Reply-To
<20200203084356.GB2164@coredump.intra.peff.net>
On Mon, Feb 3, 2020 at 3:43 AM Jeff King <peff@peff.net> wrote:
Show 38 quoted lines
>
> On Sun, Feb 02, 2020 at 11:08:17PM -0500, Jeffrey Walton wrote:
>
> > I'm seeing some self-tests failures building the 2.25 release tarball
> > on OS X. I'm seeing it on the old PowerMac with OS X 10.5, and a
> > modern Intel Mac with OS X 10.9. PowerMac failures are not too
> > surprising, but the modern Mac should probably pass its self tests.
> >
> > *** t3902-quoted.sh ***
> > not ok 1 - setup
> > #
> > #
> > #               mkdir "$FN" &&
> > #               for_each_name "echo initial >\"\$name\"" &&
> > #               git add . &&
> > #               git commit -q -m Initial &&
> > #
> > #               for_each_name "echo second >\"\$name\"" &&
> > #               git commit -a -m Second &&
> > #
> > #               for_each_name "echo modified >\"\$name\""
>
> It's hard to see what's going on with this output. Try running:
>
>   ./t3902-quoted.sh -v -x -i
>
> to get more verbose output.
>
> Looking at this test, it tries to create files with funny characters in
> the names. Presumably your filesystem isn't happy with one or more of
> them. The verbose output will probably make it clear which.
>
> Version 10.9 isn't incredibly new, but these tests have been around a
> long time. If OS X has a problem with these filenames, it seems odd for
> it to be surfacing now.
>
> Do you know what filesystem you're using? You aren't running the tests
> by any chance on a network mount from a Windows machine?

According to `diskutil info /`, the filesystem is Journaled HFS+. The tests are running locally on the Mac after logging in over SSH.

I'm wondering if Perl is the problem. I had to cut-over to OpenSSL 1.1 due to deprecation of 1.0.2. OpenSSL 1.1 increased Perl requirements, so now I have to build Perl, too. Previously I was not building Perl.

I'm installing Perl 5.30.1, but it is a minimal install. I only install Text::Template Test::More (plus whatever else Perl installs on its own from cspan). However I could not install HTTP::Daemon HTTP::Request. There's some bug in the cspan installer. It gets stuck on one package and tries to download/install it over and over again.

Do you know if Git is using one of Perl's Text:: packages for the test?
Jeff
Previous: Jeff KingNext: Jeff King
Message 3 of 5 in “Git 2.25 and failed self tests on OS X”
  1. Jeffrey WaltonFeb 3, 2020
  2. Jeff KingFeb 3, 2020
  3. Jeffrey WaltonFeb 3, 2020
  4. Jeff KingFeb 3, 2020
  5. Torsten BögershausenFeb 3, 2020

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.