X-Loop: help-debbugs@HIDDEN Subject: bug#15729: "make distclean", "./bootstrap", symlinks, and absolute pathnames Resent-From: behoffski <behoffski@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-grep@HIDDEN Resent-Date: Sun, 27 Oct 2013 04:26:02 +0000 Resent-Message-ID: <handler.15729.B.138284792511931 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 15729 X-GNU-PR-Package: grep X-GNU-PR-Keywords: To: 15729 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-grep@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.138284792511931 (code B ref -1); Sun, 27 Oct 2013 04:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Oct 2013 04:25:25 +0000 Received: from localhost ([127.0.0.1]:46876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1VaHul-00036M-Sb for submit <at> debbugs.gnu.org; Sun, 27 Oct 2013 00:25:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42448) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <behoffski@HIDDEN>) id 1VaHui-000361-FD for submit <at> debbugs.gnu.org; Sun, 27 Oct 2013 00:25:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <behoffski@HIDDEN>) id 1VaHuc-0002nS-5s for submit <at> debbugs.gnu.org; Sun, 27 Oct 2013 00:25:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <behoffski@HIDDEN>) id 1VaHuc-0002nH-21 for submit <at> debbugs.gnu.org; Sun, 27 Oct 2013 00:25:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <behoffski@HIDDEN>) id 1VaHua-0008Dt-U7 for bug-grep@HIDDEN; Sun, 27 Oct 2013 00:25:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <behoffski@HIDDEN>) id 1VaHuZ-0002hd-DH for bug-grep@HIDDEN; Sun, 27 Oct 2013 00:25:12 -0400 Received: from ipmail04.adl6.internode.on.net ([2001:44b8:8060:ff02:300:1:6:4]:47766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <behoffski@HIDDEN>) id 1VaHuZ-0002Nx-1H for bug-grep@HIDDEN; Sun, 27 Oct 2013 00:25:11 -0400 Received: from ppp118-210-206-10.lns20.adl6.internode.on.net (HELO [192.168.1.3]) ([118.210.206.10]) by ipmail04.adl6.internode.on.net with ESMTP; 27 Oct 2013 14:54:54 +1030 Message-ID: <526C9593.2050400@HIDDEN> Date: Sun, 27 Oct 2013 14:54:51 +1030 From: behoffski <behoffski@HIDDEN> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130911 Thunderbird/17.0.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) 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 didn't see anything that could point to a defect in the 2.15.1 release, but my knowledge of the overall sources (especially gnulib) is quite shallow. cheers, behoffski (Brenton Hoff) Programmer, Grouse Software -------------------------- # Sample of absolute-path symlinks visible after executing ./bootstrap: ./GNUmakefile -> /home/grep-2.15.1/grep/gnulib/top/GNUmakefile ./doc/gendocs_template -> /home/grep-2.15.1/grep/gnulib/doc/gendocs_template ./gnulib-tests/test-fcntl-safer.c -> /home/grep-2.15.1/grep/gnulib/tests/test-fcntl-safer.c ./gnulib-tests/signature.h -> /home/grep-2.15.1/grep/gnulib/tests/signature.h ./gnulib-tests/test-stdlib.c -> /home/grep-2.15.1/grep/gnulib/tests/test-stdlib.c ./gnulib-tests/test-wcrtomb-w32-1.sh -> /home/grep-2.15.1/grep/gnulib/tests/test-wcrtomb-w32-1.sh # ... many more gnulib-tests links... ./m4/fstat.m4 -> /home/grep-2.15.1/grep/gnulib/m4/fstat.m4 ./m4/localcharset.m4 -> /home/grep-2.15.1/grep/gnulib/m4/localcharset.m4 ./m4/quote.m4 -> /home/grep-2.15.1/grep/gnulib/m4/quote.m4 ./m4/isnanf.m4 -> /home/grep-2.15.1/grep/gnulib/m4/isnanf.m4 ./m4/xsize.m4 -> /home/grep-2.15.1/grep/gnulib/m4/xsize.m4 # many more m4 links... ./lib/mbsrtowcs-impl.h -> /home/grep-2.15.1/grep/gnulib/lib/mbsrtowcs-impl.h ./lib/stpcpy.c -> /home/grep-2.15.1/grep/gnulib/lib/stpcpy.c ./lib/openat-die.c -> /home/grep-2.15.1/grep/gnulib/lib/openat-die.c ./lib/getdtablesize.c -> /home/grep-2.15.1/grep/gnulib/lib/getdtablesize.c ./lib/filenamecat-lgpl.c -> /home/grep-2.15.1/grep/gnulib/lib/filenamecat-lgpl.c ./lib/signbitl.c -> /home/grep-2.15.1/grep/gnulib/lib/signbitl.c # many more lib links... ./build-aux/vc-list-files -> /home/grep-2.15.1/grep/gnulib/build-aux/vc-list-files ./build-aux/gnu-web-doc-update -> /home/grep-2.15.1/grep/gnulib/build-aux/gnu-web-doc-update # A few more build-aux links omitted... # Here are the relative-pathname symlinks that I found after executing ./bootstrap: ./build-aux/texinfo.tex -> ../gnulib/build-aux/texinfo.tex ./build-aux/depcomp -> ../gnulib/build-aux/depcomp ./build-aux/install-sh -> ../gnulib/build-aux/install-sh ./build-aux/config.sub -> ../gnulib/build-aux/config.sub ./build-aux/mdate-sh -> ../gnulib/build-aux/mdate-sh ./build-aux/config.guess -> ../gnulib/build-aux/config.guess ./INSTALL -> gnulib/doc/INSTALL
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: behoffski <behoffski@HIDDEN> Subject: bug#15729: Acknowledgement ("make distclean", "./bootstrap", symlinks, and absolute pathnames) Message-ID: <handler.15729.B.138284792511931.ack <at> debbugs.gnu.org> References: <526C9593.2050400@HIDDEN> X-Gnu-PR-Message: ack 15729 X-Gnu-PR-Package: grep Reply-To: 15729 <at> debbugs.gnu.org Date: Sun, 27 Oct 2013 04:26:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-grep@HIDDEN If you wish to submit further information on this problem, please send it to 15729 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 15729: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15729 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#15729: "make distclean", "./bootstrap", symlinks, and absolute pathnames Resent-From: Jim Meyering <jim@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-grep@HIDDEN Resent-Date: Mon, 28 Oct 2013 22:39:02 +0000 Resent-Message-ID: <handler.15729.B15729.138299993931620 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 15729 X-GNU-PR-Package: grep X-GNU-PR-Keywords: To: behoffski <behoffski@HIDDEN> Cc: 15729 <at> debbugs.gnu.org Received: via spool by 15729-submit <at> debbugs.gnu.org id=B15729.138299993931620 (code B ref 15729); Mon, 28 Oct 2013 22:39:02 +0000 Received: (at 15729) by debbugs.gnu.org; 28 Oct 2013 22:38:59 +0000 Received: from localhost ([127.0.0.1]:50042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1VavSc-0008Dv-RX for submit <at> debbugs.gnu.org; Mon, 28 Oct 2013 18:38:59 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:33393) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <meyering@HIDDEN>) id 1VavSZ-0008Dh-Td for 15729 <at> debbugs.gnu.org; Mon, 28 Oct 2013 18:38:56 -0400 Received: by mail-pa0-f45.google.com with SMTP id kp14so7568884pab.4 for <15729 <at> debbugs.gnu.org>; Mon, 28 Oct 2013 15:38:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=ZGOQSl5g6eoBKvZXOzkyBrM1cx/DMuNYu/Whjmrc0l4=; b=jytiugU7/PnMreRh6YCUN26sOjrNNZb+Jv24v4DpjwwGD6kTm1dd/Cv6kWVrUFoAEs 0c7VMd6rRIURH22oSZYseKhd7qn9esmlRmIq+aYKy+ujMBfl5Q47Y0wGbaFCdJFkyowV sSZx13jyPeOsZovFuAuLQFmE7bvxdlEDTok63wt9a3SG2a99Z/zH18/gwK0lRA40QyeZ Q3n52fFE14RcSSMnbfKfGNqJ7APHw/oI63Y7fHnMM3vVVFEcYP6XgvzXTPrjgwDaPWqT +yHh8Xi4eZZh18LFhwWhkWyq5TI+aHJva8vtStmLoALWVpxsxtt9OCW8FLyvobj73+/a am6g== X-Received: by 10.68.220.36 with SMTP id pt4mr802534pbc.30.1382999929950; Mon, 28 Oct 2013 15:38:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.6.66 with HTTP; Mon, 28 Oct 2013 15:38:28 -0700 (PDT) In-Reply-To: <526C9593.2050400@HIDDEN> References: <526C9593.2050400@HIDDEN> From: Jim Meyering <jim@HIDDEN> Date: Mon, 28 Oct 2013 15:38:28 -0700 X-Google-Sender-Auth: jw5qyV2KvJfZRfH3PfWI1yid2Ws Message-ID: <CA+8g5KGv5r0odEh1ZYNtFM34zEQ+KT0Kf9=mV7y8k2Cms+61Eg@HIDDEN> Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) On Sat, Oct 26, 2013 at 9:24 PM, behoffski <behoffski@HIDDEN> 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?
Received: (at control) by debbugs.gnu.org; 9 Mar 2014 01:31:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 08 20:31:51 2014 Received: from localhost ([127.0.0.1]:57126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1WMSal-0003N2-1a for submit <at> debbugs.gnu.org; Sat, 08 Mar 2014 20:31:51 -0500 Received: from vms173001pub.verizon.net ([206.46.173.1]:36694) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <paul.eggert@HIDDEN>) id 1WMSaj-0003Ms-TL for control <at> debbugs.gnu.org; Sat, 08 Mar 2014 20:31:50 -0500 Received: from [192.168.1.9] ([unknown] [108.0.233.62]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0N2500F30AVLFE60@HIDDEN> for control <at> debbugs.gnu.org; Sat, 08 Mar 2014 19:30:57 -0600 (CST) Message-id: <531BC451.3000006@HIDDEN> Date: Sat, 08 Mar 2014 17:30:57 -0800 From: Paul Eggert <paul.eggert@HIDDEN> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-version: 1.0 To: control <at> debbugs.gnu.org Subject: 15729 is a wishlist Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) severity 15729 wishlist
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.