pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42727: gcc 34 does not compile



The following reply was made to PR pkg/42727; it has been noted by GNATS.

From: Fulvio Ciriaco <oivulf%gmail.com@localhost>
To: David Holland <dholland-pbugs%netbsd.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost,
        pkg-manager%netbsd.org@localhost,
        gnats-admin%netbsd.org@localhost,
        pkgsrc-bugs%netbsd.org@localhost,
        oivulf%gmail.com@localhost
Subject: Re: pkg/42727: gcc 34 does not compile
Date: Sun, 07 Mar 2010 11:12:28 +0100

 Hallo David,
 in my ignorance I had supposed that pkgsrc protected
 somehow from writing outside of its tree during the
 build phase. This experience was however enlightening.
 I followed the instructions in 
 /usr/pkgsrc/lang/gcc34/README
 these require downloading a bootstrap compiler from
 http://www.johnrshannon.com/NetBSD/ix86/
 and this is
 /usr/pkg/gcc34-bootstrap/
 I untarred it, as by instructions, though I now see it is a package.
 All right, now when I attempt compilation as an unpriviledged
 user, the compilation proceeds to a larger extent, stopping
 at:
 gmake: *** No rule to make target `gnatlib-shared'.  Stop.
 *** Error code 2
 Fulvio
 
 
 At Sun, 7 Mar 2010 07:37:13 +0000,
 David Holland wrote:
 > 
 > On Wed, Feb 03, 2010 at 04:00:09PM +0000, fulvio ciriaco wrote:
 >  > From: fulvio ciriaco  <oivulf%gmail.com@localhost>
 >  > To: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost
 >  > Cc: 
 >  > Subject: Re: pkg/42727: gcc 34 does not compile
 >  > Date: Wed, 03 Feb 2010 16:55:01 +0100 (CET)
 >  > 
 >  >  All the problems arise after issuing
 >  >  make BUILD_ADA=YES ALT_GCC=/usr/pkg/gcc34-bootstrap/bin/gcc
 >  >  when make stops, /usr/bin/gcc has been substituted with
 >  >  a shell script, content:
 >  >  #!/bin/sh
 >  >  exec /usr/pkg/gcc34-bootstrap/bin/./gcc "$@"
 >  >  This explain the inclusion of non-standard headers
 >  >  Fulvio
 > 
 > This sounds like it might be a good idea to compile it as an
 > unprivileged user (one that can't write into /usr/pkg) to help figure
 > out what's going on.
 > 
 > Also, what's /usr/pkg/gcc34-bootstrap? I can't find any reference to
 > this in pkgsrc/lang.
 > 
 > -- 
 > David A. Holland
 > dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index