bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] bootstrap broken


From: Kamil Dudka
Subject: [Bug-tar] bootstrap broken
Date: Tue, 26 Oct 2010 14:47:17 +0200
User-agent: KMail/1.13.5 (Linux/2.6.33.8-149.fc13.x86_64; KDE/4.4.5; x86_64; ; )

Hello,

I encountered two flaws in the recent changes of bootstrap:

1) I am no longer able to run bootstrap in bash:

$ sh -x ./bootstrap 
...
++ git_modules_config submodule.gnulib.path
++ test -f .gitmodules
+ gnulib_path=
+ :
+ case ${GNULIB_SRCDIR--} in
+ git_modules_config submodule.gnulib.url
+ test -f .gitmodules
+ '[' '!' -d '' ']'
+ echo './bootstrap: getting gnulib files...'
./bootstrap: getting gnulib files...
+ trap cleanup_gnulib 1 2 13 15
+ shallow=
+ git clone -h
+ grep -- --depth
+ shallow='--depth 2'
+ git clone --depth 2 git://git.sv.gnu.org/gnulib ''
fatal: could not create work tree dir ''.: No such file or directory
+ cleanup_gnulib
+ cleanup ''
+ status=128
+ rm -fr
+ exit 128


The following change fixes it:

diff --git a/bootstrap b/bootstrap
index 73990c0..e7948c8 100755
--- a/bootstrap
+++ b/bootstrap
@@ -464,7 +464,7 @@ git_modules_config () {
 }

 gnulib_path=`git_modules_config submodule.gnulib.path`
-: ${gnulib_path=gnulib}
+test -z "$gnulib_path" && gnulib_path=gnulib

 # Get gnulib files.


2) Then it ends with the following error:

./bootstrap: invalid symlink calculation: paxutils/Make.rules -> ./Make.rules

I have no idea what it means, but if I revert the last two changes
of bootstrap, it works fine:

$ git checkout 67cad07 bootstrap

Please let me know, if you need some additional info.

Kamil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]