Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2011 20:04:58 +0000
From:      Max Brazhnikov <makc@issp.ac.ru>
To:        aorchid@mac.com
Cc:        freebsd-ports@freebsd.org
Subject:   Re: kdemultimedia-4.7.2 fails to build on 9-current
Message-ID:  <201111092004.59989.makc@issp.ac.ru>
In-Reply-To: <20111109103737.3b88315c.aorchid@mac.com>
References:  <201111081543.57024.aorchid@mac.com> <201111091618.18834.makc@issp.ac.ru> <20111109103737.3b88315c.aorchid@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 9 Nov 2011 10:37:37 -0800, Aric Gregson wrote:
> On Wed, 09 Nov 2011 16:18:18 +0000
> 
> Max Brazhnikov <makc@issp.ac.ru> wrote:
> > For some reason libtunepimp is not detected correctly. Can I see
> > CMakeError.log now? You can find it under
> > work/kdemultimedia-4.7.2/build/CMakeFiles/
> 
> I've attached it. Thanks.
> 
> > Please, don't drop maillist from CC.
> 
> Apologies, it was not intentional.

Determining if the function tr_GetPUID exists in the 
/usr/local/lib/libtunepimp.so failed with the following output:
Change Dir: 
/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.7.2/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/local/bin/gmake "cmTryCompileExec/fast"
/usr/local/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make 
CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory 
`/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.7.2/build/CMakeFiles/CMakeTmp'
/usr/local/bin/cmake -E cmake_progress_report 
/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.7.2/build/CMakeFiles/CMakeTmp/CMakeFiles 
1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o
/usr/bin/cc  -D_GNU_SOURCE -O2 -pipe -fno-strict-aliasing  -
DCHECK_FUNCTION_EXISTS=tr_GetPUID   -o 
CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o   -c 
/usr/local/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec
/usr/local/bin/cmake -E cmake_link_script 
CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/cc   -O2 -pipe -fno-strict-aliasing  -
DCHECK_FUNCTION_EXISTS=tr_GetPUID    
CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o  -o cmTryCompileExec  
/usr/local/lib/libtunepimp.so -pthread -Wl,-rpath,/usr/local/lib 
/usr/bin/ld: warning: libfftw3.so.5, needed by /usr/local/lib/libtunepimp.so, 
not found (try using -rpath or -rpath-link)
/usr/local/lib/libofa.so.0: undefined reference to `fftw_plan_r2r_1d'
/usr/local/lib/libofa.so.0: undefined reference to `fftw_execute'
/usr/local/lib/libofa.so.0: undefined reference to `fftw_destroy_plan'
gmake[1]: *** [cmTryCompileExec] Error 1
gmake[1]: Leaving directory 
`/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.7.2/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2

The problem is clear now. Some libraries are still linked to non-existent old 
libfftw3. You have to rebuild libofa and libtunepimp at least. But don't 
hesitate to use e.g. pkg_libchk from sysutils/bsdadminscripts to find out all 
ports that must be rebuilt.

Max



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111092004.59989.makc>