<?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>88223</bug_id>
          
          <creation_ts>2012-06-04 04:11:16 -0700</creation_ts>
          <short_desc>[Qt] Fix -Werror for the buildbots</short_desc>
          <delta_ts>2014-02-03 03:21:08 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hausmann</cc>
    
    <cc>kbalazs</cc>
    
    <cc>ossy</cc>
    
    <cc>vestbo</cc>
    
    <cc>zarvai</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>640462</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-06-04 04:11:16 -0700</bug_when>
    <thetext>After http://trac.webkit.org/changeset/119269 
none of our buildbot uses -Werror. :-/

The problem is that qt_developer_build doesn&apos;t exist for Qt 4.8 build at all,
and our build script doesn&apos;t use -developer-build for Qt 5 builds:
https://github.com/ossy-szeged/qt5-tools (Because nobody asked we should use it.)

I tried to build a new Qt5 with -developer-build option and then build Webkit with it,
but unfortunately the WebKit build faild with the following error message:
cp: cannot create regular file `/usr/local/Trolltech/Qt5/Qt-5.0.0-r33/mkspecs/modules/qt_webkit.pri&apos;: Permission denied

I have no idea why WebKit build wants copy anything into Qt install directory,
but it isn&apos;t a good idea to let build-webkit write anything into Qt install dir.

Any idea how can we enable Werror on the bots again?
What if we enable -Werror for 4.8 builds until proper fix?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>640469</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-06-04 04:31:24 -0700</bug_when>
    <thetext>Of course we can add an environment to the bots: (buildbots and EWS)
export BUILD_WEBKIT_ARGS=&quot;QMAKE_CXXFLAGS+=-Werror&quot;

But it won&apos;t force developers to use Werror ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>646837</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-06-12 04:59:03 -0700</bug_when>
    <thetext>Balázs ran into this problem, because somebody broke the Werror build, but we don&apos;t have Werror EWS and buildbots ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>647006</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-06-12 09:31:11 -0700</bug_when>
    <thetext>discussion about it:

&lt;kbalazs&gt; torarne: couldn&apos;t we autodetect custom toochains?
&lt;torarne&gt; right, we should probably remove that qt_developer_build check
&lt;torarne&gt; it&apos;s too limiting. webkit should probably always be in &quot;developer mode&quot;, regardless of how qt was built
&lt;torarne&gt; and in some cases it will be in &quot;production&quot; mode, eg when building as part of qt5.git with a non-dev-mode qt
&lt;torarne&gt; Ossy: rs=me on reverting this part for now http://trac.webkit.org/changeset/119269/trunk/Tools/qmake/mkspecs/features/unix/default_post.prf
&lt;Ossy&gt; torarne, or what if we remove this developer checking and we add after importing WebKit as Qt5 module?
&lt;torarne&gt; Ossy: yes. well, we should keep the code the same, and have a flag or CONFIG+=production, but in practice the qt-import will behave slightly differently

enable Werror again landed in http://trac.webkit.org/changeset/120083</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>975468</commentid>
    <comment_count>4</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2014-02-03 03:21:08 -0800</bug_when>
    <thetext>=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>