#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/