From nobody Sun Jan 30 20:20:24 2022 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 354A61985511; Sun, 30 Jan 2022 20:20:35 +0000 (UTC) (envelope-from makc@freebsd.org) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay.issp.ac.ru", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jn2cy0pnjz3rmT; Sun, 30 Jan 2022 20:20:33 +0000 (UTC) (envelope-from makc@freebsd.org) Received: from [62.63.87.132] [62.63.87.132:26212] (HELO/EHLO mercury.localnet, authenticated with PLAIN) by mail.issp.ac.ru with ESMTPSA/inet id 20UKKOpH017095 (using TLSv1.2, with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits), verified NO) Sun, 30 Jan 2022 23:20:24 +0300 (MSK) X-Authentication-Warning: mail.issp.ac.ru: Host [62.63.87.132] claimed to be mercury.localnet From: Max Brazhnikov To: freebsd-ports@freebsd.org, ports@freebsd.org Cc: "Jukka A. Ukkonen" Subject: Re: Problem with cmake while testing kadas albireo2 on 12.3-stable Date: Sun, 30 Jan 2022 23:20:24 +0300 Message-ID: <5649870.Zv9zXsTiuT@mercury> In-Reply-To: <5d040c42-498d-78bc-7856-72b6c2371c8d@gmail.com> References: <5d040c42-498d-78bc-7856-72b6c2371c8d@gmail.com> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Jn2cy0pnjz3rmT X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 77.236.34.3 is neither permitted nor denied by domain of makc@freebsd.org) smtp.mailfrom=makc@freebsd.org X-Spamd-Result: default: False [0.40 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[makc]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-0.50)[-0.503]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MLMMJ_DEST(0.00)[ports,freebsd-ports]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:42317, ipnet:77.236.32.0/20, country:RU]; CTE_CASE(0.50)[]; FREEMAIL_CC(0.00)[gmail.com] X-ThisMailContainsUnwantedMimeParts: N On Sun, 30 Jan 2022 20:56:16 +0200 Jukka A. Ukkonen wrote: > > For some reason cmake fails to find packages qwt6-qt5 > and svg2svgt, though, they have both been installed. > I am not really familiar with cmake. What does it try > to do? > On the first run it stops with a complaint like this... > > -- Reading /usr/local/lib/cmake/GeographicLib/geographiclib-config.cmake > -- GeographicLib configuration, version 1.52 > -- ${GeographicLib_LIBRARIES} set to shared library > -- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") > -- Checking for module 'qca2-qt5' > -- Found qca2-qt5, version 2.3.4 > -- Checking for module 'Qt5Qwt6' > -- Package 'Qt5Qwt6', required by 'virtual:world', not found https://github.com/kadas-albireo/kadas-albireo2/blob/8e98fd2578680129697abd3e8fa70b407bdba30a/CMakeLists.txt#L45 unfortunately x11-toolkits/qwt6 does not provide cmake or pkgconfig files, therefore you need to pass QWT_INCLUDE_DIRS and QWT_LDFLAGS to cmake in your port: CMAKE_ARGS= -DQWT_INCLUDE_DIRS=${QT_INCDIR}/qwt6 \ -DQWT_LDFLAGS=${QT_LIBDIR}/libqwt6.so Probably the same with svg2svgt, though I don't see it in the portstree. Max