Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2004 16:04:32 +0300 (EEST)
From:      Heikki Suonsivu <hsu@bbnetworks.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65574: gcc-3.2.3 port broken (required by openoffice-1.1)
Message-ID:  <200404151304.i3FD4Wim038530@evoluutio.bbnetworks.net>
Resent-Message-ID: <200404151310.i3FDAJiO098322@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65574
>Category:       ports
>Synopsis:       gcc-3.2.3 port broken (required by openoffice-1.1)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 15 06:10:18 PDT 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404151304.i3FD4Wim038530>