<?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>129972</bug_id>
          
          <creation_ts>2014-03-08 11:19:16 -0800</creation_ts>
          <short_desc>Build failure on OpenBSD in gtest</short_desc>
          <delta_ts>2014-03-10 14:51:15 -0700</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>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="Landry Breuil">landry</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ajacoutot</cc>
    
    <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>988583</commentid>
    <comment_count>0</comment_count>
    <who name="Landry Breuil">landry</who>
    <bug_when>2014-03-08 11:19:16 -0800</bug_when>
    <thetext>CXX      Source/ThirdParty/gtest/src/Libraries_libgtest_la-gtest-all.lo
In file included from /src/WebKit/Source/ThirdParty/gtest/include/gtest/internal/gtest-internal.h:40:0,
                 from /src/WebKit/Source/ThirdParty/gtest/include/gtest/gtest.h:57,
                 from ../../../src/WebKit/Source/ThirdParty/gtest/src/gtest-all.cc:39:
/src/WebKit/Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h: In function &apos;int testing::internal::posix::IsATTY(int)&apos;:
/src/WebKit/Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h:1349:45: error: &apos;isatty&apos; was not declared in this scope
 inline int IsATTY(int fd) { return isatty(fd); }
                                             ^
/src/WebKit/Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h: In function &apos;int testing::internal::posix::RmDir(const char*)&apos;:
/src/WebKit/Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h:1355:53: error: &apos;rmdir&apos; was not declared in this scope
 inline int RmDir(const char* dir) { return rmdir(dir); }
                                                     ^
/src/WebKit/Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h: In function &apos;int testing::internal::posix::ChDir(const char*)&apos;:
/src/WebKit/Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h:1377:53: error: &apos;chdir&apos; was not declared in this scope
 inline int ChDir(const char* dir) { return chdir(dir); }
                                                     ^
/src/WebKit/Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h: In function &apos;int testing::internal::posix::Read(int, void*, unsigned int)&apos;:
/src/WebKit/Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h:1391:46: error: &apos;read&apos; was not declared in this scope
   return static_cast&lt;int&gt;(read(fd, buf, count));
                                              ^
/src/WebKit/Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h: In function &apos;int testing::internal::posix::Write(int, const void*, unsigned int)&apos;:
/src/WebKit/Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h:1394:47: error: &apos;write&apos; was not declared in this scope
   return static_cast&lt;int&gt;(write(fd, buf, count));
                                               ^
/src/WebKit/Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h: In function &apos;int testing::internal::posix::Close(int)&apos;:
/src/WebKit/Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h:1396:43: error: &apos;close&apos; was not declared in this scope
 inline int Close(int fd) { return close(fd); }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>988584</commentid>
    <comment_count>1</comment_count>
      <attachid>226220</attachid>
    <who name="Landry Breuil">landry</who>
    <bug_when>2014-03-08 11:22:28 -0800</bug_when>
    <thetext>Created attachment 226220
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>988841</commentid>
    <comment_count>2</comment_count>
      <attachid>226220</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2014-03-10 02:50:16 -0700</bug_when>
    <thetext>Comment on attachment 226220
Patch

LGTM, r=me.

Please send this patch to the upstream gtest too not to have 
this problem again once gtest is updated in the WebKit repository.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>988842</commentid>
    <comment_count>3</comment_count>
      <attachid>226220</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-03-10 02:52:16 -0700</bug_when>
    <thetext>Comment on attachment 226220
Patch

Rejecting attachment 226220 from commit-queue.

Failed to run &quot;[&apos;/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch&apos;, &apos;--status-host=webkit-queues.appspot.com&apos;, &apos;--bot-id=webkit-cq-01&apos;, &apos;validate-changelog&apos;, &apos;--check-oops&apos;, &apos;--non-interactive&apos;, 226220, &apos;--port=mac&apos;]&quot; exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

/Volumes/Data/EWS/WebKit/Source/ThirdParty/ChangeLog neither lists a valid reviewer nor contains the string &quot;Unreviewed&quot; or &quot;Rubber stamp&quot; (case insensitive).

Full output: http://webkit-queues.appspot.com/results/5137805000835072</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>989060</commentid>
    <comment_count>4</comment_count>
    <who name="Landry Breuil">landry</who>
    <bug_when>2014-03-10 14:51:15 -0700</bug_when>
    <thetext>It is already partly upstream, cf https://code.google.com/p/googletest/source/browse/trunk/include/gtest/internal/gtest-port.h#328
What&apos;s needed for the commit bot to be smart and add the reviewer line to the patch and autoland things ? Is there still manual fiddling to do ?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>226220</attachid>
            <date>2014-03-08 11:22:28 -0800</date>
            <delta_ts>2014-03-10 02:52:16 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-129972-20140308202227.patch</filename>
            <type>text/plain</type>
            <size>1846</size>
            <attacher name="Landry Breuil">landry</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTY1MjI3CmRpZmYgLS1naXQgYS9Tb3VyY2UvVGhpcmRQYXJ0
eS9DaGFuZ2VMb2cgYi9Tb3VyY2UvVGhpcmRQYXJ0eS9DaGFuZ2VMb2cKaW5kZXggNmE0ZDM1YTQ0
N2Q2MDVmOTljYzlhMWI3MmM0NDdiODFiNzdkZmY1MS4uNGMyYThiMGQ2NjkxMDM0YjgzY2MxMjVl
Y2VjMmQxMjZhZDBmOGNiOCAxMDA2NDQKLS0tIGEvU291cmNlL1RoaXJkUGFydHkvQ2hhbmdlTG9n
CisrKyBiL1NvdXJjZS9UaGlyZFBhcnR5L0NoYW5nZUxvZwpAQCAtMSw1ICsxLDEyIEBACiAyMDE0
LTAzLTA4ICBMYW5kcnkgQnJldWlsICA8bGFuZHJ5QG9wZW5ic2Qub3JnPgogCisgICAgICAgIEZp
eCBndGVzdCBidWlsZCBvbiBPcGVuQlNEL05ldEJTRC4KKyAgICAgICAgaHR0cHM6Ly9idWdzLndl
YmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEyOTk3MgorCisgICAgICAgICogZ3Rlc3QvaW5jbHVk
ZS9ndGVzdC9pbnRlcm5hbC9ndGVzdC1wb3J0Lmg6CisKKzIwMTQtMDMtMDggIExhbmRyeSBCcmV1
aWwgIDxsYW5kcnlAb3BlbmJzZC5vcmc+CisKICAgICAgICAgRml4IGxldmVsZGIgYnVpbGQgb24g
T3BlbkJTRC9OZXRCU0QgYnkgdXNpbmcgdGhlIEZyZWVCU0QgY29kZXBhdGhzLgogICAgICAgICBo
dHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTI5OTY2CiAKZGlmZiAtLWdp
dC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V0lOIHx8IEdURVNUX09TX0xJTlVYIHx8IEdU
RVNUX09TX01BQyB8fCBHVEVTVF9PU19TWU1CSUFOIHx8IFwKLSAgICBHVEVTVF9PU19TT0xBUklT
IHx8IEdURVNUX09TX0FJWCB8fCBHVEVTVF9PU19GUkVFQlNEIHx8IEdURVNUX09TX0hVUkQKKyAg
ICBHVEVTVF9PU19TT0xBUklTIHx8IEdURVNUX09TX0FJWCB8fCBHVEVTVF9PU19GUkVFQlNEIHx8
IEdURVNUX09TX09QRU5CU0QgfHwgR1RFU1RfT1NfTkVUQlNEIHx8IEdURVNUX09TX0hVUkQKIAog
Ly8gT24gc29tZSBwbGF0Zm9ybXMsIDxyZWdleC5oPiBuZWVkcyBzb21lb25lIHRvIGRlZmluZSBz
aXplX3QsIGFuZAogLy8gd29uJ3QgY29tcGlsZSBvdGhlcndpc2UuICBXZSBjYW4gI2luY2x1ZGUg
aXQgaGVyZSBhcyB3ZSBhbHJlYWR5Cg==
</data>
<flag name="review"
          id="250435"
          type_id="1"
          status="+"
          setter="ossy"
    />
    <flag name="commit-queue"
          id="250511"
          type_id="3"
          status="-"
          setter="commit-queue"
    />
          </attachment>
      

    </bug>

</bugzilla>