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

Bug 437018

Summary: media-sound/zynaddsubfx USE=-fltk still includes FL/Fl.H
Product: Gentoo Linux Reporter: Mihai Donțu <mihai.dontu>
Component: New packagesAssignee: Professional Audio Applications Maintainers <proaudio>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mihai Donțu 2012-10-02 21:50:05 UTC
media-sound/zynaddsubfx-2.4.3 needs fltk unconditionally (ie. it should not allow the user to disable it via USE flags). That's because main.cpp includes <FL/Fl.h> regardless of how the package has been configured and it fails if CFLAGS does not include the path to /usr/include/fltk[-1].

Reproducible: Always

Steps to Reproduce:
1. use /etc/portage/package.use to disable [fltk] for media-sound/zynaddsubfx
2. attempt to [re]emerge media-sound/zynaddsubfx 2.4.3

Actual Results:  
The ebuild fails because g++ is unable to find 'FL/Fl.h' in main.cpp:40 (wrong CFLAGS)


Expected Results:  
The package should be emerged with no problems.

Gentoo ~amd64, portage 2.1.11.23, gcc 4.7.2
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-13 01:58:55 UTC
The include appears to be in the wrong place in src/main.cpp. Should be shifted a few lines down, it seems.
Comment 2 Alexis Ballier gentoo-dev 2012-11-27 11:49:02 UTC
fixed, thanks