gcc build fails

DJ Lucas dj at linuxfromscratch.org
Sat Jul 10 10:38:00 PDT 2004

Christian Schmitt wrote:
> Hi,
> i'm testing the current svn testing branch and I encounter an error in 
> chapter 5 GCC-3.4.1 - Pass 2. The error message is as follows:
> Making all in testsuite
> make[3]: Entering directory 
> `/mnt/lfs/tools/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
> touch testsuite_wchar_t
> /mnt/lfs/tools/src/gcc-3.4.1/libstdc++-v3/scripts/create_testsuite_files \
>   /mnt/lfs/tools/src/gcc-3.4.1/libstdc++-v3/testsuite `${PWDCMD-pwd}`
> /bin/sh: line 1: 
> /mnt/lfs/tools/src/gcc-3.4.1/libstdc++-v3/scripts/create_testsuite_files: 
> Permission denied


Permission denied is a good starting point, but not quite enough info. 
First, look at the link in Chapter 6 to see if it's an expected failure. 
  If not, are you using user 'lfs'?  Don't know if the testsuite requres 
you to be root when run maybe...been a long time since I used the 
Chapter 5 testsuites. Mabye somebody else can answer that one.  Also, 
who extracted the tarball?  What's the output of:
'ls -ld /mnt/lfs/tools/src/gcc-3.4.1/libstdc++-v3/scripts/'

also check these two if there is nothing obvious there:
'ls -l 
'ls -ld /mnt/lfs/tools/src/gcc-3.4.1/'

-- DJ Lucas

More information about the lfs-dev mailing list