net/libarcus fails to install

Shane Ambler FreeBSD at ShaneWare.Biz
Wed Dec 30 23:59:12 UTC 2020


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 <tingox at gmail.com> 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



More information about the freebsd-ports mailing list