ch. 6.14: GCC-3.4.4 `make -k check' and coreutils dummy failure

Roel Kluin rjckluin at hotmail.com
Thu Jun 30 07:20:02 PDT 2005


Thanks for your time to read this. I really like LFS book, its a good source 
of information on this operating system.
after a "make -k check", I got the error stated directly below. Not sure 
whether this was a serious problem, I continued, but wasn't able to make the 
dummy in the next chapter (Coreutils-5.2.1) that error is further below

make[3]: *** [check-DEJAGNU] Error 1
make[3]: Leaving directory 
`/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
make[2]: *** [check-am] Error 2
make[2]: Target `check' not remade because of errors.
make[2]: Leaving directory 
`/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
make[2]: Entering directory 
`/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
: make ; exec make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" 
"CC_FOR_TARGET=/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/ 
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem 
/usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include" 
"CFLAGS=-O2 -g -O2" "CXXFLAGS=-g -O2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD=" 
"CFLAGS_FOR_TARGET=-O2 -g -O2" "INSTALL=/tools/bin/install -c" 
"INSTALL_DATA=/tools/bin/install -c -m 644" 
"INSTALL_PROGRAM=/tools/bin/install -c" "INSTALL_SCRIPT=/tools/bin/install 
-c" "LDFLAGS=" "LIBCFLAGS=-O2 -g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" 
"MAKE=make" "MAKEINFO=makeinfo --split-size=5000000  " "PICFLAG=" 
"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr" 
"infodir=/usr/info" "libdir=/usr/lib" "includedir=/usr/include" 
"prefix=/usr" "tooldir=/usr/i686-pc-linux-gnu" 
"gxx_include_dir=/usr/include/c++/3.4.4" "AR=ar" "AS=as" "LD=ld" 
"LIBCFLAGS=-O2 -g -O2" "PICFLAG=" "RANLIB=ranlib" "NM=nm" "NM_FOR_BUILD=" 
"NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" DO=all multi-do
make[3]: Entering directory 
`/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
if [ -z "" ]; then \
  true; \
else \
  rootpre=`${PWDCMD-pwd}`/; export rootpre; \
  srcrootpre=`cd ../../../gcc-3.4.4/libstdc++-v3; ${PWDCMD-pwd}`/; export 
srcrootpre; \
  lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler="/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/ 
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem 
/usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include"; 
\
  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
    dir=`echo $i | sed -e 's/;.*$//'`; \
    if [ "${dir}" = "." ]; then \
      true; \
    else \
      if [ -d ../${dir}/${lib} ]; then \
        flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
        if (cd ../${dir}/${lib}; make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" 
"CC_FOR_TARGET=/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/ 
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem 
/usr/i686-pc-linux-gnu/include-isystem /usr/i686-pc-linux-gnu/sys-include" 
"CFLAGS=-O2 -g -O2" "CXXFLAGS=-g -O2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD=" 
"CFLAGS_FOR_TARGET=-O2 -g -O2" "INSTALL=/tools/bin/install -c" 
"INSTALL_DATA=/tools/bin/install -c -m 644" 
"INSTALL_PROGRAM=/tools/bin/install -c" "INSTALL_SCRIPT=/tools/bin/install 
-c" "LDFLAGS=" "LIBCFLAGS=-O2 -g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" 
"MAKE=make" "MAKEINFO=makeinfo --split-size=5000000   " "PICFLAG=" 
"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr" 
"infodir=/usr/info" "libdir=/usr/lib" "includedir=/usr/include" 
"prefix=/usr" "tooldir=/usr/i686-pc-linux-gnu" 
"gxx_include_dir=/usr/include/c++/3.4.4" "AR=ar" "AS=as" "LD=ld" 
"LIBCFLAGS=-O2 -g -O2" "PICFLAG=" "RANLIB=ranlib" "NM=nm" "NM_FOR_BUILD=" 
"NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" \
                        CFLAGS="-O2 -g -O2 ${flags}" \
                        prefix="/usr" \
                        exec_prefix="/usr" \
                        GCJFLAGS=" ${flags}" \
                        CXXFLAGS="-g -O2 -D_GNU_SOURCE ${flags}" \
                        LIBCFLAGS="-O2 -g -O2 ${flags}" \
                        LIBCXXFLAGS="-g -O2 -D_GNU_SOURCE 
-fno-implicit-templates ${flags}" \
                        LDFLAGS=" ${flags}" \
                        MULTIFLAGS="${flags}" \
                        DESTDIR="" \
                        INSTALL="/tools/bin/install -c" \
                        INSTALL_DATA="/tools/bin/install -c -m 644" \
                        INSTALL_PROGRAM="/tools/bin/install -c" \
                        INSTALL_SCRIPT="/tools/bin/install -c" \
                        all); then \
          true; \
        else \
          exit 1; \
        fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
make[3]: Leaving directory 
`/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: Leaving directory 
`/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [check-recursive] Error 1
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory 
`/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make: *** [check-target-libstdc++-v3] Error 2
make[1]: Entering directory `/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory 
`/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory 
`/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[1]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make: Target `check' not remade because of errors.


running `src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"'

root:/sources/coreutils-5.2.1# src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes 
check"
Making check in lib
make[1]: Entering directory `/sources/coreutils-5.2.1/lib'
make  check-am
make[2]: Entering directory `/sources/coreutils-5.2.1/lib'
make[2]: Warning: File `/usr/include/sys/types.h' has modification time 
7.7e+04 s in the future
if gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib\" -I. -I. -I..  -I.. -I.   -g -O2 
-MT acl.o -MD -MP -MF ".deps/acl.Tpo" -c -o acl.o acl.c; \
then mv -f ".deps/acl.Tpo" ".deps/acl.Po"; else rm -f ".deps/acl.Tpo"; exit 
1; fi
acl.c:63: fatal error: opening dependency file .deps/acl.Tpo: Permission 
denied
compilation terminated.
make[2]: *** [acl.o] Error 1
make[2]: Leaving directory `/sources/coreutils-5.2.1/lib'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/sources/coreutils-5.2.1/lib'
make: *** [check-recursive] Error 1
root:/sources/coreutils-5.2.1# ls .deps/acl.Tpo
ls: .deps/acl.Tpo: No such file or directory
root:/sources/coreutils-5.2.1# ls deps
ls: deps: No such file or directory
root:/sources/coreutils-5.2.1# ls ./deps
ls: ./deps: No such file or directory





More information about the lfs-support mailing list