From owner-freebsd-ports@FreeBSD.ORG Wed Nov 9 20:05:05 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08B2D106566B for ; Wed, 9 Nov 2011 20:05:05 +0000 (UTC) (envelope-from makc@issp.ac.ru) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7021D8FC15 for ; Wed, 9 Nov 2011 20:05:03 +0000 (UTC) Received: from mercury.ph.man.ac.uk [130.88.75.175:50541] (HELO/EHLO mercury.ph.man.ac.uk, authenticated with LOGIN) by mail.issp.ac.ru with ESMTP/inet id pA9K61Sl034122 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Wed, 9 Nov 2011 23:06:02 +0300 (MSK) From: Max Brazhnikov To: aorchid@mac.com Date: Wed, 9 Nov 2011 20:04:58 +0000 User-Agent: KMail/1.13.7 (FreeBSD/9.0-RC1; KDE/4.7.2; amd64; ; ) References: <201111081543.57024.aorchid@mac.com> <201111091618.18834.makc@issp.ac.ru> <20111109103737.3b88315c.aorchid@mac.com> In-Reply-To: <20111109103737.3b88315c.aorchid@mac.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201111092004.59989.makc@issp.ac.ru> Cc: freebsd-ports@freebsd.org Subject: Re: kdemultimedia-4.7.2 fails to build on 9-current X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2011 20:05:05 -0000 On Wed, 9 Nov 2011 10:37:37 -0800, Aric Gregson wrote: > On Wed, 09 Nov 2011 16:18:18 +0000 > > Max Brazhnikov 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