Re: 5.1-RELEASE-p2 buildworld crash - help!!

2003-09-04 Thread Alexander Portnoy
On Thu, 4 Sep 2003 18:58:42 +0300
ODHIAMBO Washington <[EMAIL PROTECTED]> wrote:

> This is what Ruslan said of the problem. However, I must admit that
> I haven't done anything about it since I did not quite understand
> what it is he meant I should do ;)
> 
> Quoting him verbatim:
> 
> 
> > I've tracked it down to the same problem we were having ealier
> > with the libpthread build.  You can either merge the following
> > revisions manually, or wait for an official fix to pop up in
> > RELENG_5_1:
> > 
> > Makefile.inc1: 1.365, 1.367
> > lib/libpthread/support/Makefile.inc: 1.2
> 
> 
> TIA
> 
> 
> -Wash
> 
> -- 
> Odhiambo Washington   <[EMAIL PROTECTED]>  "The box said 'Requires
> Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
> Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD."   
> GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)
> 
> Don't believe everything you hear or anything you say.
> 


There are the patches:


diff -u /usr/src/Makefile.inc1.orig /usr/src/Makefile.inc1
#--
--- /usr/src/Makefile.inc1.orig Fri Sep  5 02:11:23 2003
+++ /usr/src/Makefile.inc1  Fri Sep  5 00:47:07 2003
@@ -791,6 +791,10 @@
 _generic_libs+=kerberos5/lib
 .endif
 
+.if !defined(NOLIBPTHREAD)
+_prebuild_libs+= lib/libc
+.endif
+
 _prebuild_libs+= lib/libcom_err lib/libcrypt lib/libexpat \
lib/libkvm lib/libmd \
lib/libncurses lib/libopie lib/libpam lib/libradius \
#--


diff -u  /usr/src/lib/libpthread/support/Makefile.inc.orig 
/usr/src/lib/libpthread/support/Makefile.inc
#--
--- /usr/src/lib/libpthread/support/Makefile.inc.orig   Fri Sep  5 02:13:29 2003
+++ /usr/src/lib/libpthread/support/Makefile.incFri Sep  5 00:48:10 2003
@@ -6,5 +6,5 @@
 SOBJS+= thr_libc.So
 
 thr_libc.So: thr_support.So
-   ${CC} -nostdlib -L/usr/lib -o ${.TARGET} -Wl,-x,-r ${.ALLSRC} -lc_pic
+   ${CC} -nostdlib -o ${.TARGET} -Wl,-x,-r ${.ALLSRC} -lc_pic
#--

They resolved the problem of buildworld 5.1-RELEASE-p2 on 4.8-RELEASE-p4.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.1-RELEASE-p2 buildworld crash - help!!

2003-09-02 Thread Alexander Portnoy
> ODHIAMBO Washington wrote:
>
>  The problem started this way:
> 
> I cvsup-ped, make buildworld, then kind of I forgot to buildkernel/
> installkernel/installworld. I did another cvsup (I hadn't rebooted
> even, and yes, I do build{world|kernel} in server mode, then do
> installworld/mergemaster in single user mode.
> 
> Now after cvsupping afresh, I have failed to buildworld completely,
> even doing cvsup N times again. Buildworld always fails with the
> error depicted in the log output below:
>
> http://ns2.wananchi.com/~wash/FreeBSD/ - that text file in there.
>


> ODHIAMBO Washington wrote:
>
> * Alexander Portnoy <[EMAIL PROTECTED]> [20030902 10:18]: wrote:
> > According to the first stages of your buildworld output,
> > You are trying to upgrade from FreeBSD-4.x.
> > This problem is known and described in the "Problem Report bin/53201"
> > See http://www.freebsd.org/cgi/query-pr.cgi?pr=bin%2F53201
> >
> > P.S. There are no problems to upgrade from FreeBSD-4.x to 5.1-CURRENT.
>
> This assertion is not correct!
> 
> 
> I have been running 5.1 (even 5.0-RELEASE) for months. The last time I
> did a successful build was August 20. I've always cvsupped and rebuild
> every week!
> 
> 
> @(#)FreeBSD 5.1-RELEASE-p2 #0: Wed Aug 20 16:44:35 EAT 2003
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FREEBEAST
> FreeBSD
> 5.1-RELEASE-p2
>

The log of your buildworld contains the following:

lines 7 to 18:
..
Running test lhs_expn
FAIL: Test failed: regression detected.  See above.
*** Error code 1

Stop in /usr/src/tools/regression/usr.bin/make.
*** Error code 1

Stop in /usr/src/tools/regression/usr.bin/make.

--
 Building an up-to-date make(1)
--


This behavior is specific for the 4.x branch that have the old version of make.

There is the output of make buildworld that I get on 4.8-RELEASE-p3
when I try to build 5.1-RELEASE-p2:


Running test lhs_expn
FAIL: Test failed: regression detected.  See above.
*** Error code 1

Stop in /usr/src/tools/regression/usr.bin/make.
*** Error code 1

Stop in /usr/src/tools/regression/usr.bin/make.

--
 Building an up-to-date make(1)
--


There is the output of make buildworld that I get on 5.1-RELEASE-p2
when I try to build 5.1-RELEASE-p2:

Running test variables
PASS: Test variables detected no regression, output matches.
Running test targets
PASS: Test targets detected no regression.
Running test sysvmatch
PASS: Test sysvmatch detected no regression.
Running test lhs_expn
PASS: Test lhs_expn detected no regression.
Running test notdef
PASS: Test notdef detected no regression.
Running test modifiers
PASS: Test modifiers detected no regression.
Running test funny_targets
PASS: Test funny_targets detected no regression.

--
>>> Rebuilding the temporary build tree
--

So, how  You can see, your /usr/bin/make is old.


In addition, take a look at the value of BOOTSTRAPPING
in the following lines of your log:


line 138:
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386  DESTDIR=  INSTALL="sh 
/usr/src/tools/install.sh"  
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  WORLDTMP=/usr/obj/usr/src/i386  MAKEFLAGS="-m /usr/src/tools/build/mk  -m 
/usr/src/share/mk" /usr/obj/usr/src/make.i386/make -f Makefile.inc1  
BOOTSTRAPPING=480102  -DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC -DNOPROFILE  
-DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS legacy

line 154:
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386  DESTDIR=  INSTALL="sh 
/usr/src/tools/install.sh"  
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  WORLDTMP=/usr/obj/usr/src/i386  MAKEFLAGS="-m /usr/src/tools/build/mk  -m 
/usr/src/share/mk" /usr/obj/usr/src/make.i386/make -f Makefile.inc1  
BOOTSTRAPPING=480102  -DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC -DNOPROFILE  
-DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS bootstrap-tools

line 4419:
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  DESTDIR=  INSTALL="sh 
/usr/src/tools/install.sh"  
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  WORLDTMP=/usr/obj/usr/src/i386  MAKEFLAGS="-m /usr/src/tools/build/mk  -m 
/usr/src/share/mk" /usr/obj/usr/src/make.i386/make -f Makefile.inc1  
BOOTSTRAPPING=480102 -DNOLINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools

line 4624:
cd /usr/src; TOOLS_PREFIX=/usr/obj/usr/src/i386 MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386 
 DESTDIR=  INSTALL="sh /usr/src/tools/ins

Re: 5.1-RELEASE-p2 buildworld crash - help!! (ODHIAMBO Washington)

2003-09-02 Thread ODHIAMBO Washington
* Alexander Portnoy <[EMAIL PROTECTED]> [20030902 10:18]: wrote:
> According to the first stages of your buildworld output,
> You are trying to upgrade from FreeBSD-4.x.
> This problem is known and described in the "Problem Report bin/53201"
> See http://www.freebsd.org/cgi/query-pr.cgi?pr=bin%2F53201
> 
> P.S. There are no problems to upgrade from FreeBSD-4.x to 5.1-CURRENT.

This assertion is not correct!


I have been running 5.1 (even 5.0-RELEASE) for months. The last time I
did a successful build was August 20. I've always cvsupped and rebuild
every week!


@(#)FreeBSD 5.1-RELEASE-p2 #0: Wed Aug 20 16:44:35 EAT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FREEBEAST
FreeBSD
5.1-RELEASE-p2




-Wash


-- 
Odhiambo Washington   <[EMAIL PROTECTED]>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD."   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


Do you have lysdexia?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.1-RELEASE-p2 buildworld crash - help!! (ODHIAMBO Washington)

2003-09-02 Thread Alexander Portnoy
According to the first stages of your buildworld output,
You are trying to upgrade from FreeBSD-4.x.
This problem is known and described in the "Problem Report bin/53201"
See http://www.freebsd.org/cgi/query-pr.cgi?pr=bin%2F53201

P.S. There are no problems to upgrade from FreeBSD-4.x to 5.1-CURRENT.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.1-RELEASE-p2 buildworld crash - help!!

2003-09-01 Thread Kent Stewart
On Monday 01 September 2003 09:17 am, ODHIAMBO Washington wrote:
> * Steve Kargl <[EMAIL PROTECTED]> [20030901 18:36]: 
wrote:
> > On Mon, Sep 01, 2003 at 05:00:44PM +0300, ODHIAMBO Washington wrote:
> > > Now after cvsupping afresh, I have failed to buildworld
> > > completely, even doing cvsup N times again. Buildworld always
> > > fails with the error depicted in the log output below:
> > >
> > > http://ns2.wananchi.com/~wash/FreeBSD/ - that text file in there.
> >
> > A 4.8M file?  If build world dies, scroll to the end and post
>

You could save a lot of time by turning off profiling in /etc/make.conf. 
If you aren't using it, there isn't any reason to build it. Set

NOPROFILE= true

Kent

-- 
Kent Stewart
Richland, WA

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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.1-RELEASE-p2 buildworld crash - help!!

2003-09-01 Thread ODHIAMBO Washington
* Steve Kargl <[EMAIL PROTECTED]> [20030901 18:36]: wrote:
> On Mon, Sep 01, 2003 at 05:00:44PM +0300, ODHIAMBO Washington wrote:
> > 
> > Now after cvsupping afresh, I have failed to buildworld completely,
> > even doing cvsup N times again. Buildworld always fails with the
> > error depicted in the log output below:
> > 
> > http://ns2.wananchi.com/~wash/FreeBSD/ - that text file in there.
> > 
> 
> A 4.8M file?  If build world dies, scroll to the end and post

I did that earlier ;)


cc -fpic -DPIC -O -pipe -mcpu=pentiumpro -DPTHREAD_KERNEL 
-I/usr/src/lib/libpthread/../libc/include
-I/usr/src/lib/libpthread/threa
d  -I/usr/src/lib/libpthread/../../include -I/usr/src/lib/libpthread/arch/i386/include 
-I/usr/src/lib/libpthread/sys
-I/usr/src/lib
/libpthread/../../libexec/rtld-elf -fno-builtin -D_LOCK_DEBUG -D_PTHREADS_INVARIANTS 
-Wall
-I/usr/src/lib/libpthread/../libc/i386 
-I/usr/src/lib/libpthread/thread -c 
/usr/src/lib/libpthread/arch/i386/i386/thr_enter_uts.S  -o thr_enter_uts.So
cc -fpic -DPIC -O -pipe -mcpu=pentiumpro -DPTHREAD_KERNEL 
-I/usr/src/lib/libpthread/../libc/include
-I/usr/src/lib/libpthread/threa
d  -I/usr/src/lib/libpthread/../../include -I/usr/src/lib/libpthread/arch/i386/include 
-I/usr/src/lib/libpthread/sys
-I/usr/src/lib
/libpthread/../../libexec/rtld-elf -fno-builtin -D_LOCK_DEBUG -D_PTHREADS_INVARIANTS 
-Wall
-I/usr/src/lib/libpthread/../libc/i386 
-I/usr/src/lib/libpthread/thread -c 
/usr/src/lib/libpthread/arch/i386/i386/thr_getcontext.S  -o thr_getcontext.So
cc -fpic -DPIC -O -pipe -mcpu=pentiumpro -DPTHREAD_KERNEL 
-I/usr/src/lib/libpthread/../libc/include
-I/usr/src/lib/libpthread/threa
d  -I/usr/src/lib/libpthread/../../include -I/usr/src/lib/libpthread/arch/i386/include 
-I/usr/src/lib/libpthread/sys
-I/usr/src/lib
/libpthread/../../libexec/rtld-elf -fno-builtin -D_LOCK_DEBUG -D_PTHREADS_INVARIANTS 
-Wall
-I/usr/src/lib/libpthread/../libc/i386 
-I/usr/src/lib/libpthread/thread -c 
/usr/src/lib/libpthread/arch/i386/i386/thr_switch.S  -o thr_switch.So
cc -fpic -DPIC -O -pipe -mcpu=pentiumpro -DPTHREAD_KERNEL 
-I/usr/src/lib/libpthread/../libc/include
-I/usr/src/lib/libpthread/threa
d  -I/usr/src/lib/libpthread/../../include -I/usr/src/lib/libpthread/arch/i386/include 
-I/usr/src/lib/libpthread/sys
-I/usr/src/lib
/libpthread/../../libexec/rtld-elf -fno-builtin -D_LOCK_DEBUG -D_PTHREADS_INVARIANTS 
-Wall  -c
/usr/src/lib/libpthread/sys/lock.c -
o lock.So
building shared library libkse.so.1
*** Error code 1

Stop in /usr/src/lib/libpthread.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.





-Wash

PS::REQUEST

Whenever responding, please, put your response _under_ the original (previous)
posting/message(s), not above them. This is the basics of Netiquette.

Also, remove unneeded fragments of previous message(s), especially any
"commercial" adverts and signatures. It's really ugly, space-wasting and
hard-answerable to have all that junk nested a couple of times. Thank you.

Q: Because it reverses the logical flow of conversation.
A: Why is top posting frowned upon?

-- 
Odhiambo Washington   <[EMAIL PROTECTED]>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD."   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


Every absurdity has a champion who will defend it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.1-RELEASE-p2 buildworld crash - help!!

2003-09-01 Thread ODHIAMBO Washington

Hello gurus,

I have a dead system! No service will start at all, but if I can get
over this buildworld failure, then maybe I can compile a new kernel
and get my services running. It's not a production box, but a test
box. The problem started this way:

I cvsup-ped, make buildworld, then kind of I forgot to buildkernel/
installkernel/installworld. I did another cvsup (I hadn't rebooted
even, and yes, I do build{world|kernel} in server mode, then do
installworld/mergemaster in single user mode.

Now after cvsupping afresh, I have failed to buildworld completely,
even doing cvsup N times again. Buildworld always fails with the
error depicted in the log output below:

http://ns2.wananchi.com/~wash/FreeBSD/ - that text file in there.

Thanks in advance for any pointers that may enable me over this.


-Wash

-- 
Odhiambo Washington   <[EMAIL PROTECTED]>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD."   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


Demographic polls show that you have lost credibility across the
board.  Especially with  those 14 year-old Valley girls.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"