<?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>213990</bug_id>
          
          <creation_ts>2020-07-06 05:23:24 -0700</creation_ts>
          <short_desc>[WPE][GTK] CMake warnings</short_desc>
          <delta_ts>2020-09-23 14:33:35 -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>CMake</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=214012</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>214012</dependson>
    
    <dependson>216773</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">pnormand</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aperez</cc>
    
    <cc>don.olmstead</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1669023</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2020-07-06 05:23:24 -0700</bug_when>
    <thetext>--  demux (required): /usr/lib/x86_64-linux-gnu/libwebpdemux.so
CMake Warning (dev) at /usr/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
  The package name passed to `find_package_handle_standard_args` (ATK_BRIDGE)
  does not match the name of the calling package (ATKBridge).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  Source/cmake/FindATKBridge.cmake:47 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  Source/cmake/WebKitFindPackage.cmake:104 (_find_package)
  Source/cmake/OptionsWPE.cmake:132 (find_package)
  Source/cmake/WebKitCommon.cmake:58 (include)
  CMakeLists.txt:173 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning at Source/cmake/FindWOFF2.cmake:76 (message):
  Cannot determine WOFF2 version without pkg-config
Call Stack (most recent call first):
  Source/cmake/WebKitFindPackage.cmake:104 (_find_package)
  Source/cmake/OptionsWPE.cmake:146 (find_package)
  Source/cmake/WebKitCommon.cmake:58 (include)
  CMakeLists.txt:173 (include)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1669369</commentid>
    <comment_count>1</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2020-07-07 05:06:18 -0700</bug_when>
    <thetext>(In reply to Philippe Normand from comment #0)
&gt; --  demux (required): /usr/lib/x86_64-linux-gnu/libwebpdemux.so
&gt; CMake Warning (dev) at
&gt; /usr/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272
&gt; (message):
&gt;   The package name passed to `find_package_handle_standard_args` (ATK_BRIDGE)
&gt;   does not match the name of the calling package (ATKBridge).  This can lead
&gt;   to problems in calling code that expects `find_package` result variables
&gt;   (e.g., `_FOUND`) to follow a certain pattern.
&gt; Call Stack (most recent call first):
&gt;   Source/cmake/FindATKBridge.cmake:47 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
&gt;   Source/cmake/WebKitFindPackage.cmake:104 (_find_package)
&gt;   Source/cmake/OptionsWPE.cmake:132 (find_package)
&gt;   Source/cmake/WebKitCommon.cmake:58 (include)
&gt;   CMakeLists.txt:173 (include)
&gt; This warning is for project developers.  Use -Wno-dev to suppress it.

We have a few more with CMake 3.17 (or at least I started to notice
more warnings recently which I think it was after CMake was updated
to 3.17.3 in Arch Linux).

It would be good to take advantage of the situation to also convert
the offending find-modules to use imported targets, while at it :-)

&gt; CMake Warning at Source/cmake/FindWOFF2.cmake:76 (message):
&gt;   Cannot determine WOFF2 version without pkg-config
&gt; Call Stack (most recent call first):
&gt;   Source/cmake/WebKitFindPackage.cmake:104 (_find_package)
&gt;   Source/cmake/OptionsWPE.cmake:146 (find_package)
&gt;   Source/cmake/WebKitCommon.cmake:58 (include)
&gt;   CMakeLists.txt:173 (include)

This second warning has been already fixed in bug #214012 / r264012</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1691260</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2020-09-23 14:31:41 -0700</bug_when>
    <thetext>(In reply to Philippe Normand from comment #0)
&gt; --  demux (required): /usr/lib/x86_64-linux-gnu/libwebpdemux.so
&gt; CMake Warning (dev) at
&gt; /usr/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272
&gt; (message):
&gt;   The package name passed to `find_package_handle_standard_args` (ATK_BRIDGE)
&gt;   does not match the name of the calling package (ATKBridge).  This can lead
&gt;   to problems in calling code that expects `find_package` result variables
&gt;   (e.g., `_FOUND`) to follow a certain pattern.
&gt; Call Stack (most recent call first):
&gt;   Source/cmake/FindATKBridge.cmake:47 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
&gt;   Source/cmake/WebKitFindPackage.cmake:104 (_find_package)
&gt;   Source/cmake/OptionsWPE.cmake:132 (find_package)
&gt;   Source/cmake/WebKitCommon.cmake:58 (include)
&gt;   CMakeLists.txt:173 (include)
&gt; This warning is for project developers.  Use -Wno-dev to suppress it.

This one was fixed in bug #216773 ­— the fix landed in r267399</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1691261</commentid>
    <comment_count>3</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2020-09-23 14:33:35 -0700</bug_when>
    <thetext>Closing, CMake warnings are no more in “trunk” 😊️</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>