From owner-freebsd-questions@FreeBSD.ORG Sun Nov 26 15:36:10 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D499916A412; Sun, 26 Nov 2006 15:36:10 +0000 (UTC) (envelope-from lauasanf@wilderness.homeip.net) Received: from mtao01.charter.net (mtao01.charter.net [209.225.8.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF6C343D5A; Sun, 26 Nov 2006 15:35:15 +0000 (GMT) (envelope-from lauasanf@wilderness.homeip.net) Received: from aa02.charter.net ([10.20.200.154]) by mtao01.charter.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20061126153609.SHBJ1474.mtao01.charter.net@aa02.charter.net>; Sun, 26 Nov 2006 10:36:09 -0500 Received: from [192.168.1.6] (really [24.159.55.136]) by aa02.charter.net with ESMTP id <20061126153609.ERLA10028.aa02.charter.net@[192.168.1.6]>; Sun, 26 Nov 2006 10:36:09 -0500 Message-ID: <4569B463.9020604@wilderness.homeip.net> Date: Sun, 26 Nov 2006 09:36:03 -0600 From: Laurence Sanford User-Agent: Thunderbird 1.5.0.8 (X11/20061118) MIME-Version: 1.0 To: questions@freebsd.org References: <45626DE3.9040507@wilderness.homeip.net> <448xi3fp66.fsf@be-well.ilk.org> <4564BA54.1060200@wilderness.homeip.net> <44ac2e5lql.fsf@be-well.ilk.org> In-Reply-To: <44ac2e5lql.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Chzlrs: 0 Cc: gnome@freebsd.org Subject: Re: firefox build error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Nov 2006 15:36:10 -0000 Lowell Gilbert wrote: > By "same error," do you mean syntax errors in Intrinsic.h, as included > from gtk2xtbin.h:44, as included from from gtk2xtbin.c? > > Do you have any Gecko mentions in your make.conf? > /etc/make.conf: # added by use.perl 2006-04-25 14:48:09 PERL_VER=5.8.8 PERL_VERSION=5.8.8 portupgrade firefox yields: cc -o gtk2xtbin.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD6\" -DOSARCH=\"FreeBSD\" -DBUILD_ID=0000000000 -D_IMPL_GTKXTBIN_API -DUSE_XIM -I../../../dist/include/xpcom -I../../../dist/include/gtkxtbin -I../../../dist/include -I/usr/local/include/nspr -I/usr/local/include -I/usr/local/include -I/usr/include -I../../../dist/sdk/include -I. -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -O2 -pipe -DNDEBUG -DTRIMMED -O2 -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -include ../../../mozilla-config.h -DMOZILLA_CLIENT gtk2xtbin.c In file included from gtk2xtbin.h:44, from gtk2xtbin.c:46: /usr/X11R6/include/X11/Intrinsic.h:1181: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1325: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1392: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1399: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1423: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1475: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1498: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1572: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1593: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1604: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1615: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1630: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1645: error: syntax error before "_X_SENTINEL" gtk2xtbin.c:188: warning: initialization from incompatible pointer type gtk2xtbin.c: In function `xt_client_create': gtk2xtbin.c:566: warning: implicit declaration of function `XtVaCreateWidget' gtk2xtbin.c:568: warning: assignment makes pointer from integer without a cast gmake[2]: *** [gtk2xtbin.o] Error 1 gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/widget/src/gtkxtbin' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/firefox. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.24853.0 env PORT_UPGRADE=yes make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! www/firefox (firefox-1.5.0.7,1) (bad C++ code) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed portupgrade thunderbird yields: cc -o gtk2xtbin.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD6\" -DOSARCH=\"FreeBSD\" -DBUILD_ID=0000000000 -D_IMPL_GTKXTBIN_API -DUSE_XIM -I../../../dist/include/xpcom -I../../../dist/include/gtkxtbin -I../../../dist/include -I/usr/local/include/nspr -I/usr/local/include -I/usr/local/include -I../../../dist/sdk/include -I. -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -O2 -fno-strict-aliasing -pipe -I/usr/X11R6/include -O2 -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O2 -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -include ../../../mozilla-config.h -DMOZILLA_CLIENT gtk2xtbin.c In file included from gtk2xtbin.h:44, from gtk2xtbin.c:46: /usr/X11R6/include/X11/Intrinsic.h:1181: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1325: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1392: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1399: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1423: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1475: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1498: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1572: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1593: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1604: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1615: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1630: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1645: error: syntax error before "_X_SENTINEL" gtk2xtbin.c:188: warning: initialization from incompatible pointer type gtk2xtbin.c: In function `xt_client_create': gtk2xtbin.c:566: warning: implicit declaration of function `XtVaCreateWidget' gtk2xtbin.c:568: warning: assignment makes pointer from integer without a cast gmake[2]: *** [gtk2xtbin.o] Error 1 gmake[2]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla/widget/src/gtkxtbin' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/mail/thunderbird. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.31820.0 env PORT_UPGRADE=yes make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! mail/thunderbird (thunderbird-1.5.0.7) (bad C++ code) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed As it happens, there are a number of other ports on this same system that fail with errors due to Intrinsic.h as well. Would something like the output of 'pkg_version | grep \<' help any?