From owner-freebsd-ports@freebsd.org  Thu Dec 31 10:11:27 2020
Return-Path: <owner-freebsd-ports@freebsd.org>
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 7E4984BB15A
 for <freebsd-ports@mailman.nyi.freebsd.org>;
 Thu, 31 Dec 2020 10:11:27 +0000 (UTC)
 (envelope-from tingox@gmail.com)
Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com
 [IPv6:2a00:1450:4864:20::533])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
 client-signature RSA-PSS (2048 bits) client-digest SHA256)
 (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4D63pQ1SVsz4Xwx
 for <freebsd-ports@freebsd.org>; Thu, 31 Dec 2020 10:11:25 +0000 (UTC)
 (envelope-from tingox@gmail.com)
Received: by mail-ed1-x533.google.com with SMTP id b2so17819536edm.3
 for <freebsd-ports@freebsd.org>; Thu, 31 Dec 2020 02:11:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=SirEepw2vWXKAMWsUSctkO0lra6S7GltWTIheYOMazA=;
 b=X1vB70E52g7D+VR8QJfLYa6726rth72i+qwaIMHKYX7bF/OLl2UiUBqcKuYcC9Xbch
 AGJ2HtdBGBGzbuU/yJEoEIEXeXaLAstMaVwYaohaoABZ4jv41ByLa9WNkypLt+R+GbVX
 lmj2qYB3iGvioevxricwvpSYADdTRRVtvWVk1ZGoWpS3U8cTd+/N49NZiiVxGf4Y1q2w
 9ysIHlxh75u77vEbZNmd47ZsOWwI8JRBBek/mERhF5qLZzwVmC3DV5TWuMNEh7BjI1U/
 MAS1uU5UnDWSCC1HhlZIgNzAbD0WOin1W79u/IkR5W5qNdDCydridd/nOTjDSNM774D5
 pX7Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=SirEepw2vWXKAMWsUSctkO0lra6S7GltWTIheYOMazA=;
 b=XUDMNDgbIMzSU//FEaD9M7gEBPl0e/gzKaFAU0Z2WDR/Z7wTuhzzufKin2UeXb9ZuR
 69J5NOUivpcgKFIqajAwn1FN36KYrMTfRbU7vNaCIpJ2l4+dpj/yXlaCtwiRLUjkTbPM
 hJ6AmZfEMgfZiiESKXv+XS8IwrTvNzIhVRaM7z60KbglxoKhrClc4gHHT3pWm1dPW3X/
 WtM44vGzph86EOsinj8Wmh9ag/g3sdqMiQAf3WGoLVYFfrVo6xwORKQAwq1gdGx95mfU
 oPXpLBxNSiYqm+yS/z12m7I4NeB6oeZY1BB6Cc4ipuz3gra/P3e7hWiDzvwJtU/KIHVz
 Z1iA==
X-Gm-Message-State: AOAM530gMAfHzadXb9fWzZIO+heQhHOH+z8umcIV7PynLIkW3l7NlZJy
 0LhnI9XjowI2oJxd2lm9VrQuxhAtClcXg/4WTqLP8iwod2o=
X-Google-Smtp-Source: ABdhPJwpdjcpSmM89Bc+U/vgOzGaALUYPap/6FO2OzZTGLIZU+ZVeCPDmAkO/t5/MVItYZvxFJJs0xpplXKrLJtlVfs=
X-Received: by 2002:a50:e848:: with SMTP id k8mr54171753edn.77.1609409483470; 
 Thu, 31 Dec 2020 02:11:23 -0800 (PST)
MIME-Version: 1.0
References: <CAJ_iqtZn1KDhOFjSH6DCP2u8WV8Dvf-w7e+hZXUrOy3q73R=vA@mail.gmail.com>
 <CAJ_iqtbh-YbPe8DdU3XJOzTCYi5wkhvzYwV2fpTUcpxs8GG93g@mail.gmail.com>
 <5f86a31c-fe9c-bc8a-1730-4cb7e36772ca@ShaneWare.Biz>
 <20201230211952.GA7369@night.db.net>
 <8b720560-1946-9819-6e27-1d017a7d3eb1@ShaneWare.Biz>
In-Reply-To: <8b720560-1946-9819-6e27-1d017a7d3eb1@ShaneWare.Biz>
From: Torfinn Ingolfsen <tingox@gmail.com>
Date: Thu, 31 Dec 2020 11:11:11 +0100
Message-ID: <CAJ_iqtaNaji_wBBJOPwGqMdfJ9=B0URGs9FW+4sDTOTU5XeQLQ@mail.gmail.com>
Subject: Re: net/libarcus fails to install
To: FreeBSD Ports ML <freebsd-ports@freebsd.org>
Content-Type: text/plain; charset="UTF-8"
X-Rspamd-Queue-Id: 4D63pQ1SVsz4Xwx
X-Spamd-Bar: -
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=gmail.com header.s=20161025 header.b=X1vB70E5;
 dmarc=pass (policy=none) header.from=gmail.com;
 spf=pass (mx1.freebsd.org: domain of tingox@gmail.com designates
 2a00:1450:4864:20::533 as permitted sender) smtp.mailfrom=tingox@gmail.com
X-Spamd-Result: default: False [-1.67 / 15.00];
 R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c];
 FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[];
 DKIM_TRACE(0.00)[gmail.com:+];
 DMARC_POLICY_ALLOW(-0.50)[gmail.com,none];
 NEURAL_HAM_SHORT(-0.67)[-0.665]; FROM_EQ_ENVFROM(0.00)[];
 MIME_TRACE(0.00)[0:+];
 RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::533:from];
 FREEMAIL_ENVFROM(0.00)[gmail.com];
 ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US];
 DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[];
 R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000];
 MIME_GOOD(-0.10)[text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org];
 NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1];
 SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::533:from:127.0.2.255];
 RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::533:from];
 RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[];
 MAILMAN_DEST(0.00)[freebsd-ports]
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 31 Dec 2020 10:11:27 -0000

On Thu, Dec 31, 2020 at 12:59 AM Shane Ambler <FreeBSD@shaneware.biz> wrote:
>
> On 31/12/20 7:49 am, Diane Bruce wrote:
> > On Wed, Dec 30, 2020 at 11:01:05AM +1030, Shane Ambler wrote:
> >>
> >> 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.

(for completeness) I can confirm that the workaround works, for both
libarcus and libsavitar.
Thanks!
-- 
Regards,
Torfinn Ingolfsen