Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane

From: Hiroyuki Iwatsuki <don <at> na.rim.or.jp>
Subject: Does not work -d option with the user directory on FreeBSD
Newsgroups: gmane.comp.gnu.stow.bugs
Date: Friday 12th April 2013 06:38:05 UTC (over 5 years ago)
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 /[email protected] -> 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 
 
CD: 233ms