[Bug 294413] audio/pipewire-spa-oss: Fix build with llvm22 installed

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 11 Apr 2026 10:46:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294413

            Bug ID: 294413
           Summary: audio/pipewire-spa-oss: Fix build with llvm22
                    installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: arrowd@FreeBSD.org
          Reporter: osidorkin@gmail.com
          Assignee: arrowd@FreeBSD.org
             Flags: maintainer-feedback?(arrowd@FreeBSD.org)

Created attachment 269623
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=269623&action=edit
patch to update audio/pipewire-spa-oss bindgen dependency to 0.72.1 (via git
am)

In https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293587 www/deno build was
fixed in case LLVM 22 is present in the system by updating bindgen dependency
to > 0.70.1

audio/pipewire-spa-oss has the same problem:

error[E0609]: no field `data` on type `spa_pod_builder`
  -->
/data/build/usr/ports/audio/pipewire-spa-oss/work/pipewire-rs-016e554768ae251c8de3724ea4b06f4749a8dd00/libspa/src/pod/builder.rs:38:25
   |
38 |         (*this).builder.data = (*this).data.as_mut_ptr().cast::<c_void>();
   |                         ^^^^ unknown field
   |
   = note: available field is: `_address`

error[E0609]: no field `size` on type `spa_pod_builder`
  -->
/data/build/usr/ports/audio/pipewire-spa-oss/work/pipewire-rs-016e554768ae251c8de3724ea4b06f4749a8dd00/libspa/src/pod/builder.rs:39:25
   |
39 |         (*this).builder.size = (*this)
   |                         ^^^^ unknown field
   |
   = note: available field is: `_address`

For more information about this error, try `rustc --explain E0609`.



attached fix bumps bindgen dependency to 0.72.1 and fixes the build.

BTW, pipewire-rs main branch already has libspa-sys with 0.70.1 bindgen

-- 
You are receiving this mail because:
You are the assignee for the bug.