<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>153597</bug_id>
          
          <creation_ts>2016-01-28 10:20:24 -0800</creation_ts>
          <short_desc>REGRESSION(r195743): [GTK] Build broken</short_desc>
          <delta_ts>2016-01-28 16:58:45 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>153411</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>darin</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1159759</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-01-28 10:20:24 -0800</bug_when>
    <thetext>Revision r195743 &lt;https://trac.webkit.org/changeset/195743&gt; broke the GTK+ build:

Building CXX object Tools/WebKitTestRunner/CMakeFiles/TestRunnerInjectedBundle.dir/InjectedBundle/atk/AccessibilityUIElementAtk.cpp.o
FAILED: /usr/lib/ccache/clang++   -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DDATA_DIR=\&quot;share\&quot; -DFONTS_CONF_DIR=\&quot;/home/clopez/webkit/webkit/Tools/WebKitTestRunner/gtk/fonts\&quot; -DGETTEXT_PACKAGE=\&quot;WebKit2GTK-4.0\&quot; -DHAVE_CONFIG_H=1 -DTOP_LEVEL_DIR=\&quot;/home/clopez/webkit/webkit\&quot; -DTestRunnerInjectedBundle_EXPORTS -DUSER_AGENT_GTK_MAJOR_VERSION=\&quot;602\&quot; -DUSER_AGENT_GTK_MINOR_VERSION=\&quot;1\&quot; -DWEBKITGTK_API_VERSION_STRING=\&quot;4.0\&quot; -std=c++11 -fcolor-diagnostics -Qunused-arguments -O3 -DNDEBUG -fno-exceptions -fno-strict-aliasing -fno-rtti -fPIC -I../../Tools/WebKitTestRunner -I../../Tools/WebKitTestRunner/InjectedBundle -I../../Tools/WebKitTestRunner/InjectedBundle/Bindings -I../../Tools/WebKitTestRunner/InjectedBundle/atk -I../../Tools/WebKitTestRunner/UIScriptContext -I../../Tools/WebKitTestRunner/UIScriptContext/Bindings -I../../Source/JavaScriptCore -I../../Source/JavaScriptCore/ForwardingHeaders -IDerivedSources/JavaScriptCore -I../../Source/WebCore/editing -I../../Source/WebCore/platform -I../../Source/WebCore/platform/graphics -I../../Source/WebCore/platform/graphics/harfbuzz -I../../Source/WebCore/platform/graphics/harfbuzz/ng -I../../Source/WebCore/platform/network -I../../Source/WebCore/platform/text -I../../Source/WebCore/testing/js -I../../Source/WebKit2/Platform/IPC -I../../Source/WebKit2/Shared -I../../Source/WebKit2/Shared/API/c -I../../Source/WebKit2/Shared/Plugins -I../../Source/WebKit2/UIProcess -I../../Source/WebKit2/UIProcess/API/C/soup -I../../Source/WebKit2/WebProcess/InjectedBundle -I../../Source/WebKit2/WebProcess/InjectedBundle/API/c -I../../Source/WTF -IDerivedSources/InjectedBundle -IDerivedSources/UIScriptContext -I. -I../../Source -IDerivedSources/ForwardingHeaders -I../../Source/WTF/wtf/glib -isystem ../DependenciesGTK/Root/include/libsoup-2.4 -isystem ../DependenciesGTK/Root/include/atk-1.0 -isystem ../DependenciesGTK/Root/include/cairo -isystem ../DependenciesGTK/Root/include/gtk-3.0 -isystem ../DependenciesGTK/Root/include/at-spi2-atk/2.0 -isystem ../DependenciesGTK/Root/include/gio-unix-2.0 -isystem ../DependenciesGTK/Root/include/pango-1.0 -isystem ../DependenciesGTK/Root/include/harfbuzz -isystem ../DependenciesGTK/Root/include/pixman-1 -isystem ../DependenciesGTK/Root/include/freetype2 -isystem ../DependenciesGTK/Root/include/libxml2 -isystem ../DependenciesGTK/Root/include/gdk-pixbuf-2.0 -isystem ../DependenciesGTK/Root/include/glib-2.0 -isystem ../DependenciesGTK/Root/lib/glib-2.0/include -isystem /usr/include/libdrm -isystem /usr/include/libpng12 -MMD -MT Tools/WebKitTestRunner/CMakeFiles/TestRunnerInjectedBundle.dir/InjectedBundle/atk/AccessibilityUIElementAtk.cpp.o -MF Tools/WebKitTestRunner/CMakeFiles/TestRunnerInjectedBundle.dir/InjectedBundle/atk/AccessibilityUIElementAtk.cpp.o.d -o Tools/WebKitTestRunner/CMakeFiles/TestRunnerInjectedBundle.dir/InjectedBundle/atk/AccessibilityUIElementAtk.cpp.o -c ../../Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp
../../Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:1353:12: error: no matching function for call to &apos;equalLettersIgnoringASCIICase&apos;
    return equalLettersIgnoringASCIICase(actionName, &quot;press&quot;) || equalLettersIgnoringASCIICase(actionName, &quot;jump&quot;);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../Source/WTF/wtf/text/StringCommon.h:577:50: note: candidate function template not viable: requires 3 arguments, but 2 were provided
template&lt;typename CharacterType&gt; __inline__ bool equalLettersIgnoringASCIICase(const CharacterType* characters, const char* lowercaseLetters, unsigned length)
                                                 ^
../../Source/WTF/wtf/text/StringCommon.h:586:83: note: candidate function template not viable: requires 3 arguments, but 2 were provided
template&lt;typename CharacterType, unsigned lowercaseLettersLength&gt; __inline__ bool equalLettersIgnoringASCIICase(const CharacterType* characters, unsigned charactersLength, const char (&amp;lowercaseLetters)[lowercaseLettersLength])
                                                                                  ^
../../Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:1353:66: error: no matching function for call to &apos;equalLettersIgnoringASCIICase&apos;
    return equalLettersIgnoringASCIICase(actionName, &quot;press&quot;) || equalLettersIgnoringASCIICase(actionName, &quot;jump&quot;);
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../Source/WTF/wtf/text/StringCommon.h:577:50: note: candidate function template not viable: requires 3 arguments, but 2 were provided
template&lt;typename CharacterType&gt; __inline__ bool equalLettersIgnoringASCIICase(const CharacterType* characters, const char* lowercaseLetters, unsigned length)
                                                 ^
../../Source/WTF/wtf/text/StringCommon.h:586:83: note: candidate function template not viable: requires 3 arguments, but 2 were provided
template&lt;typename CharacterType, unsigned lowercaseLettersLength&gt; __inline__ bool equalLettersIgnoringASCIICase(const CharacterType* characters, unsigned charactersLength, const char (&amp;lowercaseLetters)[lowercaseLettersLength])
                                                                                  ^
2 errors generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1159945</commentid>
    <comment_count>1</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2016-01-28 16:58:45 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; Revision r195743 &lt;https://trac.webkit.org/changeset/195743&gt; broke the GTK+
&gt; build:

Strange, it worked on EWS.

&gt; ../../Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.
&gt; cpp:1353:12: error: no matching function for call to
&gt; &apos;equalLettersIgnoringASCIICase&apos;
&gt;     return equalLettersIgnoringASCIICase(actionName, &quot;press&quot;) ||
&gt; equalLettersIgnoringASCIICase(actionName, &quot;jump&quot;);
&gt;            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I suggest considering just using strcasecmp here instead of using functions from WTF since this is only test code anyway and it doesn&apos;t seem like a WebKit-specific thing to compare one const char* to another.

Looks like Ossy fixed this in http://trac.webkit.org/changeset/195768</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>