Summary: | =media-libs/gstreamer-0.10.36 with =sys-devel/clang-3.4-r100 - In file included from gstdatetime.c:24: /usr/include/glib-2.0/glib/gmessages.h:200:11: error: use of undeclared identifier 'g_log_domain_gstreamer' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jauhien Piatlicki (RETIRED) <jauhien> |
Component: | Current packages | Assignee: | GStreamer package maintainers <gstreamer> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | fsvm88, wizardedit |
Priority: | Normal | Keywords: | Inclusion, PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963 | ||
Attachments: |
build.log
Include epatch_user in the ebuild. Patch to swap header order for clang compilation |
Created attachment 382444 [details, diff]
Include epatch_user in the ebuild.
Created attachment 382446 [details, diff]
Patch to swap header order for clang compilation
I have bumped the ebuild to use epatch_user (diff attached). Dropping the second patch in /etc/portage/patches/ fixes the compilation issue. The patch simply reverses the order in which two headers appear. Both gcc-4.8.3 and clang-3.4.2 compile and pass tests just fine. The patch still applies for clang 3.5.0, tests pass fine both with clang (3.5.0) and GCC (4.8.4). Please note that gstreamer 0.10.x is no longer mantained, see official site, news section, on 2013-03-15. @Austin, if you have tested this works for you, feel free to commit :) Thanks (In reply to Pacho Ramos from comment #5) > @Austin, if you have tested this works for you, feel free to commit :) > > Thanks I hadn't yet, actually. I'm using 3.5.0, and gstreamer-0.10.36-r2 compiles out of the box for me with clang. Comment #4 looks like 3.5.0 previously had issues though, which is interesting. In that case, this looks like obsolete right? (In reply to Pacho Ramos from comment #7) > In that case, this looks like obsolete right? Yeah, I think that's fine. If I can reproduce in some other version, I'll open a new issue. |
Created attachment 376488 [details] build.log Build log attached.