Hi Michal, On Mon, 25 Feb 2013 11:28:40 +0100 Michal Marek <mmarek@xxxxxxx> wrote: > > On 25.2.2013 00:56, Stephen Rothwell wrote: > > > > After merging the kbuild tree, today's linux-next build (powerpc > > ppc64_defconfig) failed like this: > > > > scripts/link-vmlinux.sh: line 135: .: .config: file not found > > > > Presumably caused by commit 03b25b47e0f4 ("scripts/link-vmlinux.sh: > > source variables from KCONFIG_CONFIG"). > > Strange, I did a couple of testbuilds before pushing the new branch. > Wild guess: what version of what shell are you using on the > buildmachine? It is probably the missing ./ that makes the difference. I am using a Debian Testing machine (its not quite up to date): ---------------------------------------------------------------------- $ ls -l /bin/sh lrwxrwxrwx 1 root root 4 Jul 7 2010 /bin/sh -> bash $ bash --version GNU bash, version 4.2.20(1)-release (x86_64-pc-linux-gnu) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ---------------------------------------------------------------------- I am also using a cross compiler and O= on the command line if that matters. '.' is not in my path and .config is not executable. If I cd to the object directory, then ". .config" works fine. But bash in sh mode does not work: $ cat xtst.sh #!/bin/sh cd /scratch/sfr/powerpc_ppc64_defconfig . .config exit 0 $ ./xtst.sh ./xtst.sh: line 5: .: .config: file not found $ ls -l /scratch/sfr/powerpc_ppc64_defconfig/.config -rw-r--r-- 1 sfr users 79005 Feb 25 15:45 /scratch/sfr/powerpc_ppc64_defconfig/.config Changing the ". .config" to ". ./.config" makes it work. Anything else? -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Attachment:
pgp_Fduy_8Awk.pgp
Description: PGP signature