[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-stow] Does not work -d option with the user directory on FreeBS
From: |
Adam Spiers |
Subject: |
Re: [Bug-stow] Does not work -d option with the user directory on FreeBSD |
Date: |
Fri, 12 Apr 2013 17:51:50 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Apr 12, 2013 at 03:38:05PM +0900, Hiroyuki Iwatsuki wrote:
> Hello,
>
> I am using GNU Stow 2.2.0 on FreeBSD.
> I have specified -d $HOME/local/stow to Stow.
> Unfortunately, Stow do not work.
>
> % LANG=C stow -d /home/don/local/stow -S mono-git --verbose=3
> stow dir is /usr/home/don/local/stow
> stow dir path relative to target /home/don/local is
> ../../../usr/home/don/local/stow
> cwd now /home/don/local
> cwd restored to /usr/home/don/src/mono-git/_build_
> cwd now /home/don/local
> stow: ERROR: The stow directory ../../../usr/home/don/local/stow does
> not contain package mono-git (No such file or directory)
> [1] 62559 exit 2 LANG=C stow -d /home/don/local/stow -S
> mono-git --verbose=3
[snipped]
> Is this bug? or, my environment problem?
>
>
> FYI, /home directory is symlink from /usr/home on FreeBSD.
>
> % LANG=C ls -l /home
> lrwxr-xr-x 1 root wheel 8 Feb 2 2011 /home@ -> usr/home
[snipped]
Thanks for the excellent bug report! I am pretty sure you found a
bug. Here is a suggested fix:
https://github.com/aspiers/stow/commit/c500216f20b081fae0799253d1d86536d48ff6ba
Please can you git clone from that branch and see if it fixes the
issue for you?
https://github.com/aspiers/stow/tree/canonical-paths
Thanks,
Adam