GNU bug report logs - #15729
"make distclean", "./bootstrap", symlinks, and absolute pathnames

Previous Next

Package: grep;

Reported by: behoffski <behoffski <at> grouse.com.au>

Date: Sun, 27 Oct 2013 04:26:02 UTC

Severity: wishlist

Full log


Message #8 received at 15729 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: behoffski <behoffski <at> grouse.com.au>
Cc: 15729 <at> debbugs.gnu.org
Subject: Re: bug#15729: "make distclean", "./bootstrap", symlinks, and
 absolute pathnames
Date: Mon, 28 Oct 2013 15:38:28 -0700
On Sat, Oct 26, 2013 at 9:24 PM, behoffski <behoffski <at> grouse.com.au> wrote:
> G'day,
>
> I use "make distclean" regularly, before updating the sources from the Git
> master and rebuilding.  I've been maintaining the sources in the top-level
> directory "/home/grep-2.14/grep".
>
> With the release of 2.15.1, I decided to rename the top-level directory
> in-place to "/home/grep-2.15.1/grep".  This broke a number of things,
> because
> there are quite a number of symlinks created during the bootstrap operation,
> and almost all of these symlinks use an absolute path, rather than a
> relative
> one.  (A sample of the links, created after re-running ./bootstrap, is
> included below.)
>
> I suspect that the bug is in my expectations:  Tree renaming (and/or similar
> operations, such as cloning) is not supported by the sources once
> "./bootstrap" has been executed.
>
> I believe that a policy of changing all symlinks to use relative pathnames
> would be developer-friendly.

I agree.  It would be nice to fix this.
I took a quick look and saw that the offending symlinks are created
via gnulib-tool.
I am not terribly motivated to fix it right now.  Anyone else care to
take a crack at it?




This bug report was last modified 11 years and 101 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.