Re: make buildworld dies

2004-12-18 Thread Kris Kennaway
On Sat, Dec 18, 2004 at 11:49:53AM -0500, Zachary Huang wrote:
> Sorry for so many questions. On yet another FreeBSD (4.2), I  first
> did a sysinstall to upgrade to 5.10, it messed up everything because
> the source (/usr/src) did not match all the config files, so sendmail
> complains a lot and cannot ssh or telnet to the system.  I then did a
> cvsup (without specify which release, simply "cvs") successfully (took
> like 10 hrs),  then today I tried to
> 
> cd /usr/src
> make buildworld
> 
> after about 8 min,  it stopped with the following error:
> cc -O -pipe -DSHELL -I .I/usr/src/bin/sh -Wall -Wfont (? cannot see my
> own writing) -c /usr/src/bin/sh
> /usr/src/bin/sh/mknodes.c:101.
> initializer element is not constant
> ***error code 1
> Stop in /usr/src/bin/sh
> *** error code 1
> stop in /usr/src.
> 
> now I am sort of stuck.  I made a new kernel the day before the
> sysinstall, but now I cannot even try compile a new kernel because it
> compains the config file is newer than what it wants.
> 
> is my system totally messed up?  right now apache still works, but I
> can telnet or ssh out but to the host

It sounds like you're a bit confused about what you're doing..first,
there is no "FreeBSD 5.10", so it's not clear what you're aiming for,
and secondly it looks like you didn't go through the documented
upgrade procedure (see handbook) so you ended up with some kind of
broken partially-upgraded system.  The best thing for you to do would
be to grab the installation media for the release you want to install,
and reinstall over the top of your broken system.

Kris


pgpJ6nHqKb76V.pgp
Description: PGP signature


Re: make buildworld dies

2004-12-18 Thread Joshua Lokken
On Sat, 18 Dec 2004 11:49:53 -0500, Zachary Huang <[EMAIL PROTECTED]> wrote:
> Sorry for so many questions. On yet another FreeBSD (4.2), I  first
> did a sysinstall to upgrade to 5.10, 

Wha?  4.2 is very old. and 5.3 is the latest production release.
I'll assume the above is a typo for 4.10.  I'm not certain that
you can directly upgrade from 4.2 to 4.10, but in any case, you
want to read /usr/src/UPGRADING.

> it messed up everything because
> the source (/usr/src) did not match all the config files, so sendmail
> complains a lot and cannot ssh or telnet to the system.  I then did a
> cvsup (without specify which release, simply "cvs") successfully (took
> like 10 hrs)

I don't believe this is what you wanted to do.  If you're going to
track a particular release, let's say 4.10, then you want to use
the appropriate cvs tag for that src tree, which for 4.10 release
will be RELENG_4_10.
 
> cd /usr/src
> make buildworld
> 
> after about 8 min,  it stopped with the following error:
> cc -O -pipe -DSHELL -I .I/usr/src/bin/sh -Wall -Wfont (? cannot see my
> own writing) -c /usr/src/bin/sh
> /usr/src/bin/sh/mknodes.c:101.
> initializer element is not constant
> ***error code 1
> Stop in /usr/src/bin/sh
> *** error code 1
> stop in /usr/src.

That seems reasonable.
 
> now I am sort of stuck.  I made a new kernel the day before the
> sysinstall, but now I cannot even try compile a new kernel because it
> compains the config file is newer than what it wants.

It sounds like your src tree needs to be cleaned up (# rm -rf /usr/src/*)
and that you should read the Handbook chapter on using cvsup, write
yourself a src-supfile, or use one of the examples, and then follow the
well-documented procedure for upgrading your system from source.
 
> is my system totally messed up?  

Probably, but the handbook is a great resource, and will help you
to prevent it from happening again.

> right now apache still works, but I can telnet or ssh out but to the host

Wow, I'm surprised that Apache is still able to run ;)

-- 
Joshua Lokken
Open Source Advocate
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


make buildworld dies

2004-12-18 Thread Zachary Huang
Sorry for so many questions. On yet another FreeBSD (4.2), I  first
did a sysinstall to upgrade to 5.10, it messed up everything because
the source (/usr/src) did not match all the config files, so sendmail
complains a lot and cannot ssh or telnet to the system.  I then did a
cvsup (without specify which release, simply "cvs") successfully (took
like 10 hrs),  then today I tried to

cd /usr/src
make buildworld

after about 8 min,  it stopped with the following error:
cc -O -pipe -DSHELL -I .I/usr/src/bin/sh -Wall -Wfont (? cannot see my
own writing) -c /usr/src/bin/sh
/usr/src/bin/sh/mknodes.c:101.
initializer element is not constant
***error code 1
Stop in /usr/src/bin/sh
*** error code 1
stop in /usr/src.

now I am sort of stuck.  I made a new kernel the day before the
sysinstall, but now I cannot even try compile a new kernel because it
compains the config file is newer than what it wants.

is my system totally messed up?  right now apache still works, but I
can telnet or ssh out but to the host

do not mess upgrades before Christmas, as it gets you in bad mood..:( :(
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Make buildworld dies in /usr/src/gnu/usr.bin/texinfo

2003-01-27 Thread Kent Stewart
On Monday 27 January 2003 01:16 pm, Eric Buchanan wrote:
> Hello,
> I am sorry for inadvertenly posting this message to
> freebsd-questions as well.
> Last night I cvsuped src and ports, and this is the
> output of uname:
> FreeBSD host1.my.domain 4.7-STABLE FreeBSD 4.7-STABLE
> #5: Sun Nov 17 15:27:34 PST 2002
> root@:/backup/src/sys/compile/MYKERNEL i386
>

I just did a cvsup of src-all and nothing dealing with texinfo was 
updated. So, my "no-problem" build from yesterday should compare. 

Your error code 1 just means that you had an error previously. You need 
to find what that error was. If you are running something like -j4, 
drop the -j option so that you see the error where it is occuring.

Kent

> thank you,
> Eric Buchanan
> -
>
> > I didn't try a build today. I didn't have any
> > problem yesterday. So, I
> > can comment on the failure. You left out one
> > important piece of
> > information and that is what did you cvsup. The tag
> > info and uname -a
> > are important.
> >
> > Kent
>
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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



Re: Make buildworld dies in /usr/src/gnu/usr.bin/texinfo

2003-01-27 Thread Eric Buchanan
Hello,
I am sorry for inadvertenly posting this message to
freebsd-questions as well.
Last night I cvsuped src and ports, and this is the
output of uname:
FreeBSD host1.my.domain 4.7-STABLE FreeBSD 4.7-STABLE
#5: Sun Nov 17 15:27:34 PST 2002 
root@:/backup/src/sys/compile/MYKERNEL i386

thank you,
Eric Buchanan
-
> 
> I didn't try a build today. I didn't have any
> problem yesterday. So, I 
> can comment on the failure. You left out one
> important piece of 
> information and that is what did you cvsup. The tag
> info and uname -a 
> are important.
> 
> Kent


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: Make buildworld dies in /usr/src/gnu/usr.bin/texinfo

2003-01-27 Thread Kent Stewart
On Monday 27 January 2003 12:47 pm, Eric Buchanan wrote:
> Hello,
> My make buildworld keeps failing in
> /usr/src/gnu/usr.bin/texinfo. This desktop has been
> updated with cvsup and make worlds since 4.1-Release
> with very few problems until today.
>

I didn't try a build today. I didn't have any problem yesterday. So, I 
can comment on the failure. You left out one important piece of 
information and that is what did you cvsup. The tag info and uname -a 
are important.

Kent

>
>
> Thank you in advance!
> Eric Buchanan
>
> This was what was printed out when it stopped:
>
>
> /usr/obj/backup/src/i386/backup/src/gnu/usr.bin/texinfo/install-info
> created for
> /backup/src/gnu/usr.bin/texinfo/install-info
> ===> gnu/usr.bin/texinfo/texindex
> /usr/obj/backup/src/i386/backup/src/gnu/usr.bin/texinfo/texindex
> created for
> /backup/src/gnu/usr.bin/texinfo/texindex
> ===> gnu/usr.bin/texinfo/doc
> /usr/obj/backup/src/i386/backup/src/gnu/usr.bin/texinfo/doc
> created for
> /backup/src/gnu/usr.bin/texinfo/doc
> ===> gnu/usr.bin/texinfo/libtxi
> rm -f .depend
> mkdep -f .depend -a -DHAVE_CONFIG_H
> -DLOCALEDIR=\"/usr/share/locale\"
> -I/backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo
>
> -I/backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo/
>lib -D__FBSDID=__RCSID
> /backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo/li
>b/getopt.c
>
> /backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo/li
>b/getopt1.c
>
> /backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo/li
>b/substring.c
>
> /backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo/li
>b/xexit.c
>
> /backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo/li
>b/xmalloc.c
>
> /backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo/li
>b/xstrdup.c ===> gnu/usr.bin/texinfo/makeinfo
> rm -f .depend
> mkdep -f .depend -a -DHAVE_CONFIG_H
> -DLOCALEDIR=\"/usr/share/locale\"
> -I/backup/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinf
>o
>
> -I/backup/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinf
>o/lib -D__FBSDID=__RCSID
> /backup/src/gnu/usr.bin/texinfo/makeinfo/cmds.c
> /backup/src/gnu/usr.bin/texinfo/makeinfo/docbook.c
> /backup/src/gnu/usr.bin/texinfo/makeinfo/defun.c
> /backup/src/gnu/usr.bin/texinfo/makeinfo/files.c
> /backup/src/gnu/usr.bin/texinfo/makeinfo/footnote.c
> /backup/src/gnu/usr.bin/texinfo/makeinfo/html.c
> /backup/src/gnu/usr.bin/texinfo/makeinfo/index.c
> /backup/src/gnu/usr.bin/texinfo/makeinfo/insertion.c
> /backup/src/gnu/usr.bin/texinfo/makeinfo/lang.c
> /backup/src/gnu/usr.bin/texinfo/makeinfo/macro.c
> /backup/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/
>makeinfo/makeinfo.c
>
> /backup/src/gnu/usr.bin/texinfo/makeinfo/multi.c
> /backup/src/gnu/usr.bin/texinfo/makeinfo/node.c
> /backup/src/gnu/usr.bin/texinfo/makeinfo/sectioning.c
> /backup/src/gnu/usr.bin/texinfo/makeinfo/toc.c
> /backup/src/gnu/usr.bin/texinfo/makeinfo/xml.c
> echo makeinfo: /usr/lib/libc.a
> /usr/obj/backup/src/i386/backup/src/gnu/usr.bin/texinfo/makeinfo/../l
>ibtxi/libtxi.a
>
> >> .depend
>
> ===> gnu/usr.bin/texinfo/info
> rm -f .depend
> mkdep -f .depend -a
> -DINFODIR=\"/usr/share/info:/usr/local/info:/usr/X11R6/info:.\"
>
> -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\"
> -I/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo
>
> -I/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/li
>b -D__FBSDID=__RCSID
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/dir.c
>
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/display.c
>
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/doc.c
>
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/dribble.c
>
> /backup/src/gnu/usr.bin/texinfo/info/echo-area.c
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/filesys.c
>
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/footnotes.c
>
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/gc.c
>
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/indices.c
>
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/info-utils.c
>
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/info.c
>
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/infodoc.c
>
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/infomap.c
>
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/m-x.c
>
> /backup/src/gnu/usr.bin/texinfo/info/man.c
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/nodemenu.c
>
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/nodes.c
>
> /backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info
>/search.c
>
> /backup/src/gnu/usr.bin/texinfo/info/../../../../con

Make buildworld dies in /usr/src/gnu/usr.bin/texinfo

2003-01-27 Thread Eric Buchanan
Hello,
My make buildworld keeps failing in
/usr/src/gnu/usr.bin/texinfo. This desktop has been
updated with cvsup and make worlds since 4.1-Release
with very few problems until today.



Thank you in advance!
Eric Buchanan

This was what was printed out when it stopped:


/usr/obj/backup/src/i386/backup/src/gnu/usr.bin/texinfo/install-info
created for 
/backup/src/gnu/usr.bin/texinfo/install-info
===> gnu/usr.bin/texinfo/texindex
/usr/obj/backup/src/i386/backup/src/gnu/usr.bin/texinfo/texindex
created for 
/backup/src/gnu/usr.bin/texinfo/texindex
===> gnu/usr.bin/texinfo/doc
/usr/obj/backup/src/i386/backup/src/gnu/usr.bin/texinfo/doc
created for 
/backup/src/gnu/usr.bin/texinfo/doc
===> gnu/usr.bin/texinfo/libtxi
rm -f .depend
mkdep -f .depend -a -DHAVE_CONFIG_H
-DLOCALEDIR=\"/usr/share/locale\" 
-I/backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo

-I/backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo/lib
-D__FBSDID=__RCSID 
/backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo/lib/getopt.c

/backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo/lib/getopt1.c

/backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo/lib/substring.c

/backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo/lib/xexit.c

/backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo/lib/xmalloc.c

/backup/src/gnu/usr.bin/texinfo/libtxi/../../../../contrib/texinfo/lib/xstrdup.c
===> gnu/usr.bin/texinfo/makeinfo
rm -f .depend
mkdep -f .depend -a -DHAVE_CONFIG_H
-DLOCALEDIR=\"/usr/share/locale\" 
-I/backup/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo

-I/backup/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/lib
-D__FBSDID=__RCSID 
/backup/src/gnu/usr.bin/texinfo/makeinfo/cmds.c
/backup/src/gnu/usr.bin/texinfo/makeinfo/docbook.c 
/backup/src/gnu/usr.bin/texinfo/makeinfo/defun.c
/backup/src/gnu/usr.bin/texinfo/makeinfo/files.c 
/backup/src/gnu/usr.bin/texinfo/makeinfo/footnote.c
/backup/src/gnu/usr.bin/texinfo/makeinfo/html.c 
/backup/src/gnu/usr.bin/texinfo/makeinfo/index.c
/backup/src/gnu/usr.bin/texinfo/makeinfo/insertion.c 
/backup/src/gnu/usr.bin/texinfo/makeinfo/lang.c
/backup/src/gnu/usr.bin/texinfo/makeinfo/macro.c 
/backup/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/makeinfo/makeinfo.c

/backup/src/gnu/usr.bin/texinfo/makeinfo/multi.c
/backup/src/gnu/usr.bin/texinfo/makeinfo/node.c 
/backup/src/gnu/usr.bin/texinfo/makeinfo/sectioning.c
/backup/src/gnu/usr.bin/texinfo/makeinfo/toc.c 
/backup/src/gnu/usr.bin/texinfo/makeinfo/xml.c
echo makeinfo: /usr/lib/libc.a 
/usr/obj/backup/src/i386/backup/src/gnu/usr.bin/texinfo/makeinfo/../libtxi/libtxi.a
>> .depend
===> gnu/usr.bin/texinfo/info
rm -f .depend
mkdep -f .depend -a
-DINFODIR=\"/usr/share/info:/usr/local/info:/usr/X11R6/info:.\"

-DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" 
-I/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo

-I/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/lib
-D__FBSDID=__RCSID 
/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/dir.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/display.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/doc.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/dribble.c

/backup/src/gnu/usr.bin/texinfo/info/echo-area.c 
/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/filesys.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/footnotes.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/gc.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/indices.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/info-utils.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/info.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/infodoc.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/infomap.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/m-x.c

/backup/src/gnu/usr.bin/texinfo/info/man.c 
/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/nodemenu.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/nodes.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/search.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/session.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/signals.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/terminal.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/tilde.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/variables.c

/backup/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/window.c
*** Error code 1

Stop in /backup/src/gnu/usr.bin/texinfo/info.
*** Error code 1

Stop in