public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/23198] New: 'make DESTDIR=... install' installs xgcc instead of gcc
@ 2005-08-02 14:14 tobi at gcc dot gnu dot org
  2005-08-02 14:33 ` [Bug bootstrap/23198] 'make " tobi at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-08-02 14:14 UTC (permalink / raw)
  To: gcc-bugs

After configuring and building with

$SRCDIR/configure --enable-languages=c,f95 --prefix=/home/tobi/usr
make bootstrap
make DESTDIR=/tmp install

I get:
schluter@pcl247d:/tmp/home/tobi/usr/bin> pwd
/tmp/home/tobi/usr/bin
schluter@pcl247d:/tmp/home/tobi/usr/bin> ls -R
.:
cpp*  gcc/  gccbug  gcov*  gfortran*

./gcc:
xgcc*
schluter@pcl247d:/tmp/home/tobi/usr/bin> 

I.e. xgcc is installed instead of gcc.

-- 
           Summary: 'make DESTDIR=... install' installs xgcc instead of gcc
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tobi at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23198


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

* [Bug bootstrap/23198] 'make install' installs xgcc instead of gcc
  2005-08-02 14:14 [Bug bootstrap/23198] New: 'make DESTDIR=... install' installs xgcc instead of gcc tobi at gcc dot gnu dot org
@ 2005-08-02 14:33 ` tobi at gcc dot gnu dot org
  2005-08-02 14:35 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-08-02 14:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2005-08-02 14:33 -------
I'm seeing this failure also if I do a regular make install.  I'll now try
compiling with only C enabled.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|'make DESTDIR=... install'  |'make install' installs xgcc
                   |installs xgcc instead of gcc|instead of gcc


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23198


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

* [Bug bootstrap/23198] 'make install' installs xgcc instead of gcc
  2005-08-02 14:14 [Bug bootstrap/23198] New: 'make DESTDIR=... install' installs xgcc instead of gcc tobi at gcc dot gnu dot org
  2005-08-02 14:33 ` [Bug bootstrap/23198] 'make " tobi at gcc dot gnu dot org
@ 2005-08-02 14:35 ` pinskia at gcc dot gnu dot org
  2005-08-02 14:54 ` tobi at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-02 14:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-02 14:35 -------
Are you sure that you don't have a directory in /tmp/home/tobi/usr/bin/ before you started the make 
install, likewise in /home/tobi/usr/bin?

Try removing it before make install.  If that is the problem, then this is not really a bug.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23198


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

* [Bug bootstrap/23198] 'make install' installs xgcc instead of gcc
  2005-08-02 14:14 [Bug bootstrap/23198] New: 'make DESTDIR=... install' installs xgcc instead of gcc tobi at gcc dot gnu dot org
  2005-08-02 14:33 ` [Bug bootstrap/23198] 'make " tobi at gcc dot gnu dot org
  2005-08-02 14:35 ` pinskia at gcc dot gnu dot org
@ 2005-08-02 14:54 ` tobi at gcc dot gnu dot org
  2005-08-02 15:10 ` tobi at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-08-02 14:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2005-08-02 14:53 -------
No, there was nothing before I tried installing.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23198


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

* [Bug bootstrap/23198] 'make install' installs xgcc instead of gcc
  2005-08-02 14:14 [Bug bootstrap/23198] New: 'make DESTDIR=... install' installs xgcc instead of gcc tobi at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-08-02 14:54 ` tobi at gcc dot gnu dot org
@ 2005-08-02 15:10 ` tobi at gcc dot gnu dot org
  2005-08-02 15:59 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-08-02 15:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2005-08-02 15:10 -------
Sigh.  Somehow the build chose a weird install program.  Editing the Makefile to
use gnu install instead fixes it.

Two questions:
A) should there be a configure option for this?
B) should '@(#)$Header: /cvs/openafs/src/pinstall/install.c,v 1.9.2.7 2003/07/25
04:40:16' work?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23198


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

* [Bug bootstrap/23198] 'make install' installs xgcc instead of gcc
  2005-08-02 14:14 [Bug bootstrap/23198] New: 'make DESTDIR=... install' installs xgcc instead of gcc tobi at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-08-02 15:10 ` tobi at gcc dot gnu dot org
@ 2005-08-02 15:59 ` pinskia at gcc dot gnu dot org
  2005-08-02 16:44 ` tobi at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-02 15:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-02 15:59 -------
(In reply to comment #4)
> Two questions:
> A) should there be a configure option for this?

Actually we should detect if it is non complaint install and use the install-sh script instead.

> B) should '@(#)$Header: /cvs/openafs/src/pinstall/install.c,v 1.9.2.7 2003/07/25
> 04:40:16' work?

Only the BSD, the GNU and the install-sh script have really been tested all the way. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23198


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

* [Bug bootstrap/23198] 'make install' installs xgcc instead of gcc
  2005-08-02 14:14 [Bug bootstrap/23198] New: 'make DESTDIR=... install' installs xgcc instead of gcc tobi at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-08-02 15:59 ` pinskia at gcc dot gnu dot org
@ 2005-08-02 16:44 ` tobi at gcc dot gnu dot org
  2005-08-03 12:29 ` [Bug bootstrap/23198] bad install program not detected tobi at gcc dot gnu dot org
  2005-08-04  4:37 ` [Bug bootstrap/23198] AC_PROG_INSTALL (autoconf 2.13) does not detect bad install program pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 10+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-08-02 16:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2005-08-02 16:44 -------
(In reply to comment #5)
> (In reply to comment #4)
> > Two questions:
> > A) should there be a configure option for this?
> 
> Actually we should detect if it is non complaint install and use the
install-sh script instead.

Should we keep this bug open for this?

> > B) should '@(#)$Header: /cvs/openafs/src/pinstall/install.c,v 1.9.2.7 2003/07/25
> > 04:40:16' work?
> 
> Only the BSD, the GNU and the install-sh script have really been tested all
the way. 

I see.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23198


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

* [Bug bootstrap/23198] bad install program not detected
  2005-08-02 14:14 [Bug bootstrap/23198] New: 'make DESTDIR=... install' installs xgcc instead of gcc tobi at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-08-02 16:44 ` tobi at gcc dot gnu dot org
@ 2005-08-03 12:29 ` tobi at gcc dot gnu dot org
  2005-08-04  4:37 ` [Bug bootstrap/23198] AC_PROG_INSTALL (autoconf 2.13) does not detect bad install program pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 10+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-08-03 12:29 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|'make install' installs xgcc|bad install program not
                   |instead of gcc              |detected


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23198


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

* [Bug bootstrap/23198] AC_PROG_INSTALL (autoconf 2.13) does not detect bad install program
  2005-08-02 14:14 [Bug bootstrap/23198] New: 'make DESTDIR=... install' installs xgcc instead of gcc tobi at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-08-03 12:29 ` [Bug bootstrap/23198] bad install program not detected tobi at gcc dot gnu dot org
@ 2005-08-04  4:37 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-04  4:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-04 04:37 -------
I think this is an autoconf bug because we just use AC_PROG_INSTALL.

Maybe updating the toplevel to 2.59, it will automatically be fixed but I don't know if this has been 
fixed in that version of autoconf.

Maybe someone should figure out if this is still a bug in autoconf.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-04 04:37:35
               date|                            |
            Summary|bad install program not     |AC_PROG_INSTALL (autoconf
                   |detected                    |2.13) does not detect bad
                   |                            |install program


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23198


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

* [Bug bootstrap/23198] AC_PROG_INSTALL (autoconf 2.13) does not detect bad install program
       [not found] <bug-23198-4@http.gcc.gnu.org/bugzilla/>
@ 2012-01-13  5:49 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-13  5:49 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23198

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-13 05:48:44 UTC ---
do you know if this is a bug any more after the updated autoconf?


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

end of thread, other threads:[~2012-01-13  5:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-02 14:14 [Bug bootstrap/23198] New: 'make DESTDIR=... install' installs xgcc instead of gcc tobi at gcc dot gnu dot org
2005-08-02 14:33 ` [Bug bootstrap/23198] 'make " tobi at gcc dot gnu dot org
2005-08-02 14:35 ` pinskia at gcc dot gnu dot org
2005-08-02 14:54 ` tobi at gcc dot gnu dot org
2005-08-02 15:10 ` tobi at gcc dot gnu dot org
2005-08-02 15:59 ` pinskia at gcc dot gnu dot org
2005-08-02 16:44 ` tobi at gcc dot gnu dot org
2005-08-03 12:29 ` [Bug bootstrap/23198] bad install program not detected tobi at gcc dot gnu dot org
2005-08-04  4:37 ` [Bug bootstrap/23198] AC_PROG_INSTALL (autoconf 2.13) does not detect bad install program pinskia at gcc dot gnu dot org
     [not found] <bug-23198-4@http.gcc.gnu.org/bugzilla/>
2012-01-13  5:49 ` 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).