if /bin/sh ../../../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../headers/common -I../../../headers/plugin_interface -I../../../headers/lang -I../../../headers/server -DSC_LINUX -D_REENTRANT -Wall -Wno-unknown-pragmas -DNDEBUG -O2 -march=i686 -pipe -MT PyrArchiver.lo -MD -MP -MF ".deps/PyrArchiver.Tpo" -c -o PyrArchiver.lo PyrArchiver.cpp; \ then mv -f ".deps/PyrArchiver.Tpo" ".deps/PyrArchiver.Plo"; else rm -f ".deps/PyrArchiver.Tpo"; exit 1; fi i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../headers/common -I../../../headers/plugin_interface -I../../../headers/lang -I../../../headers/server -DSC_LINUX -D_REENTRANT -Wall -Wno-unknown-pragmas -DNDEBUG -O2 -march=i686 -pipe -MT PyrArchiver.lo -MD -MP -MF .deps/PyrArchiver.Tpo -c PyrArchiver.cpp -fPIC -DPIC -o .libs/PyrArchiver.o In file included from ../../../headers/lang/PyrSlot.h:32, from ../../../headers/lang/PyrObject.h:29, from ../../../headers/lang/PyrArchiverT.h:30, from PyrArchiver.cpp:26: ../../../headers/lang/PyrSymbol.h:59:7: warning: no newline at end of file In file included from PyrArchiver.cpp:26: ../../../headers/lang/PyrArchiverT.h:170:26: warning: multi-character character constant ../../../headers/lang/PyrArchiverT.h:178:23: warning: multi-character character constant ../../../headers/lang/ReadWriteMacros.h:292: error: explicit specialization of 'void SC_IOStream<FILE*>::readData(char*, int)' must be introduced by 'template <>' ../../../headers/lang/ReadWriteMacros.h:292: error: template-id 'readData<>' for 'void SC_IOStream<FILE*>::readData(char*, int)' does not match any template declaration ../../../headers/lang/ReadWriteMacros.h:292: error: invalid function declaration ../../../headers/lang/ReadWriteMacros.h:297: error: explicit specialization of 'uint8 SC_IOStream<FILE*>::readUInt8()' must be introduced by 'template <>' ../../../headers/lang/ReadWriteMacros.h:297: error: template-id 'readUInt8<>' for 'uint8 SC_IOStream<FILE*>::readUInt8()' does not match any template declaration ../../../headers/lang/ReadWriteMacros.h:297: error: invalid function declaration ../../../headers/lang/ReadWriteMacros.h:302: error: explicit specialization of 'void SC_IOStream<FILE*>::writeData(char*, int)' must be introduced by 'template <>' ../../../headers/lang/ReadWriteMacros.h:302: error: template-id 'writeData<>' for 'void SC_IOStream<FILE*>::writeData(char*, int)' does not match any template declaration ../../../headers/lang/ReadWriteMacros.h:302: error: invalid function declaration ../../../headers/lang/ReadWriteMacros.h:307: error: explicit specialization of 'void SC_IOStream<FILE*>::writeUInt8(uint8)' must be introduced by 'template <>' ../../../headers/lang/ReadWriteMacros.h:307: error: template-id 'writeUInt8<>' for 'void SC_IOStream<FILE*>::writeUInt8(uint8)' does not match any template declaration ../../../headers/lang/ReadWriteMacros.h:307: error: invalid function declaration ../../../headers/lang/ReadWriteMacros.h:313: error: explicit specialization of 'void SC_IOStream<char*>::readData(char*, int)' must be introduced by 'template <>' ../../../headers/lang/ReadWriteMacros.h:313: error: template-id 'readData<>' for 'void SC_IOStream<char*>::readData(char*, int)' does not match any template declaration ../../../headers/lang/ReadWriteMacros.h:313: error: invalid function declaration ../../../headers/lang/ReadWriteMacros.h:318: error: explicit specialization of 'uint8 SC_IOStream<char*>::readUInt8()' must be introduced by 'template <>' ../../../headers/lang/ReadWriteMacros.h:318: error: template-id 'readUInt8<>' for 'uint8 SC_IOStream<char*>::readUInt8()' does not match any template declaration ../../../headers/lang/ReadWriteMacros.h:318: error: invalid function declaration ../../../headers/lang/ReadWriteMacros.h:323: error: explicit specialization of 'void SC_IOStream<char*>::writeData(char*, int)' must be introduced by 'template <>' ../../../headers/lang/ReadWriteMacros.h:323: error: template-id 'writeData<>' for 'void SC_IOStream<char*>::writeData(char*, int)' does not match any template declaration ../../../headers/lang/ReadWriteMacros.h:323: error: invalid function declaration ../../../headers/lang/ReadWriteMacros.h:329: error: explicit specialization of 'void SC_IOStream<char*>::writeUInt8(uint8)' must be introduced by 'template <>' ../../../headers/lang/ReadWriteMacros.h:329: error: template-id 'writeUInt8<>' for 'void SC_IOStream<char*>::writeUInt8(uint8)' does not match any template declaration ../../../headers/lang/ReadWriteMacros.h:329: error: invalid function declaration make[4]: *** [PyrArchiver.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/supercollider-20040903/work/SuperCollider3/source/lang/LangPrimSource' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/supercollider-20040903/work/SuperCollider3/source/lang' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/supercollider-20040903/work/SuperCollider3/source' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/supercollider-20040903/work/SuperCollider3' make: *** [all] Error 2 !!! ERROR: media-sound/supercollider-20040903 failed.
Created attachment 100933 [details, diff] patch to make supercollider compile with gcc 4 - put patch in /usr/portage/media-sound/supercollider/files/ - modify ebuild: Add these lines after "unpack ${A}": cd ${S} epatch ${FILESDIR}/${P}-gcc4.patch - emerge --digest supercollider (patch by Maximilian Grothusmann)
What's the status of supercollider? Is there a more recent version that compiles?
(In reply to comment #1) Works for me.
Arch teams, Patch from this bug has been applied to -r1, your current stable does not build at all. Stabilize -r1 instead, or revert back to ~arch. Thanks.
*** Bug 167250 has been marked as a duplicate of this bug. ***
*** Bug 129140 has been marked as a duplicate of this bug. ***
(In reply to comment #2) > What's the status of supercollider? Is there a more recent version that > compiles? You're right, we really need a new snapshot/release of this program..
x86 stable, you will get a bug for updated Emacs support as well.
ppc, try -r2 instead of -r1, has trivial emacs updates from opfer.
media-sound/supercollider-20040903-r2 fails on my ppc: powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../headers/common -I../../headers/plugin_interface -I../../headers/server -DSC_LINUX -D_REENTRANT -Wall -Wno-unknown-pragmas -DNDEBUG -fsigned-char -maltivec -mabi=altivec -O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -MT DelayUGens.lo -MD -MP -MF .deps/DelayUGens.Tpo -c DelayUGens.cpp -fPIC -DPIC -o .libs/DelayUGens.o In file included from ../../headers/plugin_interface/SC_InlineUnaryOp.h:25, from ../../headers/plugin_interface/SC_PlugIn.h:28, from DelayUGens.cpp:22: ../../headers/plugin_interface/SC_Constants.h:46:7: warning: no newline at end of file In file included from ../../headers/plugin_interface/SC_PlugIn.h:35, from DelayUGens.cpp:22: ../../headers/common/SC_Altivec.h:51:1: warning: "vec_cmplt" redefined In file included from ../../headers/common/SC_Altivec.h:25, from ../../headers/plugin_interface/SC_PlugIn.h:35, from DelayUGens.cpp:22: /usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.2/include/altivec.h:404:1: warning: this is the location of the previous definition In file included from ../../headers/plugin_interface/SC_PlugIn.h:35, from DelayUGens.cpp:22: ../../headers/common/SC_Altivec.h:52:1: warning: "vec_cmple" redefined In file included from ../../headers/common/SC_Altivec.h:25, from ../../headers/plugin_interface/SC_PlugIn.h:35, from DelayUGens.cpp:22: /usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.2/include/altivec.h:405:1: warning: this is the location of the previous definition DelayUGens.cpp: In function 'void Pitch_next(Pitch*, int)': DelayUGens.cpp:1435: error: cannot convert 'bool' to 'unsigned int __vector__' in initialization DelayUGens.cpp:1445: error: cannot convert 'bool' to 'unsigned int __vector__' in assignment DelayUGens.cpp:1454: error: could not convert 'ampok' to 'bool' DelayUGens.cpp:1488: error: cannot convert 'bool' to 'unsigned int __vector__' in assignment DelayUGens.cpp:1497: error: cannot convert 'bool' to 'unsigned int __vector__' in assignment DelayUGens.cpp:1502: error: could not convert 'foundPeak' to 'bool' DelayUGens.cpp:1513: error: could not convert 'foundPeak' to 'bool' make[3]: *** [DelayUGens.lo] Error 1 make[3]: *** Waiting for unfinished jobs....
(In reply to comment #10) > media-sound/supercollider-20040903-r2 fails on my ppc: Not going to waste more efforts on this ancient snapshot, please just mark it ~ppc, -ppc, or even drop keywords if you see fit.. as it's definately not stable ;-) Leaving this open, I have almost ready ebuild, snapshot from upstream svn trunk, from user in my overlay but it needs a bit work.. I can commit it today or tomorrow.. and hopefully upstream has solved your building issue in last 3 years. ;-)
Created attachment 127267 [details] supercollider-20070803.ebuild template a.k.a. unfinished ebuild for new supercollider snapshot, SConstruct needs to be patched to respect user selected c, cxx, ld flags. Help/ gets installed twice, and it needs a wrapper a.k.a. script to replace the "retarded" "${FILESDIR}"/README-gentoo.txt
maintaining a 10MB patched subversion snapshot is not an option for us, until upstream decides to release a sane tarball this package is going away in 30 days.