[Webkit-unassigned] [Bug 18442] New: Build fails in WebCore/css/CSSParser.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 12 13:57:50 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18442

           Summary: Build fails in WebCore/css/CSSParser.cpp
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: PC
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adam.hoka at gmail.com


I have tried to compile the snapshot WebKit-r31823, and I have encountered the
following error:

=========SNIPPET==========
gmake[1]: Entering directory `/tnf/pkgsrc/wip/webkit-gtk/work/WebKit-r31823'
/bin/sh ./libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. 
-DWTF_USE_ICU_UNICODE=1 -DBUILDING_GTK__=1 -DWTF_CHANGES  -DXP_UNIX -DNDEBUG   
 -I./WebCore -I./WebCore/platform -I./WebCore/platform/network
-I./WebCore/platform/graphics -I./WebCore/platform/text -I./WebCore/loader
-I./WebCore/loader/archive -I./WebCore/loader/icon -I./WebCore/css
-I./WebCore/dom -I./WebCore/page -I./WebCore/bridge -I./WebCore/bridge/c
-I./WebCore/editing -I./WebCore/history -I./WebCore/xml -I./WebCore/html
-I./WebCore/bindings/js -I./WebCore/platform/image-decoders
-I./WebCore/platform/image-decoders/bmp -I./WebCore/platform/image-decoders/gif
-I./WebCore/platform/image-decoders/ico
-I./WebCore/platform/image-decoders/jpeg
-I./WebCore/platform/image-decoders/png -I./WebCore/platform/image-decoders/xbm
-I./WebCore/plugins -I./WebCore/rendering -I./WebCore/bindings/js
-DWTF_USE_CURL=1 -I./WebCore/platform/network/curl 
-DENABLE_CROSS_DOCUMENT_MESSAGING=1 -DENABLE_DATABASE=1
-I./WebCore/platform/sql -I./WebCore/storage  -DENABLE_ICONDATABASE=1  
-DENABLE_XPATH=1 -DENABLE_XSLT=1        -I./JavaScriptCore
-I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/wtf
-I./JavaScriptCore/kjs -I./DerivedSources -I./JavaScriptCore/ForwardingHeaders
-I./JavaScriptCore/wtf/unicode -I./JavaScriptCore/pcre -I./JavaScriptCore/kjs 
-I./WebKit/gtk/webkit -DBUILDING_CAIRO__=1 -DBUILD_WEBKIT
-I./WebCore/platform/gtk -I./WebCore/platform/graphics/gtk
-I./WebCore/platform/graphics/cairo -I./WebCore/loader/gtk -I./WebCore/page/gtk
-I./WebKit/gtk -I./WebKit/gtk/WebCoreSupport -I./WebKit/gtk/webkit
-DUSE_FREETYPE=1   -I/usr/pkg/include -I/usr/pkg/include/freetype2
-I/usr/include/krb5 -DLDAP_DEPRECATED -I/usr/include -fno-strict-aliasing
-fvisibility-inlines-hidden -fno-rtti -Wall -W -Wcast-align -Wchar-subscripts
-Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef
-Wmissing-format-attribute -Wpointer-arith -Wwrite-strings
-Wno-unused-parameter -fno-exceptions -fvisibility=hidden -pthread
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -D_REENTRANT
-I/usr/pkg/include -D_POSIX_THREAD_SAFE_FUNCTIONS -I/usr/pkg/include/gtk-2.0
-I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0
-I/usr/pkg/include/cairo -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12
-I/usr/pkg/include/libxml2   -I/usr/pkg/include    -I/usr/pkg/include   
-I/usr/pkg/include -I/usr/pkg/include/libxml2     -O2 -march=i686
-I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include/krb5
-DLDAP_DEPRECATED -I/usr/include -MT WebCore/css/libWebCore_la-CSSParser.lo -MD
-MP -MF WebCore/css/.deps/libWebCore_la-CSSParser.Tpo -c -o
WebCore/css/libWebCore_la-CSSParser.lo `test -f 'WebCore/css/CSSParser.cpp' ||
echo './'`WebCore/css/CSSParser.cpp
 c++ -DHAVE_CONFIG_H -I. -DWTF_USE_ICU_UNICODE=1 -DBUILDING_GTK__=1
-DWTF_CHANGES -DXP_UNIX -DNDEBUG -I./WebCore -I./WebCore/platform
-I./WebCore/platform/network -I./WebCore/platform/graphics
-I./WebCore/platform/text -I./WebCore/loader -I./WebCore/loader/archive
-I./WebCore/loader/icon -I./WebCore/css -I./WebCore/dom -I./WebCore/page
-I./WebCore/bridge -I./WebCore/bridge/c -I./WebCore/editing -I./WebCore/history
-I./WebCore/xml -I./WebCore/html -I./WebCore/bindings/js
-I./WebCore/platform/image-decoders -I./WebCore/platform/image-decoders/bmp
-I./WebCore/platform/image-decoders/gif -I./WebCore/platform/image-decoders/ico
-I./WebCore/platform/image-decoders/jpeg
-I./WebCore/platform/image-decoders/png -I./WebCore/platform/image-decoders/xbm
-I./WebCore/plugins -I./WebCore/rendering -I./WebCore/bindings/js
-DWTF_USE_CURL=1 -I./WebCore/platform/network/curl
-DENABLE_CROSS_DOCUMENT_MESSAGING=1 -DENABLE_DATABASE=1
-I./WebCore/platform/sql -I./WebCore/storage -DENABLE_ICONDATABASE=1
-DENABLE_XPATH=1 -DENABLE_XSLT=1 -I./JavaScriptCore
-I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/wtf
-I./JavaScriptCore/kjs -I./DerivedSources -I./JavaScriptCore/ForwardingHeaders
-I./JavaScriptCore/wtf/unicode -I./JavaScriptCore/pcre -I./JavaScriptCore/kjs
-I./WebKit/gtk/webkit -DBUILDING_CAIRO__=1 -DBUILD_WEBKIT
-I./WebCore/platform/gtk -I./WebCore/platform/graphics/gtk
-I./WebCore/platform/graphics/cairo -I./WebCore/loader/gtk -I./WebCore/page/gtk
-I./WebKit/gtk -I./WebKit/gtk/WebCoreSupport -I./WebKit/gtk/webkit
-DUSE_FREETYPE=1 -I/usr/pkg/include -I/usr/pkg/include/freetype2
-I/usr/include/krb5 -DLDAP_DEPRECATED -I/usr/include -fno-strict-aliasing
-fvisibility-inlines-hidden -fno-rtti -Wall -W -Wcast-align -Wchar-subscripts
-Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef
-Wmissing-format-attribute -Wpointer-arith -Wwrite-strings
-Wno-unused-parameter -fno-exceptions -fvisibility=hidden -pthread
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -D_REENTRANT
-I/usr/pkg/include -D_POSIX_THREAD_SAFE_FUNCTIONS -I/usr/pkg/include/gtk-2.0
-I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0
-I/usr/pkg/include/cairo -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12
-I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include
-I/usr/pkg/include -I/usr/pkg/include/libxml2 -O2 -march=i686
-I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include/krb5
-DLDAP_DEPRECATED -I/usr/include -MT WebCore/css/libWebCore_la-CSSParser.lo -MD
-MP -MF WebCore/css/.deps/libWebCore_la-CSSParser.Tpo -c
WebCore/css/CSSParser.cpp  -fPIC -DPIC -o
WebCore/css/.libs/libWebCore_la-CSSParser.o
WebCore/css/tokenizer.flex: In member function 'int WebCore::CSSParser::lex()':
WebCore/css/tokenizer.flex:6: warning: unused variable 'yy_current_state'
WebCore/css/tokenizer.flex:7: warning: unused variable 'yy_cp'
WebCore/css/tokenizer.flex:7: warning: unused variable 'yy_bp'
WebCore/css/tokenizer.flex:8: warning: unused variable 'yy_act'
WebCore/css/CSSParser.cpp: At global scope:
WebCore/css/CSSParser.cpp:4023: error: expected `}' at end of input
gmake[1]: *** [WebCore/css/libWebCore_la-CSSParser.lo] Error 1
gmake[1]: Leaving directory `/tnf/pkgsrc/wip/webkit-gtk/work/WebKit-r31823'
gmake: *** [all] Error 2
*** Error code 2
=========SNIPPET==========

The build system is:

replaced$ uname -a
NetBSD grimnismal.regius.local 4.99.55 NetBSD 4.99.55 (GRIMNISMAL) #0: Mon Mar 
3 10:43:13 CET 2008 
replaced at grimnismal.hoka.micronet.pipenet.hu:/usr/build/obj/sys/arch/i386/compile/GRIMNISMAL
i386
replaced$ gcc -v
Using built-in specs.
Target: i386--netbsdelf
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure
--enable-long-long --disable-multilib --enable-threads --disable-symvers
--build=x86_64-unknown-netbsd4.99.52 --host=i386--netbsdelf
--target=i386--netbsdelf --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080202 prerelease (NetBSD nb1 20080202)

Any ideas?


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list