Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 947532

Summary: media-libs/gstreamer-1.24.10 fails to compile FAILED: libs/gst/helpers/ptp/gst-ptp-helper
Product: Gentoo Linux Reporter: Oliver Hildebrandt <ollilein>
Component: Current packagesAssignee: GStreamer package maintainers <gstreamer>
Status: RESOLVED FIXED    
Severity: normal CC: account.disabled.Evaib6ong3eiphohWo4j, ollilein
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log that shows the error
My emerge --info
My emerge --info =media-libs/gstreamer-1.24.10::gentoo
The environment file
The emerge -pqv =media-libs/gstreamer-1.24.10::gentoo

Description Oliver Hildebrandt 2025-01-05 11:17:11 UTC
When i compile gstreamer-1.24.10 it fails with FAILED: libs/gst/helpers/ptp/gst-ptp-helper.

The new use flag "ptp" is disabled.

Reproducible: Always

Steps to Reproduce:
1.Compile gstreamer
2.
3.
Actual Results:  
Run emerge world

Expected Results:  
It should compile correctly
Comment 1 Oliver Hildebrandt 2025-01-05 11:17:41 UTC
Created attachment 915895 [details]
Build log that shows the error
Comment 2 account.disabled.Evaib6ong3eiphohWo4j 2025-01-05 12:21:43 UTC
Can't reproduce can you share your emerge --info
Comment 3 Oliver Hildebrandt 2025-01-05 16:10:49 UTC
Created attachment 915939 [details]
My emerge --info
Comment 4 Oliver Hildebrandt 2025-01-05 16:12:05 UTC
Created attachment 915940 [details]
My emerge --info =media-libs/gstreamer-1.24.10::gentoo
Comment 5 Oliver Hildebrandt 2025-01-05 16:13:30 UTC
Created attachment 915941 [details]
The environment file
Comment 6 Oliver Hildebrandt 2025-01-05 16:15:08 UTC
Created attachment 915942 [details]
The emerge -pqv =media-libs/gstreamer-1.24.10::gentoo
Comment 7 Oliver Hildebrandt 2025-01-05 16:17:43 UTC
I found the problem, it was RUSTFLAGS="${RUSTFLAGS} -Clinker-plugin-lto" in my make.conf, with disabling that flag gstreamer builds fine.

Sorry for that, i had forgotten that i use lto for rust.
Comment 8 Larry the Git Cow gentoo-dev 2025-01-05 23:45:20 UTC
The bug has been closed via the following commit(s):

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

commit f439400855abe4975a1423a285b9b5ad1a5c0ea9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-01-05 23:43:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-05 23:44:32 +0000

    media-libs/gstreamer: actually control ptp w/ USE=ptp
    
    Closes: https://bugs.gentoo.org/947524
    Closes: https://bugs.gentoo.org/947532
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/gstreamer/gstreamer-1.24.10.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-05 23:54:25 UTC
The remaining issue with plugin lto is obviously still there as you can't use that with gcc.