Bug 47063

Summary: Can't upgrade from V4 to V5 due to header conflicts
Product: Base System Reporter: Kevin Oberman <oberman>
Component: gnuAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.7-STABLE   
Hardware: Any   
OS: Any   

Description Kevin Oberman 2003-01-14 18:30:00 UTC
	When attempting to cvsup and upgrade the system from V4 to V5 I
get a fatal error building gperf/doc in the buildworld phase.
===> gnu/usr.bin/gperf/doc
c++  -O -pipe    -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/usr/src/gnu/usr.bin/gperf -c /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.cc
In file included from /usr/include/stdio.h:44,
                 from /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.h:57,
                 from /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.cc:21:
/usr/include/sys/_types.h:77: declaration does not declare anything
*** Error code 1
It appears to be a conflict between the 4.7 header files and the 5.0
header files.

The problem first appeared between Jan. 5 when I did a successful
buildworld and Jan. 10 when the problem first bit me. I have repeated
the problem with a clean /usr/obj and /usr/src.

cvsup was run with a tag=RELENG_5_0.

Fix: 

None at this time. I'm looking into it as time permits.
How-To-Repeat: 	cvsup a STABLE system with tag=RELENG_5_0 and buildworld.
Comment 1 Kevin Oberman 2003-01-14 19:14:46 UTC
Please close this ticket. The problem was corrupt headers on the
system due to a partial installworld that failed.
Comment 2 Bruce A. Mah freebsd_committer freebsd_triage 2003-01-14 19:57:40 UTC
State Changed
From-To: open->closed

Closed by request of submitter...thanks for following up!
Comment 3 Kevin Oberman 2003-04-07 20:53:05 UTC
Please close. The problem was due to errors in the upgrade process. (I
missed the "rm -rf /usr/include/g++".)

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634