This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failure in a complete build of current gcc snapshot


OK, it seems that this failure happens *only* on Cygwin: I have tried on GNU/Linux Kubuntu 8.04 and it works...

For what I have understood, this failure remembers, in some manner, what is discussed in this thread [1], and beside this...

Dave,

...are the files with an '*' in their names, like libstdc++*-gdb.py, allowed on Cygwin?


Cheers, Angelo.


--- [1] http://gcc.gnu.org/ml/gcc/2009-07/msg00443.html



Angelo Graziosi ha scritto:
Trying to build gcc-4.5-20090723 on Cygwin 1.5, configuring with:

${gcc_dir}/configure --prefix="${prefix_dir}" \
        --exec-prefix="${eprefix_dir}" \
    --sysconfdir="${sysconf_dir}" \
    --libdir="${lib_dir}" \
    --libexecdir="${libexec_dir}" \
    --mandir="${man_dir}" \
    --infodir="${info_dir}" \
    --program-suffix="${suffix}" \
    --enable-bootstrap \
    --enable-checking=release \
    --enable-decimal-float=bid \
    --enable-languages=c,c++,fortran \
    --enable-libgomp \
    --enable-libssp \
    --enable-nls \
    --enable-threads=posix \
    --enable-version-specific-runtime-libs \
    --disable-fixed-point \
    --disable-libmudflap \
    --disable-shared \
    --disable-sjlj-exceptions \
    --disable-win32-registry \
    --with-arch=i686 \
    --with-dwarf2 \
    --with-system-zlib \
    --with-tune=generic \
        --without-included-gettext \
    --without-x,

after a successful 'make -j4', it fails in:

make -j4 DESTDIR=${dest_dir} install

with:

[...]
make[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/gfortran/share/gcc-4.5.0/python" || mkdir -p -- "/tmp/inst/usr/local/gfortran/share/gcc-4.5.0/python"
/bin/sh: line 0: cd: /usr/local/gfortran/lib/gcc/i686-pc-cygwin/4.5.0: No such file or directory
/usr/bin/install -c -m 644 gdb.py /tmp/inst/usr/local/gfortran/lib/gcc/i686-pc-cygwin/4.5.0/libstdc++*-gdb.py
/usr/bin/install: impossibile creare il file normale `/tmp/inst/usr/local/gfortran/lib/gcc/i686-pc-cygwin/4.5.0/libstdc++*-gdb.py': No such file or directory
make[4]: *** [install-data-local] Error 1
make[4]: *** Waiting for unfinished jobs....
/tmp/gcc-4.5-20090723/install-sh -c -m 644 '/tmp/gcc-4.5-20090723/libstdc++-v3/python/libstdcxx/v6/printers.py' '/tmp/inst/usr/local/gfortran/share/gcc-4.5.0/python/libstdcxx/v6/printers.py'


/tmp/gcc-4.5-20090723/install-sh -c -m 644 '/tmp/gcc-4.5-20090723/libstdc++-v3/python/libstdcxx/v6/__init__.py' '/tmp/inst/usr/local/gfortran/share/gcc-4.5.0/python/libstdcxx/v6/__init__.py'

/tmp/gcc-4.5-20090723/install-sh -c -m 644 '/tmp/gcc-4.5-20090723/libstdc++-v3/python/libstdcxx/__init__.py' '/tmp/inst/usr/local/gfortran/share/gcc-4.5.0/python/libstdcxx/__init__.py'
make[4]: Leaving directory `/tmp/build/i686-pc-cygwin/libstdc++-v3/python'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/tmp/build/i686-pc-cygwin/libstdc++-v3/python'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/tmp/build/i686-pc-cygwin/libstdc++-v3'
make[1]: *** [install-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/tmp/build'
make: *** [install] Error 2


Could this be related to the usage of DESTDIR? (Even if Bug #40286 [1]
seems to be fixed...)

Cheers,
   Angelo.

---
[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40286



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]