From hsu@evoluutio.bbnetworks.net  Thu Apr 15 06:04:40 2004
Return-Path: <hsu@evoluutio.bbnetworks.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 34B0016A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Apr 2004 06:04:40 -0700 (PDT)
Received: from evoluutio.bbnetworks.net (dyn61.bbnetworks.net [212.16.96.61])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B871B43D48
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Apr 2004 06:04:38 -0700 (PDT)
	(envelope-from hsu@evoluutio.bbnetworks.net)
Received: from evoluutio.bbnetworks.net (localhost [127.0.0.1])
	by evoluutio.bbnetworks.net (8.12.11/8.12.11) with ESMTP id i3FD4WVt038531
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Apr 2004 16:04:32 +0300 (EEST)
	(envelope-from hsu@evoluutio.bbnetworks.net)
Received: (from root@localhost)
	by evoluutio.bbnetworks.net (8.12.11/8.12.11/Submit) id i3FD4Wim038530;
	Thu, 15 Apr 2004 16:04:32 +0300 (EEST)
	(envelope-from hsu)
Message-Id: <200404151304.i3FD4Wim038530@evoluutio.bbnetworks.net>
Date: Thu, 15 Apr 2004 16:04:32 +0300 (EEST)
From: Heikki Suonsivu <hsu@bbnetworks.net>
Reply-To: Heikki Suonsivu <hsu@bbnetworks.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: gcc-3.2.3 port broken (required by openoffice-1.1)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         65574
>Category:       ports
>Synopsis:       gcc-3.2.3 port broken (required by openoffice-1.1)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 15 06:10:18 PDT 2004
>Closed-Date:    Wed May 12 07:03:35 CEST 2004
>Last-Modified:  Wed May 12 07:03:35 CEST 2004
>Originator:     Heikki Suonsivu
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
bbnetworks.net
>Environment:
System: FreeBSD evoluutio.bbnetworks.net 5.2-CURRENT FreeBSD 5.2-CURRENT #16: Thu Apr 15 13:17:35 EEST 2004 hsu@evoluutio.bbnetworks.net:/usr/obj/usr/src/sys/LAPTOP i386

FreeBSD supped today

>Description:

===>   openoffice-1.1.1 depends on executable: gcc32 - not found
===>    Verifying install for gcc32 in /usr/ports/lang/gcc32
===>  Building for gcc-3.2.3_1
gmake[1]: Entering directory `/usr/ports/lang/gcc32/work/build/libiberty'
gmake[2]: Entering directory `/usr/ports/lang/gcc32/work/build/libiberty/testsuite'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/lang/gcc32/work/build/libiberty/testsuite'
gmake[1]: Leaving directory `/usr/ports/lang/gcc32/work/build/libiberty'
gmake[1]: Entering directory `/usr/ports/lang/gcc32/work/build/zlib'
: gmake ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=cc" "CFLAGS=-O -pipe -g " "CXXFLAGS=-O -pipe -g" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -O -pipe -g " "INSTALL=/bin/sh /usr/ports/lang/gcc32/work/gcc-3.2.3/install-sh -c" "INSTALL_DATA=/bin/sh /usr/ports/lang/gcc32/work/gcc-3.2.3/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /usr/ports/lang/gcc32/work/gcc-3.2.3/install-sh -c " "INSTALL_SCRIPT=/bin/sh /usr/ports/lang/gcc32/work/gcc-3.2.3/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-O -pipe -g " "LIBCFLAGS_FOR_TARGET=-O2 -O -pipe -g " "MAKE=gmake" "MAKEINFO=makeinfo --no-split  " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/info" "libdir=/usr/local/lib" "prefix=/usr/local" "tooldir=/usr/local/i386-portbld-freebsd5.2" "AR=ar" "AS=as" "CC=cc" "CXX=c++" "LD=ld" "LIBCFLAGS=-O -pipe -g " "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do
gmake[1]: Leaving directory `/usr/ports/lang/gcc32/work/build/zlib'
Bootstrapping the compiler
gmake[1]: Entering directory `/usr/ports/lang/gcc32/work/build/gcc'

Bootstrap complete - make "quickstrap" to redo last build,
"restage1" through "restage3" to rebuild specific stages,
or "cleanstrap" to redo the bootstrap from scratch.
gmake[1]: Leaving directory `/usr/ports/lang/gcc32/work/build/gcc'
Comparing stage2 and stage3 of the compiler
gmake[1]: Entering directory `/usr/ports/lang/gcc32/work/build/gcc'
rm -f .bad_compare
case "compare" in compare | compare-lean ) stage=2 ;; * ) stage=`echo compare | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
for file in *.o; do \
  tail +16c ./$file > tmp-foo1; \
  tail +16c stage$stage/$file > tmp-foo2 \
    && (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $file differs >> .bad_compare) || true; \
done
case "compare" in compare | compare-lean ) stage=2 ;; * ) stage=`echo compare | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
for dir in tmp-foo intl cp f java objc; do \
  if [ "`echo $dir/*.o`" != "$dir/*.o" ] ; then \
    for file in $dir/*.o; do \
      tail +16c ./$file > tmp-foo1; \
      tail +16c stage$stage/$file > tmp-foo2 \
        && (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $file differs >> .bad_compare) || true; \
    done; \
  else true; fi; \
done
rm -f tmp-foo*
case "compare" in compare | compare-lean ) stage=2 ;; * ) stage=`echo compare | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
if [ -f .bad_compare ]; then \
  echo "Bootstrap comparison failure!"; \
  cat .bad_compare; \
  exit 1; \
else \
  case "compare" in \
    *-lean ) rm -rf stage$stage ;; \
    *) ;; \
  esac; true; \
fi
gmake[1]: Leaving directory `/usr/ports/lang/gcc32/work/build/gcc'
Building runtime libraries
gmake[1]: Entering directory `/usr/ports/lang/gcc32/work/build'
gmake[2]: Entering directory `/usr/ports/lang/gcc32/work/build/libiberty'
gmake[3]: Entering directory `/usr/ports/lang/gcc32/work/build/libiberty/testsuite'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/ports/lang/gcc32/work/build/libiberty/testsuite'
gmake[2]: Leaving directory `/usr/ports/lang/gcc32/work/build/libiberty'
gmake[2]: Entering directory `/usr/ports/lang/gcc32/work/build/zlib'
: gmake ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=cc" "CFLAGS=-O -pipe -g " "CXXFLAGS=-O -pipe -g" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -O -pipe -g " "INSTALL=/bin/sh /usr/ports/lang/gcc32/work/gcc-3.2.3/install-sh -c" "INSTALL_DATA=/bin/sh /usr/ports/lang/gcc32/work/gcc-3.2.3/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /usr/ports/lang/gcc32/work/gcc-3.2.3/install-sh -c " "INSTALL_SCRIPT=/bin/sh /usr/ports/lang/gcc32/work/gcc-3.2.3/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-O -pipe -g " "LIBCFLAGS_FOR_TARGET=-O2 -O -pipe -g " "MAKE=gmake" "MAKEINFO=makeinfo --no-split   " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/info" "libdir=/usr/local/lib" "prefix=/usr/local" "tooldir=/usr/local/i386-portbld-freebsd5.2" "AR=ar" "AS=as" "CC=cc" "CXX=c++" "LD=ld" "LIBCFLAGS=-O -pipe -g " "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do
gmake[2]: Leaving directory `/usr/ports/lang/gcc32/work/build/zlib'
gmake[2]: Entering directory `/usr/ports/lang/gcc32/work/build/fastjar'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/lang/gcc32/work/build/fastjar'
gmake[2]: Entering directory `/usr/ports/lang/gcc32/work/build/gcc'
(cd intl && gmake all)
gmake[3]: Entering directory `/usr/ports/lang/gcc32/work/build/gcc/intl'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/ports/lang/gcc32/work/build/gcc/intl'
if [ -f specs.ready ] ; then \
	true; \
else \
	echo timestamp > specs.ready; \
fi
gmake GCC_FOR_TARGET="/usr/ports/lang/gcc32/work/build/gcc/xgcc -B/usr/ports/lang/gcc32/work/build/gcc/ -B/usr/local/i386-portbld-freebsd5.2/bin/ -B/usr/local/i386-portbld-freebsd5.2/lib/ -isystem /usr/local/i386-portbld-freebsd5.2/include" \
  HOST_PREFIX="" HOST_PREFIX_1="loser-" \
  AR_FOR_TARGET="ar" \
  AR_CREATE_FOR_TARGET="ar  rc" \
  AR_FLAGS_FOR_TARGET="" \
  CFLAGS="-O -pipe -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long" \
  RANLIB_FOR_TARGET="ranlib" \
  RANLIB_TEST_FOR_TARGET="[ -f ranlib ] || ( [ "i386-portbld-freebsd5.2" = "i386-portbld-freebsd5.2" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" \
  NM_FOR_TARGET="nm" AWK="nawk" \
  LIBGCC2_CFLAGS="-O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -fPIC -pthread -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED " \
  INCLUDES="-I. -I. -I.././..//gcc-3.2.3/gcc -I.././..//gcc-3.2.3/gcc/. -I.././..//gcc-3.2.3/gcc/config -I.././..//gcc-3.2.3/gcc/../include" \
  CONFIG_H="tconfig.h " MACHMODE_H="machmode.h machmode.def" \
  LIB1ASMSRC='' \
  MAKEOVERRIDES= \
  -f libgcc.mk all
gmake[3]: Entering directory `/usr/ports/lang/gcc32/work/build/gcc'
for d in libgcc; do \
  if [ -d $d ]; then true; else /bin/sh .././..//gcc-3.2.3/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
gmake[3]: Leaving directory `/usr/ports/lang/gcc32/work/build/gcc'
gmake[2]: Leaving directory `/usr/ports/lang/gcc32/work/build/gcc'
gmake[2]: Entering directory `/usr/ports/lang/gcc32/work/build/i386-portbld-freebsd5.2/libiberty'
if [ x"" != x ]; then \
  /usr/ports/lang/gcc32/work/build/gcc/xgcc -B/usr/ports/lang/gcc32/work/build/gcc/ -B/usr/local/i386-portbld-freebsd5.2/bin/ -B/usr/local/i386-portbld-freebsd5.2/lib/ -isystem /usr/local/i386-portbld-freebsd5.2/include -c -DHAVE_CONFIG_H -O2 -O -pipe -g  -I. -I../.././..//gcc-3.2.3/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../.././..//gcc-3.2.3/libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
/usr/ports/lang/gcc32/work/build/gcc/xgcc -B/usr/ports/lang/gcc32/work/build/gcc/ -B/usr/local/i386-portbld-freebsd5.2/bin/ -B/usr/local/i386-portbld-freebsd5.2/lib/ -isystem /usr/local/i386-portbld-freebsd5.2/include -c -DHAVE_CONFIG_H -O2 -O -pipe -g  -I. -I../.././..//gcc-3.2.3/libiberty/../include  -W -Wall -Wtraditional -pedantic ../.././..//gcc-3.2.3/libiberty/fibheap.c
../../../gcc-3.2.3/libiberty/fibheap.c: In function `fibheap_delete_node':
../../../gcc-3.2.3/libiberty/fibheap.c:285: `LONG_MIN' undeclared (first use in this function)
../../../gcc-3.2.3/libiberty/fibheap.c:285: (Each undeclared identifier is reported only once
../../../gcc-3.2.3/libiberty/fibheap.c:285: for each function it appears in.)
gmake[2]: *** [fibheap.o] Error 1
gmake[2]: Leaving directory `/usr/ports/lang/gcc32/work/build/i386-portbld-freebsd5.2/libiberty'
gmake[1]: *** [all-target-libiberty] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc32/work/build'
gmake: *** [bootstrap] Error 2
*** Error code 2

Stop in /usr/ports/lang/gcc32.
*** Error code 1

Stop in /usr/ports/editors/openoffice-1.1.

Script done on Thu Apr 15 15:59:01 2004

>How-To-Repeat:

cd /usr/ports/lang/gcc32 ; make all install

>Fix:

Does openoffice-1.1 really require exactly 3.2.3 ?

Possible include problem (LONG_MIN missing or not included by
gcc-3.2.3) ?

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->dinoex 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Apr 15 16:10:32 PDT 2004 
Responsible-Changed-Why:  
Over to new maintainer of lang/gcc32. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65574 
State-Changed-From-To: open->feedback 
State-Changed-By: dinoex 
State-Changed-When: Fri Apr 16 06:41:33 CEST 2004 
State-Changed-Why:  
- LONG_MIN is included here from base (limits.h) 

any error during installworld? 
can opu try to make buildworld/installworrld again? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65574 
State-Changed-From-To: feedback->open 
State-Changed-By: dinoex 
State-Changed-When: Fri Apr 16 11:00:43 CEST 2004 
State-Changed-Why:  

build on current from march sucessfull. 
I can't reproduce the problem here. 

last CUREENT still don't boot here. 
no problems on bento port-cluster so far. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=65574 
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Wed May 12 07:01:46 CEST 2004 
State-Changed-Why:  
- problem is not reporduced in currrent or bento. 
possible local file corruption in /usr/include 

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