From nobody@FreeBSD.org  Thu Jan 10 14:41:24 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id BFFD137B41B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Jan 2002 14:41:23 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g0AMfN742764;
	Thu, 10 Jan 2002 14:41:23 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200201102241.g0AMfN742764@freefall.freebsd.org>
Date: Thu, 10 Jan 2002 14:41:23 -0800 (PST)
From: Mack <macklobell@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: port panel-- doesn't compile with gcc 3.0.2
X-Send-Pr-Version: www-1.0

>Number:         33776
>Category:       ports
>Synopsis:       port panel-- doesn't compile with gcc 3.0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 10 14:50:00 PST 2002
>Closed-Date:    Sun Jun 09 11:40:49 PDT 2002
>Last-Modified:  Sun Jun 09 11:40:49 PDT 2002
>Originator:     Mack
>Release:        4.4
>Organization:
>Environment:
FreeBSD killerqueen 4.4-RELEASE-p2 FreeBSD 4.4-RELEASE-p2 #0: Fri Jan  4 11:19:14 CET 2002     root@killerqueen:/usr/src/sys/compile/KERNEL441  i386      
>Description:
When trying to build the port panel-- the make fails, see traces below.

mmake ===>  Extracting for panelmm-0.1
>How-To-Repeat:
make USE_GCC30=yes      
>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->gnome 
Responsible-Changed-By: petef 
Responsible-Changed-When: Sat Jun 8 17:46:34 PDT 2002 
Responsible-Changed-Why:  
Over to maintainers. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=33776 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Sun Jun 9 11:39:09 PDT 2002 
State-Changed-Why:  
See ports/33538 for a full explanation.  Building with anything other  
than the system compiler is not supported. 

gcc-3.0.2 never made it into -CURRENT.  Instead, 3.1 is used. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=33776 
>Unformatted:
 >> Checksum OK for panelmm-0.1.tar.gz.
 ===>   panelmm-0.1 depends on executable: gmake - found
 ===>   panelmm-0.1 depends on executable: libtool - found
 ===>   panelmm-0.1 depends on executable: gcc30 - found
 ===>   panelmm-0.1 depends on shared library: gnomemm.9 - found
 ===>   panelmm-0.1 depends on shared library: X11.6 - found
 ===>   panelmm-0.1 depends on shared library: esd.2 - found
 ===>   panelmm-0.1 depends on shared library: glib12.3 - found
 ===>   panelmm-0.1 depends on shared library: gtk12.2 - found
 ===>   panelmm-0.1 depends on shared library: Imlib.5 - found
 ===>   panelmm-0.1 depends on shared library: gnome.5 - found
 ===>   panelmm-0.1 depends on shared library: capplet.5 - found
 ===>   panelmm-0.1 depends on shared library: panel_applet.5 - found
 ===>  Patching for panelmm-0.1
 ===>  Applying FreeBSD patches for panelmm-0.1
 ===>  Configuring for panelmm-0.1
 creating cache ./config.cache
 checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
 checking whether build environment is sane... yes
 checking whether gmake sets ${MAKE}... yes
 checking for working aclocal... missing
 checking for working autoconf... missing
 checking for working automake... missing
 checking for working autoheader... missing
 checking for working makeinfo... found
 checking host system type... i386--freebsd4.4
 checking build system type... i386--freebsd4.4
 checking for ranlib... ranlib
 checking for gcc... gcc30
 checking whether the C compiler (gcc30 -O3 -mpentiumpro -pipe  ) works... yes
 checking whether the C compiler (gcc30 -O3 -mpentiumpro -pipe  ) is a cross-compiler... no
 checking whether we are using GNU C... yes
 checking whether gcc30 accepts -g... yes
 checking for ld used by GCC... /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... yes
 checking for BSD-compatible nm... /usr/bin/nm -B
 checking whether ln -s works... yes
 updating cache ./config.cache
 loading cache ./config.cache within ltconfig
 checking for object suffix... o
 checking for executable suffix... no
 checking for gcc30 option to produce PIC... -fPIC
 checking if gcc30 PIC flag -fPIC works... yes
 checking if gcc30 supports -c -o file.o... yes
 checking if gcc30 supports -c -o file.lo... yes
 checking if gcc30 supports -fno-rtti -fno-exceptions ... yes
 checking if gcc30 static flag -static works... -static
 checking if the linker (/usr/bin/ld) is GNU ld... yes
 checking whether the linker (/usr/bin/ld) supports shared libraries... yes
 checking command to parse /usr/bin/nm -B output... ok
 checking how to hardcode library paths into programs... immediate
 checking for /usr/bin/ld option to reload object files... -r
 checking dynamic linker characteristics... freebsd4.4 ld.so
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... yes
 checking for objdir... .libs
 creating libtool
 updating cache ./config.cache
 loading cache ./config.cache
 checking whether build environment is sane... yes
 checking for gcc... (cached) gcc30
 checking whether the C compiler (gcc30 -O3 -mpentiumpro -pipe  ) works... yes
 checking whether the C compiler (gcc30 -O3 -mpentiumpro -pipe  ) is a cross-compiler... no
 checking whether we are using GNU C... (cached) yes
 checking whether gcc30 accepts -g... (cached) yes
 checking for c++... g++30
 checking whether the C++ compiler (g++30  -O3 -mpentiumpro -pipe  ) works... yes
 checking whether the C++ compiler (g++30  -O3 -mpentiumpro -pipe  ) is a cross-compiler... no
 checking whether we are using GNU C++... yes
 checking whether g++30 accepts -g... yes
 checking for gnome-config... /usr/X11R6/bin/gnome-config
 checking if /usr/X11R6/bin/gnome-config works... yes
 checking for orbit-config... /usr/local/bin/orbit-config
 checking for orbit-idl... /usr/local/bin/orbit-idl
 checking for working ORBit environment... yes
 checking for gnorba libraries... yes
 checking for gtk-config... /usr/X11R6/bin/gtk12-config
 checking for GTK - version >= 1.2.0... yes
 checking for gtkmm-config... /usr/X11R6/bin/gtkmm-config
 checking for GTK-- - version >= 1.1.5... yes
 checking for applet_widget_new in -lpanel_applet... yes
 checking for applet_widget_construct in -lpanel_applet... yes
 updating cache ./config.cache
 creating ./config.status
 creating Makefile
 creating panel--/Makefile
 creating panel--/private/Makefile
 creating scripts/Makefile
 ===>  Building for panelmm-0.1
 Making all in panel--
 gmake[1]: Entering directory `/usr/ports/x11-toolkits/panel--/work/panelmm-0.1/panel--'
 Making all in private
 gmake[2]: Entering directory `/usr/ports/x11-toolkits/panel--/work/panelmm-0.1/panel--/private'
 gmake[2]: Nothing to be done for `all'.
 gmake[2]: Leaving directory `/usr/ports/x11-toolkits/panel--/work/panelmm-0.1/panel--/private'
 gmake[2]: Entering directory `/usr/ports/x11-toolkits/panel--/work/panelmm-0.1/panel--'
 /usr/X11R6/lib/gtkmm/proc/gtkmmproc --local --gnome applet ./ ./
 /bin/sh ../libtool --mode=compile g++30 -DHAVE_LIBPANEL_APPLET=1 -DHAVE_LIBPANEL_APPLET=1  -I. -I.  -I..    -O3 -mpentiumpro -pipe  -I/usr/X11R6/lib/gtkmm/include -I/usr/X11R6/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/in clude -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/X11R6/include/gtk12 -I/usr/local/include -c applet.cc
 mkdir .libs
 g++30 -DHAVE_LIBPANEL_APPLET=1 -DHAVE_LIBPANEL_APPLET=1 -I. -I. -I.. -O3 -mpentiumpro -pipe -I/usr/X11R6/lib/gtkmm/include -I/usr/X11R6/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include/gnome-1.0 -I/ usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/X11R6/include/gtk12 -I/usr/local/include -c applet.cc  -fPIC -DPIC -o .libs/applet.lo
 In file included from applet.cc:3:
 applet.h:79: parse error before `&' token
 applet.h:119: parse error before `&' token
 applet.h:123: parse error before `&' token
 applet.h:131: parse error before `&' token
 applet.h:138: parse error before `&' token
 applet.h:149: parse error before `&' token
 applet.h:151: parse error before `&' token
 applet.h:156: parse error before `&' token
 applet.cc:29: parse error before `&' token
 applet.cc:34: cannot call member function `AppletWidget* 
    Gnome::Applet::gtkobj()' without object
 applet.cc:34: `goad_id' was not declared in this scope
 applet.cc:34: ISO C++ forbids declaration of `applet_widget_construct' with no 
    type
 applet.cc:34: initializer list being treated as compound expression
 applet.cc:37: parse error before `&' token
 applet.cc: In member function `void Gnome::Applet::add_menuitem(...)':
 applet.cc:41: `callback' undeclared (first use this function)
 applet.cc:41: (Each undeclared identifier is reported only once for each 
    function it appears in.)
 applet.cc:43: `name' undeclared (first use this function)
 applet.cc:44: `caption' undeclared (first use this function)
 applet.cc: At global scope:
 applet.cc:52: parse error before `&' token
 applet.cc: In member function `void Gnome::Applet::add_menuitem_stock(...)':
 applet.cc:60: `stock_type' undeclared (first use this function)
 applet.cc: At global scope:
 applet.cc:75: parse error before `}' token
 applet.cc:77: confused by earlier errors, bailing out
 gmake[2]: *** [applet.lo] Error 1
 gmake[2]: Leaving directory `/usr/ports/x11-toolkits/panel--/work/panelmm-0.1/panel--'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/panel--/work/panelmm-0.1/panel--'
 gmake: *** [all-recursive] Error 1
 *** Error code 2
 
 Stop in /usr/ports/x11-toolkits/panel--.
 *** Error code 1
 
 Stop in /usr/ports/x11-toolkits/panel--.
 *** Error code 1
 
 Stop in /usr/ports/x11-toolkits/panel--.
       
