When compiling webkit-gtk-1.1.7 (version 1.3, Sun May 24 13:56:31 2009 UTC, prior version version 1.2, Sat May 23 20:10:57 2009 UTC compiled fine) with "debug" USE flag enabled, this error occurs : ./doltlibtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DWTF_USE_ICU_UNICODE=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DUSE_SYSTEM_MALLOC -DXP_UNIX -I./JavaScriptCore -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/parser -I./JavaScriptCore/wtf -I./DerivedSources -I./JavaScriptCore/API -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/interpreter -I./JavaScriptCore/bytecode -I./JavaScriptCore/bytecompiler -I./JavaScriptCore/debugger -I./JavaScriptCore/jit -I./JavaScriptCore/pcre -I./JavaScriptCore/profiler -I./JavaScriptCore/runtime -I./JavaScriptCore/wrec -I./JavaScriptCore/jit -I./JavaScriptCore/assembler -I./JavaScriptCore/wtf/unicode -I./JavaScriptCore/yarr -I./JavaScriptCore/pcre -I./JavaScriptCore/parser -I./JavaScriptCore/runtime -fvisibility-inlines-hidden -fno-rtti -fstrict-aliasing -O3 -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 -Wno-parentheses -fno-exceptions -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include -march=native -O3 -pipe -msse3 -g -O0 -MT JavaScriptCore/runtime/libJavaScriptCore_la-BooleanConstructor.lo -MD -MP -MF JavaScriptCore/runtime/.deps/libJavaScriptCore_la-BooleanConstructor.Tpo -c -o JavaScriptCore/runtime/libJavaScriptCore_la-BooleanConstructor.lo `test -f 'JavaScriptCore/runtime/BooleanConstructor.cpp' || echo './'`JavaScriptCore/runtime/BooleanConstructor.cpp JavaScriptCore/debugger/Debugger.cpp: In member function 'void JSC::Debugger::recompileAllJSFunctions(JSC::JSGlobalData*, bool)': JavaScriptCore/debugger/Debugger.cpp:68: error: incomplete type 'JSC::JSFunction' used in nested name specifier JavaScriptCore/debugger/Debugger.cpp:69: error: invalid static_cast from type 'JSC::JSCell*' to type 'JSC::JSFunction*' JavaScriptCore/debugger/Debugger.cpp:70: error: invalid use of incomplete type 'struct JSC::JSFunction' ./JavaScriptCore/runtime/NativeFunctionWrapper.h:31: error: forward declaration of 'struct JSC::JSFunction' JavaScriptCore/debugger/Debugger.cpp:86: error: invalid use of incomplete type 'struct JSC::JSFunction' ./JavaScriptCore/runtime/NativeFunctionWrapper.h:31: error: forward declaration of 'struct JSC::JSFunction' JavaScriptCore/debugger/Debugger.cpp:89: error: invalid use of incomplete type 'struct JSC::JSFunction' ./JavaScriptCore/runtime/NativeFunctionWrapper.h:31: error: forward declaration of 'struct JSC::JSFunction' JavaScriptCore/debugger/Debugger.cpp:93: error: invalid use of incomplete type 'struct JSC::JSFunction' ./JavaScriptCore/runtime/NativeFunctionWrapper.h:31: error: forward declaration of 'struct JSC::JSFunction' JavaScriptCore/debugger/Debugger.cpp:101: error: invalid use of incomplete type 'struct JSC::JSFunction' ./JavaScriptCore/runtime/NativeFunctionWrapper.h:31: error: forward declaration of 'struct JSC::JSFunction' JavaScriptCore/debugger/Debugger.cpp:103: error: invalid use of incomplete type 'struct JSC::JSFunction' ./JavaScriptCore/runtime/NativeFunctionWrapper.h:31: error: forward declaration of 'struct JSC::JSFunction' ./JavaScriptCore/runtime/Protect.h: In constructor 'JSC::ProtectedPtr<T>::ProtectedPtr(T*) [with T = JSC::JSFunction]': ./JavaScriptCore/wtf/Vector.h:811: instantiated from 'void WTF::Vector<T, inlineCapacity>::append(const U&) [with U = JSC::JSFunction*, T = JSC::ProtectedPtr<JSC::JSFunction>, long unsigned int inlineCapacity = 0ul]' JavaScriptCore/debugger/Debugger.cpp:72: instantiated from here ./JavaScriptCore/runtime/Protect.h:116: error: cannot convert 'JSC::JSFunction*' to 'JSC::JSCell*' for argument '1' to 'void JSC::gcProtectNullTolerant(JSC::JSCell*)' ./JavaScriptCore/runtime/Protect.h: In destructor 'JSC::ProtectedPtr<T>::~ProtectedPtr() [with T = JSC::JSFunction]': ./JavaScriptCore/wtf/Vector.h:80: instantiated from 'static void WTF::VectorDestructor<true, T>::destruct(T*, T*) [with T = JSC::ProtectedPtr<JSC::JSFunction>]' ./JavaScriptCore/wtf/Vector.h:235: instantiated from 'static void WTF::VectorTypeOperations<T>::destruct(T*, T*) [with T = JSC::ProtectedPtr<JSC::JSFunction>]' ./JavaScriptCore/wtf/Vector.h:713: instantiated from 'void WTF::Vector<T, inlineCapacity>::shrink(size_t) [with T = JSC::ProtectedPtr<JSC::JSFunction>, long unsigned int inlineCapacity = 0ul]' ./JavaScriptCore/wtf/Vector.h:462: instantiated from 'WTF::Vector<T, inlineCapacity>::~Vector() [with T = JSC::ProtectedPtr<JSC::JSFunction>, long unsigned int inlineCapacity = 0ul]' JavaScriptCore/debugger/Debugger.cpp:65: instantiated from here ./JavaScriptCore/runtime/Protect.h:127: error: cannot convert 'JSC::JSFunction*' to 'JSC::JSCell*' for argument '1' to 'void JSC::gcUnprotectNullTolerant(JSC::JSCell*)' ./JavaScriptCore/runtime/Protect.h: In copy constructor 'JSC::ProtectedPtr<T>::ProtectedPtr(const JSC::ProtectedPtr<T>&) [with T = JSC::JSFunction]': ./JavaScriptCore/wtf/Vector.h:121: instantiated from 'static void WTF::VectorMover<false, T>::move(const T*, const T*, T*) [with T = JSC::ProtectedPtr<JSC::JSFunction>]' ./JavaScriptCore/wtf/Vector.h:245: instantiated from 'static void WTF::VectorTypeOperations<T>::move(const T*, const T*, T*) [with T = JSC::ProtectedPtr<JSC::JSFunction>]' ./JavaScriptCore/wtf/Vector.h:737: instantiated from 'void WTF::Vector<T, inlineCapacity>::reserveCapacity(size_t) [with T = JSC::ProtectedPtr<JSC::JSFunction>, long unsigned int inlineCapacity = 0ul]' ./JavaScriptCore/wtf/Vector.h:672: instantiated from 'void WTF::Vector<T, inlineCapacity>::expandCapacity(size_t) [with T = JSC::ProtectedPtr<JSC::JSFunction>, long unsigned int inlineCapacity = 0ul]' ./JavaScriptCore/wtf/Vector.h:690: instantiated from 'U* WTF::Vector<T, inlineCapacity>::expandCapacity(size_t, U*) [with U = JSC::JSFunction* const, T = JSC::ProtectedPtr<JSC::JSFunction>, long unsigned int inlineCapacity = 0ul]' ./JavaScriptCore/wtf/Vector.h:797: instantiated from 'void WTF::Vector<T, inlineCapacity>::append(const U&) [with U = JSC::JSFunction*, T = JSC::ProtectedPtr<JSC::JSFunction>, long unsigned int inlineCapacity = 0ul]' JavaScriptCore/debugger/Debugger.cpp:72: instantiated from here ./JavaScriptCore/runtime/Protect.h:122: error: cannot convert 'JSC::JSFunction*' to 'JSC::JSCell*' for argument '1' to 'void JSC::gcProtectNullTolerant(JSC::JSCell*)' make[1]: *** [JavaScriptCore/debugger/libJavaScriptCore_la-Debugger.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... mv -f JavaScriptCore/runtime/.deps/libJavaScriptCore_la-BooleanConstructor.Tpo JavaScriptCore/runtime/.deps/libJavaScriptCore_la-BooleanConstructor.Plo JavaScriptCore/runtime/ArrayConstructor.cpp: In function 'JSC::JSObject* JSC::constructArrayWithSizeQuirk(JSC::ExecState*, const JSC::ArgList&)': JavaScriptCore/runtime/ArrayConstructor.cpp:52: error: 'RangeError' was not declared in this scope JavaScriptCore/runtime/ArrayConstructor.cpp:52: error: 'throwError' was not declared in this scope make[1]: *** [JavaScriptCore/runtime/libJavaScriptCore_la-ArrayConstructor.lo] Error 1 make[1]: Leaving directory `/var/tmp/paludis/net-libs-webkit-gtk-1.1.7/work/webkit-1.1.7' make: *** [all] Error 2 /usr/libexec/paludis/utils/emake: emake returned error 2 !!! ERROR in net-libs/webkit-gtk-1.1.7: !!! In default_src_compile at line 27 !!! emake failed paludis --info is following Reproducible: Always Without "debug" USE flag, compilation works fine.
Created attachment 192343 [details] paludis --info net-libs/webkit-gtk
Not sure this one still happens with webkit-gtk-1.1.10, but apparently there might be different issues with USE=debug anyhow in 1.1.10 still per bug 278517. Re-assigning to current maintainers
*** Bug 278517 has been marked as a duplicate of this bug. ***
Status update: Without debug flag webkit-gtk-1.1.10 emerges without problems. With debug it still doeesn't work.
*** This bug has been marked as a duplicate of bug 295318 ***