Re: Problem upgrading 4.8 to 5.1

2003-10-03 Thread Alexander Portnoy
On Thu, 02 Oct 2003 23:08:53 +0200
John Angelmo <[EMAIL PROTECTED]> wrote:

> OK I'm trying to upgrade from 4.8 (pre 4.9) to 5.1 (using the 5_1 tag 
> with cvsup)
> 
> The problem I get is this:
> 
> cc -fpic -DPIC -O -pipe -DPTHREAD_KERNEL 
> -I/usr/src/lib/libpthread/../libc/include 
> -I/usr/src/lib/libpthread/thread 
> -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
> thr_libc.So: In function `sigaction':
> thr_libc.So(.text+0x54): multiple definition of `_sigaction'
> thr_sigaction.So(.text+0x0): first defined here
> thr_libc.So: In function `sigprocmask':
> thr_libc.So(.text+0x34): multiple definition of `_sigprocmask'
> thr_sigprocmask.So(.text+0x0): first defined here
> *** 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.
> 
> 
> Is this a known problem and what can I do about it?
> 
> /John
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

The problem is known.
See the "Problem Report bin/53201" 
http://www.freebsd.org/cgi/query-pr.cgi?pr=bin%2F53201
___
[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-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/mak

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]"


msdosfs causes system panic under CURRENT and on 4.8-RELEASE

2003-07-21 Thread Alexander Portnoy
I have an image of floppy disk formatted under win2k that causes
system panic under CURRENT and on 4.8-RELEASE. This hapens
after I mount the image (via vnode or directly from floppy) and do 'ls'
of one of directories on the image.  If somebody wants to fix the bug
 - send me an e-mail and I will send the image.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"