<?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>143753</bug_id>
          
          <creation_ts>2015-04-15 06:11:13 -0700</creation_ts>
          <short_desc>[GTK][W32] WTF tries to include non-existent WTFHeaderDetection.h</short_desc>
          <delta_ts>2017-03-11 10:59:41 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="LRN">lrn1986</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>bfulgham</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>commit-queue</cc>
    
    <cc>lrn1986</cc>
    
    <cc>peavo</cc>
    
    <cc>roger_fong</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1085448</commentid>
    <comment_count>0</comment_count>
    <who name="LRN">lrn1986</who>
    <bug_when>2015-04-15 06:11:13 -0700</bug_when>
    <thetext>WTF/WTFHeaderDetection.h seems to be from some other universe,
there are no rules to generate it in webkit-2.4, except for MSVS projects.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1085472</commentid>
    <comment_count>1</comment_count>
      <attachid>250788</attachid>
    <who name="LRN">lrn1986</who>
    <bug_when>2015-04-15 07:33:34 -0700</bug_when>
    <thetext>Created attachment 250788
[GTK][W32] Don&apos;t include non-existing WTF/WTFHeaderDetection.h in 2.4.x

WTF/WTFHeaderDetection.h seems to be from some other universe,
there are no rules to generate it in webkit-2.4, except for MSVS projects.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1085475</commentid>
    <comment_count>2</comment_count>
      <attachid>250788</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-04-15 08:10:51 -0700</bug_when>
    <thetext>Comment on attachment 250788
[GTK][W32] Don&apos;t include non-existing WTF/WTFHeaderDetection.h in 2.4.x

View in context: https://bugs.webkit.org/attachment.cgi?id=250788&amp;action=review

&gt; Source/WTF/ChangeLog:15
&gt; +        [W32] Change printf format attribute to gnu_printf, MinGW compatibility
&gt; +
&gt; +        &quot;printf&quot; means &quot;gnu_printf&quot; when compiling for non-Windows and means
&gt; +        &quot;ms_printf&quot; when compiling for Windows. The code, however, does seems to be
&gt; +        assuming gnu_printf (judging by the use of %z and %l).
&gt; +
&gt; +        Fix this by explicitly specifying gnu_printf format style.
&gt; +        To ensure that gnu-compatible printf implementation is used, compile
&gt; +        with -D__USE_MINGW_ANSI_STDIO=1, it will automagically turn all *printf()
&gt; +        invocations into __mingw_*printf(), which are gnu-compatible.
&gt; +
&gt; +        Only one function that won&apos;t be turned is _vsnprintf(). Ifdef its use and
&gt; +        call vsnprintf() instead when __USE_MINGW_ANSI_STDIO != 0.

It seems it is unrelated to this change.

&gt; Source/WTF/ChangeLog:23
&gt; +        * wtf/Assertions.cpp:
&gt; +        * wtf/Assertions.h:

ditto

&gt; Source/WTF/wtf/Platform.h:616
&gt; +#ifdef _MSC_VER
&gt;  #include &lt;WTF/WTFHeaderDetection.h&gt;
&gt; +#endif

It is a generated header (see WTFGenerated.make) which is used by Apple Windows port.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1085510</commentid>
    <comment_count>3</comment_count>
      <attachid>250796</attachid>
    <who name="LRN">lrn1986</who>
    <bug_when>2015-04-15 09:38:07 -0700</bug_when>
    <thetext>Created attachment 250796
Don&apos;t include non-existing WTF/WTFHeaderDetection.h in 2.4.x

WTF/WTFHeaderDetection.h seems to be from some other universe,
there are no rules to generate it in webkit-2.4, except for MSVS projects.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1085516</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-04-15 09:44:42 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Created attachment 250796 [details]
&gt; Don&apos;t include non-existing WTF/WTFHeaderDetection.h in 2.4.x
&gt; 
&gt; WTF/WTFHeaderDetection.h seems to be from some other universe,
&gt; there are no rules to generate it in webkit-2.4, except for MSVS projects.

Ah, so don&apos;t you want to land this change in WebKit 
trunk, but only the WebKitGTK 2.4 release branch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1085525</commentid>
    <comment_count>5</comment_count>
      <attachid>250796</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-04-15 09:49:01 -0700</bug_when>
    <thetext>Comment on attachment 250796
Don&apos;t include non-existing WTF/WTFHeaderDetection.h in 2.4.x

View in context: https://bugs.webkit.org/attachment.cgi?id=250796&amp;action=review

I don&apos;t think this is quite right. I think it would be better to have the GTK Win32 build simply generate a &quot;false&quot; case WTFHeaderDetection.h file. That will work with all compiler combinations. I know there are some people using MingW32 to build the WinCairo port, and others working with the Intel compiler. Now that Clang is somewhat usable on Windows, I expect that to be an issue as well.

&gt; Source/WTF/ChangeLog:1
&gt; +2015-04-15  Ð ÑÑÐ»Ð°Ð½ ÐÐ¶Ð±ÑÐ»Ð°ÑÐ¾Ð²  &lt;lrn1986@gmail.com&gt;

The string encoding here seems wrong!

&gt; Source/WTF/wtf/Platform.h:614
&gt; +#ifdef _MSC_VER

This change breaks the build for people using MingW32 (or other compilers) to build WebKit on Windows.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1085568</commentid>
    <comment_count>6</comment_count>
    <who name="LRN">lrn1986</who>
    <bug_when>2015-04-15 10:29:08 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Comment on attachment 250796 [details]
&gt; Don&apos;t include non-existing WTF/WTFHeaderDetection.h in 2.4.x
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=250796&amp;action=review
&gt; 
&gt; I don&apos;t think this is quite right. I think it would be better to have the
&gt; GTK Win32 build simply generate a &quot;false&quot; case WTFHeaderDetection.h file.
&gt; That will work with all compiler combinations. I know there are some people
&gt; using MingW32 to build the WinCairo port, and others working with the Intel
&gt; compiler. Now that Clang is somewhat usable on Windows, I expect that to be
&gt; an issue as well.

I went for the simplest fix possible that does not immediately break anything else. Considering the fact that building webkit takes a few hours, i&apos;m not very well-motivated to try anything fancier, unless i absolutely have to.

&gt; 
&gt; &gt; Source/WTF/ChangeLog:1
&gt; &gt; +2015-04-15  Ð ÑÑÐ»Ð°Ð½ ÐÐ¶Ð±ÑÐ»Ð°ÑÐ¾Ð²  &lt;lrn1986@gmail.com&gt;
&gt; 
&gt; The string encoding here seems wrong!

Poor UTF-8 support in the review module. The text is in UTF-8 in the attachment itself.

&gt; 
&gt; &gt; Source/WTF/wtf/Platform.h:614
&gt; &gt; +#ifdef _MSC_VER
&gt; 
&gt; This change breaks the build for people using MingW32 (or other compilers)
&gt; to build WebKit on Windows.

What about #ifdef HAVE_WTFHEADERDETECTION_H and modifying these mysterious other-ports-with-buildsystems-that-use-gnu-toolchain-but-refuse-to-use-gnu-autotools-which-do-not-generate-this-header? Well, i guess they&apos;d tell me to fix the autotools-based buildsystem used to build webkitgtk instead, which would be fair enough.

Thing is, 2.4.x is the last version to have autotools, newer webkitgtk uses cmake, and we&apos;ll go back to square one.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>250788</attachid>
            <date>2015-04-15 07:33:34 -0700</date>
            <delta_ts>2015-04-15 09:38:07 -0700</delta_ts>
            <desc>[GTK][W32] Don&apos;t include non-existing WTF/WTFHeaderDetection.h in 2.4.x</desc>
            <filename>GTKW32-Dont-include-non-existing-WTFWTFHeaderDetec.patch</filename>
            <type>text/plain</type>
            <size>2320</size>
            <attacher name="LRN">lrn1986</attacher>
            
              <data encoding="base64">RnJvbSBhMmY3ZWE3MTlkYTFiMGMzMTliMjRhOGY2ODg3NDQwYzI3YjhlZjkwIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/PUQwPUEwPUQxPTgzPUQxPTgxPUQwPUJCPUQw
PUIwPUQwPUJEPTIwPUQwPTk4PUQwPUI2PUQwPUIxPz0KID0/VVRGLTg/cT89RDE9ODM9RDA9QkI9
RDA9QjA9RDE9ODI9RDA9QkU9RDA9QjI/PSA8bHJuMTk4NkBnbWFpbC5jb20+CkRhdGU6IE1vbiwg
MTMgQXByIDIwMTUgMDA6Mjk6MjEgKzAwMDAKU3ViamVjdDogW1BBVENIXSBbR1RLXVtXMzJdIERv
bid0IGluY2x1ZGUgbm9uLWV4aXN0aW5nCiBXVEYvV1RGSGVhZGVyRGV0ZWN0aW9uLmggaW4gMi40
LngKCldURi9XVEZIZWFkZXJEZXRlY3Rpb24uaCBzZWVtcyB0byBiZSBmcm9tIHNvbWUgb3RoZXIg
dW5pdmVyc2UsCnRoZXJlIGFyZSBubyBydWxlcyB0byBnZW5lcmF0ZSBpdCBpbiB3ZWJraXQtMi40
LCBleGNlcHQgZm9yIE1TVlMgcHJvamVjdHMuCgpodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93
X2J1Zy5jZ2k/aWQ9MTQzNzUzCi0tLQogU291cmNlL1dURi9DaGFuZ2VMb2cgICAgICB8IDI0ICsr
KysrKysrKysrKysrKysrKysrKysrKwogU291cmNlL1dURi93dGYvUGxhdGZvcm0uaCB8ICAyICsr
CiAyIGZp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NDX1ZFUgogI2luY2x1ZGUgPFdURi9XVEZIZWFkZXJEZXRl
Y3Rpb24uaD4KKyNlbmRpZgogCiAjZW5kaWYKIAotLSAKMS44LjUuMw==
</data>
<flag name="review"
          id="275582"
          type_id="1"
          status="-"
          setter="ossy"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>250796</attachid>
            <date>2015-04-15 09:38:07 -0700</date>
            <delta_ts>2015-04-15 09:49:01 -0700</delta_ts>
            <desc>Don&apos;t include non-existing WTF/WTFHeaderDetection.h in 2.4.x</desc>
            <filename>Dont-include-non-existing-WTFWTFHeaderDetectionh-i.patch</filename>
            <type>text/plain</type>
            <size>1728</size>
            <attacher name="LRN">lrn1986</attacher>
            
              <data encoding="base64">RnJvbSBkOTEwYWUzYzc5NWFlZDM0ZTNhMWM1MzhiNGRiNzJkZDliM2JmNmE3IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/PUQwPUEwPUQxPTgzPUQxPTgxPUQwPUJCPUQw
PUIwPUQwPUJEPTIwPUQwPTk4PUQwPUI2PUQwPUIxPz0KID0/VVRGLTg/cT89RDE9ODM9RDA9QkI9
RDA9QjA9RDE9ODI9RDA9QkU9RDA9QjI/PSA8bHJuMTk4NkBnbWFpbC5jb20+CkRhdGU6IE1vbiwg
MTMgQXByIDIwMTUgMDA6Mjk6MjEgKzAwMDAKU3ViamVjdDogW1BBVENIXSBEb24ndCBpbmNsdWRl
IG5vbi1leGlzdGluZyBXVEYvV1RGSGVhZGVyRGV0ZWN0aW9uLmggaW4gMi40LngKCldURi9XVEZI
ZWFkZXJEZXRlY3Rpb24uaCBzZWVtcyB0byBiZSBmcm9tIHNvbWUgb3RoZXIgdW5pdmVyc2UsCnRo
ZXJlIGFyZSBubyBydWxlcyB0byBnZW5lcmF0ZSBpdCBpbiB3ZWJraXQtMi40LCBleGNlcHQgZm9y
IE1TVlMgcHJvamVjdHMuCgpodHR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ogd3RmL1BsYXRmb3JtLmg6CisKIDIwMTUtMDEtMjAg
IFl1blFpYW5nIFN1ICA8d3pzc3lxYUBnbWFpbC5jb20+CiAKICAgICAgICAgRml4IGZhaWxlZCB0
byBidWlsZCBmb3IgTGludXgvTUlQUzY0RUwKZGlmZiAtLWdpdCBhL1NvdXJjZS9XVEYvd3RmL1Bs
YXRmb3JtLmggYi9Tb3VyY2UvV1RGL3d0Zi9QbGF0Zm9ybS5oCmluZGV4IGQ5MThiNDMuLjJlYmRl
ZWEgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XVEYvd3RmL1BsYXRmb3JtLmgKKysrIGIvU291cmNlL1dU
Ri93dGYvUGxhdGZvcm0uaApAQCAtNjExLDcgKzYxMSw5IEBACiAjZGVmaW5lIEhBVkVfQUxJR05F
RF9NQUxMT0MgMQogI2RlZmluZSBIQVZFX0lTREVCVUdHRVJQUkVTRU5UIDEKIAorI2lmZGVmIF9N
U0NfVkVSCiAjaW5jbHVkZSA8V1RGL1dURkhlYWRlckRldGVjdGlvbi5oPgorI2VuZGlmCiAKICNl
bmRpZgogCi0tIAoxLjguNS4z
</data>
<flag name="review"
          id="275589"
          type_id="1"
          status="-"
          setter="bfulgham"
    />
          </attachment>
      

    </bug>

</bugzilla>