[Bug 259177] lang/swi-pl update from 8.2.3 to 8.4.0-1

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 26 Nov 2021 08:11:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259177

--- Comment #15 from dewayne@heuristicsystems.com.au ---
(In reply to Nikolaj Thygesen from comment #14)
Nikolaj,
I changed the DISTVERSION from 8.4.0 to 8.4.1, then performed
# make -C /usr/ports/lang/swipl makesum
# make -C /usr/ports/lang/swipl clean package with this result.

===>  Building package for swi-pl-8.4.1
pkg-static: Unable to access file
/var/ports/usr/ports/lang/swi-pl/work/stage/usr/local/lib/swipl/lib/amd64-freebsd/libswipl.so.8.4.0:No
such file or directory
pkg-static: Unable to access file
/var/ports/usr/ports/lang/swi-pl/work/stage/usr/local/lib/swipl/library/protobufs/protoc_gen_prolog_pb/google/protobuf/INDEX.pl:No
such file or directory
pkg-static: Unable to access file
/var/ports/usr/ports/lang/swi-pl/work/stage/usr/local/lib/swipl/library/protobufs/protoc_gen_prolog_pb/google/protobuf/compiler/INDEX.pl:No
such file or directory
pkg-static: Unable to access file
/var/ports/usr/ports/lang/swi-pl/work/stage/usr/local/lib/swipl/library/protobufs/protoc_gen_prolog_pb/google/protobuf/compiler/plugin_pb.pl:No
such file or directory
pkg-static: Unable to access file
/var/ports/usr/ports/lang/swi-pl/work/stage/usr/local/lib/swipl/library/protobufs/protoc_gen_prolog_pb/google/protobuf/descriptor_pb.pl:No
such file or directory
*** Error code 1

I found the last entry (using find) here
/var/ports/usr/ports/lang/swi-pl/work/stage/usr/local/lib/swipl/library/protobufs/gen_pb/google/protobuf/descriptor_pb.pl

So I changed protoc_gen_prolog_pb to gen_pb, and 8.4.0 to 8.4.1 in pkg_list via 
# sed -i '' -e "s|protoc_gen_prolog_pb|gen_pb|g" -e "s|8\.4\.0|8\.4\.1|g"
/usr/ports/lang/swi-pl/pkg-plist
then 
# make clean package install

# swipl
Welcome to SWI-Prolog (threaded, 64 bits, version 8.4.1)

# swipl
Welcome to SWI-Prolog (threaded, 32 bits, version 8.4.1)

on FreeBSD 12.2-STABLE #1 r369922M

--- 
Unfortunately I wasn't able to find examples to easily use pengines without
spending a lot of time learning about it, so we'll have to park that
functionality as I haven't a need for it either.

I have a similar problem with uuid/2 (and /1) generating a segfault.  Otherwise
- I'm very happy with swipl ;)

Please note that I do use a cut-down swipl Makefile as I only use the CLI, and
no: gpl, lgpl, gmp; yes I also comment out libossp-uuid.so.

-- 
You are receiving this mail because:
You are the assignee for the bug.