On Mon, Jul 20, 2009 at 01:41:18PM -0700, Patrick McCarty wrote: > On Mon, Jul 20, 2009 at 03:09:19PM +0200, Jan Nieuwenhuizen wrote: > > On vr, 2009-07-17 at 21:50 -0700, Patrick McCarty wrote: > > > > > I have no idea what's going on, but the build.log is attached. > > > > Can you try executing the command that triggers this by hand, > > possibly with some -x debugging to see what's going on, ie > > do something like > > > > > > cd /home/pnorcks/git/gub/target/linux-x86/src/linux-headers-2.4.34 > > yes yes | make ARCH=i386 oldconfig CONFIG_SHELL='/bin/bash -x' > > > > I do not see this problem, but someone on #denemo (don't remember) has. > > Do you have /dev/mtd*? > > No, I don't have any items that start with "mtd" in /dev. > > However, I believe I've come across a bug in Bash 4.0-024. From the > shell tracing I've done, this simple command sequence demonstrates the > problem: > > bash-4.0$ cat test.sh > #!/bin/sh > echo Hello > > bash-4.0$ . test.sh > Hello > bash-4.0$ sh > sh-4.0$ . test.sh > sh: .: test.sh: file not found > > > This is why I'm getting the error message near the top of my log: > > scripts/Configure: line 551: .: .config-is-not.12306: file not found
As a followup, this is a situation where Bash 4.0 is more POSIX-compliant than Bash 3.2. See the bug report I posted, and the followup: http://bugs.archlinux.org/task/15606 The attached patch fixes the problem. Thanks, Patrick
>From 978efa7c2b91699186db3de477b47040444731af Mon Sep 17 00:00:00 2001 From: Patrick McCarty <pnor...@gmail.com> Date: Mon, 20 Jul 2009 15:20:06 -0700 Subject: [PATCH] Fix a compatibility issue with Bash 4.0 --- gub/specs/linux-headers.py | 1 + patches/linux-headers-2.4.34-posix-fix.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 patches/linux-headers-2.4.34-posix-fix.patch diff --git a/gub/specs/linux-headers.py b/gub/specs/linux-headers.py index 2e07baf..345f469 100644 --- a/gub/specs/linux-headers.py +++ b/gub/specs/linux-headers.py @@ -12,6 +12,7 @@ class Linux_headers (build.BinaryBuild, build.SdkBuild): return [''] def patch (self): self.system (''' +cd %(srcdir)s && patch -p1 < %(patchdir)s/linux-headers-2.4.34-posix-fix.patch cd %(srcdir)s && yes yes | make ARCH=%(package_arch)s oldconfig symlinks include/linux/version.h #cd %(srcdir)s && yes yes | make ARCH=i386 oldconfig #cd %(srcdir)s && make ARCH=%(package_arch)s symlinks include/linux/version.h diff --git a/patches/linux-headers-2.4.34-posix-fix.patch b/patches/linux-headers-2.4.34-posix-fix.patch new file mode 100644 index 0000000..07a56b8 --- /dev/null +++ b/patches/linux-headers-2.4.34-posix-fix.patch @@ -0,0 +1,12 @@ +diff -ru linux-2.4.34/scripts/Configure linux-2.4.34-2/scripts/Configure +--- linux-2.4.34/scripts/Configure 2006-12-23 12:34:20.000000000 -0800 ++++ linux-2.4.34-2/scripts/Configure 2009-07-20 15:14:58.506858922 -0700 +@@ -548,7 +548,7 @@ + echo "#" + . $DEFAULTS + sed -e 's/# \(CONFIG_[^ ]*\) is not.*/\1=n/' <$DEFAULTS >.config-is-not.$$ +- . .config-is-not.$$ ++ . ./.config-is-not.$$ + rm .config-is-not.$$ + else + echo "#" -- 1.6.3.3
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel