Commit b801e13
committed
fix(ci): keep av.libs/libasound for PyAV, only remove _internal/libasound
Bundled libasound has its ALSA plugin search path hardcoded to the build
host's path (Ubuntu CI: /usr/lib/x86_64-linux-gnu/alsa-lib). On other
distros (Arch: /usr/lib/alsa-lib) this path doesn't exist, so libasound
can't load libasound_module_pcm_pipewire.so / pulse plugin and PortAudio
silently reports zero virtual input devices — the recurring 'no mics in
build' bug.
Removing _internal/libasound* makes the loader fall through to the user's
system libasound, which knows its own plugin layout. Do NOT delete
av.libs/libasound-cfbebb71.so.2.0.0 — PyAV's libavdevice has that exact
name in its NEEDED list (different SONAME, doesn't conflict with
PortAudio's libasound.so.2 lookup). Removing it crashes startup with
ImportError on libasound-cfbebb71.1 parent ed87b87 commit b801e13
1 file changed
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | | - | |
83 | | - | |
| 82 | + | |
| 83 | + | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
86 | 99 | | |
87 | 100 | | |
88 | 101 | | |
| |||
0 commit comments