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

Re: t5150-request-pull.sh fails on newest master in Debian

From
Øyvind A. Holm <sunny@sunbase.org>
Date
Jul 5, 2014, 14:24 UTC
Message-ID
<CAA787rnMonCuON+C0U5FDXKzjTBdpOusCpGLeWytDWaA1torEw@mail.gmail.com>
In-Reply-To
<1404525502.3109.25.camel@stross>
On 5 July 2014 03:58, David Turner <dturner@twopensource.com> wrote:
Show 7 quoted lines
> On Sat, 2014-07-05 at 02:09 +0200, Øyvind A. Holm wrote:
> <snip>
> > The test works. Seems as there's something fishy about the use of
> > --prefix in this specific commit (v2.0.1-472-g6f92e5f).
>
> Ok, now I can reproduce on my linode box (haven't tried it locally
> yet). I'll try to get a fix up once I figure out what's up.

Awesome. I've done some more "./configure --prefix" testing, and this is the result:

  # --prefix is set to non-existing directory
  ./configure --prefix=/usr/local/varprg/git.master.v2.0.1-472-g6f92e5f
    # ./t5150-request-pull.sh fails.
  # --prefix is set to non-existing directory, use trailing slash
  ./configure --prefix=/usr/local/varprg/git.master.v2.0.1-472-g6f92e5f/
    # ./t5150-request-pull.sh fails.
  # --prefix is set to existing directory
  ./configure --prefix=/usr/local/varprg/git.master.v2.0.1-442-g7fe6834
    # ./t5150-request-pull.sh fails.
  # --prefix is set to existing directory
  ./configure --prefix=/usr/local
    # ./t5150-request-pull.sh succeeds.
  # --prefix is set to existing directory
  ./configure --prefix=/usr/local/varprg
    # ./t5150-request-pull.sh succeeds.
  # --prefix is set to non-existing directory
  ./configure --prefix=/usr/local/varprg/a-long-directory-name-which-does-not-exist
    # ./t5150-request-pull.sh succeeds.
  ./configure --prefix=/usr/local/varprg/git.master.a-long-directory-name-which-does-not-exist
    # ./t5150-request-pull.sh succeeds.

So it's something with names like "git.master.v2.0.1-472-g6f92e5f" that "./configure --prefix" is picky about.

When testing this last night, I pushed the following branches to <https://github.com/sunny256/git> where I added all compiled files in various stages with "git add -f .":

  t5150-fail.configure-without-prefix
    Succeeds.
    "./configure"
  t5150-fail.configure-with-prefix
    Fails.
    "./configure --prefix=/usr/local/varprg/git.master.v2.0.1-472-g6f92e5f"
  t5150-fail.configure-prefix-usr-local
    Succeeds.
    "./configure --prefix=/usr/local"

Maybe something will turn up by diffing those branches. I've got to leave for now, but will have a look at this later tonight.

Cheers, Øyvind

Previous: David TurnerNext: David Turner
Message 7 of 14 in “t5150-request-pull.sh fails on newest master in Debian”
  1. Øyvind A. HolmJul 3, 2014
  2. David TurnerJul 3, 2014
  3. Øyvind A. HolmJul 3, 2014
  4. David TurnerJul 4, 2014
  5. Øyvind A. HolmJul 5, 2014
  6. David TurnerJul 5, 2014
  7. Øyvind A. HolmJul 5, 2014
  8. refs.c: handle REFNAME_REFSPEC_PATTERN at end of pageDavid Turner, Jul 5, 2014
  9. Øyvind A. HolmJul 9, 2014
  10. David TurnerJul 9, 2014
  11. Øyvind A. HolmJul 9, 2014
  12. René ScharfeJul 9, 2014
  13. Øyvind A. HolmJul 3, 2014
  14. Øyvind A. HolmJul 9, 2014

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.