Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Sep 2004 19:59:19 -0700
From:      Brett Schroeder <brett@brettschroeder.name>
To:        marcus@FreeBSD.org, gnome@FreeBSD.org, freebsd-ports-bugs@freebsd.org, freebsd-ports@freebsd.org
Cc:        brett@brettschroeder.name
Subject:   Syntax error causing cog 0.8.0 complie failure ?
Message-ID:  <1094093959.26635.23.camel@Anapurna.brettschroeder.name>

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

Cog failed to compile - from the error message it looks like the
compiler is comlaining about a syntax error in gnomeui.c .....but don't
take my word for it. I'm on 4-stable (last buildworld was 5 days ago),
all ports were up to date ~10 days ago.

Is this a real error or is something amiss on my machine only? Any help
always more than welcome :-)

Full output is below.

Thanks

Brett

Script started on Wed Sep  1 19:26:06 2004
Anapurna# portupgrade cog
--->  Upgrading 'cog-0.7.2' to 'cog-0.8.0' (sysutils/cog)
--->  Building '/usr/ports/sysutils/cog'
===>  Cleaning for atk-1.6.1
===>  Cleaning for unzip-5.51
===>  Cleaning for cdparanoia-3.9.8_7
===>  Cleaning for esound-0.2.35_1
===>  Cleaning for libaudiofile-0.2.6
===>  Cleaning for libiconv-1.9.2_1
===>  Cleaning for ORBit2-2.10.4
===>  Cleaning for autoconf-2.53_3
===>  Cleaning for autoconf-2.59_2
===>  Cleaning for automake-1.5_2,1
===>  Cleaning for bison-1.75_2
===>  Cleaning for fam-2.6.9_6
===>  Cleaning for gconf2-2.6.4
===>  Cleaning for gettext-0.13.1_1
===>  Cleaning for glib-2.4.6
===>  Cleaning for gmake-3.80_2
===>  Cleaning for gnomevfs2-2.6.2_1
===>  Cleaning for imake-4.4.0
===>  Cleaning for libIDL-0.8.4
===>  Cleaning for libbonobo-2.6.2
===>  Cleaning for libglade2-2.4.0
===>  Cleaning for libgnugetopt-1.2
===>  Cleaning for libtool-1.3.5_2
===>  Cleaning for libtool-1.5.8
===>  Cleaning for m4-1.4.1
===>  Cleaning for p5-gettext-1.01_4
===>  Cleaning for pkgconfig-0.15.0_1
===>  Cleaning for popt-1.7
===>  Cleaning for jpeg-6b_3
===>  Cleaning for libart_lgpl2-2.3.16
===>  Cleaning for libgnomecanvas-2.6.1.1
===>  Cleaning for png-1.2.5_8
===>  Cleaning for tiff-3.6.1_1
===>  Cleaning for python-2.3.4_2
===>  Cleaning for gnome-icon-theme-1.2.3
===>  Cleaning for gnomehier-1.0_19
===>  Cleaning for gnomemimedata-2.4.1_2
===>  Cleaning for help2man-1.33.1
===>  Cleaning for hicolor-icon-theme-0.5
===>  Cleaning for shared-mime-info-0.15
===>  Cleaning for linc-1.0.3_2
===>  Cleaning for samba-libsmbclient-3.0.6_1
===>  Cleaning for freetype2-2.1.7_3
===>  Cleaning for gnomekeyring-0.2.1_1
===>  Cleaning for libgcrypt-1.2.0_1
===>  Cleaning for libgpg-error-1.0
===>  Cleaning for docbook-sk-4.1.2_3
===>  Cleaning for docbook-xml-4.2_1
===>  Cleaning for docbook-xsl-1.65.1
===>  Cleaning for expat-1.95.8
===>  Cleaning for intltool-0.31.2
===>  Cleaning for libxml2-2.6.13
===>  Cleaning for libxslt-1.1.10
===>  Cleaning for p5-XML-Parser-2.34_1
===>  Cleaning for scrollkeeper-0.3.14_1,1
===>  Cleaning for sdocbook-xml-4.1.2.5_2
===>  Cleaning for xmlcatmgr-2.1
===>  Cleaning for XFree86-fontEncodings-4.4.0
===>  Cleaning for XFree86-fontScalable-4.4.0_1
===>  Cleaning for bitstream-vera-1.10
===>  Cleaning for fontconfig-2.2.3,1
===>  Cleaning for libXft-2.1.6
===>  Cleaning for gtk-2.4.9
===>  Cleaning for libbonoboui-2.6.1
===>  Cleaning for libgnomeui-2.6.1.1
===>  Cleaning for pango-1.4.1
===>  Cleaning for XFree86-clients-4.4.0_1
===>  Cleaning for XFree86-libraries-4.4.0
===>  Cleaning for libgnome-2.6.1.2
===>  Cleaning for startup-notification-0.7
===>  Cleaning for xterm-196_1
===>  Cleaning for cog-0.8.0
===>  Vulnerability check disabled, database not found
===>  Extracting for cog-0.8.0
>> Checksum OK for cog-0.8.0.tar.gz.
===>  Patching for cog-0.8.0
===>  Applying FreeBSD patches for cog-0.8.0
===>   cog-0.8.0 depends on executable: gmake - found
===>   cog-0.8.0 depends on file:
/usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
===>   cog-0.8.0 depends on executable: pkg-config - found
===>   cog-0.8.0 depends on file: /usr/local/bin/intltool-extract -
found
===>   cog-0.8.0 depends on shared library: X11.6 - found
===>   cog-0.8.0 depends on shared library: esd.2 - found
===>   cog-0.8.0 depends on shared library: glib-2.0.400 - found
===>   cog-0.8.0 depends on shared library: atk-1.0.600 - found
===>   cog-0.8.0 depends on shared library: pango-1.0.399 - found
===>   cog-0.8.0 depends on shared library: gtk-x11-2.0.400 - found
===>   cog-0.8.0 depends on shared library: linc.1 - found
===>   cog-0.8.0 depends on shared library: IDL-2.0 - found
===>   cog-0.8.0 depends on shared library: ORBit-2.0 - found
===>   cog-0.8.0 depends on shared library: glade-2.0.0 - found
===>   cog-0.8.0 depends on shared library: xml2.5 - found
===>   cog-0.8.0 depends on shared library: xslt.2 - found
===>   cog-0.8.0 depends on shared library: bonobo-2.0 - found
===>   cog-0.8.0 depends on shared library: gconf-2.5 - found
===>   cog-0.8.0 depends on shared library: gnomevfs-2.600 - found
===>   cog-0.8.0 depends on shared library: gnomecanvas-2.600 - found
===>   cog-0.8.0 depends on shared library: art_lgpl_2.5 - found
===>   cog-0.8.0 depends on shared library: gnome-2.600 - found
===>   cog-0.8.0 depends on shared library: bonoboui-2.0 - found
===>   cog-0.8.0 depends on shared library: gnomeui-2.600 - found
===>  Configuring for cog-0.8.0
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-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for strerror in -lcposix... no
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... (cached) none needed
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking what warning flags to pass to the C compiler... -Wall
-Wmissing-prototypes
checking what language compliance flags to pass to the C compiler...
checking for pkg-config... /usr/local/bin/pkg-config
checking for libgnomeui-2.0 >= 2.6.0 gtk+-2.0 >= 2.4.0 libglade-2.0 >=
2.3.0 gconf-2.0 >= 2.6.0... yes
checking PACKAGE_CFLAGS... -DORBIT2=1 -D_THREAD_SAFE
-I/usr/local/include/libart-2.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/orbit-2.0
-I/usr/local/include/libbonobo-2.0
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/atk-1.0
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/X11R6/include/libgnomeui-2.0 -I/usr/X11R6/include/libgnome-2.0
-I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/include/gconf/2 -I/usr/X11R6/include/libbonoboui-2.0
-I/usr/X11R6/include/gnome-vfs-2.0
-I/usr/X11R6/lib/gnome-vfs-2.0/include -I/usr/X11R6/include/pango-1.0
-I/usr/X11R6/include -I/usr/local/include/freetype2
-I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/libglade-2.0
checking PACKAGE_LIBS... -Wl,--export-dynamic -pthread
-Wl,-rpath,/usr/X11R6/lib -L/usr/local/lib -L/usr/X11R6/lib -lgnomeui-2
-lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2
-lpangoft2-1.0 -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lglade-2.0
-lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXcursor
-latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender
-lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0
-lgconf-2 -lORBit-2 -lm -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -liconv
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dgettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for catalogs to be installed...  fr
configure: creating ./config.status
config.status: creating m4/Makefile
config.status: creating cog.spec
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating pixmaps/Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing default-2 commands
===>  Building for cog-0.8.0
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/sysutils/cog/work/cog-0.8.0'
Making all in m4
gmake[2]: Entering directory `/usr/ports/sysutils/cog/work/cog-0.8.0/m4'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/sysutils/cog/work/cog-0.8.0/m4'
Making all in src
gmake[2]: Entering directory
`/usr/ports/sysutils/cog/work/cog-0.8.0/src'
cc -DHAVE_CONFIG_H -I. -I. -I..
-DPACKAGE_DATA_DIR=\""/usr/X11R6/share/gnome"\"
-DPACKAGE_LOCALE_DIR=\""/usr/X11R6/share/locale"\" -DORBIT2=1
-D_THREAD_SAFE -I/usr/local/include/libart-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/atk-1.0
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/X11R6/include/libgnomeui-2.0 -I/usr/X11R6/include/libgnome-2.0
-I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/include/gconf/2 -I/usr/X11R6/include/libbonoboui-2.0
-I/usr/X11R6/include/gnome-vfs-2.0
-I/usr/X11R6/lib/gnome-vfs-2.0/include -I/usr/X11R6/include/pango-1.0
-I/usr/X11R6/include -I/usr/local/include/freetype2
-I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/libglade-2.0	
-I/usr/local/include  -O -pipe -march=pentiumpro -c main.c
main.c: In function `main':
main.c:71: warning: passing arg 3 of `glade_xml_signal_connect' from
incompatible pointer type
main.c:72: warning: passing arg 3 of `glade_xml_signal_connect' from
incompatible pointer type
main.c:73: warning: passing arg 3 of `glade_xml_signal_connect' from
incompatible pointer type
cc -DHAVE_CONFIG_H -I. -I. -I..
-DPACKAGE_DATA_DIR=\""/usr/X11R6/share/gnome"\"
-DPACKAGE_LOCALE_DIR=\""/usr/X11R6/share/locale"\" -DORBIT2=1
-D_THREAD_SAFE -I/usr/local/include/libart-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/atk-1.0
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/X11R6/include/libgnomeui-2.0 -I/usr/X11R6/include/libgnome-2.0
-I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/include/gconf/2 -I/usr/X11R6/include/libbonoboui-2.0
-I/usr/X11R6/include/gnome-vfs-2.0
-I/usr/X11R6/lib/gnome-vfs-2.0/include -I/usr/X11R6/include/pango-1.0
-I/usr/X11R6/include -I/usr/local/include/freetype2
-I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/libglade-2.0	
-I/usr/local/include  -O -pipe -march=pentiumpro -c callbacks.c
cc -DHAVE_CONFIG_H -I. -I. -I..
-DPACKAGE_DATA_DIR=\""/usr/X11R6/share/gnome"\"
-DPACKAGE_LOCALE_DIR=\""/usr/X11R6/share/locale"\" -DORBIT2=1
-D_THREAD_SAFE -I/usr/local/include/libart-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/atk-1.0
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/X11R6/include/libgnomeui-2.0 -I/usr/X11R6/include/libgnome-2.0
-I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/include/gconf/2 -I/usr/X11R6/include/libbonoboui-2.0
-I/usr/X11R6/include/gnome-vfs-2.0
-I/usr/X11R6/lib/gnome-vfs-2.0/include -I/usr/X11R6/include/pango-1.0
-I/usr/X11R6/include -I/usr/local/include/freetype2
-I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/libglade-2.0	
-I/usr/local/include  -O -pipe -march=pentiumpro -c gconf-convenience.c
gconf-convenience.c: In function `gconf_key_get_string':
gconf-convenience.c:125: warning: assignment discards qualifiers from
pointer target type
cc -DHAVE_CONFIG_H -I. -I. -I..
-DPACKAGE_DATA_DIR=\""/usr/X11R6/share/gnome"\"
-DPACKAGE_LOCALE_DIR=\""/usr/X11R6/share/locale"\" -DORBIT2=1
-D_THREAD_SAFE -I/usr/local/include/libart-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/atk-1.0
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/X11R6/include/libgnomeui-2.0 -I/usr/X11R6/include/libgnome-2.0
-I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/include/gconf/2 -I/usr/X11R6/include/libbonoboui-2.0
-I/usr/X11R6/include/gnome-vfs-2.0
-I/usr/X11R6/lib/gnome-vfs-2.0/include -I/usr/X11R6/include/pango-1.0
-I/usr/X11R6/include -I/usr/local/include/freetype2
-I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/libglade-2.0	
-I/usr/local/include  -O -pipe -march=pentiumpro -c setup-widgets.c
cc -DHAVE_CONFIG_H -I. -I. -I..
-DPACKAGE_DATA_DIR=\""/usr/X11R6/share/gnome"\"
-DPACKAGE_LOCALE_DIR=\""/usr/X11R6/share/locale"\" -DORBIT2=1
-D_THREAD_SAFE -I/usr/local/include/libart-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/atk-1.0
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/X11R6/include/libgnomeui-2.0 -I/usr/X11R6/include/libgnome-2.0
-I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/include/gconf/2 -I/usr/X11R6/include/libbonoboui-2.0
-I/usr/X11R6/include/gnome-vfs-2.0
-I/usr/X11R6/lib/gnome-vfs-2.0/include -I/usr/X11R6/include/pango-1.0
-I/usr/X11R6/include -I/usr/local/include/freetype2
-I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/libglade-2.0	
-I/usr/local/include  -O -pipe -march=pentiumpro -c setup-gnomeui.c
setup-gnomeui.c: In function `setup_gnomeui':
setup-gnomeui.c:124: syntax error before `*'
setup-gnomeui.c:126: `homedir' undeclared (first use in this function)
setup-gnomeui.c:126: (Each undeclared identifier is reported only once
setup-gnomeui.c:126: for each function it appears in.)
setup-gnomeui.c:127: syntax error before `*'
setup-gnomeui.c:129: `gtkrc20' undeclared (first use in this function)
setup-gnomeui.c:133: `gtkrc20scrollbar' undeclared (first use in this
function)
gmake[2]: *** [setup-gnomeui.o] Error 1
gmake[2]: Leaving directory `/usr/ports/sysutils/cog/work/cog-0.8.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/sysutils/cog/work/cog-0.8.0'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/sysutils/cog.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade19941.0 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
	! sysutils/cog (cog-0.7.2)	(compiler error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
Anapurna#




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