When building rosegarden with the default use setting it failed to build. I then noticed that that this included -jack. Since I use jack and modified package.use so that rosegarden would build with use=jack. The build worked at that point.
Steps to Reproduce:
1. Make sure that jack is not a global use setting and is not in package.use for rosegarden
2.emerge rosegarden and it will fail with a link error on one of the rosegarden libraries.
Without information like emerge --info output, ebuild version and actual errors you get during emerge, nothing we could debug or fix.
Created attachment 139895 [details]
emerge --info file
Created attachment 139897 [details]
portage log file for failed build
This is the log file for a failed build. This file contains the error message but for clarity it fails trying to link libRosegardenCommands.a
I am not sure how to find my ebuild version but I am using the current stable version for the amd64.
[0m/var/tmp/portage/media-sound/rosegarden-1.6.1/work/rosegarden-1.6.1/src/gui/configuration/AudioConfigurationPage.cpp: In constructor 'Rosegarden::AudioConfigurationPage::AudioConfigurationPage(Rosegarden::RosegardenGUIDoc*, KConfig*, QWidget*, const char*)':
/var/tmp/portage/media-sound/rosegarden-1.6.1/work/rosegarden-1.6.1/src/gui/configuration/AudioConfigurationPage.cpp:105: error: 'm_audioRecFormat' was not declared in this scope
/var/tmp/portage/media-sound/rosegarden-1.6.1/work/rosegarden-1.6.1/src/gui/configuration/AudioConfigurationPage.cpp:147: error: 'm_createFaderOuts' was not declared in this scope
/var/tmp/portage/media-sound/rosegarden-1.6.1/work/rosegarden-1.6.1/src/gui/configuration/AudioConfigurationPage.cpp:154: error: 'm_createSubmasterOuts' was not declared in this scope
/var/tmp/portage/media-sound/rosegarden-1.6.1/work/rosegarden-1.6.1/src/gui/configuration/AudioConfigurationPage.cpp:188: error: 'm_startJack' was not declared in this scope
/var/tmp/portage/media-sound/rosegarden-1.6.1/work/rosegarden-1.6.1/src/gui/configuration/AudioConfigurationPage.cpp:202: error: 'm_jackPath' was not declared in this scope
/var/tmp/portage/media-sound/rosegarden-1.6.1/work/rosegarden-1.6.1/src/gui/configuration/AudioConfigurationPage.cpp: In member function 'virtual void Rosegarden::AudioConfigurationPage::apply()':
/var/tmp/portage/media-sound/rosegarden-1.6.1/work/rosegarden-1.6.1/src/gui/configuration/AudioConfigurationPage.cpp:230: error: 'm_startJack' was not declared in this scope
/var/tmp/portage/media-sound/rosegarden-1.6.1/work/rosegarden-1.6.1/src/gui/configuration/AudioConfigurationPage.cpp:231: error: 'm_jackPath' was not declared in this scope
/var/tmp/portage/media-sound/rosegarden-1.6.1/work/rosegarden-1.6.1/src/gui/configuration/AudioConfigurationPage.cpp:236: error: 'm_createFaderOuts' was not declared in this scope
/var/tmp/portage/media-sound/rosegarden-1.6.1/work/rosegarden-1.6.1/src/gui/configuration/AudioConfigurationPage.cpp:237: error: 'm_createSubmasterOuts' was not declared in this scope
/var/tmp/portage/media-sound/rosegarden-1.6.1/work/rosegarden-1.6.1/src/gui/configuration/AudioConfigurationPage.cpp:238: error: 'm_audioRecFormat' was not declared in this scope
I think it's a problem in the original Rosegarden source code : Missing variables are declared under a define linked to JACK feature.
I'm working on it.
Fixed in 1.6.1-r1.