Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231939 - media-sound/lmms can't compile with STK use Flag
Summary: media-sound/lmms can't compile with STK use Flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-16 10:06 UTC by Mysth-R
Modified: 2013-05-08 11:55 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 Mysth-R 2008-07-16 10:06:57 UTC
I can't compile LMMS with the STK use flag. I tried a lot of things but always this error : 


Making all in stk
make[3]: entrant dans le r�pertoire � /var/tmp/portage/media-sound/lmms-0.4.0_alpha2-r1/work/lmms-0.4.0-alpha2/plugins/stk �
Making all in mallets
make[4]: entrant dans le r�pertoire � /var/tmp/portage/media-sound/lmms-0.4.0_alpha2-r1/work/lmms-0.4.0-alpha2/plugins/stk/mallets �
/var/tmp/portage/media-sound/lmms-0.4.0_alpha2-r1/work/lmms-0.4.0-alpha2/buildtools/bin2res artwork.png logo.png > embedded_resources.h
/usr/bin/moc -o mallets.moc mallets.h
make  all-am
make[5]: entrant dans le r�pertoire � /var/tmp/portage/media-sound/lmms-0.4.0_alpha2-r1/work/lmms-0.4.0-alpha2/plugins/stk/mallets �
if /bin/sh ../../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/stk -I../../../include -I../../../src/gui -I.  -I/usr/include -DLIBDIR='"/usr/lib64"'  -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml   -DPLUGIN_NAME="malletsstk" -O2 -fPIC -march=nocona -O2 -pipe -I/usr/local/include -MT mallets.lo -MD -MP -MF ".deps/mallets.Tpo" -c -o mallets.lo mallets.cpp; \
	then mv -f ".deps/mallets.Tpo" ".deps/mallets.Plo"; else rm -f ".deps/mallets.Tpo"; exit 1; fi
mkdir .libs
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/stk -I../../../include -I../../../src/gui -I. -I/usr/include -DLIBDIR=\"/usr/lib64\" -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -DPLUGIN_NAME=malletsstk -O2 -fPIC -march=nocona -O2 -pipe -I/usr/local/include -MT mallets.lo -MD -MP -MF .deps/mallets.Tpo -c mallets.cpp -o .libs/mallets.o
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/stk -I../../../include -I../../../src/gui -I. -I/usr/include -DLIBDIR=\"/usr/lib64\" -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -DPLUGIN_NAME=malletsstk -O2 -fPIC -march=nocona -O2 -pipe -I/usr/local/include -MT mallets.lo -MD -MP -MF .deps/mallets.Tpo -c mallets.cpp -o mallets.o >/dev/null 2>&1
/bin/sh ../../../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++  -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml   -DPLUGIN_NAME="malletsstk" -O2 -fPIC -march=nocona -O2 -pipe -I/usr/local/include  -L/usr/bin -L/usr/local/lib -o libmalletsstk.la -rpath /usr/lib64/lmms -L/usr/lib -lstk mallets.lo  
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/crtbeginS.o  .libs/mallets.o  -L/usr/bin -L/usr/local/lib -L/usr/lib -lstk -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../lib64/crtn.o  -march=nocona -Wl,-soname -Wl,libmalletsstk.so.0 -o .libs/libmalletsstk.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libstk.a(BandedWG.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libstk.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[5]: *** [libmalletsstk.la] Erreur 1
make[5]: quittant le r�pertoire � /var/tmp/portage/media-sound/lmms-0.4.0_alpha2-r1/work/lmms-0.4.0-alpha2/plugins/stk/mallets �
make[4]: *** [all] Erreur 2
make[4]: quittant le r�pertoire � /var/tmp/portage/media-sound/lmms-0.4.0_alpha2-r1/work/lmms-0.4.0-alpha2/plugins/stk/mallets �
make[3]: *** [all-recursive] Erreur 1
make[3]: quittant le r�pertoire � /var/tmp/portage/media-sound/lmms-0.4.0_alpha2-r1/work/lmms-0.4.0-alpha2/plugins/stk �
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le r�pertoire � /var/tmp/portage/media-sound/lmms-0.4.0_alpha2-r1/work/lmms-0.4.0-alpha2/plugins �
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le r�pertoire � /var/tmp/portage/media-sound/lmms-0.4.0_alpha2-r1/work/lmms-0.4.0-alpha2 �
make: *** [all] Erreur 2
 * 
 * ERROR: media-sound/lmms-0.4.0_alpha2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2892:  Called die
 * The specific snippet of code:
 *       emake || die "Make failed"
 *  The die message:
 *   Make failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-sound/lmms-0.4.0_alpha2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/lmms-0.4.0_alpha2-r1/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'




You can find the entire log at : http://pastebin.com/f796e88a2
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-17 04:40:39 UTC
Please post you `emerge --info' too and do tell where you got media-sound/lmms from - it doesn't appear to be in the Portage tree. It appears to be from the Sunrise overlay, in which case it wouldn't be supported at all and then this bug should be closed as INVALID.
Comment 2 Mysth-R 2008-07-17 08:59:17 UTC
Sorry for the waves...
The lmms I want to install is from the pro-audio overlay. But this is ok now. They have solved this issue bumping a newer version of STK (4.3.1) with a patch for -fPIC. Don't know exactly what they did but it works now.

I think Lmms should work with the current stk version (4.3.0) from portage but it needs a patch too.

Thank you.