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

Bug 791958

Summary: dev-cpp/gstreamermm-1.10.0 always builds examples regrardless of the USE=examples
Product: Gentoo Linux Reporter: Andrew Savchenko <bircoph>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: gstreamermm-1.10.0.ebuild.patch

Description Andrew Savchenko gentoo-dev 2021-05-25 12:23:11 UTC

USE=examples is not working properly and examples are always build. See

This happens because of assumption that SUBDIRS= and examples are on the same line:
    if ! use examples; then
        # don't waste time building examples
        sed -e 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
            -i || die

But they are not:
SUBDIRS = tools $(src_subdirs) $(srcmm_subdirs) \
          tests examples $(doc_subdirs)

Proposed patch fixes this (but it doesn't fix examples build failure reported in bug 786444).
Comment 1 Andrew Savchenko gentoo-dev 2021-05-25 12:24:25 UTC
Created attachment 711135 [details, diff]

Signed-off-by: Andrew Savchenko <>