public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/56623] New: Can't build GCC due to tar: ./ssl: Cannot utime: No such file or directory
@ 2013-03-15  1:28 4tmuelle at informatik dot uni-hamburg.de
  2024-04-14 20:40 ` [Bug bootstrap/56623] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: 4tmuelle at informatik dot uni-hamburg.de @ 2013-03-15  1:28 UTC (permalink / raw)
  To: gcc-bugs


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$


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug bootstrap/56623] Can't build GCC due to tar: ./ssl: Cannot utime: No such file or directory
  2013-03-15  1:28 [Bug bootstrap/56623] New: Can't build GCC due to tar: ./ssl: Cannot utime: No such file or directory 4tmuelle at informatik dot uni-hamburg.de
@ 2024-04-14 20:40 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-14 20:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56623

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This works for many other people even back then. 

What is failing is tar while fixincludes is doing a copying:
(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 - )

So if it is failing, either there is something wrong with the kernel you were
using or filesystem that is at fault (or ssl got created incorrectly which I
doubt it but it might have been an issue with your /usr/include in the first
place).
Nothing GCC build system is doing wrong.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-14 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-15  1:28 [Bug bootstrap/56623] New: Can't build GCC due to tar: ./ssl: Cannot utime: No such file or directory 4tmuelle at informatik dot uni-hamburg.de
2024-04-14 20:40 ` [Bug bootstrap/56623] " pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).