# Ann: SWI-Prolog 8.3.0

**URL:** <https://swi-prolog.discourse.group/t/ann-swi-prolog-8-3-0/2419>\
**Category:** Releases\
**Created:** [May 28, 2020, 12:09pm UTC](https://swi-prolog.discourse.group/t/ann-swi-prolog-8-3-0/2419 "2020-05-28T12:09:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/jan/32/4_2.png) [@jan](https://swi-prolog.discourse.group/u/jan)\
**Post date:** [May 28, 2020, 12:09pm UTC](https://swi-prolog.discourse.group/t/ann-swi-prolog-8-3-0/2419/1 "2020-05-28T12:09:17Z")

</div>

Dear SWI-Prolog user,

This is a minor release, mostly for moving the development branch to  
8.3.x numbering. Nevertheless, there are also a few useful patches and a  
lot of documentation typos and inconsistencies fixed by Adrian Wong.  
Thanks!

For the MacOS binaries I switched to gcc-10 as the performance was  
significantly better for Linux. Haven’t compared the result on the Mac  
between the two gcc versions. As is though, on the Peirera benchmark we  
have 10.24 sec for the binary bundle (gcc-10) and 13.34 sec for the  
Macports build (Xcode 11.5).

I’ve also added some scripts to streamline testing and upgrading the  
Macports version. Now involved into some reviewing with the Macport  
maintainers to make it all nice and shiny again. If this is a one-time  
job, I think I can almost fully automate the Macport upgrades, so no  
need for a maintainer.

```
Enjoy --- Jan

```

# SWI-Prolog Changelog since version 8.1.32

- TEST: Fix Macport testing for save\_settings/1. It turns out that the  
/tmp dir is not considered writeable in the macport build environment  
while it is. Therefore we create the file explicitly.

- DIST: Make script/make-src-tape work on MacOS

- DOC: save\_settings/1,2

- PACKAGE: Work on script to automate updating Macports releases

- MACOS: build using GCC-10

- TEST: More robust version of settings:save\_default

- PORT: Handle Windows NetBIOS file names.

- DOC: Fix typos in manual

- DOC: Use hyphen as word-separator for long options \* For ease of  
reference, the options names are consistent across  
the reference manual, man page, and --help message.

- DOC: Fix missing hyphens in command line options

- DOC: Remove invalid short options

- DOC: Sort prolog flags

- PORT: Windows: Recognise //wsl$/ as a share name. Eric Taucher.

- ENHANCED: Issue#218: portray\_clause/2,3 to handle  
variable\_names(Bindings) option (Markus Triska) and move  
documentation from the core to PlDoc docs from library(listing).

- DOC: Fix typos in manual

- MODIFIED: When term-expanding a directive, see whether the goal can  
be autoloaded and if so, do this. This deals with the common  
case where a directive is also defined as a predicate. Failing to  
autoload does not generate an error and thus allows expansion to  
continue as normal.

- FIXED: Do not save `tmp_dir` Prolog flag. Matt Lilley.

- FIXED: rounding mode when promoting negative rationals to floats

- CLEANUP: Silence gcc-10 warnings (benign)

- FIXED: Ensure separation of S\_DYNAMIC and S\_STATIC VMI (decompilation)

## Package clib

- ENHANCED: Handle EISCONN under non-windows systems too. This happens  
when we retry to connect due to interrupt/signal but we actually  
already have established an connection and can safely return here.

## Package cpp

- DEMO: Illustrate malloc/tmalloc issues.

## Package jpl

- BUILD: Silence messages about JNI\_INCLUDE\_DIRS/JNI\_LIBRARIES

## Package pldoc

- DOC: Index documented multifile hooks from modules.

- ADDED: `> blockquote` support.

## Package ssl

- BUILD: Missing dependency for building tests

## Package xpce

- MAN: Removed xpce.1 and updated xpce-client.1

---

<div class="post-metadata">

**Author:** ![jan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/jan/32/4_2.png) [@jan](https://swi-prolog.discourse.group/u/jan)\
**Post date:** [May 28, 2020, 12:17pm UTC](https://swi-prolog.discourse.group/t/ann-swi-prolog-8-3-0/2419/3 "2020-05-28T12:17:23Z")

</div>

/Well Founded Semantics/ 🙂

---

<div class="post-metadata">

**Author:** ![peter.ludemann](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/peter.ludemann/32/48_2.png) [@peter.ludemann](https://swi-prolog.discourse.group/u/peter.ludemann)\
**Post date:** [May 30, 2020, 7:10pm UTC](https://swi-prolog.discourse.group/t/ann-swi-prolog-8-3-0/2419/4 "2020-05-30T19:10:12Z")

</div>

Still seeing these errors when I build with `ninja -j 1` (only visible with a “dumb” terminal):

```prolog
[462/2391] Generating tests/test_certs/generated
ERROR: /home/peter/src/swipl-devel/build/home/swipl.rc:207:
ERROR: /home/peter/src/swipl-devel/packages/xpce/swipl/swipl-rc:135: Initialization goal raised exception:
ERROR: source_sink `library(swi_hooks)' does not exist

```

```prolog
[819/2391] Generating pldoc2tex
ERROR: /home/peter/src/swipl-devel/build/home/swipl.rc:207:
ERROR: /home/peter/src/swipl-devel/packages/xpce/swipl/swipl-rc:135: Initialization goal raised exception:
ERROR: source_sink `library(swi_hooks)' does not exist
ERROR: /home/peter/src/swipl-devel/packages/xpce/swipl/swipl-rc:135: Initialization goal raised exception:
ERROR: source_sink `library(pce)' does not exist

```

---

<div class="post-metadata">

**Author:** ![jan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/jan/32/4_2.png) [@jan](https://swi-prolog.discourse.group/u/jan)\
**Post date:** [May 31, 2020, 7:41am UTC](https://swi-prolog.discourse.group/t/ann-swi-prolog-8-3-0/2419/5 "2020-05-31T07:41:43Z")

</div>

There is no version line. Could it be your git pull is blocked due to a local change and you are in fact still running the old version? Try `git status` and `git describe`.

---

<div class="post-metadata">

**Author:** ![peter.ludemann](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/peter.ludemann/32/48_2.png) [@peter.ludemann](https://swi-prolog.discourse.group/u/peter.ludemann)\
**Post date:** [May 31, 2020, 7:43pm UTC](https://swi-prolog.discourse.group/t/ann-swi-prolog-8-3-0/2419/6 "2020-05-31T19:43:23Z")

</div>

Sorry about that – it appears that my git forks have got into a totally messed up state.

I followed the canonical advice ([https://xkcd.com/1597/](https://xkcd.com/1597/)) and it builds clean now.

---

<div class="post-metadata">

**Author:** ![jan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/jan/32/4_2.png) [@jan](https://swi-prolog.discourse.group/u/jan)\
**Post date:** [June 1, 2020, 7:37am UTC](https://swi-prolog.discourse.group/t/ann-swi-prolog-8-3-0/2419/7 "2020-06-01T07:37:35Z")

</div>

> [@peter.ludemann](#):
>
> git forks have got into a totally messed up state

Some tricks:

- Do not commit onto the `master` branch of your fork. If you want to make edits, create a _topic_ branch. That also keeps pull requests clean.

- Typically I clone from the original and my fork as an additional _remote_ using `git add remote fork URL-of-fork` Now, `origin` is the original source and `fork` is my fork.

- If you messed up your local copy, this re-syncs

- If you messed up the checked out version, this avoids a new clone (use `-xnd` to see what it will remove)

Use your shell’s git extensions. They change the prompt to indicate the current branch and its status (clean, dirty, merging, etc.).
