Summary: | media-sound/supercollider needs a version bump. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Evil Compile Person <bugs> |
Component: | New packages | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | srm, telefrancisco, xxx, znmeb |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch to make supercollider compile with gcc 4
supercollider-20070803.ebuild |
Description
Evil Compile Person
2006-10-29 14:19:22 UTC
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. |