This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/56623] New: Can't build GCC due to tar: ./ssl: Cannot utime: No such file or directory
- From: "4tmuelle at informatik dot uni-hamburg.de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Mar 2013 01:28:25 +0000
- Subject: [Bug bootstrap/56623] New: Can't build GCC due to tar: ./ssl: Cannot utime: No such file or directory
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56623
Bug #: 56623
Summary: Can't build GCC due to tar: ./ssl: Cannot utime: No
such file or directory
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: 4tmuelle@informatik.uni-hamburg.de
make[3]: Entering directory
`/tmp/WebKit/WebKitBuild/Dependencies/Source/gcc-4.7.2/host-x86_64-unknown-linux-gnu/gcc'
rm -rf include-fixed; mkdir include-fixed
chmod a+rx include-fixed
if [ -d ../prev-gcc ]; then \
cd ../prev-gcc && \
make real-install-headers-tar DESTDIR=`pwd`/../gcc/ \
libsubdir=. ; \
else \
set -e; for ml in `cat fixinc_list`; do \
sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \
multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
fix_dir=include-fixed${multi_dir}; \
if ! false && test ! -d `echo /usr/include | sed -e :a -e
's,[^/]*/\.\.\/,,' -e ta`; then \
echo The directory that should contain system headers does not exist: >&2
; \
echo " `echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" >&2
; \
tooldir_sysinc=`echo
"/tmp/WebKit/WebKitBuild/Dependencies/Root/lib64/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../x86_64-unknown-linux-gnu/sys-include"
| sed -e :a -e "s,[^/]*/\.\.\/,," -e ta`; \
if test "x`echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" =
"x${tooldir_sysinc}"; \
then sleep 1; else exit 1; fi; \
fi; \
/bin/sh ../.././gcc/../mkinstalldirs ${fix_dir}; \
chmod a+rx ${fix_dir} || true; \
(TARGET_MACHINE='x86_64-unknown-linux-gnu'; srcdir=`cd ../.././gcc;
${PWDCMD-pwd}`; \
SHELL='/bin/sh'; MACRO_LIST=`${PWDCMD-pwd}`/macro_list ; \
gcc_dir=`${PWDCMD-pwd}` ; \
export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
cd ../../build-x86_64-unknown-linux-gnu/fixincludes && \
/bin/sh ./fixinc.sh "${gcc_dir}/${fix_dir}" \
`echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta` ); \
rm -f ${fix_dir}/syslimits.h; \
if [ -f ${fix_dir}/limits.h ]; then \
mv ${fix_dir}/limits.h ${fix_dir}/syslimits.h; \
else \
cp ../.././gcc/gsyslimits.h ${fix_dir}/syslimits.h; \
fi; \
chmod a+r ${fix_dir}/syslimits.h; \
done; \
fi
make[4]: Entering directory
`/tmp/WebKit/WebKitBuild/Dependencies/Source/gcc-4.7.2/host-x86_64-unknown-linux-gnu/prev-gcc'
(cd `${PWDCMD-pwd}`/include-fixed ; \
tar -cf - .; exit 0) | (cd
/tmp/WebKit/WebKitBuild/Dependencies/Source/gcc-4.7.2/host-x86_64-unknown-linux-gnu/prev-gcc/../gcc/./include-fixed;
tar xpf - )
tar: ./ssl: Cannot utime: No such file or directory
tar: Exiting with failure status due to previous errors
make[4]: *** [real-install-headers-tar] Error 2
make[4]: Leaving directory
`/tmp/WebKit/WebKitBuild/Dependencies/Source/gcc-4.7.2/host-x86_64-unknown-linux-gnu/prev-gcc'
make[3]: *** [stmp-fixinc] Error 2
make[3]: Leaving directory
`/tmp/WebKit/WebKitBuild/Dependencies/Source/gcc-4.7.2/host-x86_64-unknown-linux-gnu/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory
`/tmp/WebKit/WebKitBuild/Dependencies/Source/gcc-4.7.2'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory
`/tmp/WebKit/WebKitBuild/Dependencies/Source/gcc-4.7.2'
make: *** [all] Error 2
*** Error during phase build of gcc: ########## Error running make -j 32 ***
[1/1
$ head config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.64. Invocation command line was
$ ./configure --prefix /tmp/WebKit/WebKitBuild/Dependencies/Root --libdir
/tmp/WebKit/WebKitBuild/Dependencies/Root/lib64 --disable-static
--disable-gtk-doc
4tmuelle@ccblade9:/tmp/WebKit/WebKitBuild/Dependencies/Source/gcc-4.7.2/host-x86_64-unknown-linux-gnu/prev-gcc$
ls -l include-fixed/
total 44
-rw-r--r-- 1 4tmuelle j2004 5447 15. MÃr 00:41 limits.h
drwxr-xr-x 1 4tmuelle j2004 4096 15. MÃr 01:42 linux
drwxr-xr-x 1 4tmuelle j2004 4096 15. MÃr 01:42 net-snmp
drwxr-xr-x 1 4tmuelle j2004 4096 15. MÃr 01:42 openssl
-rw-r--r-- 1 4tmuelle j2004 750 15. MÃr 01:43 README
lrwxrwxrwx 1 4tmuelle j2004 7 15. MÃr 01:42 ssl -> openssl
-rw-r--r-- 1 4tmuelle j2004 330 15. MÃr 01:43 syslimits.h
drwxr-xr-x 1 4tmuelle j2004 4096 15. MÃr 01:42 X11
-rw-r--r-- 1 4tmuelle j2004 7384 15. MÃr 01:42 zutil.h
4tmuelle@ccblade9:/tmp/WebKit/WebKitBuild/Dependencies/Source/gcc-4.7.2/host-x86_64-unknown-linux-gnu/prev-gcc$
tar --version
tar (GNU tar) 1.26
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.
Written by John Gilmore and Jay Fenlason.
4tmuelle@ccblade9:/tmp/WebKit/WebKitBuild/Dependencies/Source/gcc-4.7.2/host-x86_64-unknown-linux-gnu/prev-gcc$
stat include-fixed/ssl
File: `include-fixed/ssl' -> `openssl'
Size: 7 Blocks: 8 IO Block: 4096 symbolic link
Device: 1bh/27d Inode: 198298 Links: 1
Access: (0777/lrwxrwxrwx) Uid: (64040/4tmuelle) Gid: ( 640/ j2004)
Access: 2013-03-15 01:43:14.000000000 +0100
Modify: 2013-03-15 01:42:18.000000000 +0100
Change: 2013-03-15 01:42:18.000000000 +0100
Birth: -
4tmuelle@ccblade9:/tmp/WebKit/WebKitBuild/Dependencies/Source/gcc-4.7.2/host-x86_64-unknown-linux-gnu/prev-gcc$
However, if I manually do the steps, it works:
4tmuelle@ccblade9:/tmp/WebKit/WebKitBuild/Dependencies/Source/gcc-4.7.2/host-x86_64-unknown-linux-gnu/prev-gcc$
(cd `${PWDCMD-pwd}`/include-fixed ; \
> tar -cf - .; exit 0) | (cd /tmp/WebKit/WebKitBuild/Dependencies/Source/gcc-4.7.2/host-x86_64-unknown-linux-gnu/prev-gcc/../gcc/./include-fixed; tar xpf - )
4tmuelle@ccblade9:/tmp/WebKit/WebKitBuild/Dependencies/Source/gcc-4.7.2/host-x86_64-unknown-linux-gnu/prev-gcc$
echo $?
0
4tmuelle@ccblade9:/tmp/WebKit/WebKitBuild/Dependencies/Source/gcc-4.7.2/host-x86_64-unknown-linux-gnu/prev-gcc$