Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 472228 - media-sound/pulseaudio-3.0-r1 should DEPEND on dev-libs/libpcre when libc does not provide regex support
Summary: media-sound/pulseaudio-3.0-r1 should DEPEND on dev-libs/libpcre when libc doe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-06-03 21:33 UTC by Bertrand Jacquin
Modified: 2023-03-07 17:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,102.32 KB, text/x-log)
2013-06-03 21:33 UTC, Bertrand Jacquin
Details
emerge --info (info.log,12.52 KB, text/x-log)
2013-06-03 21:33 UTC, Bertrand Jacquin
Details
pulseaudio-3.0-r1.ebuild.libpcre.diff (pulseaudio-3.0-r1.ebuild.libpcre.diff,492 bytes, patch)
2013-06-03 21:34 UTC, Bertrand Jacquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2013-06-03 21:33:23 UTC
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.
Comment 1 Bertrand Jacquin 2013-06-03 21:33:33 UTC
Created attachment 350018 [details]
build.log
Comment 2 Bertrand Jacquin 2013-06-03 21:33:43 UTC
Created attachment 350020 [details]
emerge --info
Comment 3 Bertrand Jacquin 2013-06-03 21:34:42 UTC
Created attachment 350022 [details, diff]
pulseaudio-3.0-r1.ebuild.libpcre.diff
Comment 4 Pacho Ramos gentoo-dev 2014-02-16 21:23:18 UTC
fixed in 4.99.4
Comment 5 Larry the Git Cow gentoo-dev 2022-09-26 16:11:47 UTC
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(-)
Comment 6 Larry the Git Cow gentoo-dev 2022-12-06 18:16:42 UTC
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(-)
Comment 7 Larry the Git Cow gentoo-dev 2023-03-07 17:18:05 UTC
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(-)