Bug 14972 - [4.0 Regression] Space in path kills make install
Summary: [4.0 Regression] Space in path kills make install
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libobjc (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: 4.0.0
Assignee: Not yet assigned to anyone
URL:
Keywords: build
Depends on:
Blocks:
 
Reported: 2004-04-16 00:28 UTC by Václav Haisman
Modified: 2004-09-13 14:15 UTC (History)
3 users (show)

See Also:
Host: i686-pc-cygwin
Target: i686-pc-cygwin
Build: i686-pc-cygwin
Known to work:
Known to fail:
Last reconfirmed: 2004-04-16 00:32:22


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Václav Haisman 2004-04-16 00:28:34 UTC
Space in path kills make install.

make[1]: Entering directory `/D/WilX/gcc-head/objdir/i686-pc-cygwin/libobjc'
/bin/sh /D/WilX/gcc-head/srcdir/libobjc/../mkinstalldirs /usr/local/lib/gcc/i686
-pc-cygwin /3.5.0
mkdir -p -- /3.5.0
./libtool --mode=install /usr/bin/install -c libobjc.la /usr/local/lib/gcc/i686-
pc-cygwin /3.5.0;
/usr/bin/install -c .libs/libobjc.lai /3.5.0/libobjc.la
/usr/bin/install -c /usr/local/lib/gcc/i686-pc-cygwin /3.5.0/i686-pc-cygwin
/usr/bin/install: `/usr/local/lib/gcc/i686-pc-cygwin' is a directory
make[1]: *** [install-libs] Error 1
make[1]: Leaving directory `/D/WilX/gcc-head/objdir/i686-pc-cygwin/libobjc'
make: *** [install-target-libobjc] Error 2
Comment 1 Andrew Pinski 2004-04-16 00:32:22 UTC
Confirmed, basically nothing is quoted in the Makefile.in:

        $(SHELL) $(toplevel_srcdir)/mkinstalldirs $(DESTDIR)$(toolexeclibdir)
        $(LIBTOOL_INSTALL) $(INSTALL) libobjc.la $(DESTDIR)$(toolexeclibdir);
        if [ "$(OBJC_BOEHM_GC)" ]; then \
          $(LIBTOOL_INSTALL) $(INSTALL) libobjc_gc.la \
                                $(DESTDIR)$(toolexeclibdir);\
Comment 2 Andrew Pinski 2004-04-16 00:34:55 UTC
Also not this has never worked, and is usually hard to get right.
Comment 3 Václav Haisman 2004-04-16 07:46:48 UTC
Umm, enhancement? I didn't add any space to the installation path. The
configuration is following and I have used plain make bootstrap. I would say it
is just a bug in the script/makefile:

WilX@amber2:::~/gcc-head/objdir> ../srcdir/configure --with-gcc --with-gnu-ld --
with-gnu-as --enable-languages=c,c++,objc --enable-threads=posix --with-system-z
lib --enable-nls --without-included-gettext --enable-sjlj-exceptions --enable-ve
rsion-specific-runtime-libs --enable-shared --disable-win32-registry --enable-dw
arf2 --with-cpu=athlon-tbird --with-arch=athlon-tbird --program-suffix=-3.5
Comment 4 Andrew Pinski 2004-04-16 11:52:08 UTC
Maybe not, since you did not give this information before I could not see if there was a problem, but it 
looks like the conversion to use autoconf 2.59 broke this.

Can you try again as --enable-version-specific-runtime-libs was broken for a short while in libobjc?
Comment 5 Václav Haisman 2004-04-23 20:32:12 UTC
I have tried today again and make install still fails at the same place, with
todays sources.
Comment 6 Andrew Pinski 2004-05-27 15:34:20 UTC
From configure.ac:
    toolexecdir='$(libdir)/gcc/$(target_noncanonical)'
    toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'

These look right to me.  I would gues to try again?
Comment 7 Andrew Pinski 2004-06-17 10:04:46 UTC
I still do not see how this could be wrong, can you try again?
Comment 8 Václav Haisman 2004-06-17 16:35:56 UTC
Subject: Re:  [3.5 Regression] Space in path kills make install

I've successfully bootstrapped todays CVS sources without this problem. It
seems that it is gone.

Vaclav Haisman

----- Original Message ----- 
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: <v.haisman@sh.cvut.cz>
Sent: Thursday, June 17, 2004 12:04 PM
Subject: [Bug libobjc/14972] [3.5 Regression] Space in path kills make
install


>
> ------- Additional Comments From pinskia at gcc dot gnu dot org
2004-06-17 10:04 -------
> I still do not see how this could be wrong, can you try again?
>
> -- 
>            What    |Removed                     |Added
> --------------------------------------------------------------------------
--
>              Status|NEW                         |WAITING
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14972
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
> You are on the CC list for the bug, or are watching someone who is.
>

Comment 9 Andrew Pinski 2004-06-17 17:23:58 UTC
Fixed.