Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219753 - sci-libs/fftw-2.1.5-r3: bump for media-sound/rezound-0.12.3_beta-r1
Summary: sci-libs/fftw-2.1.5-r3: bump for media-sound/rezound-0.12.3_beta-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Science Related Packages
URL: http://sources.gentoo.org/viewcvs.py/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-29 19:32 UTC by Martin von Gagern
Modified: 2008-04-29 22:23 UTC (History)
1 user (show)

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 Martin von Gagern 2008-04-29 19:32:58 UTC
When compiling media-sound/rezound-0.12.3_beta-r1 I got these error messages:

...
checking fftw.h usability... yes
checking fftw.h presence... yes
checking for fftw.h... yes
checking for fftw_create_plan in -lfftw... yes
checking rfftw.h usability... no
checking rfftw.h presence... no
checking for rfftw.h... no
configure: WARNING: ***** rfftw.h (version 2) header file not found -- any FFT based actions will be disabled (http://www.fftw.org) *****
...
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../src/misc -I../../src/misc/missing/generated -I../../src/PoolFile -march=prescott -O2 -ggdb -g -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused -I/usr/include -I/usr/include -I/usr/include -MT FilterActionDialogs.lo -MD -MP -MF .deps/FilterActionDialogs.Tpo -c FilterActionDialogs.cpp -o FilterActionDialogs.o
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../src/misc -I../../src/misc/missing/generated -I../../src/PoolFile -march=prescott -O2 -ggdb -g -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused -I/usr/include -I/usr/include -I/usr/include -MT GenerateActionDialogs.lo -MD -MP -MF .deps/GenerateActionDialogs.Tpo -c GenerateActionDialogs.cpp -o GenerateActionDialogs.o
FilterActionDialogs.cpp: In member function ‘virtual double CActionParamMapper_arbitraryFIRFilter_kernelLength::interpretValue(double)’:
FilterActionDialogs.cpp:212: error: ‘TFFTConvolverTimeDomainKernel’ was not declared in this scope
FilterActionDialogs.cpp:212: error: expected primary-expression before ‘float’
FilterActionDialogs.cpp:212: error: expected `;' before ‘float’
FilterActionDialogs.cpp: In member function ‘virtual double CActionParamMapper_arbitraryFIRFilter_kernelLength::uninterpretValue(double)’:
FilterActionDialogs.cpp:221: error: ‘TFFTConvolverTimeDomainKernel’ was not declared in this scope
FilterActionDialogs.cpp:221: error: expected primary-expression before ‘float’
FilterActionDialogs.cpp:221: error: expected `;' before ‘float’
make[2]: *** [FilterActionDialogs.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
GenerateActionDialogs.cpp:126:2: warning: #warning make some presets
make[2]: Leaving directory `/var/tmp/portage/media-sound/rezound-0.12.3_beta-r1/work/rezound-0.12.3beta/src/frontend_fox'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/rezound-0.12.3_beta-r1/work/rezound-0.12.3beta/src'
make: *** [all-recursive] Error 1

Issues like this have been reported in bug 152822 comment 7 and 12. Replies 
suggest updating fftw, but on my system, I had all the latest fftw versions installed: [I] sci-libs/fftw (2.1.5-r3(2.1)@04/03/08 3.1.2(3.0)@04/03/08)
Neither of them does provide an rfftw.h, only srfftw.h and drfftw.h.

Looking at the fftw-2.1.5-r3.ebuild, I found that there were some symlinks for these files in CVS version 1.6 which had not been present in the 1.5 version I had installed. Indeed, after remerging fftw, rezound compiled just fine. So a simple workaround for this issue is "emerge -1 =sci-libs/fftw-2*".

As these changes affect not only the compile time behaviour of fftw, but also the set of installed files (resp. symlinks), there should be a revision bump. rezound might even be changed to block the -r3 revision, to force portage to update fftw first and compile rezound against a fixed version afterwards. That would reliably get rid of above error messages.
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2008-04-29 22:23:54 UTC
Just bumped in cvs. Thanks for catching this.