Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153363 - media-sound/supercollider needs a version bump.
Summary: media-sound/supercollider needs a version bump.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 129140 167250 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-29 14:19 UTC by Evil Compile Person
Modified: 2007-09-20 14:08 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to make supercollider compile with gcc 4 (supercollider-20040903-gcc4.patch,1.32 KB, patch)
2006-10-31 16:32 UTC, Domingo Stephan
Details | Diff
supercollider-20070803.ebuild (supercollider-20070803.ebuild,3.04 KB, text/plain)
2007-08-08 11:15 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evil Compile Person 2006-10-29 14:19:22 UTC
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.
Comment 1 Domingo Stephan 2006-10-31 16:32:31 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)
Comment 2 M. Edward Borasky 2007-02-07 06:23:31 UTC
What's the status of supercollider? Is there a more recent version that compiles?
Comment 3 Francisco José Cañizares Santofimia 2007-04-09 13:06:24 UTC
(In reply to comment #1)

Works for me.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-07-29 13:24:09 UTC
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.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-07-29 13:32:30 UTC
*** Bug 167250 has been marked as a duplicate of this bug. ***
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2007-07-29 13:32:43 UTC
*** Bug 129140 has been marked as a duplicate of this bug. ***
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2007-07-29 13:34:25 UTC
(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..
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2007-08-02 06:01:40 UTC
x86 stable, you will get a bug for updated Emacs support as well.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2007-08-03 17:07:28 UTC
ppc, try -r2 instead of -r1, has trivial emacs updates from opfer.
Comment 10 nixnut (RETIRED) gentoo-dev 2007-08-07 16:54:58 UTC
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....
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2007-08-08 11:08:02 UTC
(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. ;-)
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2007-08-08 11:15:14 UTC
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
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2007-09-20 14:08:25 UTC
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.