From owner-freebsd-ports@freebsd.org Wed Dec 30 23:59:12 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 411DA4D3D14 for ; Wed, 30 Dec 2020 23:59:12 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail04.adl3.internode.on.net (ipmail04.adl3.internode.on.net [150.101.137.10]) by mx1.freebsd.org (Postfix) with ESMTP id 4D5pCz2pBJz4t7D; Wed, 30 Dec 2020 23:59:10 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) X-SMTP-MATCH: 0 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2CnAwAMFO1f/wvmestiHAEBAQEBAQc?= =?us-ascii?q?BARIBAQQEAQFAgU+DIVdhhD+JBIgBCCiDfYYdkh0LATQJAQIEAQGBVYJ1AoF?= =?us-ascii?q?wJjgTAhABAQYBAQEBAQYEhlIMhXQBBSNWEAsOCgICGA4CAiE2Bg0GAgEBgyI?= =?us-ascii?q?BglUDLRCwD4EyhViCVA2CHgaBDiqNKYEAgUGBEScMgmY+ghtCBBeEXoJgBIN?= =?us-ascii?q?7IIESEIEukiOJM5tQWIIQcIkqjRGFEQUpgymfJ5YNiQ6CeJVBgXozGiGDO1A?= =?us-ascii?q?ZDZcmhVcxMAI1AgYKAQEDCVcBjHkBAQ?= Received: from ppp230-11.static.internode.on.net (HELO leader.local) ([203.122.230.11]) by ipmail04.adl3.internode.on.net with ESMTP; 31 Dec 2020 10:29:00 +1030 Subject: Re: net/libarcus fails to install To: Diane Bruce Cc: Torfinn Ingolfsen , FreeBSD Ports ML , db@freebsd.org References: <5f86a31c-fe9c-bc8a-1730-4cb7e36772ca@ShaneWare.Biz> <20201230211952.GA7369@night.db.net> From: Shane Ambler Message-ID: <8b720560-1946-9819-6e27-1d017a7d3eb1@ShaneWare.Biz> Date: Thu, 31 Dec 2020 10:28:59 +1030 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20201230211952.GA7369@night.db.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4D5pCz2pBJz4t7D X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2020 23:59:12 -0000 On 31/12/20 7:49 am, Diane Bruce wrote: > On Wed, Dec 30, 2020 at 11:01:05AM +1030, Shane Ambler wrote: >> On 28/12/20 4:40 am, Torfinn Ingolfsen wrote: >>> On Sun, Dec 27, 2020 at 2:41 PM Torfinn Ingolfsen wrote: >>>> >>>> net/libarcus builds, but fails to install: >> >>> FWIW, devel/libsavitar has the same "problem"; with python38 installed >>> it fails to install because it builds for 3.8 instead of 3.7. >> >> The issue is in cmake - I have just reported it as a bug >> >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252277 > > Thanks for tracking this down! This bug of course fails to show > up on poudriere. poudriere builds ports in a clean environment, there is usually just one python version available when it builds a port. >> >> For a workaround try adding the following to the end of the libarcus >> Makefile (above the last .include line) indents are tabs not spaces >> The same addition should also work for libsavitar >> >> post-patch: >> ${REINPLACE_CMD} -e 's|VERSION_LESS 3.12|VERSION_LESS 4.12|g' \ >> ${WRKSRC}/CMakeLists.txt \ >> ${WRKSRC}/cmake/FindSIP.cmake >> > > Should we do this for now? Or wait for CMake to be fixed? > I can certainly add this snippet to the port for now. You can use that yourself to allow you to build your own ports until cmake gets an update relating to this. -- FreeBSD - the place to B...Software Developing Shane Ambler