Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 838301 - >=media-video/pipewire-0.3.43-r3: fails to build with -fno-semantic-interposition
Summary: >=media-video/pipewire-0.3.43-r3: fails to build with -fno-semantic-interposi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-04-14 06:34 UTC by Randall
Modified: 2024-01-18 17:48 UTC (History)
4 users (show)

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


Attachments
[media-video/pipewire-0.3.49] build.log (file_838301.txt,862.62 KB, text/plain)
2022-04-14 06:36 UTC, Randall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randall 2022-04-14 06:34:12 UTC
This has been a known problem (and PR) on GentooLTO fpr a minute. Pipewire fails to build with the `-fno-semantic-interposition` cflag.


Ref: https://github.com/InBetweenNames/gentooLTO/pull/798

Reproducible: Always
Comment 1 Randall 2022-04-14 06:36:27 UTC
Created attachment 770690 [details]
[media-video/pipewire-0.3.49] build.log
Comment 2 Larry the Git Cow gentoo-dev 2022-04-15 05:35:19 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdaf744ea7f5988ff259538b5a6fafdd93fddbf6

commit bdaf744ea7f5988ff259538b5a6fafdd93fddbf6
Author:     Randall <ran.dall@icloud.com>
AuthorDate: 2022-04-15 03:14:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-15 05:35:02 +0000

    media-video/pipewire: Filter -fno-semantic-interposition
    
    Since `0.3.39`, it's been observed that media-video/pipewire, won't build with the CFLAG -fno-semantic-interposition enabled
    
    Ref: https://github.com/InBetweenNames/gentooLTO/pull/798
    Bug: https://bugs.gentoo.org/838301
    Signed-off-by: Randall Vasquez <ran.dall@icloud.com>
    Closes: https://github.com/gentoo/gentoo/pull/25023
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/pipewire/pipewire-0.3.43-r3.ebuild        | 5 ++++-
 media-video/pipewire/pipewire-0.3.44-r1.ebuild        | 5 ++++-
 media-video/pipewire/pipewire-0.3.45_p20220205.ebuild | 5 ++++-
 media-video/pipewire/pipewire-0.3.47-r1.ebuild        | 5 ++++-
 media-video/pipewire/pipewire-0.3.48-r1.ebuild        | 5 ++++-
 media-video/pipewire/pipewire-0.3.49.ebuild           | 5 ++++-
 media-video/pipewire/pipewire-0.3.50.ebuild           | 5 ++++-
 media-video/pipewire/pipewire-9999.ebuild             | 5 ++++-
 8 files changed, 32 insertions(+), 8 deletions(-)
Comment 3 Kostadin Shishmanov 2024-01-18 17:28:20 UTC
I think this change can be reverted now. I copied the ebuild to a local overlay, removed the filter, and it builds, the test suite passes and it works fine.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-18 17:46:19 UTC
(In reply to Kostadin Shishmanov from comment #3)
> I think this change can be reverted now. I copied the ebuild to a local
> overlay, removed the filter, and it builds, the test suite passes and it
> works fine.

You're right. I'd forgot about this bug -- see the things I just added to See Also.
Comment 5 Larry the Git Cow gentoo-dev 2024-01-18 17:48:57 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e7d826a1a49d21a83ab8ff4858582340b5f4d76

commit 3e7d826a1a49d21a83ab8ff4858582340b5f4d76
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-18 17:46:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-18 17:48:18 +0000

    media-video/pipewire: drop filter-flags for -fno-semantic-interposition
    
    I'd completely forgot about the relationship between this bug and the one
    I filed upstream a while ago.
    
    Bug: https://bugs.gentoo.org/838301
    Bug: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2526
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/pipewire/pipewire-1.0.1.ebuild | 5 +----
 media-video/pipewire/pipewire-9999.ebuild  | 5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)