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

Re: Hard link problem during build

From
PEPeter Eriksen <s022018@student.dtu.dk>
Date
Apr 2, 2008, 12:12 UTC
Message-ID
<yqsr1w5oa21w.fsf@rifpc20.inf.ethz.ch>
In-Reply-To
<606CC410B038E34CB97646A32D0EC0BF09E1A4@venusbis.synchrotron-soleil.fr>
...
> I am working with a filesystem mounted via nfs.
...
> It seems that it do not allow hard linkage. Nevertheless soft linkage
> is allow.

Beware that git depends on that stat() gives the correct (Posix) size of symlinks. This can give problems, if a Windows filesystem is mounted over NFS.

Show 5 quoted lines
> So the build process failed during the link of built-in commands.
> git-merge-subtree$X: target and
> $(BUILT_INS): target.
> 
> Is it necessary to do hard link instead of soft link ?

You can change the Makefile (look for calls to 'ln') to copy the build-in commands instead of linking them, and that should work (but waste some space).

Peter
Previous: PICCA Frédéric-Emmanuel
Message 2 of 2 in “Hard link problem during build”
  1. PICCA Frédéric-EmmanuelApr 2, 2008
  2. Peter EriksenApr 2, 2008

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.