Problem encountered during upgrade from media-sound/ardour-4.7 to media-sound/ardour-4.7-r2 # emerge -1a ardour results in link error: ERROR: media-sound/ardour-4.7-r2::gentoo failed (compile phase): /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lfftw3f_threads I had: * Found these USE flags for media-sound/ardour-4.7-r2: U I - - cpu_flags_x86_3dnow : Use the 3DNow! instruction set + + cpu_flags_x86_mmx : Use the MMX instruction set + + cpu_flags_x86_sse : Use the SSE instruction set - - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally + + jack : Add support for the JACK Audio Connection Kit - - lv2 : Add support for Ladspa V2 and also: * Found these USE flags for sci-libs/fftw-3.3.6_p2: U I - - abi_x86_32 : 32-bit (x86) libraries - - cpu_flags_x86_avx : Adds support for Advanced Vector Extensions instructions - - cpu_flags_x86_avx2 : Adds support for Advanced Vector Extensions 2 instructions - - cpu_flags_x86_fma3 : Use the Fused Multiply Add 3 instruction set ([fma] in cpuinfo) - - cpu_flags_x86_fma4 : Use the Fused Multiply Add 4 instruction set + + cpu_flags_x86_sse : Use the SSE instruction set + + cpu_flags_x86_sse2 : Use the SSE2 instruction set - - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally + + fortran : Add support for fortran - - mpi : Add MPI (Message Passing Interface) layer to the apps that support it + + openmp : Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp" - - quad : Build quadruple precision lib - - static-libs : Build static versions of dynamic libraries as well - - test : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore - - threads : Add threads support for various packages. Usually pthreads I manually added +threads on sci-libs/fftw, re-emerged it, and only then could I sucessfully emerge ardour. I am use the fftw USE flag dependency can be (conditionally???) added to the ardour ebuild.
I see that the latest ardour ebuild (ardour-5.10.ebuild) has: RDEPEND=" sci-libs/fftw:3.0[threads] ..." while ardour-4.7-r2 only has: RDEPEND=" sci-libs/fftw:3.0 ..." so this can be considered fixed in the latest release.
Thanks Augustin! This is now also fixed in ardour-4.7-r2. Is there a reason why you are not using ardour-5?