From dmw@unete.cl  Sun Oct 23 14:32:23 2005
Return-Path: <dmw@unete.cl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 972C616A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 Oct 2005 14:32:23 +0000 (GMT)
	(envelope-from dmw@unete.cl)
Received: from qmail3.ifxnetworks.com (qmail3.ifxnetworks.com [200.110.128.11])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0612343D45
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 Oct 2005 14:32:22 +0000 (GMT)
	(envelope-from dmw@unete.cl)
Received: (qmail 29970 invoked from network); 23 Oct 2005 14:32:22 -0000
Received: from unknown (HELO hopto.org) ([200.73.29.201])
          (envelope-sender <dmw@unete.cl>)
          by qmail3.ifxnetworks.com (qmail-ldap-1.03) with AES256-SHA encrypted SMTP
          for <FreeBSD-gnats-submit@freebsd.org>; 23 Oct 2005 14:32:21 -0000
Received: from hopto.org (smmsp@localhost.daemon.cl [127.0.0.1])
	by hopto.org (8.13.4/8.13.1) with ESMTP id j9NEWg6R071402
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 Oct 2005 11:32:43 -0300 (CLST)
	(envelope-from dmw@unete.cl)
Received: (from dmw@localhost)
	by hopto.org (8.13.4/8.13.1/Submit) id j9NENv6E071122;
	Sun, 23 Oct 2005 11:23:57 -0300 (CLST)
	(envelope-from dmw@unete.cl)
Message-Id: <200510231423.j9NENv6E071122@hopto.org>
Date: Sun, 23 Oct 2005 11:23:57 -0300 (CLST)
From: Daniel Molina Wegener <dmw@unete.cl>
Reply-To: Daniel Molina Wegener <dmw@unete.cl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] RELENG_5 gnu contrib make buildworld patch
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         87871
>Category:       gnu
>Synopsis:       [PATCH] RELENG_5 gnu contrib make buildworld patch
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 23 14:40:15 GMT 2005
>Closed-Date:    Sun Oct 23 22:02:38 GMT 2005
>Last-Modified:  Sun Oct 23 22:02:38 GMT 2005
>Originator:     Daniel Molina Wegener
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
DMW
>Environment:
System: FreeBSD daemon.unete.cl 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat Oct 22 01:15:30 CLST 2005 root@daemon.unete.cl:/usr/obj/usr/src/sys/PHOBOS i386

>Description:

   When the source tree is updated via cvsup using RELENG_5 branch,
and then a make buildworld command is executed, you get some errors
compiling gnu source code from the contrib modules.

>How-To-Repeat:

   # cvsup -g -L 2 stable-supfile-releng5
   # cd /usr/src
   # make buildworld

>Fix:

   Unshar the patchset attached.

   # cd /usr
   # patch < pr-20051022-gnu-patchset
   # make buildworld

   Here is the patchset.

echo x - pr-20051022-gnu-patchset
sed 's/^X//' >pr-20051022-gnu-patchset << 'END-of-pr-20051022-gnu-patchset'
X--- src/gnu/lib/libstdc++/Makefile	Wed Mar  2 01:09:38 2005
X+++ src/gnu/lib/libstdc++/Makefile.new	Fri Oct 21 20:45:43 2005
X@@ -14,6 +14,8 @@
X CFLAGS+=	-DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
X CFLAGS+=	-I${.CURDIR} -I${SUPDIR} -I${GCCDIR} -I${SRCDIR}/include
X CFLAGS+=	-frandom-seed=RepeatabilityConsideredGood
X+CXXFLAGS+=	-DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
X+CXXFLAGS+=	-I${.CURDIR} -I${SUPDIR} -I${GCCDIR} -I${SRCDIR}/include
X CXXFLAGS+=	-fno-implicit-templates -ffunction-sections -fdata-sections \
X 		-Wno-deprecated
X 
X--- src/gnu/lib/libsupc++/Makefile	Wed Jul 28 01:27:19 2004
X+++ src/gnu/lib/libsupc++/Makefile.new	Fri Oct 21 21:14:22 2005
X@@ -18,6 +18,8 @@
X 
X CFLAGS+=	-DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
X CFLAGS+=	-I${SRCDIR} -I${GCCDIR} -I${.CURDIR}/../libstdc++
X+CXXFLAGS+=	-DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
X+CXXFLAGS+=	-I${SRCDIR} -I${GCCDIR} -I${.CURDIR}/../libstdc++
X CXXFLAGS+=	-fno-implicit-templates -ffunction-sections -fdata-sections
X 
X HDRS=	exception new typeinfo cxxabi.h exception_defines.h
X--- src/gnu/usr.bin/groff/Makefile.inc	Mon Aug  4 17:31:52 2003
X+++ src/gnu/usr.bin/groff/Makefile.inc.new	Fri Oct 21 22:12:26 2005
X@@ -76,8 +76,11 @@
X LIBBIB=		${.CURDIR}/${TOPREL}/src/libs/libbib/libbib.a
X .endif
X 
X+
X CFLAGS+=	-DHAVE_CONFIG_H
X CFLAGS+=	-I${GROFF_DIST}/src/include -I${.CURDIR}/${TOPREL}/src/include
X+CXXFLAGS+=	-DHAVE_CONFIG_H
X+CXXFLAGS+=	-I${GROFF_DIST}/src/include -I${.CURDIR}/${TOPREL}/src/include
X CXXFLAGS+=	-fno-rtti -fno-exceptions
X 
X .y.o:
X--- src/gnu/usr.bin/groff/src/preproc/eqn/Makefile	Thu May  1 09:22:19 2003
X+++ src/gnu/usr.bin/groff/src/preproc/eqn/Makefile.new	Fri Oct 21 23:16:42 2005
X@@ -5,6 +5,7 @@
X 		box.cpp limit.cpp list.cpp over.cpp text.cpp \
X 		script.cpp mark.cpp other.cpp delim.cpp sqrt.cpp pile.cpp special.cpp
X CFLAGS+=	-I${DIST_DIR} -I.
X+CXXFLAGS+=	-I${DIST_DIR} -I.
X DPADD=		${LIBGROFF}
X LDADD=		${LIBGROFF}
X SCRIPTS=	neqn
X--- src/gnu/usr.bin/groff/src/preproc/pic/Makefile	Thu May  1 09:22:20 2003
X+++ src/gnu/usr.bin/groff/src/preproc/pic/Makefile.new	Fri Oct 21 23:17:26 2005
X@@ -4,6 +4,7 @@
X SRCS=		lex.cpp main.cpp object.cpp pic.cpp pic_tab.h \
X 		common.cpp troff.cpp tex.cpp
X CFLAGS+=	-I${DIST_DIR} -I.
X+CXXFLAGS+=	-I${DIST_DIR} -I.
X DPADD=		${LIBGROFF} ${LIBM}
X LDADD=		${LIBGROFF} -lm
X CLEANFILES=	${MAN} pic.cpp pic_tab.h y.tab.c y.tab.h
X--- src/gnu/usr.bin/groff/src/preproc/refer/Makefile	Thu May  1 09:22:20 2003
X+++ src/gnu/usr.bin/groff/src/preproc/refer/Makefile.new	Fri Oct 21 23:18:37 2005
X@@ -3,6 +3,7 @@
X PROG_CXX=	refer
X SRCS=		command.cpp label.cpp ref.cpp refer.cpp token.cpp
X CFLAGS+=	-I${DIST_DIR}
X+CXXFLAGS+=	-I${DIST_DIR}
X DPADD=		${LIBBIB} ${LIBGROFF} ${LIBM}
X LDADD=		${LIBBIB} ${LIBGROFF} -lm
X CLEANFILES=	label.cpp label_tab.h ${MAN} y.tab.c y.tab.h
X--- src/share/mk/bsd.dep.mk	Fri Mar 12 18:36:12 2004
X+++ src/share/mk/bsd.dep.mk.new	Fri Oct 21 20:14:28 2005
X@@ -137,6 +137,7 @@
X 
X DPSRCS+= ${SRCS}
X ${DEPENDFILE}: ${DPSRCS}
X+        @echo "mkdep for ${DEPENDFILE} on ${.CURDIR}"
X 	rm -f ${DEPENDFILE}
X .if !empty(DPSRCS:M*.[cS])
X 	${MKDEPCMD} -f ${DEPENDFILE} -a ${MKDEP} \
END-of-pr-20051022-gnu-patchset
exit

>Release-Note:
>Audit-Trail:

From: Maxim Konovalov <maxim@macomnet.ru>
To: Daniel Molina Wegener <dmw@unete.cl>
Cc: bug-followup@freebsd.org
Subject: Re: gnu/87871: [PATCH] RELENG_5 gnu contrib make buildworld patch
Date: Sun, 23 Oct 2005 20:53:53 +0400 (MSD)

 According to the tinderbox logs RELENG_5 builds OK for all supported
 arches: http://tinderbox.des.no/ .
 
 Are you sure you have nothing funny in your /etc/make.conf?  Could you
 please build the world in the following way:
 
 make __MAKE_CONF=/dev/null buildworld
 
 and show the error(s)?
 
 -- 
 Maxim Konovalov
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Oct 23 22:02:07 GMT 2005 
State-Changed-Why:  
This is now believe to have been caused by user error. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87871 
>Unformatted:
