Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 2021 08:11:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259177] lang/swi-pl update from 8.2.3 to 8.4.0-1
Message-ID:  <bug-259177-7788-NHOrAAPKNR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259177-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259177-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259177

--- 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.

=3D=3D=3D>  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-f=
reebsd/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/pro=
tobufs/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/pro=
tobufs/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/pro=
tobufs/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/pro=
tobufs/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/pro=
tobufs/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=20
# 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=20
# 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

---=20
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.  Other=
wise
- 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259177-7788-NHOrAAPKNR>