Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605750 - media-libs/aubio-0.4.4: USE=double-precision conflicts with libsamplerate and fftw3f
Summary: media-libs/aubio-0.4.4: USE=double-precision conflicts with libsamplerate and...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-15 10:11 UTC by ak
Modified: 2018-10-01 20:08 UTC (History)
0 users

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 ak 2017-01-15 10:11:21 UTC
USE='libsamplerate double-precision' results in
> Could not compile aubio in double precision mode with libsamplerate
during configure, see https://git.aubio.org/?p=aubio.git;a=blob;f=wscript#l298

Furthermore forcing fftw3f results in
> ../src/spectral/fft.c:67:2: error: #error "Using aubio in double precision with fftw3 in single precision"
during compile, see https://git.aubio.org/?p=aubio.git;a=blob;f=src/spectral/fft.c#l65

So, looks like one have to
- append 'double-precision? ( !libsamplerate )' to REQUIRED_USE
- replace fftw3f line in src_configure with eg
$(usex double-precision --disable-fftw3f $(use_enable fftw fftw3f))
Comment 1 Larry the Git Cow gentoo-dev 2018-10-01 20:08:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19c3f586c801c32054718525defffa129cadf9bd

commit 19c3f586c801c32054718525defffa129cadf9bd
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-10-01 19:31:48 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-10-01 20:08:19 +0000

    media-libs/aubio: Fix USE flag conflicts
    
    Thanks-to: ak <4nykey@gmail.com>
    Closes: https://bugs.gentoo.org/605750
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
    Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-libs/aubio/aubio-0.4.7.ebuild | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)