firefox build error

Laurence Sanford lauasanf at wilderness.homeip.net
Sun Nov 26 07:36:10 PST 2006


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?



More information about the freebsd-questions mailing list