Does not work -d option with the user directory on FreeBSD
Hiroyuki Iwatsuki <[email protected]> Fri, 12 Apr 2013 15:38:05 +0900
| Newsgroups | gmane.comp.gnu.stow.bugs |
|---|---|
| Message-ID | <CAJBULbUgjswkkGeKs38oNDpw0T=_5qjmxrZsbWoFiR207C4rXQ@mail.gmail.com> |
--e89a8fb20346451c5d04da24258e Content-Type: text/plain; charset=ISO-8859-1 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 However, I have specified the real path of home directory, Stow is working fine. % LANG=C stow -d /usr/home/don/local/stow -S mono-git --verbose=3 stow dir is /usr/home/don/local/stow stow dir path relative to target /usr/home/don/local is stow cwd now /usr/home/don/local cwd restored to /usr/home/don/src/mono-git/_build_ cwd now /usr/home/don/local Planning stow of package mono-git... Stowing contents of stow/mono-git (cwd=/usr~/local) Stowing stow/mono-git/share Stowing contents of stow/mono-git/share (cwd=/usr~/local) Stowing stow/mono-git/share/locale Stowing contents of stow/mono-git/share/locale (cwd=/usr~/local) (snip) Stowing stow/mono-git/lib/mono LINK: lib/mono => ../stow/mono-git/lib/mono Stowing stow/mono-git/lib/mono-source-libs LINK: lib/mono-source-libs => ../stow/mono-git/lib/mono-source-libs Stowing stow/mono-git/lib/monodoc LINK: lib/monodoc => ../stow/mono-git/lib/monodoc Stowing stow/mono-git/etc LINK: etc => stow/mono-git/etc Planning stow of package mono-git... done cwd restored to /usr/home/don/src/mono-git/_build_ Processing tasks... cwd now /usr/home/don/local cwd restored to /usr/home/don/src/mono-git/_build_ Processing tasks... done (fully log is https://gist.github.com/iwadon/5369820) 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 My environment is: % stow --version stow (GNU Stow) version 2.2.0 % perl -v This is perl 5, version 12, subversion 4 (v5.12.4) built for amd64-freebsd Copyright 1987-2010, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. % uname -a FreeBSD www21248u.sakura.ne.jp 9.1-STABLE FreeBSD 9.1-STABLE #23 r249335: Thu Apr 11 13:45:07 JST 2013 [email protected]:/usr/obj/usr/src/sys/WWW21248U amd64 Thanks, Hiroyuki Iwatsuki <[email protected]> --e89a8fb20346451c5d04da24258e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div style>Hello,</div><div style><br></div><div style><di= v>I am using GNU Stow 2.2.0 on FreeBSD.</div><div>I have specified -d $HOME= /local/stow to Stow.</div><div>Unfortunately, Stow do not work.</div><div> <br></div></div><div style><pre class=3D"" style=3D"font-size:12px;line-hei= ght:16px;font-family:Consolas,'Liberation Mono',Courier,monospace;w= ord-wrap:break-word;width:882px;margin-top:0px;margin-bottom:0px;padding:0p= x;color:rgb(0,0,0)"> <div class=3D"" id=3D"file-stow-failed-log-LC1">% LANG=3DC stow -d /home/do= n/local/stow -S mono-git --verbose=3D3</div><div class=3D"" id=3D"file-stow= -failed-log-LC2">stow dir is /usr/home/don/local/stow</div><div class=3D"" = id=3D"file-stow-failed-log-LC3"> stow dir path relative to target /home/don/local is ../../../usr/home/don/l= ocal/stow</div><div class=3D"" id=3D"file-stow-failed-log-LC4">cwd now /hom= e/don/local</div><div class=3D"" id=3D"file-stow-failed-log-LC5">cwd restor= ed to /usr/home/don/src/mono-git/_build_</div> <div class=3D"" id=3D"file-stow-failed-log-LC6">cwd now /home/don/local</di= v><div class=3D"" id=3D"file-stow-failed-log-LC7">stow: ERROR: The stow dir= ectory ../../../usr/home/don/local/stow does not contain package mono-git (= No such file or directory)</div> <div class=3D"" id=3D"file-stow-failed-log-LC8">[1] 62559 exit 2 LAN= G=3DC stow -d /home/don/local/stow -S mono-git --verbose=3D3</div></pre></d= iv><div><br></div><div style>However, I have specified the real path of hom= e directory, Stow is working fine.</div> <div style><br></div><div style><pre class=3D"" style=3D"font-size:12px;lin= e-height:16px;font-family:Consolas,'Liberation Mono',Courier,monosp= ace;word-wrap:break-word;width:896px;margin-top:0px;margin-bottom:0px;paddi= ng:0px;color:rgb(0,0,0)"> <div class=3D"" id=3D"file-stow-ok-log-LC1">% LANG=3DC stow -d /usr/home/do= n/local/stow -S mono-git --verbose=3D3</div><div class=3D"" id=3D"file-stow= -ok-log-LC2">stow dir is /usr/home/don/local/stow</div><div class=3D"" id= =3D"file-stow-ok-log-LC3"> stow dir path relative to target /usr/home/don/local is stow</div><div clas= s=3D"" id=3D"file-stow-ok-log-LC4">cwd now /usr/home/don/local</div><div cl= ass=3D"" id=3D"file-stow-ok-log-LC5">cwd restored to /usr/home/don/src/mono= -git/_build_</div> <div class=3D"" id=3D"file-stow-ok-log-LC6">cwd now /usr/home/don/local</di= v><div class=3D"" id=3D"file-stow-ok-log-LC7">Planning stow of package mono= -git...</div><div class=3D"" id=3D"file-stow-ok-log-LC8">Stowing contents o= f stow/mono-git (cwd=3D/usr~/local)</div> <div class=3D"" id=3D"file-stow-ok-log-LC9">Stowing stow/mono-git/share</di= v><div class=3D"" id=3D"file-stow-ok-log-LC10">Stowing contents of stow/mon= o-git/share (cwd=3D/usr~/local)</div><div class=3D"" id=3D"file-stow-ok-log= -LC11">Stowing stow/mono-git/share/locale</div> <div class=3D"" id=3D"file-stow-ok-log-LC12">Stowing contents of stow/mono-= git/share/locale (cwd=3D/usr~/local)</div></pre></div><div style>(snip)</di= v><div style><pre class=3D"" style=3D"font-size:12px;line-height:16px;font-= family:Consolas,'Liberation Mono',Courier,monospace;word-wrap:break= -word;width:896px;margin-top:0px;margin-bottom:0px;padding:0px;color:rgb(0,= 0,0)"> <div class=3D"" id=3D"file-stow-ok-log-LC443">Stowing stow/mono-git/lib/mon= o</div><div class=3D"" id=3D"file-stow-ok-log-LC444">LINK: lib/mono =3D>= ../stow/mono-git/lib/mono</div><div class=3D"" id=3D"file-stow-ok-log-LC44= 5">Stowing stow/mono-git/lib/mono-source-libs</div> <div class=3D"" id=3D"file-stow-ok-log-LC446">LINK: lib/mono-source-libs = =3D> ../stow/mono-git/lib/mono-source-libs</div><div class=3D"" id=3D"fi= le-stow-ok-log-LC447">Stowing stow/mono-git/lib/monodoc</div><div class=3D"= " id=3D"file-stow-ok-log-LC448"> LINK: lib/monodoc =3D> ../stow/mono-git/lib/monodoc</div><div class=3D""= id=3D"file-stow-ok-log-LC449">Stowing stow/mono-git/etc</div><div class=3D= "" id=3D"file-stow-ok-log-LC450">LINK: etc =3D> stow/mono-git/etc</div><= div class=3D"" id=3D"file-stow-ok-log-LC451"> Planning stow of package mono-git... done</div><div class=3D"" id=3D"file-s= tow-ok-log-LC452">cwd restored to /usr/home/don/src/mono-git/_build_</div><= div class=3D"" id=3D"file-stow-ok-log-LC453">Processing tasks...</div><div = class=3D"" id=3D"file-stow-ok-log-LC454"> cwd now /usr/home/don/local</div><div class=3D"" id=3D"file-stow-ok-log-LC4= 55">cwd restored to /usr/home/don/src/mono-git/_build_</div><div class=3D""= id=3D"file-stow-ok-log-LC456">Processing tasks... done</div><div class=3D"= " id=3D"file-stow-ok-log-LC456" style> (fully log is <a href=3D"https://gist.github.com/iwadon/5369820">https://gi= st.github.com/iwadon/5369820</a>)</div><div class=3D"" id=3D"file-stow-ok-l= og-LC456" style><br></div><div class=3D"" id=3D"file-stow-ok-log-LC456" sty= le>Is this bug? or, my environment problem?</div> </pre></div><div><br></div><div style>FYI, /home directory is symlink from = /usr/home on FreeBSD.</div><div style><br></div><div style><div>% LANG=3DC = ls -l /home</div><div>lrwxr-xr-x =A01 root =A0wheel =A08 Feb =A02 =A02011 /= home@ -> usr/home</div> <div><br></div><div style>My environment is:</div><div style><div>% stow --= version</div><div>stow (GNU Stow) version 2.2.0</div><div>% perl -v</div><d= iv><br></div><div>This is perl 5, version 12, subversion 4 (v5.12.4) built = for amd64-freebsd</div> <div><br></div><div>Copyright 1987-2010, Larry Wall</div><div><br></div><di= v>Perl may be copied only under the terms of either the Artistic License or= the</div><div>GNU General Public License, which may be found in the Perl 5= source kit.</div> <div><br></div><div>Complete documentation for Perl, including FAQ lists, s= hould be found on</div><div>this system using "man perl" or "= ;perldoc perl". =A0If you have access to the</div><div>Internet, point= your browser at <a href=3D"http://www.perl.org/">http://www.perl.org/</a>,= the Perl Home Page.</div> <div><br></div><div>% uname -a</div><div>FreeBSD <a href=3D"http://www21248= u.sakura.ne.jp">www21248u.sakura.ne.jp</a> 9.1-STABLE FreeBSD 9.1-STABLE #2= 3 r249335: Thu Apr 11 13:45:07 JST 2013 =A0 =A0 [email protected]= :/usr/obj/usr/src/sys/WWW21248U =A0amd64</div> <div><br></div></div></div><div><br></div><div style>Thanks,</div><br clear= =3D"all"><div>Hiroyuki Iwatsuki <<a href=3D"mailto:[email protected]" tar= get=3D"_blank">[email protected]</a>></div> </div> --e89a8fb20346451c5d04da24258e--