#1137169 python-cx-oracle FTBFS: error: implicit declaration of function ‘dpiConn_beginDistribTrans’

#1137169#5
Date:
2026-05-20 10:09:37 UTC
From:
To:
https://buildd.debian.org/status/logs.php?pkg=python-cx-oracle&ver=8.3.0-3%2Bb8

...
src/cxoConnection.c:1018:14: error: implicit declaration of function ‘dpiConn_beginDistribTrans’ [-Wimplicit-function-declaration]
 1018 |     status = dpiConn_beginDistribTrans(conn->handle, formatId, transactionId,
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
src/cxoConnection.c: In function ‘cxoConnection_prepare’:
src/cxoConnection.c:1042:14: error: implicit declaration of function ‘dpiConn_prepareDistribTrans’ [-Wimplicit-function-declaration]
 1042 |     status = dpiConn_prepareDistribTrans(conn->handle, &commitNeeded);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/powerpc64le-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:485: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build
dh_auto_build: error: pybuild --build -i python{version} -p "3.14 3.13" --parallel=8 returned exit code 13
make[1]: *** [debian/rules:16: override_dh_auto_build] Error 25

#1137169#10
Date:
2026-08-03 14:12:09 UTC
From:
To:
https://oracle.github.io/python-cx_Oracle/ writes:

https://tracker.debian.org/pkg/python-oracledb
python-oracledb is already in Debian, should we RM this package and odpic?

Best Regards,
Tianyu Chen

#1137169#15
Date:
2026-09-09 20:47:24 UTC
From:
To:
user debian-python@lists.debian.org
usertags 1137169 python3.15
tags 1137169 patch
thanks

Hi!

While rebuilding the python related packages against the Python 3.15rc2
version I ran into this FTBFS [1].

To fix this, I've added a patch to support odpi-c 6.

I've applied these fixes in the sandbox [2] to verify that it builds
successfully, these should be applied in Debian to get the package back
to a healthy state.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4653068/
[2]: https://debusine.debian.net/debian/r-python-python3.15/

#1137169#22
Date:
2026-10-26 10:20:17 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-cx-oracle, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1137169@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Maximiliano Curia <maxy@debian.org> (supplier of updated python-cx-oracle package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 26 Oct 2026 11:05:50 +0100
Source: python-cx-oracle
Architecture: source
Version: 8.3.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Maximiliano Curia <maxy@debian.org>
Closes: 1137169
Changes:
 python-cx-oracle (8.3.0-4) unstable; urgency=medium
 .
   * Team upload.
   * Patch to support for odpic 6 (Closes: #1137169)
   * Drop pkg_resources usage, removed from setuptools
Checksums-Sha1:
 fdf9387dc498b7ddaf31f6547a1e957802cd4fcd 2358 python-cx-oracle_8.3.0-4.dsc
 62c389a5a406bf7e447a48979c0091d88acff7e4 5416 python-cx-oracle_8.3.0-4.debian.tar.xz
 338bd3eb4cd077407f3f975aaba472a16e3e5cc6 9047 python-cx-oracle_8.3.0-4_source.buildinfo
Checksums-Sha256:
 461fcb693f6a9d9ede15038efbdd2e51be0935160d6a1033b3413bc8cd1f52b0 2358 python-cx-oracle_8.3.0-4.dsc
 86761cdd59fdd082d0effb35163ced8787447eb5d9e96cb4653834a94eaa577a 5416 python-cx-oracle_8.3.0-4.debian.tar.xz
 d794daed3f964064a116a712e976dcbb2b75ec1c860a7612dbe9c21648eb4d27 9047 python-cx-oracle_8.3.0-4_source.buildinfo
Files:
 493d4b7cf208bcab9ba9bc2de29d4ccc 2358 contrib/python optional python-cx-oracle_8.3.0-4.dsc
 239197fcf172c05b6302a35780b32edf 5416 contrib/python optional python-cx-oracle_8.3.0-4.debian.tar.xz
 cee7a3c1e8290ac6a0d7af162282ad8c 9047 contrib/python optional python-cx-oracle_8.3.0-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAmrfJiEACgkQxxl2mbKb
Iyr+bA/7BqlHw8V1uY9HvB4YJOyyYXJVtz/ltbIxufPR7Op8x/jieC1eze+XV+Ia
2ycskEf3DaZcQgScWWWdtwuQPVYutHT4IJdlr4GGGNkw7Z+8aNoSvxSUrxqC0coE
DzTJUyqICqMpRECMyvPbV0lJAilskvCREOW9Vn4t28nVNvZvF1kuSty9ksMkJj8g
+KD7WPK32yCAOkYAIqVgxCwWrZFJdF6bPbu76vKpvP/T4C7qq4EghYEnaymnVBFn
5URRr+vxSbS59gRDD8ZRi65AeNmZ+AoCqik2lcDvkCBiISLyNbOvSepR+8f9ximI
kOvpOkG9c/0Yp/XITfOpGGHNVJBg6+EjkcVKGsxsTX7VF2/K6ws4Nys0VMk9fy2E
2WAxibE3R1eTGiuxpZZgBlSHfRy/dpQ6gL7OPtNVODDufe/IXtoULp3BX6L6C0OY
nIijFxr+w88xLjvDeT4JqwftUpIblIqSMDPyeDFSm9PglSsPFdYhXbThc3jrxeH0
tkrQ9P2OkPxdPP61SKoAg0gJhlkdSRzJrMHgrLTumD4cFDVp/grd0ZJsaGEd7QTn
ffiqy/cwzXmUAhq2j6VjmLbwZI86e0tUan1YGh/sYQe4ebmdTVXsYM0JK1AbyfL2
1fGcGm6l3+YNjBhfqQW9E6swtw3Fo2ZiDssmtqXkQ2BN6Ii14YY=
=laLr
-----END PGP SIGNATURE-----