Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2020 11:11:11 +0100
From:      Torfinn Ingolfsen <tingox@gmail.com>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: net/libarcus fails to install
Message-ID:  <CAJ_iqtaNaji_wBBJOPwGqMdfJ9=B0URGs9FW%2B4sDTOTU5XeQLQ@mail.gmail.com>
In-Reply-To: <8b720560-1946-9819-6e27-1d017a7d3eb1@ShaneWare.Biz>
References:  <CAJ_iqtZn1KDhOFjSH6DCP2u8WV8Dvf-w7e%2BhZXUrOy3q73R=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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ_iqtaNaji_wBBJOPwGqMdfJ9=B0URGs9FW%2B4sDTOTU5XeQLQ>