Hard link problem during build

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Hard link problem during build

From: PICCA Frédéric-Emmanuel <hidden>
Date: 2016-06-15 22:44:27

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

Re: Hard link problem during build

From: Peter Eriksen <hidden>
Date: 2016-06-15 22:44:27

...
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.
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help