From owner-freebsd-ports@FreeBSD.ORG Tue Jun 19 12:47:07 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE55E106566C for ; Tue, 19 Jun 2012 12:47:07 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 555538FC0A for ; Tue, 19 Jun 2012 12:47:07 +0000 (UTC) Received: by bkvi18 with SMTP id i18so6307581bkv.13 for ; Tue, 19 Jun 2012 05:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=0vxy1LlygkeBU3FU50fpqIUOX93f+kiGuqskLwT2YVU=; b=L+meg2ARetj88DAEZHKvoLW1zIullm2SJNh7mKi2z93rLjR78XvUzRmUbiIzCtAPbC xyjVq+ywpSjzRaWixzVHT3T2PMkHnOdaSxJtVPUMPmnnHgHC2O4Yd42ZspF4Cs4AngU6 fHOaAQcA+h+YM9IjwVv6wcCs5zdXudDbGFKW4jMgHEn0ipPNmFTClO1p4XEgvsLwHp22 zEIDvLlzKnwlTG+VjWgCybt2xb9we1Vq0YeMRSwh71H4I99qk91qpe0C3pK1NCJcNN1U 50V9LdnBaGNBbttSTNOwY94CCmiH44dQQLV//znlSklfAolpd27kH4jfg6WQ81wyCEjQ 9RTA== Received: by 10.204.10.70 with SMTP id o6mr8303404bko.70.1340110025331; Tue, 19 Jun 2012 05:47:05 -0700 (PDT) Received: from green.tandem.local (utwig.xim.bz. [91.216.237.46]) by mx.google.com with ESMTPS id h18sm23102654bkh.8.2012.06.19.05.47.02 (version=SSLv3 cipher=OTHER); Tue, 19 Jun 2012 05:47:03 -0700 (PDT) Message-ID: <4FE074C4.1070502@gmail.com> Date: Tue, 19 Jun 2012 15:47:00 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120605 Firefox/12.0 SeaMonkey/2.9.1 MIME-Version: 1.0 To: Olivier Smedts References: <4FE02BE4.20208@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kde-freebsd@kde.org, freebsd-ports@freebsd.org Subject: Re: latest kdelibs update fails 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: Tue, 19 Jun 2012 12:47:07 -0000 Olivier Smedts wrote: > 2012/6/19 Volodymyr Kostyrko: >> Hi all. >> >> Trying to update kdelibs I stumbled upon this one: >> >> -- No backend for KAuth was explicitly specified: probing system to find the >> best one available >> -- Found PolkitQt-1: /usr/local/lib/cmake/PolkitQt-1/PolkitQt-1Config.cmake >> WARNING: Installation prefix does not match PolicyKit install prefixes. You >> probably will need to move files installed in POLICY_FILES_INSTALL_DIR and >> by dbus_add_activation_system_servi >> ce to the prefix >> -- Building PolkitQt-1 KAuth backend >> CMake Error at kdecore/CMakeLists.txt:387 (set_source_files_properties): >> set_source_files_properties called with incorrect number of arguments. >> >> It seems that kdelibs fails to detect PolicyKit correctly. > > I had the same problem, the following cmake directive is wrong : > > set_source_files_properties(util/kshareddatacache.cpp > PROPERTIES COMPILE_FLAGS ${KDE4_ENABLE_EXCEPTIONS}) > > I think KDE4_ENABLE_EXCEPTIONS is empty, and the > set_source_files_properties complains that the number of arguments is > wrong. > > I deleted those lines to be able to build kdelibs. You are right about empty value, doublequoting this variable works for me. -- Sphinx of black quartz judge my vow.