Re: Error in libstdc++ buildworld

2000-11-20 Thread David O'Brien

On Sun, Nov 19, 2000 at 12:45:11PM -0600, Mark R Grant wrote:
 1.  I cleaned up the source directories using "cd /usr ; make cleandir"
 2.  I cleaned up the object directories using "cd /usr/obj ; chflags -R
 noschg * ; rm -rf *"

These two steps should be reversed.  The `make cleandir' in #1 will clean
out the /usr/obj/...dir shadow tree if it exists, else the dir w/in
/usr/src/  ``make cleandir  make cleandir'' is the way to ensure that
/usr/src is truely clean (or do your step #2 above first).

 4.  I decided that since I am too much of a novice at this, I should use the
 buildworld and installworld seperately.  I ran "cd /usr/src ; make -j2
 buildworld"

With -jX (X  1), you cannot trust any error output.  You would be better
off not using -j until you know you can build the world.  From the output
you provide I'm not sure why the /usr/obj/usr/src/i386/mk directory
doesn't exist.  But please try your step #2, followed by our step #1 and
see if this goes away.

-- 
-- David  ([EMAIL PROTECTED])
  GNU is Not Unix / Linux Is Not UniX


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Error in libstdc++ buildworld

2000-11-20 Thread John Polstra

In article [EMAIL PROTECTED],
David O'Brien [EMAIL PROTECTED] wrote:
 One cannot "upgrade"[*] to -CURRENT using he "RELENG_4" tag.  The
 "RELENG_4" is the 4.x code base.  To get -CURRENT source one would use no
 tag.

Not correct!  One should use "tag=.".  If he uses no tag then he'll
get the RCS files.

John
-- 
  John Polstra   [EMAIL PROTECTED]
  John D. Polstra  Co., Inc.Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Error in libstdc++ buildworld

2000-11-19 Thread Mark R Grant

FreeBSD user since 2.x, but never attempted to make/build/install world.

While doing 'make -j2 buildworld':

=== libstdc++

~~~deleted a couple hundred lines between, then got here:

cc -pg -O -pipe -I/usr/src/gnu/lib/libstdc++
-I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include
-I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/../libio -I.
-I/usr/obj/usr/src/i386/usr/include -c
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/../libio/floatconv.c
-o floatconv.po
{standard input}: cc: Assembler messages:
Internal compiler error: program cc1 got fatal signal 11{standard
input}:0:
Warning: end of file not at end of a line; newline inserted
{standard input}:2148: Error: bad register name `%'
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

Got the same error after several cvs updates and retries.

Mark Grant
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Error in libstdc++ buildworld

2000-11-19 Thread Mark R Grant

David O'Brien wrote:

 On Sun, Nov 19, 2000 at 09:54:58AM -0600, Mark R Grant wrote:
  FreeBSD user since 2.x, but never attempted to make/build/install world.
  While doing 'make -j2 buildworld':

 It would help us immensely if you would give some details of the
 environment in which you are having this problem.
 What CLFAGS are you using?  What version of FreeBSD are you running?


Following my interpretation of the instructions in the make.conf file, the
CFLAGS line is commented out.
I am running version 4.1.1-RELEASE, trying to upgrade to -CURRENT using the
'RELENG_4' tag.  Last cvsup was Nov 18, 2300 GMT



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Error in libstdc++ buildworld

2000-11-19 Thread David O'Brien

On Sun, Nov 19, 2000 at 10:44:09AM -0600, Mark R Grant wrote:
 David O'Brien wrote:

Respect my "Reply-To: [EMAIL PROTECTED]" or I won't respond to queries
for help in the future.
 
 Following my interpretation of the instructions in the make.conf file, the
 CFLAGS line is commented out.
 I am running version 4.1.1-RELEASE, trying to upgrade to -CURRENT using the
 'RELENG_4' tag.  Last cvsup was Nov 18, 2300 GMT

One cannot "upgrade"[*] to -CURRENT using he "RELENG_4" tag.  The
"RELENG_4" is the 4.x code base.  To get -CURRENT source one would use no
tag.  RELENG_4 is very buildable right now, so something is weird on your
end.  You'll [again] need to give more _details_.
Example:

1. I checked out the source using ``cd /usr ; cvs co src''
2. I then made sure the /usr/obj/ directory existed.
3. I then did ``cd /usr/src ; make world''.


[*] "upgrading" to -CURRENT really doesn't mean anything as it isn't a
release and for your use it may easily be a "downgrade".  You should
examine your reasons for wanting to run -CURRENT.

-- 
-- David  ([EMAIL PROTECTED])
  GNU is Not Unix / Linux Is Not UniX


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Error in libstdc++ buildworld

2000-11-19 Thread Mark R Grant

David O'Brien wrote:


 Example:

 1. I checked out the source using ``cd /usr ; cvs co src''
 2. I then made sure the /usr/obj/ directory existed.
 3. I then did ``cd /usr/src ; make world''.

 [*] "upgrading" to -CURRENT really doesn't mean anything as it isn't a
 release and for your use it may easily be a "downgrade".  You should
 examine your reasons for wanting to run -CURRENT.

Now, here is where I am.  For precision, I decided to take it step-by-step again
and document every action:

0.  The CHFLAGS setting my my make.conf file is commented out.
1.  I cleaned up the source directories using "cd /usr ; make cleandir"
2.  I cleaned up the object directories using "cd /usr/obj ; chflags -R noschg *
; rm -rf *"
3.  I edited by cvs-supfile to "tag=*" then checked out the source using "cd
/usr/src ; cvsup -g -L 2 /usr/local/etc/cvs-supfile"
4.  I decided that since I am too much of a novice at this, I should use the
buildworld and installworld seperately.  I ran "cd /usr/src ; make -j2
buildworld"

This is where it errored out, somewhere during the building of "=== rpcsrv"

///deleted several hundred messages///

cd /usr/src/secure/lib/libcrypto; make beforeinstall
sh /usr/src/tools/install.sh -c -o root -g wheel -m 444 bsd.README bsd.dep.mk
bsd.doc.mk bsd.docb.mk bsd.info.mk bsd.kern.mk bsd.kmod.mk bsd.lib.mk
bsd.libnames.mk bsd.man.mk bsd.obj.mk bsd.own.mk bsd.port.mk bsd.port.post.mk
bsd.port.pre.mk bsd.port.subdir.mk bsd.prog.mk bsd.sgml.mk bsd.subdir.mk sys.mk
/usr/obj/usr/src/i386/mk
usage: install [-CcDpsv] [-f flags] [-g group] [-m mode] [-o owner] file1 file2
   install [-CcDpsv] [-f flags] [-g group] [-m mode] [-o owner] file1 ...
 fileN directory
   install -d [-v] [-g group] [-m mode] [-o owner] directory ...
*** Error code 64
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error



I can provide all/more of the script output



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message