Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437018 - media-sound/zynaddsubfx USE=-fltk still includes FL/Fl.H
Summary: media-sound/zynaddsubfx USE=-fltk still includes FL/Fl.H
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-02 21:50 UTC by Mihai Donțu
Modified: 2012-11-27 11:49 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 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