Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608748 - x11-wm/muffin-3.2.0 fails to build due to missing header clutter/x11/clutter-x11.h
Summary: x11-wm/muffin-3.2.0 fails to build due to missing header clutter/x11/clutter-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cinnamon Team (DISABLED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-09 12:49 UTC by Sven E.
Modified: 2017-02-11 16:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven E. 2017-02-09 12:49:05 UTC
x11-wm/muffin-3.2.0 suffers from an incomplete autotools test. Furthermore the ebuild does have an incomplete dependency.

Reproducible: Always

Steps to Reproduce:
1. build media-ibs/cluter[-X]
2. build muffin
3. missing header error
Actual Results:  
Build failure

Expected Results:  
Clean build/correct deps.

Build dies with:
core/main.c:77:37: fatal error: clutter/x11/clutter-x11.h: No such file or directory

Said header is only available when clutter was build with USE="X".

Muffin tests for clutter:
checking for CLUTTER... yes
checking for X... libraries , headers 

However it seems to deliberately ignore that clutter might have different build time features. This is a clear upstream bug.

Furthermore muffin's ebuild has an incomplete dependency:
>=media-libs/clutter-1.14.3:1.0=[introspection?]

This should include a dep on USE="X" for clutter. Otherwise one could build clutter[X], muffin, and clutter[-X] afterwards. I did not have time to test this, but I assume this will exhibit arbitrary runtime errors/linking errors.

Further I assume this applies to all muffin versions <=3.2.0 (did not have time to test this yet.
Comment 1 Kristian Fiskerstrand (RETIRED) gentoo-dev 2017-02-11 16:09:48 UTC
Thank you for report

commit 8cd6e82769369a446a38b6c737585bf5bbab6ffe
Author: Kristian Fiskerstrand <k_f@gentoo.org>
Date:   Sat Feb 11 17:05:00 2017 +0100

    x11-wm/muffin: Fix dependency on clutter
    
    Make sure to require X use flag
    
    Gentoo-Bug: 608748
    
    Package-Manager: portage-2.3.3