I can confirm this bug.

When using strace, one can see that something strange happens while
mkdir -p is executed.

Indeed, after creating a directory, mkdir changes to it to make sure it
exists. But this does not work because the mkdir system call execued by
the mkdir command creates a directory under the temporary installation
root, while when trying to chdir to the created directory, the cd is
done to the directory on the main system tree. In other words, say make
isntall calls the command

mkdir -p /usr/share/foo/bar

This command yields the system call

mkdir("/var/tmp/something//usr/share/foo")

But then to make sure the directory has indded been created, the system
call which will be used will be

chdir"("/usr/share/foo") 
(omitting the prefix)
and that will of course fail.

Moreover, the --fstrans=no option did not solve everything here. make
install could go a bit further but encountered a permission denied error
while trying to install a manual page under /usr/local/share/man/man1/

Thanks.
Sébastien.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to