<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>53355</bug_id>
          
          <creation_ts>2025-03-06 23:45:42 +0300</creation_ts>
          <short_desc>Сломал сборку chromium</short_desc>
          <delta_ts>2025-03-07 19:13:34 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>chromium</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrew Vasilyev">andy</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>andy</cc>
    
    <cc>aris</cc>
    
    <cc>cas</cc>
    
    <cc>legion</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>260580</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Vasilyev">andy</who>
    <bug_when>2025-03-06 23:45:42 +0300</bug_when>
    <thetext>После обновления пакета pipewire до версии 1.4.0-alt1
  упала сборка chromium:

[00:20:18] ../../third_party/webrtc/modules/video_capture/linux/pipewire_session.cc:90:3: error: no matching function for call to &apos;pw_node_add_listener&apos;
[00:20:18]    90 |   pw_node_add_listener(proxy_, &amp;node_listener_, &amp;node_events, this);
[00:20:18]       |   ^~~~~~~~~~~~~~~~~~~~
[00:20:18] /usr/include/pipewire-0.3/pipewire/node.h:189:22: note: candidate function not viable: cannot convert argument of incomplete type &apos;pw_proxy *&apos; to &apos;struct pw_node *&apos; for 1st argument
[00:20:18]   189 | PW_API_NODE_IMPL int pw_node_add_listener(struct pw_node *object,
[00:20:18]       |                      ^                    ~~~~~~~~~~~~~~~~~~~~~~
[00:20:18] ../../third_party/webrtc/modules/video_capture/linux/pipewire_session.cc:122:9: error: no matching function for call to &apos;pw_node_enum_params&apos;
[00:20:18]   122 |         pw_node_enum_params(that-&gt;proxy_, 0, id, 0, UINT32_MAX, nullptr);
[00:20:18]       |         ^~~~~~~~~~~~~~~~~~~
[00:20:18] /usr/include/pipewire-0.3/pipewire/node.h:208:22: note: candidate function not viable: cannot convert argument of incomplete type &apos;pw_proxy *&apos; to &apos;struct pw_node *&apos; for 1st argument
[00:20:18]   208 | PW_API_NODE_IMPL int pw_node_enum_params(struct pw_node *object,
[00:20:18]       |                      ^                   ~~~~~~~~~~~~~~~~~~~~~~

  С версией 1.2.7-alt1 такой ошибки нет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>260644</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Vasilyev">andy</who>
    <bug_when>2025-03-07 19:13:34 +0300</bug_when>
    <thetext>  Спасибо! Это очень помогло.

--- a/third_party/webrtc/modules/video_capture/linux/pipewire_session.cc.me        2025-02-12 19:09:54.742875003 +0100
+++ b/third_party/webrtc/modules/video_capture/linux/pipewire_session.cc   2025-02-12 19:12:17.492620559 +0100
@@ -87,7 +87,7 @@ PipeWireNode::PipeWireNode(PipeWireSessi
       .param = OnNodeParam,
   };
 
-  pw_node_add_listener(proxy_, &amp;node_listener_, &amp;node_events, this);
+  pw_node_add_listener((struct pw_node*) proxy_, &amp;node_listener_, &amp;node_events, this);
 }
 
 // static
@@ -119,7 +119,7 @@ void PipeWireNode::OnNodeInfo(void* data
       uint32_t id = info-&gt;params[i].id;
       if (id == SPA_PARAM_EnumFormat &amp;&amp;
           info-&gt;params[i].flags &amp; SPA_PARAM_INFO_READ) {
-        pw_node_enum_params(that-&gt;proxy_, 0, id, 0, UINT32_MAX, nullptr);
+        pw_node_enum_params((struct pw_node*)that-&gt;proxy_, 0, id, 0, UINT32_MAX, nullptr);
         break;
       }
     }</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>