threads / discuss / 12963

Hard link problem during build

Subject: Hard link problem during build

## tl;dr

2 messages between Apr 2, 2008 and Apr 2, 2008.

replies: 1people: 2as markdown or json

PICCA Frédéric-Emmanuel· Apr 2, 2008, 07:52 UTC · lore
Hello

I am working with a filesystem mounted via nfs. this system is http://www.active-circle.com/contenu-29-gb.htm

It seems that it do not allow hard linkage. Nevertheless soft linkage is allow.

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 ?
Thanks
Frédéric
Peter Eriksen· Apr 2, 2008, 12:12 UTC · re: PICCA Frédéric-Emmanuel · lore

Re: Hard link problem during build

...
> 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

← back to recent threads