[Debichem-devel] Bug#973027: rdkit: FTBFS in unstable with postgresql 13

Steve Langasek steve.langasek at canonical.com
Thu Oct 29 19:56:26 GMT 2020


Package: rdkit
Version: 202003.4-2
Followup-For: Bug #973027
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu hirsute ubuntu-patch

This bug has been tagged patch, and there is a PR linked from the upstream
bug report, but no patch is attached to the bug.  The attached patch is what
I have uploaded to Ubuntu to resolve this build failure.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru rdkit-202003.4/debian/patches/postgresql-13-compat.patch rdkit-202003.4/debian/patches/postgresql-13-compat.patch
--- rdkit-202003.4/debian/patches/postgresql-13-compat.patch	1969-12-31 16:00:00.000000000 -0800
+++ rdkit-202003.4/debian/patches/postgresql-13-compat.patch	2020-10-29 11:44:36.000000000 -0700
@@ -0,0 +1,42 @@
+Author: Steve Langasek <steve.langasek at ubuntu.com>
+Description: drop reference to obsolete header not shipped in Postgres 13
+ access/tuptoaster.h no longer exists and is also not needed, so drop
+ references to it.
+Last-Update: 2020-10-29
+
+Index: rdkit-202003.4/Code/PgSQL/rdkit/bfp_gist.c
+===================================================================
+--- rdkit-202003.4.orig/Code/PgSQL/rdkit/bfp_gist.c
++++ rdkit-202003.4/Code/PgSQL/rdkit/bfp_gist.c
+@@ -33,7 +33,6 @@
+ #include <fmgr.h>
+ #include <access/gist.h>
+ #include <access/skey.h>
+-#include <access/tuptoaster.h>
+ #include <utils/memutils.h>
+ 
+ #include <math.h>
+Index: rdkit-202003.4/Code/PgSQL/rdkit/low_gist.c
+===================================================================
+--- rdkit-202003.4.orig/Code/PgSQL/rdkit/low_gist.c
++++ rdkit-202003.4/Code/PgSQL/rdkit/low_gist.c
+@@ -33,7 +33,6 @@
+ #include <fmgr.h>
+ #include <access/gist.h>
+ #include <access/skey.h>
+-#include <access/tuptoaster.h>
+ #include <utils/memutils.h>
+ 
+ #include "rdkit.h"
+Index: rdkit-202003.4/Code/PgSQL/rdkit/rdkit_gist.c
+===================================================================
+--- rdkit-202003.4.orig/Code/PgSQL/rdkit/rdkit_gist.c
++++ rdkit-202003.4/Code/PgSQL/rdkit/rdkit_gist.c
+@@ -32,7 +32,6 @@
+ #include <fmgr.h>
+ #include <access/gist.h>
+ #include <access/skey.h>
+-#include <access/tuptoaster.h>
+ #include <utils/memutils.h>
+ 
+ #include "rdkit.h"
diff -Nru rdkit-202003.4/debian/patches/series rdkit-202003.4/debian/patches/series
--- rdkit-202003.4/debian/patches/series	2020-10-25 08:55:26.000000000 -0700
+++ rdkit-202003.4/debian/patches/series	2020-10-29 11:43:24.000000000 -0700
@@ -6,3 +6,4 @@
 postgres_alternative_test_outputs.patch
 postgres_compile_fixes.patch
 sphinx_compile_fixes.patch
+postgresql-13-compat.patch


More information about the Debichem-devel mailing list