-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Updated swipl devel to 9.3.32 #20075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Updates RocksDB package as well.
This comment has been minimized.
This comment has been minimized.
Unfortunately, the rocksdb bump wasn't enough; it is still getting build errors (I think related to |
Looks like maybe https://github.com/facebook/rocksdb/blob/04c085a3faab360747615fb9975495bfa5a3360a/INSTALL.md?plain=1#L23-L31 is relevant?
|
Diff for 632414f:diff --git a/_bashbrew-cat b/_bashbrew-cat
index db2146b..aba3cbf 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -1,10 +1,10 @@
Maintainers: Jan Wielemaker <[email protected]> (@JanWielemaker), Dave Curylo <[email protected]> (@ninjarobot)
Architectures: amd64, arm32v7, arm64v8
GitRepo: https://github.com/SWI-Prolog/docker-swipl.git
-GitCommit: 51e839d7ea84489bbbcfb48c51e13ee9d5621340
+GitCommit: d4411aa88faba036ab47f95f744f77b4fec6749d
-Tags: latest, 9.3.31
-Directory: 9.3.31/bookworm
+Tags: latest, 9.3.32
+Directory: 9.3.32/bookworm
Tags: stable, 9.2.9
Directory: 9.2.9/bookworm
diff --git a/_bashbrew-list b/_bashbrew-list
index a33aba4..9feb517 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -1,4 +1,4 @@
swipl:9.2.9
-swipl:9.3.31
+swipl:9.3.32
swipl:latest
swipl:stable
diff --git a/_bashbrew-list-build-order b/_bashbrew-list-build-order
index 372eb8f..e592ba5 100644
--- a/_bashbrew-list-build-order
+++ b/_bashbrew-list-build-order
@@ -1,2 +1,2 @@
swipl:9.2.9
-swipl:9.3.31
+swipl:9.3.32
diff --git a/swipl_9.3.31/Dockerfile b/swipl_9.3.32/Dockerfile
similarity index 91%
rename from swipl_9.3.31/Dockerfile
rename to swipl_9.3.32/Dockerfile
index 1ed0f7d..dad86af 100644
--- a/swipl_9.3.31/Dockerfile
+++ b/swipl_9.3.32/Dockerfile
@@ -27,8 +27,8 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*
ENV LANG=C.UTF-8
RUN set -eux; \
- SWIPL_VER=9.3.31; \
- SWIPL_CHECKSUM=15f7f55349a16dff685c0f67a9722fefdab70e86bf6296d11e792f387d1877b1; \
+ SWIPL_VER=9.3.32; \
+ SWIPL_CHECKSUM=e10dfa5814f7b01c123f7dc2b360873cd588ba93816ae1106e05f2bc93bdac4f; \
# Removed libgeos-dev libspatialindex-dev because the space pack cannot be built
BUILD_DEPS='make cmake ninja-build gcc g++ wget git pkg-config m4 libtool automake autoconf libarchive-dev libgmp-dev libossp-uuid-dev libpcre2-dev libreadline-dev libedit-dev libssl-dev zlib1g-dev libdb-dev unixodbc-dev libsqlite3-dev libserd-dev libraptor2-dev libyaml-dev libgoogle-perftools-dev libpython3-dev'; \
dpkgArch="$(dpkg --print-architecture)"; \
@@ -52,13 +52,15 @@ RUN set -eux; \
rm -rf /tmp/src; \
mkdir -p /usr/share/swi-prolog/pack; \
cd /usr/share/swi-prolog/pack; \
+ echo ":- multifile prolog:build_environment/2." > env.pl; \
+ echo "prolog:build_environment('PORTABLE', '1')." >> env.pl; \
# usage: install_addin addin-name git-url git-commit
install_addin () { \
git clone "$2" "$1"; \
git -C "$1" checkout -q "$3"; \
# the prosqlite plugin lib directory must be removed?
if [ "$1" = 'prosqlite' ]; then rm -rf "$1/lib"; fi; \
- swipl -g "pack_rebuild($1)" -t halt; \
+ swipl -g "pack_rebuild($1)" -t halt env.pl; \
find "$1" -mindepth 1 -maxdepth 1 ! -name lib ! -name prolog ! -name pack.pl -exec rm -rf {} +; \
find "$1" -name .git -exec rm -rf {} +; \
find "$1" -name '*.so' -exec strip {} +; \
@@ -68,7 +70,7 @@ RUN set -eux; \
# C++ packages are currently incompatible with 32 bit. Must be upgraded to SWI-cpp2.h when stable.
# libgeos-dev of Debian bookworm is broken: the library does not define the Coordinate constructors nor the inline code to avoid calling these.
# [ "$dpkgArch" = 'armhf' ] || [ "$dpkgArch" = 'armel' ] || install_addin space https://github.com/JanWielemaker/space.git 097687c7b67902704b03f095cc2f1e943181e700; \
- [ "$dpkgArch" = 'armhf' ] || [ "$dpkgArch" = 'armel' ] || install_addin rocksdb https://github.com/JanWielemaker/rocksdb.git a63f1f5650e44c7d40401ed5a8b689aa1caca635; \
+ [ "$dpkgArch" = 'armhf' ] || [ "$dpkgArch" = 'armel' ] || install_addin rocksdb https://github.com/JanWielemaker/rocksdb.git 2b232e7fd445a380e1731b5a5a38c6e6dfe5ad7d; \
[ "$dpkgArch" = 'armhf' ] || [ "$dpkgArch" = 'armel' ] || install_addin hdt https://github.com/JanWielemaker/hdt.git 7f2221747ea751a20ad0d7b95aebfd2c99649c1f; \
[ "$dpkgArch" = 'armhf' ] || [ "$dpkgArch" = 'armel' ] || install_addin rserve_client https://github.com/JanWielemaker/rserve_client.git bdf8962264d65dd8ef6eedf5f00ff0c0f6c52c2f; \
apt-get purge -y --auto-remove $BUILD_DEPS Relevant Maintainers:
|
Thanks. Looked at another recent RocksDB Dockerfile. They pass Fingers crossed ... |
|
I expect 9.4.0 (or maybe 10.0.0, haven't decided yet) to be out in a couple of weeks. That will fix this issue 😄 |
Updates RocksDB package as well. This updates RocksDB itself and hopefully fixes #16167 (comment).