When trying to cross compile media-sound/pulseaudio-3.0-r1 to i686-w64-mingw32, building fails as mingw64-runtime doesn't provide regex lib. Instead we could use libpcre. Attached the build.log, emerge --info and a patch proposal for ebuild Reproducible: Always Steps to Reproduce: 1. crossdev -t i686-w64-mingw32 2. USE="-X -orc -gdbm -berkdb -alsa -asyncns -webrtc-aec -caps -bindist -udev -threads rfc3779 -introspection" i686-w64-mingw32-emerge -vt pulseaudio 3.
Created attachment 350018 [details] build.log
Created attachment 350020 [details] emerge --info
Created attachment 350022 [details, diff] pulseaudio-3.0-r1.ebuild.libpcre.diff
fixed in 4.99.4
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c05fb18ebae2e964fb4030a3f86f1870371c0e9e commit c05fb18ebae2e964fb4030a3f86f1870371c0e9e Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-26 16:11:34 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-26 16:11:40 +0000 media-libs/libpulse: only depend on libpcre for mingw musl supports regex and it's in POSIX, mingw is the only exception I'm aware of Bug: https://bugs.gentoo.org/472228 Signed-off-by: Sam James <sam@gentoo.org> .../libpulse/{libpulse-16.0.ebuild => libpulse-16.0-r1.ebuild} | 5 +---- .../libpulse/{libpulse-16.1.ebuild => libpulse-16.1-r1.ebuild} | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=000ca35273635b00c33b5f1c9775074d0e0f1280 commit 000ca35273635b00c33b5f1c9775074d0e0f1280 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-06 18:16:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-06 18:16:31 +0000 media-sound/pulseaudio-daemon: only depend on libpcre for elibc_mingw This syncs pulseaudio-daemon with libpcre, see c05fb18ebae2e964fb4030a3f86f1870371c0e9e. Bug: https://bugs.gentoo.org/472228 Bug: https://bugs.gentoo.org/884607 Signed-off-by: Sam James <sam@gentoo.org> ...ulseaudio-daemon-16.1.ebuild => pulseaudio-daemon-16.1-r3.ebuild} | 5 +---- ...eaudio-daemon-16.1-r2.ebuild => pulseaudio-daemon-16.1-r4.ebuild} | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bb789624b7c283875c7ff9995155e0e826c0e0b commit 1bb789624b7c283875c7ff9995155e0e826c0e0b Author: Sam James <sam@gentoo.org> AuthorDate: 2023-03-07 17:01:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-03-07 17:17:52 +0000 media-libs/libpulse: drop obsolete virtual/libc Remnant of uclibc support, although it was a bit weird anyway. Bug: https://bugs.gentoo.org/472228 Signed-off-by: Sam James <sam@gentoo.org> media-libs/libpulse/libpulse-16.1-r1.ebuild | 3 +-- media-libs/libpulse/libpulse-16.1-r2.ebuild | 1 - 2 files changed, 1 insertion(+), 3 deletions(-)