#1137169 python-cx-oracle FTBFS: error: implicit declaration of function ‘dpiConn_beginDistribTrans’ #1137169
- Package:
- src:python-cx-oracle
- Source:
- src:python-cx-oracle
- Submitter:
- Adrian Bunk
- Date:
- 2026-09-09 20:49:02 UTC
- Severity:
- normal
- Tags:
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
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
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/