Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 220429

Summary: media-sound/ecasound-2.4.5 fails w/ gcc-4.3.0; bump->2.4.6.1 and patch
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Professional Audio Applications Maintainers <proaudio>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: ecasound-2.4.5--2.4.6.1.ebuild.patch
ecasound-2.4.6.1-gcc43.patch
ecasound-2.4.5--2.4.6.1.ebuild.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-05-05 19:05:28 UTC
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -ffast-math -fstrict-aliasing -funroll-loops -DNDEBUG -DENABLE_DBC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT kvu_procedure_timer.lo -MD -MP -MF .deps/kvu_procedure_timer.Tpo -c kvu_procedure_timer.cpp  -fPIC -DPIC -o .libs/kvu_procedure_timer.o
kvu_procedure_timer.cpp: In member function 'void PROCEDURE_TIMER::set_upper_bound(const timeval*)':
kvu_procedure_timer.cpp:65: error: 'memcpy' was not declared in this scope
kvu_procedure_timer.cpp: In member function 'void PROCEDURE_TIMER::set_lower_bound(const timeval*)':
kvu_procedure_timer.cpp:76: error: 'memcpy' was not declared in this scope
kvu_procedure_timer.cpp: In member function 'void PROCEDURE_TIMER::stop()':
kvu_procedure_timer.cpp:98: error: 'memcpy' was not declared in this scope
kvu_procedure_timer.cpp:100: error: 'memcpy' was not declared in this scope
kvu_procedure_timer.cpp:102: error: 'memcpy' was not declared in this scope
kvu_procedure_timer.cpp: In member function 'void PROCEDURE_TIMER::reset()':
kvu_procedure_timer.cpp:115: error: 'memset' was not declared in this scope
make[2]: *** [kvu_procedure_timer.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/media-sound/ecasound-2.4.5/work/ecasound-2.4.5/kvutils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/ecasound-2.4.5/work/ecasound-2.4.5'
make: *** [all] Error 2
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-05 19:07:04 UTC
Created attachment 151965 [details, diff]
ecasound-2.4.5--2.4.6.1.ebuild.patch

Bump to 2.4.6.1 cause that's already got some GCC 4.3.0 fixes. A few cosmetic fixes included.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-05 19:08:29 UTC
Created attachment 151967 [details, diff]
ecasound-2.4.6.1-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-05 21:43:09 UTC
Created attachment 152005 [details, diff]
ecasound-2.4.5--2.4.6.1.ebuild.patch

This ebuild really needed an overhaul to be prettyfied and to use python.eclass. So here it is. Suggested by drac wrt bug 220219.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2008-05-06 19:20:07 UTC
committed, thanks